It is currently Sat Feb 04, 2012 3:31 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: site loading help
PostPosted: Sun Nov 07, 2004 1:03 pm 
Offline

Joined: Sun Nov 07, 2004 1:00 pm
Posts: 1
my site always loads at the bottom of the page. even if you click different links on it. see can someone tell me why it is doing this? heres the code.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>HappyMojo.com</TITLE><LINK
rel="nofollow" href="http://happymojo.com/e107.css" type=text/css rel=stylesheet><LINK
rel="nofollow" href="http://happymojo.com/style.css" type=text/css rel=stylesheet><LINK
rel="nofollow" href="http://happymojo.com/style(1).css" type=text/css
rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META http-equiv=content-style-type content=text/css>
<SCRIPT src="http://happymojo.com/e107.js" type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
    <TR>
      <TD class=body_t_l>
      <TD class=body_t> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR>
              <TD class=message>
                             </TD>
              <TD class=search></TD>
              <TD class=log_reg>&nbsp;</TD>
            </TR>
          </TBODY>
        </TABLE></TD>
      <TD class=body_t_r></TD>
    <TR>
      <TD class=body_l>
      <TD class=ttl_img><div align="left"><font color="#FFFFFF"><IMG alt="" src="http://happymojo.com/images/header.jpg">
          <font color="#FFFFFF"><strong>&raquo;</strong></font> <a rel="nofollow" href="http://happymojo.com"><font color="#FFFFFF">home</a>
          <strong>&raquo;</strong> <a rel="nofollow" href="http://happymojo.com/forum"><font color="#FFFFFF">forum</a>
          <strong>&raquo;</strong> <a rel="nofollow" href="%20"><font color="#FFFFFF">search
          <strong>&raquo;</strong></a> <a rel="nofollow" href="http://happymojo.com/help.php"><font color="#FFFFFF">help</a>
          </font></div></TD>
      <TD class=body_r></TD>
    <TR>
      <TD class=body_l>
      <TD class=body> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR>
              <TD colSpan=3></TD>
            </TR>
            <TR>
              <TD class=menu_area> <TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                    <TR>
                      <TD class=menu_t_l>
                      <TD class=menu_t><font color="#FFFFFF"><font color="#FFFFFF"><strong>&raquo;</strong></font></font>
                        Profile</TD>
                      <TD class=menu_t_r>&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD class=menu_body colSpan=3> <DIV style="TEXT-ALIGN: left"><strong><font color="#CC3333" size="2" face="Verdana, Arial, Helvetica, sans-serif">
                          <?php ob_start();
//path to the configuration file
$configdir = "config.php";
include($configdir);

/**********************************************************************
* do not edit the following code unless you know what you're doing    *
**********************************************************************/

$array = file($ufile);
$msgs=file($msgfile);
$vip = $REMOTE_ADDR;
$vhost = gethostbyaddr($vip);
$uname = $HTTP_COOKIE_VARS["uname"];
$pwunen = $HTTP_COOKIE_VARS["pwunen"];
$pword = md5($pwunen);

function error($msg) {
$content="<br><center>$msg<br><a rel="nofollow" href=\"javascript:history.back(1)\">go back</a></center>";
echo $content; }

function PrintHTML($content) { echo $content; }
function output($content) { echo $content; }

function valid_email($email) {
$pattern = "^[-_.[:alnum:]]+@((([[:alnum:]]|[[:alnum:]][[:alnum:]-]*[[:alnum:]])\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$";
if(eregi($pattern, $email)) { return true;} else { return false; } }


/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/

switch($x) {
case "register": include("register.php"); break;
case "login": include("login.php"); break;
case "logout": include("logout.php"); break;
case "edit": include("edit.php"); break;
case "members": include("members.php"); break;
case "mailer": include("mailer.php"); break;
case "messenger": include("messenger.php"); break;
case "forgotpw": include("forgotpw.php"); break;
default: include("login.php"); }


if($x != "" && $x != "login" && $x != "logout") {
echo "<br><a rel="nofollow" href='javascript:history.back();' style='font-size:8px;' title='go back'><b>&lt;-</b></a> <a rel="nofollow" href='index.php' title='main'><b>go back</b></a>"; }

ob_end_flush(); ?>
                          </font></strong> </DIV></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <BR> <TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                    <TR>
                      <TD class=menu_t_l>
                      <TD class=menu_t><font color="#FFFFFF"><font color="#FFFFFF"><strong>&raquo;</strong></font></font>
                        Navigation</TD>
                      <TD class=menu_t_r>&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD class=menu_body colSpan=3><DIV style="TEXT-ALIGN: center">
                          <div align="left"><strong><font color="#CC3333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><span class="text_"><SPAN
                  class=smalltext>
                            <?php include("navigation.php"); ?>
                            </SPAN></span> </font></strong></div>
                        </DIV></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <BR> <BR> <TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                    <TR>
                      <TD class=menu_t_l>
                      <TD class=menu_t><font color="#FFFFFF"><font color="#FFFFFF"><strong>&raquo;</strong></font></font>
                        Shoutbox</TD>
                      <TD class=menu_t_r>&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD class=menu_body colSpan=3><div align="center"><span class="text_"><SPAN
                  class=smalltext>
                          <?php include("http://happymojo.com/viewshoutbox.php"); ?>
                          </SPAN><span class="text_above_top_menu"><a rel="nofollow" href="#" class="read_more_news"><br>
                          </a></span></span></div></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <BR>
                <BR> <TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                    <TR>
                      <TD class=menu_t_l>
                      <TD class=menu_t> <font color="#FFFFFF"><font color="#FFFFFF"><strong>&raquo;</strong></font></font>
                        Stats</TD>
                      <TD class=menu_t_r>&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD class=menu_body colSpan=3><span class="text_"><span class="text_above_top_menu"><a rel="nofollow" href="#" class="read_more_news">
                        </a></span><span class="text_"><span class="text_above_top_menu">
<?php include("http://happymojo.com/counter.php"); ?>
                        <font size="-2" face="Verdana, Arial, Helvetica, sans-serif">total
                        hits</font><font size="2"></font></span></span><span class="text_above_top_menu"><a rel="nofollow" href="#" class="read_more_news"><br>
<?php include("http://happymojo.com/useronline.php"); ?>
                        </a><br>
                        <font size="2"> </font></span><span class="text_"><span class="text_above_top_menu">
<br><img src="http://happymojo.com/gta/images/bullet2.gif" width="4" height="7"> <?php echo $_SERVER['REMOTE_ADDR'];  ?> </span></span></span><SPAN
                  class=smalltext> <font size="-2" face="Verdana, Arial, Helvetica, sans-serif"> is your
                        ip address</font><br>
                        </SPAN><span class="text_"><span class="text_"><span class="text_above_top_menu"><br>
<img src="http://happymojo.com/gta/images/bullet2.gif" width="4" height="7">                         <?php function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$time_start = getmicrotime();
for ($i=0; $i <1000; $i++){
}
$time_end = getmicrotime();
$time = $time_end - $time_start;
$time = round($time,6);
echo "This page loaded in $time seconds.";
?>
                        </span></span></span><SPAN
                  class=smalltext><br>
                        <br>
                        </SPAN></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <BR> <BR> <TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                    <TR>
                      <TD class=menu_t_l>
                      <TD class=menu_t><font color="#FFFFFF"><font color="#FFFFFF"><strong>&raquo;</strong></font></font>
                        Contact</TD>
                      <TD class=menu_t_r>&nbsp;</TD>
                    </TR>
                    <TR>
                      <TD class=menu_body colSpan=3></SPAN><span class="text_"><SPAN
                  class=smalltext>
                        <?php include("contactlist.php"); ?>
                        </SPAN></span><SPAN
                  class=smalltext><br>
                        </SPAN></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                <BR></TD>
              <TD class=content_area> <DIV class=news>
                  <DIV class=news_cap>HappyMojo.com News</DIV>
                  <DIV class=news_body></DIV>
<?PHP
include("cutenews/show_news.php");
?>
                </DIV>
</TD>
            </TR>
          </TBODY>
        </TABLE>
        <BR></TD>
      <TD class=body_r></TD>
    <TR>
      <TD class=body_b_l>
      <TD class=body_b> <DIV class=disclaimer>
          <div align="right"><font color="#FFFFFF"><font color="#FFFFFF"><strong>&raquo;</strong></font>
            <strong>Copyright © 2004 HappyMojo.com</strong></font></div>
        </DIV></TD>
      <TD class=body_b_r></TD>
    </TR>
  </TBODY>
</TABLE>
<DIV class=smalltext style="TEXT-ALIGN: center">Render time: 0.2807 second(s).
</DIV><p align="center"><script type="text/javascript"><!--
google_ad_client = "pub-6921353005760372";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p></BODY></HTML>


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 07, 2004 11:01 pm 
Offline

Joined: Sat Jul 17, 2004 12:01 am
Posts: 637
Location: California, US
Probably the google ads. Try moving them to the top.

_________________
DB_DataObject_FormBuilder - The database at your fingertips


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron