Thank you for all of the great replies. I can see that there is a lot of good people here. I apparently set the subscribe feature incorrectly and didn't get any of the E-mails, and as such I incorrectly thought there were no responses yet. I finally logged in and found myself pleasantly surprised indeed.
Yes, the HTML is very broken. However, this is not my doing; let me explain...
This is a rather large site that people can use if they open an account with Healthy Futures. This, of course, requires a database driven site. Originally, it was constructed in 2002 (ish) by Moving Pixel Productions. Today, the people that own Healthy Futures can no longer afford to pay the high prices that Moving Pixel Productions charges and that is when I was asked to make the changes they needed.
I've said all that to say: While I'm fully aware that I broke the code recently, it's been without things like the DOCTYPE tag and a list of other things right from day one (I'm not defending any of this poor code, just explaining the origin). And finally... and as I've stated previously, the code that I see and work with is NOT the code that you see when you click "View Source Code" in your browser. Please take a look at this code:
Code: Select all
<?
////////////////////////////////////////////////////////
//
// HealthyFutures
// as edited by: TheMasteredWeb.com
// Class: Web Page
// Version: 1.5
////////////////////////////////////////////////////////
// Get the Shared Variables, Functions and Login to Database
ereg("/(.+)/(.*)", $DOCUMENT_ROOT, $rootdir);require("/home/www/healthyfutures.net/Shared/library/HealthyFutures.inc.php");
?>
<html>
<head>
<title>New Earth Product Prices</title>
<link rel="stylesheet" href="../HF-style.css" type="text/css">
<script language="JavaScript" type="text/javascript" src="../HF.js"></script>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
}
.style3 {color: #CE0000}
-->
</style>
</head>
<body bgcolor="#FFFFFF" vlink="#003366" link="#003366" alink="#003366" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"><!-- #BeginLibraryItem "/Library/Product-Header.lbi" -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD bgcolor="#C6E3F7"><img src="../healthyfutures.net/images/1pixel.gif" width="1" height="15" alt="" border="0"></td>
</tr>
<TR>
<TD bgcolor="#96C5DD"><img src="../healthyfutures.net/images/1pixel.gif" width="1" height="12" alt="" border="0"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR><TD width="746"><img src="../images/1-headerLine.gif" width="746" height="23" alt="" border="0"></td>
<td bgcolor="#296184" width="100%"><img src="../images/1pixel.gif" width="1" height="1" alt="" border="0"></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="114" bgcolor="#C1E7FA"><img src="../images/1pixel.gif" width="114" height="30" alt="" border="0"></td>
<TD width="26" bgcolor="#67A5C5"><img src="../images/1pixel.gif" width="26" height="1" alt="" border="0"></td>
<TD bgcolor="#C1E7FA">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom">
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td nowrap class="blue2" ><img src="../images/1pixel.gif" width="1" height="1"></td>
<td nowrap class="blue2" >
<?
if ($Dealer[SiteMessage] != ""){
echo "$Dealer[SiteMessage]";
} else {
echo "Welcome! This site belongs to $Dealer[Name]";
}
?>
</td>
</tr>
</table>
</td>
<td valign="bottom"> </td>
<td valign="bottom"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR><TD width="668"><img src="../images/1-dots.gif" width="668" height="9" alt="" border="0"></td>
<TD width="100%" background="../images/1-dots-expand.gif"><img src="../images/1-dots-expand.gif" width="8" height="9" alt="" border="0"></td></tr>
</table>
<!-- #EndLibraryItem -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD bgcolor="#C1E7FA" width="10"><img src="../images/1pixel.gif" width="10" height="1" alt="" border="0"></td>
<TD bgcolor="#C1E7FA" valign="top" align="right" width="98"><!-- #BeginLibraryItem "/Library/Product-Menu.lbi" -->
<p><img src="../images/1pixel.gif" width="98" height="10" border="0"><br>
<a href="../index-product.php" class="link"><b>Home</b></a> <br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="health_revelations.php" class="link"><b>Health
<br>
Revelations</b></a> <br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="health_model.php" class="link"><b>Health Model</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="resources.php" class="link"><b>Free Health Articles</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="products.php" class="link"><b>Products</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="phototestimony.php?art=298" class="link"><b>Photo <br>
Testimonies</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="videos.php" class="link"><b>Videos</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="ordering.php" class="link"><b>Ordering</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="../index-business.php" class="link"><b>Business Overview</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<?
echo "<a href='http://$HTTP_HOST/$Dealer[WebDirectory]/products/login.php' target='_top' class='link'><b>Member Log In</b></a><br>";
?>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<a href="contact.php" class="link"><b>Contact Us</b></a>
<br>
<img src="../images/1pixel.gif" width="1" height="10" alt="" border="0"><br>
<!-- #EndLibraryItem --><p> </p>
</td>
<TD width="6" bgcolor="#C1E7FA"><img src="../images/1pixel.gif" width="6" height="1" alt="" border="0"></td>
<TD width="26" bgcolor="#67A5C5"><img src="../images/1pixel.gif" width="26" height="400" alt="" border="0"></td>
<TD width="15"><img src="../images/1pixel.gif" width="15" height="1" alt="" border="0"></td>
<TD width="515" valign="top">
<table width="525" border="0" cellspacing="5" cellpadding="0">
<tr>
<td width="93" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../images/photo-productbag2.jpg" width="81" height="140" alt="" border="0"></td>
</tr>
<tr>
<td bgcolor="#67A5C5"><img src="../images/1pixel.gif" width="1" height="15" alt="" border="0"></td>
</tr>
</table>
</td>
<td width="402">
<p>
<? // Show Opportunity Logo, if does not exist, show Product Logo, if not exist, show default
if ($Dealer[Download1] != '') {echo "<img src='http://$HTTP_HOST/downloads/$Dealer[Download1]' alt='$Dealer[Name]' border='0'>";}
elseif ($Dealer[Download2] != '') {echo "<img src='http://$HTTP_HOST/downloads/$Dealer[Download2]' alt='$Dealer[Name]' border='0'>";}
else {echo "<img src='http://$HTTP_HOST/$Dealer[WebDirectory]/images/1-title02.gif' width='212' height='55' alt='Healthy Futures' border='0'>";}
?>
<p><span class="title3">Product Quantities and Prices</span><br>
<span class="title2">All Prices in US Dollars</span></p>
<p><b>Click on Product Names (below) to view corresponding product pages</b></p>
<!-------------- SPECIALS ----------------------->
<table border=0 cellpadding=4 cellspacing=10 width="100%">
<p>
</p>
</td>
</tr>
</table>
</tr>
</table>
<!-------------- PRODUCTS ----------------------->
<table border=0 cellpadding=4 cellspacing=10 width="100%">
<tr bgcolor="#C6E7FF">
<td width="495" height="30" colspan=8>
<p><b class="title2">Essentials Products</b><b>
 
; Wholesale
Preferred Retail</b></p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/alphasun.php" class="link"><b>Wild Bluegreen™ Body, 120 Caps</b></a></p> </td>
<td align=center>
<p>27.00</p> </td>
<td align=center>
<p>30.00</p> </td>
<td align=right>
<p>34.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/alphasun.php" class="link"><b>Wild Bluegreen™ Body, 240 Caps</b></a></p> </td>
<td align=center>
<p>49.00</p> </td>
<td align=center>
<p>54.00</p> </td>
<td align=RIGHT>
<p>61.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/alphasun.php" class="link"><b>Wild Bluegreen™ Body, 120 Tabs</b></a></p> </td>
<td align=center>
<p>27.00</p> </td>
<td align=center>
<p>30.00</p> </td>
<td align=RIGHT>
<p>34.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/alphasun.php" class="link"><b>Wild Bluegreen™ Body, 240 Tabs</b></a></p> </td>
<td align=center>
<p>49.00</p> </td>
<td align=center>
<p>54.00</p> </td>
<td align=RIGHT>
<p>61.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/alphasun.php" class="link"><b>Wild Bluegreen™ Body, 480 Tabs</b></a></p> </td>
<td align=center>
<p>83.00</p> </td>
<td align=center>
<p>92.00</p> </td>
<td align=RIGHT>
<p>104.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/omegasun.php" class="link"><b>Wild Bluegreen™ Mind, 120 Caps</b></a></p> </td>
<td align=center>
<p>37.00</p> </td>
<td align=center>
<p>41.00</p> </td>
<td align=RIGHT>
<p>46.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/omegasun.php" class="link"><b>Wild Bluegreen™ Mind, 240 Caps</b></a></p> </td>
<td align=center>
<p>71.00</p> </td>
<td align=center>
<p>80.00</p> </td>
<td align=RIGHT>
<p>89.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/omegasun.php" class="link"><b>Wild Bluegreen™ Mind, 120 Tabs</b></a></p> </td>
<td align=center>
<p>37.00</p> </td>
<td align=center>
<p>41.00</p> </td>
<td align=RIGHT>
<p>46.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/omegasun.php" class="link"><b>Wild Bluegreen™ Mind, 240 Tabs</b></a></p> </td>
<td align=center>
<p>71.00</p> </td>
<td align=center>
<p>80.00</p> </td>
<td align=RIGHT>
<p>89.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/omegasun.php" class="link"><b>Wild Bluegreen™ Mind, 480 Tabs</b></a></p> </td>
<td align=center>
<p>125.00</p> </td>
<td align=center>
<p>141.00</p> </td>
<td align=RIGHT>
<p>156.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/simplySBGA.php" class="link"><b>Wild Bluegreen™ Blend, 3.5 oz</b></a></p> </td>
<td align=center>
<p>76.00</p> </td>
<td align=center>
<p>86.00</p> </td>
<td align=RIGHT>
<p>95.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/originalenzymes.php" class="link"><b>Enzymes, 90 Caps</b></a></p> </td>
<td align=center>
<p>40.00</p> </td>
<td align=center>
<p>45.00</p> </td>
<td align=RIGHT>
<p>50.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/e-12.php" class="link"><b>Enzymes +, 90 Caps</b></a></p> </td>
<td align=center>
<p>32.00</p> </td>
<td align=center>
<p>36.00</p> </td>
<td align=RIGHT>
<p>40.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/acidophilus.php" class="link"><b>Acidophilus, 60 Caps</b></a></p> </td>
<td align=center>
<p>22.00</p> </td>
<td align=center>
<p>25.00</p> </td>
<td align=RIGHT>
<p>28.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/bifidus.php" class="link"><b>Bifidus, 60 Caps</b></a></p> </td>
<td align=center>
<p>22.00</p> </td>
<td align=center>
<p>25.00</p> </td>
<td align=RIGHT>
<p>28.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/spectrabiotic.php" class="link"><b>Spectrabiotic®, 60 Caps</b></a></p> </td>
<td align=center>
<p>27.00</p> </td>
<td align=center>
<p>30.00</p> </td>
<td align=RIGHT>
<p>34.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/essentials.php" class="link"><b>Essentials Box, 30 Packets</b></a></p> </td>
<td align=center>
<p>50.00</p> </td>
<td align=center>
<p>56.00</p> </td>
<td align=RIGHT>
<p>63.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/amatrixcats.php" class="link"><b>Essentials Blend, 12 oz</b></a></p> </td>
<td align=center>
<p>100.00</p> </td>
<td align=center>
<p>113.00</p> </td>
<td align=RIGHT>
<p>125.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/ess-blend-plus.php" class="link"><b>Essentials Blend Plus, 4.6 oz</b></a></p> </td>
<td align=center>
<p>41.00</p> </td>
<td align=center>
<p>46.00</p> </td>
<td align=RIGHT>
<p>51.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/bgbar.php" class="link"><b>BG Bar, Box of 10</b></a></p> </td>
<td align=center>
<p>22.00</p> </td>
<td align=center>
<p>25.00</p> </td>
<td align=RIGHT>
<p>28.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/water.php" class="link"><b>Water, 90 Caps</b></a></p> </td>
<td align=center>
<p>49.00</p> </td>
<td align=center>
<p>55.00</p> </td>
<td align=RIGHT>
<p>61.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/forest.php" class="link"><b>Forest, 90 Caps</b></a></p> </td>
<td align=center>
<p>37.00</p> </td>
<td align=center>
<p>42.00</p> </td>
<td align=RIGHT>
<p>46.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/earth.php" class="link"><b>Earth, 90 Caps</b></a></p> </td>
<td align=center>
<p>27.00</p> </td>
<td align=center>
<p>30.00</p> </td>
<td align=RIGHT>
<p>34.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/essentials-wild-box.php" class="link"><b>Wild & Essentials Box, 60 Packets</b></a></p></td>
<td align=center>
<p>150.00</p> </td>
<td align=center>
<p>169.00</p> </td>
<td align=RIGHT>
<p>188.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/defend.php" class="link"><b>Defend, 90 Caps</b></a></p> </td>
<td align=center>
<p>50.00</p> </td>
<td align=center>
<p>56.00</p> </td>
<td align=RIGHT>
<p>63.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/pro-essentialmatrix.php" class="link"><b>NutraBeartiful™ Lotion</b></a></p> </td>
<td align=center>
<p>32.00</p> </td>
<td align=center>
<p>36.00</p> </td>
<td align=RIGHT>
<p>40.00</p> </td>
</tr>
<tr>
<td>
<p><span class="title2">Would You Like To Place An Order?</span><br>
<a href="ordering.php">CLICK HERE</a> and follow the online instructions.</p>
</td>
</tr>
<tr>
<td width="120"> </td>
</tr>
<tr bgcolor="#C6E7FF">
<td height="30" colspan=8>
<p><b class="title2">Edge Products</b><b>
Wholesale Preferred
Retail</b></p></td>
</tr>
<tr>
<td width="120">
<p><a href="products/juiced.php" class="link"><b>Drive, 60 Caps</b></a></p> </td>
<td align=center>
<p>40.00</p> </td>
<td align=center>
<p>45.00</p> </td>
<td align=RIGHT>
<p>50.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/reflex.php" class="link"><b>Focus, 60 Caps</b></a></p> </td>
<td align=center>
<p>40.00</p> </td>
<td align=center>
<p>45.00</p> </td>
<td align=RIGHT>
<p>50.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/rebound.php" class="link"><b>Rebound, 90 Caps</b></a></p> </td>
<td align=center>
<p>57.00</p> </td>
<td align=center>
<p>64.00</p> </td>
<td align=RIGHT>
<p>71.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/twist.php" class="link"><b>Flex, 90 Caps</b></a></p> </td>
<td align=center>
<p>60.00</p> </td>
<td align=center>
<p>68.00</p> </td>
<td align=RIGHT>
<p>75.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/edge-box.php" class="link"><b>Edge Box, 60 Packets</b></a></p> </td>
<td align=center>
<p>150.00</p> </td>
<td align=center>
<p>169.00</p> </td>
<td align=RIGHT>
<p>188.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/smoothie.php" class="link"><b>Build, 30 Servings</b></a></p> </td>
<td align=center>
<p>90.00</p> </td>
<td align=center>
<p>101.00</p> </td>
<td align=RIGHT>
<p>113.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/smoothie.php" class="link"><b>Build Sample Packets, Box of 10</b></a></p> </td>
<td align=center>
<p>40.00</p> </td>
<td align=center>
<p>45.00</p> </td>
<td align=RIGHT>
<p>50.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/energize.php" class="link"><b>Energize, 30 Caps</b></a></p> </td>
<td align=center>
<p>55.00</p> </td>
<td align=center>
<p>62.00</p> </td>
<td align=RIGHT>
<p>69.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/stemplex.php" class="link"><b>Renew™, 60 Tabs</b></a></p> </td>
<td align=center>
<p>52.00</p> </td>
<td align=center>
<p>59.00</p> </td>
<td align=RIGHT>
<p>65.00</p> </td>
</tr>
<tr>
<td align=left>
<p><br><a href="ordering.php">
<img src="../images/PlaceOrder.png" alt="click here to place your order" width="90" height="26" border=0></a></p>
</td>
</tr>
<tr>
<td width="120"> </td>
</tr>
<tr bgcolor="#C6E7FF">
<td height="30" colspan=8>
<p><b class="title2">Give Products</b><b>
Wholesale Preferred
Retail</b></p></td>
</tr>
<td width="120">
<p><a href="products/square-meal.php" class="link"><b>Square Meal Donation, 30 Count</b></a></p> </td>
<td align=center>
<p>60.00</p> </td>
<td align=center>
<p>68.00</p> </td>
<td align=RIGHT>
<p>75.00</p> </td>
</tr>
<tr>
<td width="120">
<p><a href="products/bgbar-give.php" class="link"><b>BG Bar Donation, 30 Pk</b></a></p> </td>
<td align=center>
<p>50.00</p> </td>
<td align=center>
<p>56.00</p> </td>
<td align=RIGHT>
<p>63.00</p> </td>
</tr>
<tr>
<td width="120"> </td>
</tr>
<tr bgcolor="#C6E7FF">
<td height="30" colspan=8>
<p></p> </td>
</tr>
</table>
<!-------------- PRODUCTS ----------------------->
<table width="495" border="0" cellspacing="0" cellpadding="10">
<tr>
<td align=left>
<p><br><a href="ordering.php">
<img src="../images/PlaceOrder.png" alt="click here to place your order" width="90" height="26" border=0></a></p>
</td>
<td align=right>
<p><br><a href="javascript: history.go(-1)">
<img src="../images/BackButton.png" alt="go back one page" width="55" height="21" border=0></a></p>
</td>
</tr>
</table>
<br>
<img src="../images/1pixel.gif" width="515" height="20" alt="" border="0"></td>
<TD width="4" bgcolor="#67A5C5"><img src="../images/1pixel.gif" width="4" height="1" alt="" border="0"></td>
<TD width="100%" valign="top" bgcolor="#E9F6FC">
<!-- #BeginLibraryItem "/Library/Testimonies Model.lbi" -->
<table border="0" cellpadding="3" cellspacing="0" width="150">
<tr>
<td bgcolor="#C1E7FA">
<p><b class="blue2">TESTIMONIES</b></p>
</td>
</tr>
<tr>
<td bgcolor="#67A5C5"><img src="../images/1pixel.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td bgcolor="#E9F6FC">
<p class="textblue">
<? ShowRandomTestimonies('38',25); ?>
</p>
</td>
</tr>
</table>
<!-- #EndLibraryItem -->
</td>
</tr>
</table>
<!-- #BeginLibraryItem "/Library/Product-Footer.lbi" -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR><TD bgcolor="#67A5C5"><img src="../images/1pixel.gif" width="1" height="15" alt="" border="0"></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR><TD bgcolor="#296184"><img src="../images/1pixel.gif" width="1" height="8" alt="" border="0"></td></tr>
</table>
<table width="660" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../images/1-art.gif" width="462" height="21" alt="" border="0"></td>
</tr>
</table>
<table width="660" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class="sm">
<p>Copyright © 2003 All Rights Reserved SHF Group :: Web site originally created by
<a href="http://www.movingpixel.ca/" target="_top"> Moving Pixel Productions</a></p>
<p><span class="title">This website has been redesigned by:</span> <a href="http://TheMasteredWeb.com/" target="_blank">
<span class="title2">The Mastered Web</span></a></p>
<p>
The Healthy Futures System does not condone the use of UCE (Unsolicited
commercial email) and spam. Group members are strictly prohibited from
using spam in their marketing efforts, and are subject to immediate termination<br>
<a href="../products/abuse.php">Formal complaint click here</a>
</p>
<p>The New Earth logo, trademarked names, phrases and images are used with permission from New Earth.</p>
<p>A New Earth Independent Associate site</p>
</td>
</tr>
</table><!-- #EndLibraryItem --></body>
</html>
Continues in next message...