Jump to content

Archived

This topic is now archived and is closed to further replies.

HoTDaWg

Messed up tables

Recommended Posts

hi all,

I have a really messed up site. If you take a look, you will notice that the tables on the left and right are really messed up. You can view them at:

[a href=\"http://www.thomasstreet.deccanhost.com/74\" target=\"_blank\"]Class 74's Website[/a]

That is a website for my class.

Here is the code for index.php:

[code]
<html>
<head>
<title>Class 74- Be the Change</title>
<!- VIEW SOURCE PREVENTER SCRIPT BEGINS -!>

<script type="text/javascript">
<!--

var message="Thomas Street Middle School- Live, Love, Laugh, Learn in harmony; and strive to leave a legacy"; // Your no right click message here
var closeWin="0"; // Do you want to close window after message (1 for yes 0 for no)

// JavaScript by Dave Lauderdale
// Published at: www.digi-dl.com

function IE(e)
{
     if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
     {
          alert(message); if(closeWin=="1") self.close();
          return false;
     }
}
function NS(e)
{
     if (document.layers || (document.getElementById && !document.all))
     {
          if (e.which==2 || e.which==3)
          {
               alert(message); if(closeWin=="1") self.close();
               return false;
          }
     }
}
document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");

//-->
</script>

<!- VIEW SOURCE PREVENTER SCRIPT ENDS -!>

<script language="JavaScript1.2">

<!--

var url = "#";
var title = "#";

function bookmark(){
if(document.all)
window.external.AddFavorite(url,title)
}

// -->

</script>
</head>
<body bgcolor="#51616A" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<center>
<!- LINK CONTROLLING STARTS -!>

<style type="text/css">
<!--
A:link { text-decoration: none; color:#FF0000 }
A:visited { text-decoration: none; color:#FF0000 }
A:hover { text-decoration: none; color:#FFFFFF }
-->
</style>


<!- LINK CONTROLLING ENDS -!>

<!- PRE NAVIGATIONAL BAR STARTS -!>
<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" background="images/prenavback.gif">
<center><img border="0" src="http://www.weight-click.com/loss.php?page=http://www.thomasstreet.hostlix.com/&digit=v5"  alt="Free Visitor Counters">
</td>


</tr>
</table>

<?php include 'header.php'; ?>


<table width="750" height="0" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr>


<td width="20" background="images/leftsidebar.gif">&nbsp;</td>

<td bgcolor="#ffffff"><?php include 'leftnav.php'; ?></td>

<td bgcolor="#ffffff">
<center>
<table width="385" height="0" style="border: 1px solid #000000;"  valign="top" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666"  valign="top"><font color="#FFFFFF">Welcome!</font></td>
</tr>
<tr>
<td bgcolor="#cccccc"><div align="center" valign="center">Welcome to Class 74's website! We suggest that you will visit our website frequently as we plan to update it throughtout the year. We hope that you will enjoy and explore this website and in the end, will be able to produce a clear and through idea of our class. If you have questions, concerns, feedback, etc.;<a href="contactus.php">you contact us by click here.</a>
</div>
</td>
</tr>
</table>
<br>


<?php include 'searchnav.php'; ?>

</center>

</td>
<td bgcolor="#ffffff"><?php include 'rightnav.php'; ?></td>

<td width="20" background="images/rightsidebar.gif">&nbsp;</td>

<tr>
</table>




<table width="750" height="0" border="0" cellpadding="0" cellspacing="0">
<tr>


<td width="20" background="images/leftsidebar.gif">&nbsp;</td>

<td bgcolor="#ffffff">&nbsp;<br><br></td>

<td width="20" background="images/rightsidebar.gif">&nbsp;</td>

</tr>
</table>



<table width="750" height="0" border="0" cellpadding="0" cellspacing="0">
<tr>


<td width="20" background="images/leftsidebar.gif">&nbsp;</td>

<td><?php include 'subnav.php'; ?></td>

<td width="20" background="images/rightsidebar.gif">&nbsp;</td>

</tr>
</table>

</body>
</html>
[/code]

Here is the code for left nav.php:

[code]
<?php echo '<table width="150" height="0" style="border: 1px solid #000000;" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666"  valign="top"><font color="#FFFFFF">Main Menu</font></td>
</tr>
<tr>
<td bgcolor="#cccccc"><div align="left">
<a title="Home" href="index.php">Home</a><br>
<a title="Homework Board" href="homeworkboard.php">Homework Board</a><br>
<a title="About Us" href="aboutus.php">About Us</a><br>
<a title="Contact Us" href="http://www.thomasstreet.deccanhost.com/74/phpBB2">Forum</a><br>
<a title="Contact Us" href="contactus.php">Contact Us</a><br>

</td></div>
</tr>
</table>
<br>
<table width="150" height="0" style="border: 1px solid #000000;" valign="top" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666"><font color="#FFFFFF">Quote</font></td>
</tr>
<tr>
<td bgcolor="#cccccc"><div align="left">
"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater"
<br>
- Albert Einstein
</td></div>
</tr>
</table>
<br>

<table width="150" height="0" style="border: 1px solid #000000;" valign="top" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666"><font color="#FFFFFF">Message From Mr. Benoit</font></td>
</tr>
<tr>
<td bgcolor="#cccccc"><div align="left">
"How will you make the world yours?" - Mr. Benoit, homeroom teacher of class 74
</td></div>
</tr>
</table>
<br>
<table width="150" height="0" style="border: 1px solid #000000;" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666"><font color="#FFFFFF">Quick Links</font></td>
</tr>
<tr>
<td bgcolor="#cccccc"><div align="left">
<a title="Google" href="http://www.google.ca">Google</a><br>
<a title="Link To Learning" href="http://www.linktolearning.com">Link To Learning</a><br>
<a title="Ask Jeeves" href="http://www.ask.com">Ask Jeeves</a><br>
<a title="Yahooligans" href="http://www.yahooligans.com">Yahooligans</a><br>
<a title="Thomas Street Middle School Home" href="http://thomasstreet.peelschools.org">Thomas Street Middle School Home</a><br>

</td></div>
</tr>
</table>

<br>
<table width="150" height="0" style="border: 1px solid #000000;" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666"><div align="left"><font color="#FFFFFF">Class News</font></td>
</tr>
<tr>
<td bgcolor="#cccccc">
<li>01/20/06- Patrick has returned from the dead!<i>posted by Sarah</i><br>
<li>17/01/05- Patrick the hat has died. Patrick was a good fellow worn by a variety of people. He provided every student with a warm smile and ensured our happines.We will miss you patrick!<br>
<li>30/12/05- This website has been released!<br>
</td></div>
</tr>
</table>'; ?>[/code]

rightnav.php

[code]
<?php echo '<br><table width="150" height="0" style="border: 1px solid #000000;" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#666666" valign="top"><font color="#FFFFFF">Site News</font></td>
</tr>
<tr>
<td bgcolor="#cccccc" valign="top">
<li>30/12/05- <u>HUGE NEWS-</u><b>THE FORUMS ARE NOW HERE</b><br>
<li>30/12/05- The <a href="contactus.php">contact us page</a> has almost been completed<br>
<li>30/12/05- Following a suggestion, a counter has been added.<br>
</td>
</tr>
</table>

<br><table width="150" height="0" style="border: 1px solid #000000;" cellpadding="0" cellspacing="0" valign="top">
<tr>
<td bgcolor="#666666"><font color="#FFFFFF">Show Your Support for Mr. Benoit</font></td>
</tr>
<tr>
<td bgcolor="#cccccc" valign="top">
To show your suport, visit this website- <a href="http://www.ratemyteachers.ca./schools/ontario/mississauga/thomas_street_middle_school/jason__benoit" target="blank">Click Here!</a>
<br>
</td>
</tr>
</table>'; ?>
[/code]

and those are about all I think you all will need. I have been hired by a teacher from my school to make him a website, this time for an organization he works for. I REALLY need to know how to fix this problem. Please help me.

Bakhtawar Awan

Share this post


Link to post
Share on other sites
Your page has a 'no right click script' :)

I managed to view-source, copy, fix (two minor edits), and upload to one of my sites.

[a href=\"http://www.halfadot.com/temp/hotdawg.html\" target=\"_blank\"]http://www.halfadot.com/temp/hotdawg.html[/a] - I added comments at the simple changes made. Just use the browser toolbar view>>source to copy the page and you'll see what changes you need to make.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.