MozillaZine


Table Broken Only In FireFox

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
SoCalBoy
 
Posts: 8
Joined: November 24th, 2014, 12:29 pm

Post Posted December 2nd, 2014, 7:36 pm

Hello Everyone, :D

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">&nbsp; </td>
          <td valign="bottom">&nbsp; </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>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wholesale&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;Preferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retail</b></p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/alphasun.php" class="link"><b>Wild Bluegreen&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&trade; 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&reg;, 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&trade; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wholesale&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Preferred&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&trade;, 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wholesale&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Preferred&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &copy; 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...

SoCalBoy
 
Posts: 8
Joined: November 24th, 2014, 12:29 pm

Post Posted December 2nd, 2014, 7:39 pm

Continued from above...

The above is what's generating the page that we've all been talking about.
Now, please take a look at the code, below. It's from a few years ago. I've made many changes to the site since then without any problems. Unfortunately, this lead to my laziness of not saving a copy first and so now I have nothing to go back to except way way back to such an earlier version that we can't use it. I'm only including it so that, hopefully, someone can see what's been working and what I need to change to bring todays version back to working order. Here's the older version...

Code: Select all
<?
////////////////////////////////////////////////////////
//
// HealthyFutures
//
// Class: Web Page
// Version: 1.0
////////////////////////////////////////////////////////

// Get the Shared Variables, Functions and Login to Database
ereg("/(.+)/(.*)", $DOCUMENT_ROOT, $rootdir);require("/home/httpd/vhosts/healthyfutures.net/httpdocs/Shared/library/HealthyFutures.inc.php");

?>
<html>
<head>
<title>Healthy Futures</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">&nbsp; </td>
          <td valign="bottom">&nbsp; </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>&nbsp;</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="495" border="0" cellspacing="0" 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> <b>Product Quantities and Prices</b> <br>
            <font color="#CC0000">All Prices in US Dollars</font>            <br>
            <span class="style3">Click on item code to view description of each product </span>
            <table border=0 cellpadding=4 cellspacing=0 width="100%">
              <!--------------------SPECIALS-------------------------->
              <p>
                <!-------------- PRODUCTS ----------------------->
              <tr>
                <td width="120">
                  <p><b>Item Code</b></p>                </td>
                <td>
                  <p><b>Description</b></p>                </td>
                <td align=RIGHT>
                  <p><b>Wholesale Prices</b></p>                </td>
              <td align=RIGHT>
                  <p><b>Retail Prices</b></p>                </td>
              </tr>
             
              <tr bgcolor="#C6E7FF">
                <td height="30" colspan=8>
                  <p><b>SUPER BLUE GREEN ALGAE</b></p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/alphasun.php">21-100</a></p>                </td>
                <td>
                  <p>Alpha Sun, 120 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>27.00</p>                </td>
                  <td align=RIGHT>
                  <p>33.75</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/alphasun.php">21-103</a></p>                </td>
                <td>
                  <p>Alpha Sun, 240 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>49.00</p>                </td>
                  <td align=RIGHT>
                  <p>61.25</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/alphasun.php">21-110</a></p>                </td>
                <td>
                  <p>Alpha Sun, 120 tablets</p>                </td>
                <td align=RIGHT>
                  <p>25.00</p>                </td>
                  <td align=RIGHT>
                  <p>31.25</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/alphasun.php">21-113</a></p>                </td>
                <td>
                  <p>Alpha Sun, 240 tablets</p>                </td>
                <td align=RIGHT>
                  <p>45.00</p>                </td>
                  <td align=RIGHT>
                  <p>56.25</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/alphasun.php">21-116</a></p>                </td>
                <td>
                  <p>Alpha Sun, 480 tablets</p>                </td>
                <td align=RIGHT>
                  <p>83.00</p>                </td>
                  <td align=RIGHT>
                  <p>103.75</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/omegasun.php">21-150</a></p>                </td>
                <td>
                  <p>Omega Sun, 120 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>38.00</p>                </td>
                  <td align=RIGHT>
                  <p>47.50</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/omegasun.php">21-153</a></p>                </td>
                <td>
                  <p>Omega Sun, 240 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>71.00</p>                </td>
                  <td align=RIGHT>
                  <p>88.75</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/omegasun.php">21-160</a></p>                </td>
                <td>
                  <p>Omega Sun, 120 tablets</p>                </td>
                <td align=RIGHT>
                  <p>37.00</p>                </td>
                  <td align=RIGHT>
                  <p>46.25</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/omegasun.php">21-163</a></p>                </td>
                <td>
                  <p>Omega Sun, 240 tablets</p>                </td>
                <td align=RIGHT>
                  <p>69.00</p>                </td>
                  <td align=RIGHT>
                  <p>86.25</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/omegasun.php">21-166</a></p>                </td>
                <td>
                  <p>Omega Sun, 480 tablets</p>                </td>
                <td align=RIGHT>
                  <p>125.00</p>                </td>
                  <td align=RIGHT>
                  <p>156.25</p>                </td>
              </tr>
              <tr>
                <td height="32">
                  <p><a href="products/simplySBGA.php">21-180</a></p></td>
                <td>
                  <p>Simply SBGA, 3.5 oz</p></td>
                <td align=RIGHT>
                  <p>76.00</p></td>
                  <td align=RIGHT>
                  <p>95.00</p>                </td>
              </tr>
                        
              <tr bgcolor="#C6E7FF">
                <td height="30" colspan=8>
                  <p><b>DIGESTION</b></p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/e-12.php">21-204</a></p>                </td>
                <td>
                  <p>SBG Zymes Plus, 90 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                <p>29.00</p>                </td>
                  <td align=RIGHT>
                  <p>36.25</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/originalenzymes.php">21-200</a></p>                </td>
                <td>
                  <p>SBG Zymes, 180 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>46.00</p>                </td>
                  <td align=RIGHT>
                  <p>57.50</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/acidophilus.php">21-210</a></p>                </td>
                <td>
                  <p>Acidophilus, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>20.00</p>                </td>
                  <td align=RIGHT>
                  <p>25.00</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/bifidus.php">21-213</a></p>                </td>
                <td>
                  <p>Bifidus, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>20.00</p>                </td>
                  <td align=RIGHT>
                  <p>25.00</p>                </td>
              </tr>
              <tr>
                <td width="120" height="43">
                  <p><a href="products/spectrabiotic.php">21-216</a></p>                </td>
                <td>
                  <p>Spectrabiotic&reg;, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>27.00</p>                </td>
                  <td align=RIGHT>
                  <p>33.75</p>                </td>
              </tr>
              <tr>
                <td width="120">                </td>
              </tr>
              <tr bgcolor="#C6E7FF">
                <td height="30" colspan=8>
                  <p><b>ANTIOXIDANTS</b></p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/supersprouts.php">21-250</a></p>                </td>
                <td>
                  <p>Super Sprouts & Algae, 120 tablets</p>                </td>
                <td align=RIGHT>
                  <p>53.00</p>                </td>
                  <td align=RIGHT>
                  <p>66.25</p>                </td>
              </tr>
              <tr>
                <td width="120" height="40">
                  <p><a href="products/super-q10.php">21-260</a></p>                </td>
                <td>
                  <p>Super Q<font size=-3>10</font>, 60 softgels</p>                </td>
                <td align=RIGHT>
                  <p>43.00</p>                </td>
                  <td align=RIGHT>
                  <p>53.75</p>                </td>
              </tr>
              <tr>
                <td width="120">                </td>
              </tr>
              <tr bgcolor="#C6E7FF">
                <td height="30" colspan=8>
                  <p><b>SPECIALTY PRODUCTS</b></p>                </td>
              </tr>
           <tr>
                <td width="120">
                  <p><a href="products/immusun.php">21-300</a></p>                </td>
                <td>
                  <p>ImmuSun&#153;, 30 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>47.00</p>                </td>
                  <td align=RIGHT>
                  <p>58.75</p>                </td>
              </tr>
           <tr>
                <td width="120">
                  <p><a href="products/osteosun.php">21-310</a></p>                </td>
                <td>
                  <p>OsteoSun&#153;, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>33.00</p>                </td>
                  <td align=RIGHT>
                  <p>41.25</p>                </td>
              </tr>
          
           <tr>
                <td width="120">
                  <p><a href="products/stemplex.php">21-323</a></p>                </td>
                <td>
                  <p>StemPlex&#153;, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>60.00</p>                </td>
                  <td align=RIGHT>
                  <p>75.00</p>                </td>
              </tr>
             
           <tr>
                <td width="120">
                  <p><a href="products/apa-blend.php">21-332</a></p>                </td>
                <td>
                  <p>APA Blend, 12 oz&nbsp;</p>                </td>
                <td align=RIGHT>
                  <p>82.00</p>                </td>
                  <td align=RIGHT>
                  <p>102.50</p>                </td>
              </tr>
           <tr>
                <td width="120" height="38">
                  <p><a href="products/reflex.php">21-221</a></p>                </td>
                <td>
                  <p>Reflex, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>39.00</p>                </td>
                  <td align=RIGHT>
                  <p>48.75</p>                </td>
              </tr> 
              <tr>
                <td width="120" height="23">
                  <p><a href="products/rebound.php">21-222</a></p>                </td>
                <td>
                <p>Rebound</p>                </td>
                <td align=RIGHT>
                  <p>53.00</p>                </td>
                  <td align=RIGHT>
                  <p>66.25</p>                </td>
              </tr>
              <tr>
                <td width="120" height="23">
                  <p><a href="products/twist.php">21-223</a></p>                </td>
                <td>
                <p>Twist</p>                </td>
                <td align=RIGHT>
                  <p>37.00</p>                </td>
                  <td align=RIGHT>
                  <p>46.25</p>                </td>
              </tr>
              <tr>
                <td width="120" height="38">
                  <p><a href="products/juiced.php">21-220</a></p>                </td>
                <td>
                <p>Juiced, 60 vegetarian capsule</p>                </td>
                <td align=RIGHT>
                  <p>39.00</p>                </td>
                  <td align=RIGHT>
                  <p>48.75</p>                </td>
              </tr>
               
              <tr bgcolor="#C6E7FF">
                <td height="30" colspan=8>
                  <p><b>DRINK/SUPPLEMENT MIXES & NUTRITION BARS</b></p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/freggies.php">21-227</a></p>                </td>
                <td>
                  <p>Freggie, 60 vegetarian capsules</p>                </td>
                <td align=RIGHT>
                  <p>39.00</p>                </td>
                  <td align=RIGHT>
                  <p>48.75</p>                </td>
              </tr>
           <tr>
                <td width="120">
                  <p><a href="products/aquasunalert.php">21-366</a></p>                </td>
                <td>
                  <p>Aqua Sun Alert, 12 Pack-2 fl oz</p>                </td>
                <td align=RIGHT>
                  <p>40.00</p>                </td>
                  <td align=RIGHT>
                  <p>50.00</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/smoothie.php">21-350</a></p>                </td>
                <td>
                  <p>Super Sun Smoothie, 10.5 oz</p>                </td>
                <td align=RIGHT>
                  <p>35.00</p>                </td>
                  <td align=RIGHT>
                  <p>43.75</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/green.php">21-353</a></p>                </td>
                <td>
                  <p>Go Green Powder, 7 oz (200g)</p>                </td>
                <td align=RIGHT>
                  <p>36.00</p>                </td>
                  <td align=RIGHT>
                  <p>45.00</p>                </td>
              </tr>
              <tr>
                            <td width="120">
                  <p><a href="products/bgbar.php">21-371</a></p>                </td>
                <td>
                  <p>BG Bar&#153;, pack of 8</p>                </td>
                <td align=RIGHT>
                  <p>20.00</p>                </td>
                  <td align=RIGHT>
                  <p>25.00</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/bgbar.php">21-370</a></p>                </td>
                <td>
                  <p>BG Bar&#153;, single</p>                </td>
                <td align=RIGHT>
                  <p>4.00</p>                </td>
                  <td align=RIGHT>
                  <p>5.00</p>                </td>
              </tr>
               <tr>
                <td width="120" height="169" valign="top">
                  <p><a href="products/essentials.php">21-401</a></p>                </td>
                <td valign="top">
                  <p><b>Simplexity Essentials:<br>
                    30 cellophane packets</b><br>
                    Each packet contains: 1 Alpha Sun&reg;, 1 Omega Sun&reg;,<br>
                    2 SBGZymes, 1 Acidophilus, 1 Bifidusóall in
                    vegetarian capsules</p>                </td>
                <td valign="top" align=RIGHT>
                  <p>40.00</p>
                  <td align=RIGHT valign="top">
                 <p>50.00</p>                </td>
              <tr bgcolor="#C6E7FF">
                <td height="30" colspan="4">
                  <p><b>PERSONAL CARE</b></p>                  </td>
              </tr>
      <tr>
       
      <td height="60"><p><a href="products/pro-essentialmatrix.php">27-208</a></p></td>
                <td><p> NutraBeautiful Antioxidant Lotion with WGPô Beta Glucan 8oz bottle <br>
                </p></td>
                <td align=RIGHT><p>32.00<br>
                </p></td>
                <td align=RIGHT>
                  <p>40.00</p>                </td>
              </tr>
              <tr bgcolor="#C6E7FF">
                <td colspan=8>
                <p><b> PLANTS & ANIMALS</b></p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/planet.php">24-100</a></p>                </td>
                <td>
                  <p>PLANeT Food&reg;, 2 lb</p>                </td>
                <td align=RIGHT>
                  <p>32.00</p>                </td>
                  <td align=RIGHT>
                  <p>40.00</p>                </td>
              </tr>
             <tr>
                <td width="120">
                  <p><a href="products/amatrixdogs.php">21-333</a></p>                </td>
                <td>
                  <p>APA Blend Plus (4.6 oz)</p>                </td>
                <td align=RIGHT>
                  <p>34.00</p>                </td>
                  <td align=RIGHT>
                  <p>42.50</p>                </td>
              </tr>
              <tr>
                <td width="120">
                  <p><a href="products/amatrixcats.php">21-331</a></p>                </td>
                <td>
                  <p>APA Blend(3.5 oz)</p>                </td>
                <td align=RIGHT>
                  <p>33.00</p>                </td>
                  <td align=RIGHT>
                  <p>41.25</p>                </td>
              </tr>
              <tr>
                <td>
                  <p><a href="products/animalalgae.php">21-332</a></p></td>
                <td>
                  <p>APA Blend (12 oz)</p></td>
                <td align=RIGHT>
                  <p>82.00</p></td>
                  <td align=RIGHT>
                  <p>102.50</p>                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td bgcolor="#C6E7FF">
                  <p><b>AutoShip Program</b></p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>Our autoship program allows Preferred Customers to purchase the products at the wholesale prices with discounted shipping rates.</p>
                  <p>Three monthly autoship packages that gives you free shipping and a discount on the price of the products:</p>
                  <ul class="text">
                    <li>                      <a href="products/KOR30X.php"><strong>KOR30X</strong></a><strong></strong></li>
                    <li>                      <a href="products/EZ30X.php"><strong>EZ30X</strong></a><strong></strong></li>
                    <li>                      <strong><a href="products/PLA30X.php">PLA30X</a></strong></li>
                </ul></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr>
                <td bgcolor="#C6E7FF">
                </FONT></p></td>
              </tr>
              <p>
                <!-------------- PRODUCTS ----------------------->
            </table>
</td>
        </tr>
      </table>
      <table width="495" border="0" cellspacing="0" cellpadding="10">
        <tr>
          <td align="right">
            <p><b><a href="ordering.php">Order Now</a></b></p>
          </td>
        </tr>
      </table>
      <!-- #BeginLibraryItem "/Library/Product-Back.lbi" --><table width="495" border="0" cellspacing="0" cellpadding="10">
        <tr>
          <td align="right">
        <p><a href="javascript: history.go(-1)">&lt;&lt; back</a></p>
      </td>
        </tr>
      </table><!-- #EndLibraryItem --><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 created by
        <a href="http://www.movingpixel.ca/" target="_top"> Moving Pixel Productions</a><br>
        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="abuse.php">Formal complaint click here >></a>
      </p>
      <p>Simplexity's logo and trademarked names and phrases are used with permission<br>
from Simplexity.</p>
      <p>A Simplexity Independent Distributor site</p>
    </td>
  </tr>
</table><!-- #EndLibraryItem --></body>
</html>


Again, you guys are GREAT! =D> Thank you so much for all of your input. Hopefully [-o< , together we can come up with some answers. Thanx again... :wink:

Dom1953
 
Posts: 52
Joined: July 24th, 2014, 6:02 am
Location: Australia

Post Posted December 2nd, 2014, 9:00 pm

Hi all.

RobertJ. I am sure we all appreciate the efforts you have made to identify problems and potential problems from omitting DOCTYPE tags.

However,
If one is not very careful in doing this "mixed" use of tables you get the kind of results we are seeing here.
as opinion is misleading in context of the original post: the OP's problem does not result from mixed use of tables for layout and presentation of tabular data. Cutting down the source HTML to a single table does not solve the problem.

RobertJ
Moderator

User avatar
 
Posts: 10873
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted December 3rd, 2014, 6:23 am

Dom1953 wrote:Hi all.

RobertJ. I am sure we all appreciate the efforts you have made to identify problems and potential problems from omitting DOCTYPE tags.

However,
If one is not very careful in doing this "mixed" use of tables you get the kind of results we are seeing here.
as opinion is misleading in context of the original post: the OP's problem does not result from mixed use of tables for layout and presentation of tabular data. Cutting down the source HTML to a single table does not solve the problem.


You misinterpreted what I meant. Was not suggesting one big table. What I meant is what I stated, If one is not very careful in doing this "mixed" use of tables you get the kind of results we are seeing here. Australian translation, if you are using tables for layout AND for tables within the layout, you need to be very careful.

.
FF 84.0.1 - TB 78.6 - Mac OSX 10.13.6

SoCalBoy
 
Posts: 8
Joined: November 24th, 2014, 12:29 pm

Post Posted December 3rd, 2014, 10:34 am

Good morning,

Now that many have had a chance to review the code that I posted yesterday, does anyone have any fixes and/or recommendations that apply directly to the new code that I posted?

Again, thank you everyone for all of your contributions.

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 3rd, 2014, 11:17 am

Haven't had a chance to dig through all of that. It does appear that your main problem though is attempting to use $nbsp; for alignment and having mixed numbers of columns, which is really just never going to work. The width of $nbsp; changes based on the font, whereas the rest of the widths are defined in pixels.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

SoCalBoy
 
Posts: 8
Joined: November 24th, 2014, 12:29 pm

Post Posted December 3rd, 2014, 11:58 am

patrickjdempsey wrote:Haven't had a chance to dig through all of that. It does appear that your main problem though is attempting to use $nbsp; for alignment and having mixed numbers of columns, which is really just never going to work. The width of $nbsp; changes based on the font, whereas the rest of the widths are defined in pixels.
I admit that the use of &nbsp; for alignment is a very poor way to go. However, it's been working without any problems. As I'm typing this I'm realizing that I've omitted some of what happened that lead to the problem. Let me explain...

About a year ago I had come up with a longer version of what you see today. It was a derivative of what I'm calling the "old code". It displayed correctly in all the major browsers (FF included). Recently, I was asked to reorganize all of the products. Some of the products were removed, and the remaining products were to be in only 3 groups. This required me to remove two of the product categories. In doing so, something got broken and the undesired problem came up in FF. And because I stupidly did not save the page before I started making the changes, I cannot find what I did wrong.

What I'm trying to say here is: While yes, I absolutely do agree with you that the code, as it is, is not the right way to do it, it has been displaying well; and my removing something in the table(s) is what has made the problems that we see today in FF. So, it only seems logical that there is some sort of thing going on in the area of the tables that's doing this. My thinking is: something that I moved, omitted, duplicated, typo, etc. when I edited the code that's causing this.

Again, thank you for your time...

SoCalBoy
 
Posts: 8
Joined: November 24th, 2014, 12:29 pm

Post Posted January 7th, 2015, 2:17 pm

SoCalBoy wrote:
patrickjdempsey wrote:Haven't had a chance to dig through all of that. It does appear that your main problem though is attempting to use $nbsp; for alignment and having mixed numbers of columns, which is really just never going to work. The width of $nbsp; changes based on the font, whereas the rest of the widths are defined in pixels.
I admit that the use of &nbsp; for alignment is a very poor way to go. However, it's been working without any problems. As I'm typing this I'm realizing that I've omitted some of what happened that lead to the problem. Let me explain...

About a year ago I had come up with a longer version of what you see today. It was a derivative of what I'm calling the "old code". It displayed correctly in all the major browsers (FF included). Recently, I was asked to reorganize all of the products. Some of the products were removed, and the remaining products were to be in only 3 groups. This required me to remove two of the product categories. In doing so, something got broken and the undesired problem came up in FF. And because I stupidly did not save the page before I started making the changes, I cannot find what I did wrong.

What I'm trying to say here is: While yes, I absolutely do agree with you that the code, as it is, is not the right way to do it, it has been displaying well; and my removing something in the table(s) is what has made the problems that we see today in FF. So, it only seems logical that there is some sort of thing going on in the area of the tables that's doing this. My thinking is: something that I moved, omitted, duplicated, typo, etc. when I edited the code that's causing this.

Again, thank you for your time...
Hello all,

Looks like interest has waned on this. Because I've really got to get this done in a far more timely fashion, I must ask again... Can anyone help me, please? Even it means referring me to a different site or resource. Thank you everyone, you're all cool in my book... :-)

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted January 7th, 2015, 2:21 pm

Without seeing your raw php code it's hard to know exactly what more to recommend other than what we have recommended. Your table as two basic problems: mismatched numbers of columns, and attempting to use $nbsp; for alignment... which simply does not work. If it happens to work for you on more than one browser then it's a fluke as it really shouldn't. Users who have different fonts installed will have *very* different results.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

SoCalBoy
 
Posts: 8
Joined: November 24th, 2014, 12:29 pm

Post Posted January 7th, 2015, 5:01 pm

patrickjdempsey wrote:Without seeing your raw php code it's hard to know exactly what more to recommend other than what we have recommended. Your table as two basic problems: mismatched numbers of columns, and attempting to use $nbsp; for alignment... which simply does not work. If it happens to work for you on more than one browser then it's a fluke as it really shouldn't. Users who have different fonts installed will have *very* different results.
Hello Patrick,

Thank you for your reply. I posted the "raw php" a few weeks ago. If you don't see it above please let me know and I'll repost it. While I am fully aware that th non breaking space tag is not the best way, it's worked for years. I'm very happy to change it, and will do so in the near future, but right now, I'm just trying to focus on the change that made things go bad.

Thanx again.

Return to Web Development / Standards Evangelism


Who is online

Users browsing this forum: No registered users and 2 guests