View Single Post
  #1  
Old 05-29-2003, 09:48 AM
Steve W. Steve W. is offline
 
Join Date: May 2003
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I started the code in the header and closed it in the footer...

Quote:
Originally Posted by Header Code
<!-- logo and buttons -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body onLoad="MM_preloadImages('{imagesfolder}/head_1_on.jpg','{imagesfolder}/head_2_on.jpg','{imagesfolder}/head_5_on.jpg','{imagesfolder}/head_9_on.jpg','{imagesfolder}/head_10_on.jpg','{imagesfolder}/head_3_on.jpg','{imagesfolder}/head_6_on.jpg','{imagesfolder}/head_7_on.jpg','{imagesfolder}/head_8_on.jpg','{imagesfolder}/head_4_on.jpg')">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="770" align="left"><smallfont><img src="{imagesfolder}/header_logo.jpg" width="423" height="48"></smallfont></td>
<td width="100%" align="center" background="{imagesfolder}/header_title_fill.gif"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="33" align="left" background="{imagesfolder}/header_menu_bg.gif"><font face="Verdana, Arial, Helvetica, sans-serif"><smallfont><a href="index.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('usercp','','{imagesfold er}/head_1_on.jpg',1)"><img src="{imagesfolder}/head_1_off.jpg" alt="User CP" name="usercp" width="76" height="33" border="0"></a><a href="register.php?s=$session[sessionhash]&action=signup" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('register','','{imagesfo lder}/head_2_on.jpg',1)"><img src="{imagesfolder}/head_2_off.jpg" alt="Register" name="register" width="85" height="33" border="0"></a><a href="calendar.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('calender','','{imagesfo lder}/head_5_on.jpg',1)"><img src="{imagesfolder}/head_5_off.jpg" alt="Calender" name="calender" width="93" height="33" border="0"></a><a href="memberlist.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('members','','{imagesfol der}/head_9_on.jpg',1)"><img src="{imagesfolder}/head_9_off.jpg" alt="Members" name="members" width="91" height="33" border="0"></a><a href="links.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('links','','{imagesfolde r}/head_10_on.jpg',1)"><img src="{imagesfolder}/head_10_off.jpg" alt="Links" name="links" width="57" height="33" border="0"></a><a href="features.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('features','','{imagesfo lder}/head_3_on.jpg',1)"><img src="{imagesfolder}/head_3_off.jpg" alt="Features" name="features" width="90" height="33" border="0"></a><a href="misc.php?s=$session[sessionhash]&action=faq" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('faq','','{imagesfolder}/head_6_on.jpg',1)"><img src="{imagesfolder}/head_6_off.jpg" alt="FAQ" name="faq" width="44" height="33" border="0"></a><a href="search.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','{imagesfold er}/head_7_on.jpg',1)"><img src="{imagesfolder}/head_7_off.jpg" alt="Search" name="search" width="74" height="33" border="0"></a><a href="member.php?s=$session[sessionhash]&action=logout" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('logout','','{imagesfold er}/head_8_on.jpg',1)"><img src="{imagesfolder}/head_8_off.jpg" alt="Logout" name="logout" width="73" height="33" border="0"></a><a href="index.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','{imagesfolder }/head_4_on.jpg',1)"><img src="{imagesfolder}/head_4_off.jpg" alt="Head" name="home" width="60" height="33" border="0"></a></smallfont></font></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="770" align="left"><smallfont><img src="{imagesfolder}/header_regular.jpg" width="660" height="38"></smallfont></td>
<td width="100%" align="center" background="{imagesfolder}/wrap_header.gif"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="208" align="left" valign="top" background="{imagesfolder}/wrap_side.gif"><smallfont><img src="{imagesfolder}/side_regular.jpg" width="208" height="403"></smallfont></td>
<td width="100%" align="center" bgcolor="#F4F2F2">
And it's closed in the footer with...

Quote:
Originally Posted by Footer Code
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="208" align="left" valign="top" background="{imagesfolder}/wrap_side.gif"><smallfont><img src="{imagesfolder}/wrap_side.gif" width="208" height="38"></smallfont></td>
<td width="100%" align="center" valign="top" bgcolor="#F4F2F2">
<!-- CONTENT TABLE END -->
<!-- /content area table -->
<normalfont></normalfont>
<p align="center"><smallfont>
<!-- Do not remove this copyright notice -->
Powered by: vBulletin Version $templateversion<br>
Copyright &copy;2000 - 2002, Jelsoft Enterprises Limited.<br>
<b> <a href="$contactuslink">Contact Us</a> - <a href="$homeurl">$hometitle</a>
<!-- - <a href="$privacyurl">Privacy Statement</a> -->
</b><br>
<!-- Do not remove this copyright notice -->
$copyrighttext </smallfont></p>
<p align="center"><smallfont></smallfont></p></td>
</tr>
</table>
</center>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01188 seconds
  • Memory Usage 1,804KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete