Quote:
Originally Posted by peterska2
Have you tried running it through the W3C validator? if it's something that picks up then it should point you in the right direction.
|
am not a coder so i cant tell what would coz this problem.
and my coder is adiment the code is fine and should work.
if anyone has time could u maybe quickly have a look over the code and see if anything jumps out at you that would maybe coz an abortion error.
header code.
Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></td>
<td width="100%"> </td>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><img src="$stylevar[imgdir_misc]/searchleft.gif" border="0" alt="" /></td>
<td valign="top" style="padding-top:8px; background-image:url('everythingtreo/misc/searchbg.gif'); background-repeat:repeat-x;">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><input type="text" size="30" name="query" /></td>
<td width="10" style="padding-left:5px;"></td>
<td><input type="submit" value="Search" /></td>
</tr>
</table>
</form>
</td>
<td><img src="$stylevar[imgdir_misc]/searchright.gif" border="0" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','$stylevar[imgdir_misc]/home_on.gif',1)"><img src="$stylevar[imgdir_misc]/home_off.gif" name="home" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('store','','$stylevar[imgdir_misc]/store_on.gif',1)"><img src="$stylevar[imgdir_misc]/store_off.gif" name="store" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('software','','$stylevar[imgdir_misc]/software_on.gif',1)"><img src="$stylevar[imgdir_misc]/software_off.gif" name="software" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('news','','$stylevar[imgdir_misc]/news_on.gif',1)"><img src="$stylevar[imgdir_misc]/news_off.gif" name="news" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('reviews','','$stylevar[imgdir_misc]/reviews_on.gif',1)"><img src="$stylevar[imgdir_misc]/reviews_off.gif" name="reviews" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('forum','','$stylevar[imgdir_misc]/forum_on.gif',1)"><img src="$stylevar[imgdir_misc]/forum_off.gif" name="forum" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('faq','','$stylevar[imgdir_misc]/faq_on.gif',1)"><img src="$stylevar[imgdir_misc]/faq_off.gif" name="faq" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('blog','','$stylevar[imgdir_misc]/blog_on.gif',1)"><img src="$stylevar[imgdir_misc]/blog_off.gif" name="blog" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('wiki','','$stylevar[imgdir_misc]/wiki_on.gif',1)"><img src="$stylevar[imgdir_misc]/wiki_off.gif" name="wiki" border="0" alt="" /></a></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact','','$stylevar[imgdir_misc]/contact_on.gif',1)"><img src="$stylevar[imgdir_misc]/contact_off.gif" name="contact" border="0" alt="" /></a></td>
<td><img src="$stylevar[imgdir_misc]/feed.gif" border="0" alt="" /></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="submenu">
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<if condition="$show['member']">
<td valign="middle"><a href="usercp.php">UserCP</a></td>
</if>
<if condition="$show['registerbutton']">
<td valign="middle"><a href="register.php"><strong>Register!</strong></a></td>
</if>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<td valign="middle"><a href="faq.php">FAQ</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<td valign="middle"><a href="memberlist.php">Member List</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<td valign="middle"><a href="calendar.php">Calendar</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
</if>
<td id="navbar_search"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
</if>
<if condition="$show['member']">
<td id="usercptools"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
</if>
</if>
</if>
<if condition="$show['member']">
<td><img src="$stylevar[imgdir_misc]/navspace.gif" border="0" alt="" /></td>
<td valign="middle"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">Logout!</a></td>
</if>
</tr>
</table>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" valign="top">
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
footer code
Code:
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>
<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$vboptions[copyrighttext]
Skin coded by: <a href="http://www.9thsector.com/" target="_blank">9th Sector Interactive</a><br /><br />
</div>
</div>
$spacer_close
<!-- /content area table -->
</td>
</tr>
</table>
<div class="etfooter">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" height="79">
<tr>
<td width="100%" valign="middle">
<a href="#">Home</a>
<a href="#">Treo Store</a>
<a href="#">Software</a>
<a href="#">News</a>
<a href="#">Reviews</a>
<a href="#">Forum</a>
<a href="#">FAQ</a>
<a href="#">Blog</a>
<a href="#">Wiki</a>
<a href="#">Contact</a>
<br />
Copyright 2006 Everything Treo. All rights reserved. Site design by 45royale, Inc
</td>
<td align="right" valign="middle">
<form action="$vboptions[forumhome].php" method="get">
<if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</if>
</form>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a></if>
</td>
</tr>
</table>
</div>
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
|