How to add the banners

Ti2000 by Port-All

How to add the banners

Postby psyperu » Fri Dec 23, 2005 4:32 pm

Ti2000 overall_header.tpl
No show codes for banners

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/Ti2000/{T_HEAD_STYLESHEET}" type="text/css" />
<script language="JavaScript" type="text/javascript" src="templates/toggle_display.js"></script>
<link rel="shortcut icon" href="./favicon.ico">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- BEGIN birthday_popup -->
<script language="Javascript" type="text/javascript">
<!--
window.open('{birthday_popup.U_BIRTHDAY_POPUP}', '_phpbbbirthday', 'HEIGHT=225,resizable=yes,WIDTH=400');
//-->
</script>
<!-- END birthday_popup -->
<script language="JavaScript" type="text/javascript">
<!--
function tour() {
window.open("tour.php", "_tour", "width=800,height=600,scrollbars,resizable=yes");
}
//-->
</script>
<script language="JavaScript" type="text/javascript" src="templates/mouseover.js"></script>
<!-- Prillian - Begin Code Additions -->
<!-- BEGIN switch_user_logged_in -->
<script language="JavaScript" type="text/javascript">
<!--
function prill_launch(url, w, h)
{
window.name = 'phpbbmain';
prillian = window.open(url, 'prillian', 'height=' + h + ', width=' + w + ', innerWidth=' + w + ', innerHeight=' + h + ', resizable, scrollbars');
}
if ( {IM_AUTO_POPUP} )
{
prill_launch('{U_IM_LAUNCH}', '{IM_WIDTH}', '{IM_HEIGHT}');
}
//-->
</script>
<!-- END switch_user_logged_in -->
<!-- BEGIN buddy_alert -->
<script language="Javascript" type="text/javascript">
if ( {buddy_alert.BUDDY_ALERT} )
{
window.open('{buddy_alert.U_BUDDY_ALERT}', '_buddyalert', 'HEIGHT=225,resizable=yes,WIDTH=400');
}
</script>
<!-- END buddy_alert -->
<!-- Prillian - End Code Additions -->
</head>
<body>
<!-- BEGIN switch_board_disabled -->
    <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
   <tr>
   <td class="forumline" align="center"><span class="alert"><b>{L_BOARD_DISABLE}</b></span></td>
    </tr>
   </table>
<!-- END switch_board_disabled -->
<SCRIPT TYPE="text/javascript">
<!--

function newImage(arg) {
   if (document.images) {
      rslt = new Image();
      rslt.src = arg;
      return rslt;
   }
}

function changeImages() {
   if (document.images && (preloadFlag == true)) {
      for (var i=0; i<changeImages.arguments.length; i+=2) {
         document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
      }
   }
}

var preloadFlag = false;
function preloadImages() {
   if (document.images) {
      phpBB_03_over = newImage("templates/Ti2000/images/phpBB_03-over.gif");
      phpBB_04_over = newImage("templates/Ti2000/images/phpBB_04-over.gif");
      phpBB_05_over = newImage("templates/Ti2000/images/phpBB_05-over.gif");
      phpBB_06_over = newImage("templates/Ti2000/images/phpBB_06-over.gif");
      phpBB_07_over = newImage("templates/Ti2000/images/phpBB_07-over.gif");
      phpBB_08_over = newImage("templates/Ti2000/images/phpBB_08-over.gif");
      phpBB_09_over = newImage("templates/Ti2000/images/phpBB_09-over.gif");
      preloadFlag = true;
   }
}

// -->
</SCRIPT>
</head>
<body  ONLOAD="preloadImages();">
<a name="top" id="top"></a>
<table class="bodyline" width="700" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
      <td><img src="templates/Ti2000/images/tnav_tl.gif" width="14" height="23" alt="" /></td>
      <td width="100%" class="tbltop">&nbsp;</td>
      <td><img src="templates/Ti2000/images/tnav_tr.gif" width="15" height="23" alt="" /></td>
   </tr>
   <tr>
      <td class="tblleft">&nbsp;</td>
      <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
        <td height="120">
      <TABLE WIDTH=898 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
   <TR>
      <TD COLSPAN=8>
         <a href="index.php"><IMG SRC="templates/Ti2000/images/phpBB_01.gif" ALT="{SITE_DESCRIPTION}" WIDTH=898 HEIGHT=121 border="0"></a></TD>
   </TR>
   <TR>
      <TD>
         <IMG SRC="templates/Ti2000/images/phpBB_02.gif" WIDTH=132 HEIGHT=21 ALT=""></TD>
      <TD>
         <A HREF="{U_LOGIN_LOGOUT}"
            ONMOUSEOVER="changeImages('phpBB_03', 'templates/Ti2000/images/phpBB_03-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_03', 'templates/Ti2000/images/phpBB_03.gif'); return true;">
            <IMG NAME="phpBB_03" SRC="templates/Ti2000/images/phpBB_03.gif" WIDTH=149 HEIGHT=21 BORDER=0 ALT=""></A></TD>
      <TD>
         <A HREF="{U_FAQ}"
            ONMOUSEOVER="changeImages('phpBB_04', 'templates/Ti2000/images/phpBB_04-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_04', 'templates/Ti2000/images/phpBB_04.gif'); return true;">
            <IMG NAME="phpBB_04" SRC="templates/Ti2000/images/phpBB_04.gif" WIDTH=76 HEIGHT=21 BORDER=0 ALT=""></A></TD>
      <TD>
         <A HREF="{U_SEARCH}"
            ONMOUSEOVER="changeImages('phpBB_05', 'templates/Ti2000/images/phpBB_05-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_05', 'templates/Ti2000/images/phpBB_05.gif'); return true;">
            <IMG NAME="phpBB_05" SRC="templates/Ti2000/images/phpBB_05.gif" WIDTH=103 HEIGHT=21 BORDER=0 ALT=""></A></TD>
      <TD>
         <A HREF="{U_PROFILE}"
            ONMOUSEOVER="changeImages('phpBB_06', 'templates/Ti2000/images/phpBB_06-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_06', 'templates/Ti2000/images/phpBB_06.gif'); return true;">
            <IMG NAME="phpBB_06" SRC="templates/Ti2000/images/phpBB_06.gif" WIDTH=101 HEIGHT=21 BORDER=0 ALT=""></A></TD>
      <TD>
         <A HREF="profile.php"
            ONMOUSEOVER="changeImages('phpBB_07', 'templates/Ti2000/images/phpBB_07-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_07', 'templates/Ti2000/images/phpBB_07.gif'); return true;">
            <IMG NAME="phpBB_07" SRC="templates/Ti2000/images/phpBB_07.gif" WIDTH=101 HEIGHT=21 BORDER=0 ALT=""></A></TD>
      <TD>
         <A HREF="{U_GROUP_CP}"
            ONMOUSEOVER="changeImages('phpBB_08', 'templates/Ti2000/images/phpBB_08-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_08', 'templates/Ti2000/images/phpBB_08.gif'); return true;">
            <IMG NAME="phpBB_08" SRC="templates/Ti2000/images/phpBB_08.gif" WIDTH=117 HEIGHT=21 BORDER=0 ALT=""></A></TD>
      <TD>
         <A HREF="{U_MEMBERLIST}"
            ONMOUSEOVER="changeImages('phpBB_09', 'templates/Ti2000/images/phpBB_09-over.gif'); return true;"
            ONMOUSEOUT="changeImages('phpBB_09', 'templates/Ti2000/images/phpBB_09.gif'); return true;">
            <IMG NAME="phpBB_09" SRC="templates/Ti2000/images/phpBB_09.gif" WIDTH=119 HEIGHT=21 BORDER=0 ALT=""></A></TD>
   </TR>
   <TR>
      <TD COLSPAN=8>
         <IMG SRC="templates/Ti2000/images/phpBB_10.gif" WIDTH=898 HEIGHT=3 ALT=""></TD>
   </TR>
</TABLE>      </td>
        </tr>
     </table></td>
      <td class="tblright">&nbsp;</td>
   </tr>
   <tr>
      <td><img src="templates/Ti2000/images/tnav_bl.gif" width="14" height="26" alt="" /></td>
      <td class="tblbot">&nbsp;</td>
      <td><img src="templates/Ti2000/images/tnav_br.gif" width="15" height="26" alt="" /></td>
   </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
      <td><img src="templates/Ti2000/images/tnav_tl.gif" width="14" height="23" alt="" /></td>
      <td width="100%" class="tbltop">&nbsp;</td>
      <td><img src="templates/Ti2000/images/tnav_tr.gif" width="15" height="23" alt="" /></td>
   </tr>
   <tr>
      <td class="tblleft">&nbsp;</td>
      <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- BEGIN switch_portal_header -->
<tr>
<td width="10">&nbsp;</td>
<td width="{HEADER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
<td width>&nbsp;</td>
<td width="10">&nbsp;</td>
</tr>
<!-- END switch_portal_header -->
<!-- BEGIN switch_portal_tail -->
<tr>
<td width="10">&nbsp;</td>
<td width>&nbsp;</td>
<td width="10">&nbsp;</td>
<td width="{FOOTER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
</tr>
<!-- END switch_portal_tail -->
<!-- BEGIN switch_portal_both -->
<tr>
<td width="10">&nbsp;</td>
<td width="{HEADER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
<td width>&nbsp;</td>
<td width="10">&nbsp;</td>
<td width="{FOOTER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
</tr>
<!-- END switch_portal_both -->
<tr>
{PORTAL_HEADER}
<td width="10"><img src="images/spacer.gif" alt="" width="10" /></td>
<td valign="top">



fisubice overall_header.tpl
show codes for banners

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- mod : Loewen Enterprise - PAYPAL IPN REG / SUBSCRIPTION - GROUP -->
<html dir="{S_CONTENT_DIRECTION}">

<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">{META_HTTP_EQUIV_TAGS}
<title>{SITENAME} - {PAGE_TITLE}</title>{META_TAGS}
{META}
{NAV_LINKS}

<link rel="stylesheet" href="templates/fisubice/{T_HEAD_STYLESHEET}" type="text/css" />
<script language="JavaScript" type="text/javascript" src="templates/toggle_display.js"></script>
<link rel="shortcut icon" href="./favicon.ico">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Start add - No copy MOD -->
<script language="javascript"> <!--
var previous_key ;

function clickIE4(){
if (event.button==2){
alert('{L_NO_CLICK}');
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert('{L_NO_CLICK}');
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
function handleKeyDown()
{
   if (previous_key==17 )
   {
      switch (window.event.keyCode)
      {
         case 45 :
         case 46:
         case 67:
         case 88:
            alert('{L_NO_COPY}');
            event.keyCode=0;
            previous_key=window.event.keyCode;
            event.returnValue=false;
            break;
      }
   } else if (previous_key==16)
   {
      switch (window.event.keyCode)
      {
         case 45 :
         case 46:
            alert('{L_NO_COPY}'+window.event.keyCode);
            event.keyCode=0;
            previous_key=window.event.keyCode;
            event.returnValue=false;
            break;
      }
   }
   previous_key=window.event.keyCode;
}
function handleKeyUp()
{
   previous_key=0;
}

if ( {USER_EXTRA} )
{
document.oncontextmenu=new Function("alert('{L_NO_CLICK}');return false")
document.onkeyup = handleKeyUp;
document.onkeydown = handleKeyDown;
}
//-->
</script>
<!-- End add - No copy MOD -->
<!-- BEGIN birthday_popup -->
<script language="Javascript" type="text/javascript">
<!--
window.open('{birthday_popup.U_BIRTHDAY_POPUP}', '_phpbbbirthday', 'HEIGHT=225,resizable=yes,WIDTH=400');
//-->
</script>
<!-- END birthday_popup -->
<script language="JavaScript" type="text/javascript">
<!--
function tour() {
window.open("tour.php", "_tour", "width=800,height=600,scrollbars,resizable=yes");
}
//-->
</script>
<script language="JavaScript" type="text/javascript" src="templates/mouseover.js"></script>
<!-- Prillian - Begin Code Additions -->
<!-- BEGIN switch_user_logged_in -->
<script language="JavaScript" type="text/javascript">
<!--
function prill_launch(url, w, h)
{
window.name = 'phpbbmain';
prillian = window.open(url, 'prillian', 'height=' + h + ', width=' + w + ', innerWidth=' + w + ', innerHeight=' + h + ', resizable, scrollbars');
}
if ( {IM_AUTO_POPUP} )
{
prill_launch('{U_IM_LAUNCH}', '{IM_WIDTH}', '{IM_HEIGHT}');
}
//-->
</script>
<!-- END switch_user_logged_in -->
<!-- BEGIN buddy_alert -->
<script language="Javascript" type="text/javascript">
if ( {buddy_alert.BUDDY_ALERT} )
{
window.open('{buddy_alert.U_BUDDY_ALERT}', '_buddyalert', 'HEIGHT=225,resizable=yes,WIDTH=400');
}
</script>
<!-- END buddy_alert -->
<!-- Prillian - End Code Additions -->
</head>
<body>
<!-- BEGIN switch_board_disabled -->
    <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
   <tr>
   <td class="forumline" align="center"><span class="alert"><b>{L_BOARD_DISABLE}</b></span></td>
    </tr>
   </table>
<!-- END switch_board_disabled -->
<!-- Start add - Complete banner MOD -->
<!-- Banners -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<!-- BEGIN switch_banner_1 -->
<tr><td><div align="center">{BANNER_1_IMG}</div></td></tr>
<!-- END switch_banner_1 -->
<!-- BEGIN switch_banner_2 -->
<tr><td><div align="center">{BANNER_2_IMG}</div></td></tr>
<!-- END switch_banner_2 -->
</table>
</td>
<td width="60%">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<!-- BEGIN switch_banner_3 -->
<tr><td><div align="center">{BANNER_3_IMG}</div></td></tr>
<!-- END switch_banner_3 -->
<!-- BEGIN switch_banner_4 -->
<tr><td><div align="center">{BANNER_4_IMG}</div></td></tr>
<!-- END switch_banner_4 -->
</table>
</td>
<td width="20%">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<!-- BEGIN switch_banner_5 -->
<tr><td><div align="center">{BANNER_5_IMG}</div></td></tr>
<!-- END switch_banner_5 -->
<!-- BEGIN switch_banner_6 -->
<tr><td><div align="center">{BANNER_6_IMG}</div></td></tr>
<!-- END switch_banner_6 -->
</table>
</td>
</tr>
</table>
<!-- End Banners -->
<!-- End add - Complete banner MOD -->
{QBARS}
<a name="top" id="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="{U_PORTAL}"><img src="{LOGO}" width="{LOGO_WIDTH}" height="{LOGO_HEIGHT}" border="0" alt="{SITENAME}" title="{SITENAME}" width="504" height="110" /></a></td>
<!-- BEGIN switch_banner_0 -->
<td width="100%" colspan="3"><div align="right">{BANNER_0_IMG}</div></td>
<!-- END switch_banner_0 -->
<td align="center" width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
{QMENUS}
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
{CALENDAR_BOX}
<!-- BEGIN switch_banner_16 -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="100%" align="center">{BANNER_16_IMG}</td>
</tr>
</table>
<!-- END switch_banner_16 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- BEGIN switch_portal_header -->
<tr>
<td width="10">&nbsp;</td>
<td width="{HEADER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
<td width>&nbsp;</td>
<td width="10">&nbsp;</td>
</tr>
<!-- END switch_portal_header -->
<!-- BEGIN switch_portal_tail -->
<tr>
<td width="10">&nbsp;</td>
<td width>&nbsp;</td>
<td width="10">&nbsp;</td>
<td width="{FOOTER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
</tr>
<!-- END switch_portal_tail -->
<!-- BEGIN switch_portal_both -->
<tr>
<td width="10">&nbsp;</td>
<td width="{HEADER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
<td width>&nbsp;</td>
<td width="10">&nbsp;</td>
<td width="{FOOTER_WIDTH}" valign="top">&nbsp;</td>
<td width="10">&nbsp;</td>
</tr>
<!-- END switch_portal_both -->
<tr>
{PORTAL_HEADER}
<td width="10"><img src="images/spacer.gif" alt="" width="10" /></td>
<td valign="top">

psyperu
 
Posts: 2
Joined: Fri Dec 09, 2005 2:37 pm
Blog: View Blog (0)

Postby Helter » Fri Dec 23, 2005 5:15 pm

the guy who ported this template did not add the banner mod because he said it broke the header. Youll have to edit it manually. It can be found at
templates/Ti2000/images/phpBB_01.gif

User avatar
Helter
Site Admin
 
Posts: 548
Joined: Tue Jul 19, 2005 1:29 pm
Location: Seattle Wa
Blog: View Blog (0)
Real Name: John Wagner



Post a reply



Return to Ti2000

Who is online

Users browsing this forum: No registered users and 2 guests

cron