Cannot modify header information
UPDATE: I just noticed one other aspect that is part of the below issue:
When on the product_detail.php pg, the pg that gives the error when adding an item to the cart, not only does the error occur but it would normally take you to the cart pg when you click add to cart. Instead the error occurrs at the top of the pg and it stays on the product_detail.php pg instead of going to the cart.
If you do an example of adding to the cart on the product_listing.php pg, it works properly without error.
I feel the migration may have had something to do with this issues, if that’s of any help.
--------------------------------------------------------------------------------------------------------------------------
INITIAL POST
I just migrated the site to a new server and as that was completed the error now occurs. Not sure how to fix. Help!
The error occurs when adding an item to the cart. The order still goes thru but just getting the error.
ERROR:
Cannot modify header information – headers already sent by (output started at /home/thetotalcat/public_html/product_detail.php:65) in /home/thetotalcat/public_html/product_detail.php on line34
There are 2 locations you can add an item to the cart, but the error only occurs on the one page:
1. on the product_detail.php pg – ERROR OCCURS
2. on the product_listing.php pg – NO ERROR OCCURS
Attached is a screen shot of the error.
Below is the code for both pages:
---------------------------------------------------------------------
Product_Detail.php Pg – ERROR OCCURS ON THIS PG
---------------------------------------------------------------------
<?php //error_reporting(E_ALL); ini_set('display_errors', 'on'); ?>
<?php
//WA eCart Include
require_once("WA_eCart/TotalCatECART_PHP.php");
?>
<?php require_once('Connections/TTCStoreConnection.php'); ?>
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php
$TotalCatECART->GetContent();
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
?>
<?php
if (!session_id()) session_start();
?>
<?php
$ParamProductID_WADAproducts = "-1";
if (isset($_GET['ProductID'])) {
$ParamProductID_WADAproducts = (get_magic_quotes_gpc()) ? $_GET['ProductID'] : addslashes($_GET['ProductID']);
}
$ParamSessionProductID_WADAproducts = "-1";
if (isset($_SESSION['WADA_Insert_products'])) {
$ParamSessionProductID_WADAproducts = (get_magic_quotes_gpc()) ? $_SESSION['WADA_Insert_products'] : addslashes($_SESSION['WADA_Insert_products']);
}
$ParamProductID2_WADAproducts = "-1";
if (isset($_GET['ProductID'])) {
$ParamProductID2_WADAproducts = (get_magic_quotes_gpc()) ? $_GET['ProductID'] : addslashes($_GET['ProductID']);
}
mysql_select_db($database_TTCStoreConnection, $TTCStoreConnection);
$query_WADAproducts = sprintf("SELECT * FROM products WHERE ProductID = %s OR ( -1= %s AND ProductID= %s)", GetSQLValueString($ParamProductID_WADAproducts, "int"),GetSQLValueString($ParamProductID2_WADAproducts, "int"),GetSQLValueString($ParamSessionProductID_WADAproducts, "int"));
$WADAproducts = mysql_query($query_WADAproducts, $TTCStoreConnection) or die(mysql_error());
$row_WADAproducts = mysql_fetch_assoc($WADAproducts);
$totalRows_WADAproducts = mysql_num_rows($WADAproducts);
?>
<?php
// WA eCart AddToCart
if (isset($_POST["TotalCatECART_1_ATC"]) || isset($_POST["TotalCatECART_1_ATC_x"])) {
$ATC_itemID = $_POST["TotalCatECART_1_ID_Add"];
$ATC_AddIfIn = 0;
$ATC_RedirectAfter = "cart.php";
$ATC_RedirectIfIn = "";
if (isset($totalRows_WADAproducts) && $totalRows_WADAproducts > 0) {
$row_WADAproducts = WAEC_findRecordMySQL($WADAproducts, "ProductID", $ATC_itemID);
if ($row_WADAproducts) {
$ATC_itemName = "".$row_WADAproducts['ProductName'] ."";// column binding
$ATC_itemDescription = "".$row_WADAproducts['ProductCartDesc'] ."";// column binding
$ATC_itemThumbnail = "".$row_WADAproducts['ProductThumb'] ."";// column binding
$ATC_itemWeight = floatval("0");// column binding
$ATC_itemQuantity = "".$_POST["TotalCatECART_1_Quantity_Add"] ."";// column binding
$ATC_itemPrice = floatval("".$row_WADAproducts['ProductPrice'] ."");// column binding
mysql_data_seek($WADAproducts, 0);
$row_WADAproducts = mysql_fetch_assoc($WADAproducts);
}
}
$ATC_itemQuantity = floatval($ATC_itemQuantity);
if (is_numeric($ATC_itemQuantity) && $ATC_itemQuantity != 0) {
$TotalCatECART->AddToCart($ATC_AddIfIn, $ATC_RedirectIfIn, $ATC_itemID, $ATC_itemName, $ATC_itemDescription, $ATC_itemThumbnail, $ATC_itemWeight, $ATC_itemQuantity, $ATC_itemPrice);
if ($ATC_RedirectAfter != "" && $TotalCatECART->redirStr == "") {
$TotalCatECART->redirStr = $ATC_RedirectAfter;
}
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING'];
}
else {
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF'];
}
}
}
?>
<?php
// WA Application Builder Delete
if (isset($_POST["Delete_x"])) // Trigger
{
$WA_connection = $TTCStoreConnection;
$WA_table = "products";
$WA_redirectURL = "products_Results.php";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_fieldNamesStr = "ProductID";
$WA_columnTypesStr = "none,none,NULL";
$WA_fieldValuesStr = "".((isset($_POST["WADADeleteRecordID"]))?$_POST["WADADeleteRecordID"]:"") ."";
$WA_comparisonStr = "=";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode("|", $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);
$WA_comparisions = explode("|", $WA_comparisonStr);
$WA_connectionDB = $database_TTCStoreConnection;
mysql_select_db($WA_connectionDB, $WA_connection);
if (!session_id()) session_start();
$deleteParamsObj = WA_AB_generateWhereClause($WA_fieldNames, $WA_columns, $WA_fieldValues, $WA_comparisions);
$WA_Sql = "DELETE FROM `" . $WA_table . "` WHERE " . $deleteParamsObj->sqlWhereClause;
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
if ($WA_redirectURL != "") {
if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
header("Location: ".$WA_redirectURL);
}
}
?>
<?php
// WA eCart Redirect
if ($TotalCatECART->redirStr != "") {
header("Location: ".$TotalCatECART->redirStr);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/NoSSorBanner_Pg_Template.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title><? echo $row_WADAproducts['PdTitleTag']; ?></title>
<meta name="keywords" content="<? echo $row_WADAproducts['PdKeywordTag']; ?>"/>
<meta name="description" content="<? echo $row_WADAproducts['PdDescrTag']; ?>"/>
<link href="WA_DataAssist/styles/Refined_Granite Pine.css" rel="stylesheet" type="text/css" />
<link href="WA_DataAssist/styles/Arial.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/* Title Section */
#WADAPageTitleArea {
width: 555px;
}
#WADAPageTitleArea div, #WADAPageTitleArea p {
font-size: 11px;
padding-bottom: 10px;
}
#WADAPageTitleArea div#WADAPageTitle, #WADAPageTitle {
font-size: 18px;
font-weight: bold;
}
/* Details page CSS */
.WADADetailsContainer {
font-size: 11px;
width: 700px;
}
#WADADetails {
padding-top: 10px;
}
.WADADetailsLinkArea {
padding-top: 2px;
padding-bottom: 2px;
}
.WADADetailsImageInfoArea {
margin-top: 10px;
margin-bottom: 10px;
}
.WADADetailsMainImageArea {
float: left;
height: 700px;
width: 225px;
}
.WADADetailsMainImage {
float: left;
}
.WADADetailsProductInfo {
margin-left: 260px;
padding: 0px;
}
.WADADetailsSubHeading {
font-weight: bold;
}
.WADADetailsSubText {}
.WADADetailsPriceButton {
margin-top: 10px;
}
.WADADetailsPrice {
float: left;
font-size: 12pt;
}
.WADADetailsButton {
float: left;
margin-left: 10px;
}
.WADADetailsShortDesc, .WADADetailsLongDesc {
margin-top: 10px;
margin-bottom: 10px;
}
.WADADetailsShortDesc, .WADADetailsImageInfoArea {}
.WADADetailsShortDesc1 { margin-top: 10px;
margin-bottom: 10px;
}
</style>
<!-- InstanceEndEditable -->
<link rel="stylesheet" href="ajxlightbox_Video%20R%20Nav%20Salmonella.css" type="text/css" />
<script src="ajxlightbox_Video%20R%20Nav%20Salmonella.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 7]>
<script type="text/javascript" src="../js/ie_png.js"></script>
<script type="text/javascript">
ie_png.fix('#logo');
</script>
<![endif]-->
<script src="js/jquery-1.4.2.js" type="text/javascript"></script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/RomanSerif_500.font.js" type="text/javascript"></script>
<script src="js/jquery.faded.js" type="text/javascript"></script>
<style type="text/css">
<!--
.style1 {font-weight: bold}
.style2 {
font-size: 16px
}
-->
</style>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<!--Start Google Analytics Tracking-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17381726-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!--End Google Analytics Tracking-->
<!-- ++++ Script for ShareThis Tag for Email START ++++ -->
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "94bbd555-34c4-439b-8b39-0a92b520ea99"});</script>
<!-- ++++ Script for ShareThis Tag for Email END ++++ -->
</head>
<body id="page1" onload="MM_preloadImages('plugins/images/Button_shopping_cart_RO.png')">
<div class="extra">
<div class="body1">
<div class="main">
<!--header -->
<div id="header" style="height: 200px;">
<div class="wrapper">
<div class="Header_Logo_Div"><img src="images/Header%20Store%20Name.png" alt="" width="518" height="97" /></div>
<div id="Header_buttons_right_side">
<div style="float: left; height: 20px; width: 200px; ">
<!-- ++++ShareThis Tag for email START ++++ -->
<span class='st_email' style="float:left;"displayText='Share with A Friend' ></span>
<!-- ----ShareThis Tag for email END ---- -->
</div>
<a href="cart.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Cart Button','','plugins/images/Button_shopping_cart_RO.png',1)"><img src="images/Button_shopping_cart.png" width="160" style="margin-top:5px;" id="Cart Button" /></a>
<p> </p>
</div>
<div class="cleardiv"></div>
<div id="Nav_Header">
<h3><a href="index.php">Shop For Your > Pet</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="faq_raw_cat_food_diet.html">Raw Diet FAQ</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="articles_cat.html">Cat Articles</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="resources_the_total_cat_store.html">Helpful Links</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="about_us.html">About Us</a> <img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="contactus.html">Contact Us</a></h3>
</div></div>
<div class="cleardiv"></div>
</div>
<!--header end-->
</div>
</div>
<div class="main">
<!--content -->
<div id="content"><!-- InstanceBeginEditable name="EditRegion1" -->
<div class="col2">
<div class="wrapper">
<div class="WADADetailsContainer"> <a name="top"></a>
<div id="WADAPageTitleArea">
<div class="color1" id="WADAPageTitle"><?php echo $row_WADAproducts['ProductName']; ?></div>
</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<?php if ($totalRows_WADAproducts > 0) { // Show if recordset not empty ?>
<div id="WADADetails">
<div class="WADAHeader"></div>
<div class="WADADetailsImageInfoArea">
<p> <div class="WADADetailsMainImageArea"><img src="images/image_product/<?php echo $row_WADAproducts["ProductImage"]; ?>" alt="" width="225" class="WADADetailsMainImage" style="margin-bottom: 15px;"/>
</p>
<p> <img src="images/image_product/<?php echo $row_WADAproducts["ProductImage2"]; ?>" alt="" width="225" class="WADADetailsMainImage" style="margin-bottom: 15px;" /></p>
<p> <img src="images/image_product/<?php echo $row_WADAproducts["ProductImage3"]; ?>" alt="" width="225" class="WADADetailsMainImage" /></p>
</div>
<div class="WADADetailsProductInfo">
<div class="WADADetailsSubHeading" style="margin-bottom: 25px;"><span class="WADADetailsLongDesc" ><?php echo $row_WADAproducts["ProductLongDesc"]; ?></span></div>
<div class="WADADetailsSubText"></div>
<div class="WADADetailsPriceButton" >
<div class="WADADetailsPrice"><?php echo $row_WADAproducts["ProductPrice"]; ?></div>
<div class="WADAClearLeft"></div>
<div class="WADADetailsButton" style="margin-left: 0px;">
<form name="TotalCatECART_1_ATC_<?php echo $row_WADAproducts['ProductID']; ?>" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<p>
<input type="hidden" name="TotalCatECART_1_ID_Add" value="<?php echo $row_WADAproducts['ProductID']; ?>" >
Qty: <select name="TotalCatECART_1_Quantity_Add" style="float:right;">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
</select>
<div style="margin-top: 5px;"> <input type="image" src="WA_eCart/Images/Granite Pine/Btn3_EN_addtocart.gif" border="0" class="eC_ImageButton" value="Add to Cart" name="TotalCatECART_1_ATC" "> </div>
</p>
</form>
</div>
</div>
<div class="WADAClearLeft"></div>
</div>
<div class="WADAClearLeft"></div>
</div>
<div class="WADADetailsShortDesc"></div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADADetailsLongDesc"></div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADADetailsLinkArea">
<table class="WADADataNavButtons" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="WADADataNavButtonCell" nowrap="nowrap"><a href="#top" title="Back"><a href="index.php" title="Back"><img border="0" name="Top" id="Top" alt="Back to top" src="WA_DataAssist/images/Granite Pine/Refined_back.png" /></a></a></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"><a href="cart.php"><img src="WA_eCart/Images/Granite Pine/Btn3_EN_viewcart.gif" border="0" class="eC_ImageButton" value="View Cart" name="TotalCatECART_View_1" alt="Total: <?php echo WA_eCart_DisplayMoney($TotalCatECART, $TotalCatECART->GrandTotal()); ?>" /></a><a href="index_2015_5_Prior to Expansion.php" title="Results"></a></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"></td>
</tr>
</table>
</div>
</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAproducts == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No record found.</div>
</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADADetailsLinkArea">
<div class="WADADataNavButtonCell"><a href="index_2015_5_Prior to Expansion.php" title="Results"><img border="0" name="Results1" id="Results1" alt="Results" src="WA_DataAssist/images/Granite Pine/Refined_results.gif" /></a></div>
</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<?php } // Show if recordset empty ?>
</div>
</div>
<div class="wrapper"></div>
</div>
<!-- InstanceEndEditable -->
<div class="col1">
<div class="box1">
<div class="wrapper" style="border-bottom:#bea97c medium dotted; margin-bottom:25px;">
<div style="border-bottom:#bea97c medium dotted; margin-bottom:25px;"> <p style="font-size: 11pt; line-height: 12pt;"><strong>Not sure about feeding raw or concerned about</strong></p>
<h1 style="font-size:16pt; line-height:20pt; color:#635C4B;padding: 0px; margin:0px;">Salmonella and Parasites </h1>
<p >with feeding a raw meat,<br/>
watch this video for answers.
</p>
<p>
<div class="AJXLightboxIQdRdXD_center_wrapper" style="margin-bottom:15px;">
<!-- AJXFILE:../ajxlightbox_Video%20R%20Nav%20Salmonella.css -->
<div class="AJXLightboxIQdRdXD">
<div class="AJXLightboxIQdRdXDli">
<div class="AJXLightboxIQdRdXDawrapper"><a title="Raw Meat Diet for Dogs and Cats" href="http://www.youtube.com/watch?v=G3wLTlqnMMg&ajximg=http://i1.ytimg.com/vi/G3wLTlqnMMg/0.jpg" class="AJXLightboxa"><img src="http://i1.ytimg.com/vi/G3wLTlqnMMg/1.jpg" alt="Raw Meat Diet for Dogs and Cats" height="" width="165"/></a></p></div>
</div>
</div>
</div>
</div>
<h1 style="font-size: 25pt; line-height: 25pt;">OUr Promise to You...</h1>
<p><strong>To do the PRODUCT RESEARCH<br />
for you! To only offer quality product in our store.</strong> <a href="guidelines_and_standards_the_total_cat_store.html"><br />
Read More></a></p>
<p> </p>
</div>
<div class="wrapper" style="margin-top: 0px;">
<h1 style="font-size: 25pt; line-height: 25pt;">Feline<br />
Health<br />
Articles</h1>
<ul class="list1" >
<li> <a href="articles_cat.html">Urination Outsite Box</a> </li>
<li> <a href="articles_cat.html">CRF and Insufficieny</a> </li>
<li> <a href="articles_cat.html"><strong>Constipation</strong></a><strong></strong></li>
<li> <a href="poison_list_for%20cats_felines.html"><strong>Feline Poison List</strong></a><strong></strong></li>
</ul>
</div>
</div>
<div class="box2 marg_top1"><div class="wrapper">
<h1 style="font-size: 25pt; line-height: 25pt;">Success Stories...</h1>
<p >read stories from other Feline Owners on how a Raw Diet improved their Feline Companions health and life. </p>
<form id="form_1" action="" style="width:180px;">
<div>
<div class="wrapper"><a href="share_your_cat_food_story_entries.html" class="button" ><span><span>Read the Stories</span></span></a></div>
</div>
</form>
<h1 style="font-size: 18pt; line-height: 18pt;"> </h1>
<h1 style="font-size: 18pt; line-height: 18pt; border-top:thin #FFF dotted ; padding-top: 15px;">Share your Story...</h1>
<p>of how a raw diet improved your felines life.</p>
<form id="form_1" action="" style="width:180px;">
<div>
<div class="wrapper" style="margin-bottom: 0px;"><a href="share_your_cat_food_story_form.html" class="button" ><span><span>Tell Your Story</span></span></a></div>
</div>
</form>
</div></div>
<div class="box3 marg_top1"><div class="wrapper" style="margin: 315px 0px 25px 0px">
<p style="color:#555; font-size: 11px; line-height: 12px;" ><em>- As owner of The Total Cat Store I only recommend products of quality, that I have researched personally and use myself, if applicable. I've been a Go Pet Plan client for over 4 yrs and choose GPP, after reviewing many, for their policy on cost, pre-existing conditions, coverage and re-imbursement. </em><em><a href="https://account.gopetplan.com/partner/totalcatstore">READ MORE</a>.</em></p>
</div></div>
<div class="box3 marg_top1" style="background-image:none; height:205px; padding-left: 0px;"><a href="http://feline-nutrition.org"><img src="images/Ad_Side_feline_nutrition.jpg" width="200" height="200" alt="RawFedKitty" longdesc="http://www.feline-nutrition.org" /></a></div>
</div>
</div>
<!--content end-->
</div>
<div class="bot">
<!--footer -->
<div id="footer">
<div id="Nav_Header" style="margin-top: 15px; float: left;">
<h3><a href="index.php">Shop For YOur > PET</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="faq_raw_cat_food_diet.html">Raw Diet FAQ</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="articles_cat.html">Cat Articles</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="resources_the_total_cat_store.html">Helpful Links</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="about_us.html">About Us</a> <img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="contactus.html">Contact Us</a></h3>
</div>
<p> </p>
<p> </p>
<p> </p>
<p align="center">The Total Cat Store ©2011 | <a href="privacypolicy.html">Privacy</a> and<a href="termsandcondtions_the_total_cat_store.html"> Terms and contiions</a> policy | <a href="returnpolicy.html">Return & Shipping policy</a></p>
</div>
<!--footer end--></div>
</div>
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">
$(function(){
$("#faded").faded({
speed: 1200,
crossfade: true,
bigtarget: true,
autoplay: 4800,
autorestart: 1200,
autopagination: true
});
});
</script>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($WADAproducts);
?>
---------------------------------------------------------------------
Product_Listing.php Pg – ERROR DOES NOT OCCURS ON THIS PG
---------------------------------------------------------------------
<?php
//WA eCart Include
require_once("WA_eCart/TotalCatECART_PHP.php");
?>
<?php require_once('Connections/TTCStoreConnection.php'); ?>
<?php
$TotalCatECART->GetContent();
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
?>
<?php
$currentPage = $_SERVER["PHP_SELF"];
?>
<?php
$maxRows_WADAproducts = 15;
$pageNum_WADAproducts = 0;
if (isset($_GET['pageNum_WADAproducts'])) {
$pageNum_WADAproducts = $_GET['pageNum_WADAproducts'];
}
$startRow_WADAproducts = $pageNum_WADAproducts * $maxRows_WADAproducts;
mysql_select_db($database_TTCStoreConnection, $TTCStoreConnection);
$query_WADAproducts = "SELECT ProductID, ProductSKU, ProductName, ProductPrice, ProductWeight, ProductCartDesc, ProductShortDesc, ProductLongDesc, ProductThumb, ProductImage, ProductCategoryID, ProductUpdateDate, ProductStock, ProductLive, ProductUnlimited, ProductLocation FROM products WHERE ProductCategoryID = '" . $_GET["cat"] . "' ORDER BY ProductID ASC";
$query_limit_WADAproducts = sprintf("%s LIMIT %d, %d", $query_WADAproducts, $startRow_WADAproducts, $maxRows_WADAproducts);
$WADAproducts = mysql_query($query_limit_WADAproducts, $TTCStoreConnection) or die(mysql_error());
$row_WADAproducts = mysql_fetch_assoc($WADAproducts);
// new code to get all category details
$query_Category = "SELECT * FROM productcategories WHERE CategoryID = '" . $_GET["cat"] . "'";
$Category = mysql_query($query_Category, $TTCStoreConnection) or die(mysql_error());
$row_Category = mysql_fetch_assoc($Category);
if (isset($_GET['totalRows_WADAproducts'])) {
$totalRows_WADAproducts = $_GET['totalRows_WADAproducts'];
} else {
$all_WADAproducts = mysql_query($query_WADAproducts);
$totalRows_WADAproducts = mysql_num_rows($all_WADAproducts);
}
$totalPages_WADAproducts = ceil($totalRows_WADAproducts/$maxRows_WADAproducts)-1;
?>
<?php
$queryString_WADAproducts = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_WADAproducts") == false &&
stristr($param, "totalRows_WADAproducts") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_WADAproducts = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_WADAproducts = sprintf("&totalRows_WADAproducts=%d%s", $totalRows_WADAproducts, $queryString_WADAproducts);
?>
<?php
// WA eCart AddToCart
if (isset($_POST["TotalCatECART_1_ATC"]) || isset($_POST["TotalCatECART_1_ATC_x"])) {
$ATC_itemID = $_POST["TotalCatECART_1_ID_Add"];
$ATC_AddIfIn = 0;
$ATC_RedirectAfter = "cart.php";
$ATC_RedirectIfIn = "";
if (isset($totalRows_WADAproducts) && $totalRows_WADAproducts > 0) {
$row_WADAproducts = WAEC_findRecordMySQL($WADAproducts, "ProductID", $ATC_itemID);
if ($row_WADAproducts) {
$ATC_itemName = "".$row_WADAproducts['ProductName'] ."";// column binding
$ATC_itemDescription = "".$row_WADAproducts['ProductCartDesc'] ."";// column binding
$ATC_itemThumbnail = "".$row_WADAproducts['ProductThumb'] ."";// column binding
$ATC_itemWeight = floatval("0");// column binding
$ATC_itemQuantity = "".$_POST["TotalCatECART_1_Quantity_Add"] ."";// column binding
$ATC_itemPrice = floatval("".$row_WADAproducts['ProductPrice'] ."");// column binding
mysql_data_seek($WADAproducts, 0);
$row_WADAproducts = mysql_fetch_assoc($WADAproducts);
}
}
$ATC_itemQuantity = floatval($ATC_itemQuantity);
if (is_numeric($ATC_itemQuantity) && $ATC_itemQuantity != 0) {
$TotalCatECART->AddToCart($ATC_AddIfIn, $ATC_RedirectIfIn, $ATC_itemID, $ATC_itemName, $ATC_itemDescription, $ATC_itemThumbnail, $ATC_itemWeight, $ATC_itemQuantity, $ATC_itemPrice);
if ($ATC_RedirectAfter != "" && $TotalCatECART->redirStr == "") {
$TotalCatECART->redirStr = $ATC_RedirectAfter;
}
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING'];
}
else {
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF'];
}
}
}
?>
<?php
// WA eCart Redirect
if ($TotalCatECART->redirStr != "") {
header("Location: ".$TotalCatECART->redirStr);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/NoSlideShow_phpdriven_Template.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title><? echo $row_Category['CatTitleTag']; ?></title>
<meta name="keywords" content="<? echo $row_Category['CatKeywordTag']; ?>"/>
<meta name="description" content="<? echo $row_Category['CatDescrTag']; ?>"/>
<link href="WA_DataAssist/styles/Refined_Granite Pine.css" rel="stylesheet" type="text/css" />
<link href="WA_DataAssist/styles/Arial.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/* Title Section */
#WADAPageTitleArea {
width: 735px;
}
#WADAPageTitleArea div, #WADAPageTitleArea p {
font-size: 11px;
padding-bottom: 10px;
}
#WADAPageTitleArea div#WADAPageTitle, #WADAPageTitle {
font-size: 14px;
font-weight: bold;
}
.WADAResults {
font-size: 11px;
margin-top: 10px;
}
.WADAResultsNavigation {
border: 1px solid #BBC2C2;
padding: 2px;
height: 22px;
}
.WADAResultsCount {
padding-top: 4px;
text-align: right;
float: right;
}
#WADAResultsNavTop {
margin-left: 3px;
float: right;
}
.WADAResultsNavTable {
margin: 0px;
}
.WADAResultsNavTable td {}
.WADAResultsInsertButton {
margin-left: 3px;
float: right;
}
#WADAResultsTable {
margin-top: 10px;
margin-bottom: 10px;
}
.WADAResultsEntry {
padding-bottom: 10px;
}
.WADAResultThumbArea {
float: left;
}
.WADAResultInfoArea {
margin-left: 170px;
}
.WADAResultTitle {
font-size: 14px;
font-weight: bold;
}
.WADAResultDescription {
margin-top: 2px;
}
.WADAResultCommerceArea {
margin-top: 10px;
}
.WADAResultCommerceButton {
float: right;
}
.WADAResultPrice {
float: right;
font-size: 12pt;
}
.WADARecordNavigationButtons {
margin-top: 20px;
}
.WADAResultsBackTop {
float: left;
}
.WADAResultsCountBottom {
padding-top: 4px;
text-align: right;
float: right;
}
#WADAResultsNavBottom {
margin-left: 3px;
float: right;
}
.WADAResultPrice1 {
float: right;
font-size: 12pt;
}
</style>
<!--Start Google Verification-->
<meta name="google-site-verification" content="OLGh4aaT3VWVx2jNOY0t2xVU2kCiLtxvIKxG325xMts" />
<!--End Google Verification-->
<!--Start Google Analytics Tracking-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17381726-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!--End Google Analytics Tracking-->
<!-- InstanceEndEditable -->
<link rel="stylesheet" href="ajxlightbox_Video%20R%20Nav%20Salmonella.css" type="text/css" />
<script src="ajxlightbox_Video%20R%20Nav%20Salmonella.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 7]>
<script type="text/javascript" src="../js/ie_png.js"></script>
<script type="text/javascript">
ie_png.fix('#logo');
</script>
<![endif]-->
<script src="js/jquery-1.4.2.js" type="text/javascript"></script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/RomanSerif_500.font.js" type="text/javascript"></script>
<script src="js/jquery.faded.js" type="text/javascript"></script>
<style type="text/css">
<!--
.style1 {font-weight: bold}
.style2 {
font-size: 16px
}
-->
</style>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<!--Start Google Analytics Tracking-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17381726-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!--End Google Analytics Tracking-->
<!-- ++++ Script for ShareThis Tag for Email START ++++ -->
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "94bbd555-34c4-439b-8b39-0a92b520ea99"});</script>
<!-- ++++ Script for ShareThis Tag for Email END ++++ -->
<!-- ++++ Script for ecart to duplicate on checkout page the option to click shipping same a billing and have the info duplicated START ++++ -->
<script src="WA_eCart/Scripts/copyShipping.js" type="text/javascript"></script>
<!-- ++++ Script for ecart to duplicate on checkout page the option to click shipping same a billing and have the info duplicated END ++++ -->
</head>
<body id="page2" onload="MM_preloadImages('plugins/images/Button_shopping_cart_RO.png')">
<div class="extra">
<div class="body1">
<div class="main">
<!--header -->
<div id="header2">
<div class="wrapper">
<div class="Header_Logo_Div"><img src="images/Header%20Store%20Name.png" alt="" width="518" height="97" /></div>
<div id="Header_buttons_right_side">
<div style="float: left; height: 20px; width: 200px; ">
<!-- ++++ShareThis Tag for email START ++++ -->
<span class='st_email' style="float:left;"displayText='Share with A Friend' ></span>
<!-- ----ShareThis Tag for email END ---- -->
</div>
<a href="cart.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Cart Button','','plugins/images/Button_shopping_cart_RO.png',1)"><img src="images/Button_shopping_cart.png" width="160" style="margin-top:5px;" id="Cart Button" /></a>
<p> </p>
</div>
<div class="cleardiv"></div>
<div id="Nav_Header">
<h3><a href="index.php">Shop For Your > Pet</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="faq_raw_cat_food_diet.html">Raw Diet FAQ</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="articles_cat.html">Cat Articles</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="resources_the_total_cat_store.html">Helpful Links</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="about_us.html">About Us</a> <img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="contactus.html">Contact Us</a></h3>
</div>
</div>
<div class="cleardiv"></div>
<div class="wrapper_Intro_Image">
<!-- slider begin -->
<!-- InstanceBeginEditable name="EditRegion3" -->
<div id="faded1">
<div class="rap"><img src="<? echo $row_Category['IntroImage']; ?>" alt="" width="693" height="173" /> </div>
</div>
<!-- slider END -->
<!-- START BANNER -->
<ul id="banners" x="x">
<li id="banner4" ><a href="<? echo $row_Category['BnrNav1Link']; ?>" style="font-size: 16pt; line-height: 14pt; padding-top: 8px;"><? echo $row_Category['BannerNav1']; ?></a></li>
<li id="banner5" ><a href="<? echo $row_Category['BnrNav2Link']; ?>" style="font-size: 16pt; line-height: 14pt; padding-top: 8px;"><? echo $row_Category['BannerNav2']; ?></a></li>
<li id="banner6" ><a href="<? echo $row_Category['BnrNav3Link']; ?>" style="font-size: 16pt; line-height: 14pt; padding-top: 8px;"><? echo $row_Category['BannerNav3']; ?></a></li>
</ul>
<!-- InstanceEndEditable -->
<!-- END BANNERS -->
</div>
</div>
<!--header end-->
</div>
</div>
<div class="main">
<!--content -->
<div id="content"><!-- InstanceBeginEditable name="EditRegion1" -->
<div class="col2">
<div class="wrapper" style="margin-top: 0px;">
<div align="center" style="margin-bottom: 20px;">
<div style="line-height: 0px;">
<h1 style="padding-bottom:10px;"><? echo $row_Category['CatPgTitle']; ?></h1>
</div>
<? echo $row_Category['CatPgDesc']; ?>
</div>
<div class="WADAResultsContainer"> <a name="top"></a>
<?php if ($totalRows_WADAproducts > 0) { // Show if recordset not empty ?>
<div class="WADAResults">
<div class="WADAResultsNavigation">
<div class="WADAClearRight"></div>
<div id="WADAResultsNavTop">
</div>
<div class="WADAResultsCount">Products
<?php echo ($startRow_WADAproducts + 1) ?>
to
<?php echo min($startRow_WADAproducts + $maxRows_WADAproducts, $totalRows_WADAproducts) ?>
of
<?php echo $totalRows_WADAproducts ?>
</div>
<div class="WADAClearRight"></div>
</div>
<table width="638" border="0" cellpadding="0" cellspacing="0" id="WADAResultsTable" >
<?php do { ?>
<tr>
<td class="WADAResultsEntry"><div class="WADAResultThumbArea"><a href="product_detail.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" title=""><img src="images/image_product/<?php echo $row_WADAproducts["ProductThumb"]; ?>" alt="" width="150" border="0" class="WADAResultThumb" style="margin-bottom: 30px;" /></a></div>
<div class="WADAResultInfoArea">
<div class="WADAResultTitle"><a href="product_detail.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>"><?php echo $row_WADAproducts["ProductName"]; ?></a></div>
<div class="WADAResultDescription"><?php echo $row_WADAproducts["ProductShortDesc"]; ?> <a href="product_detail.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>"><strong>LEARN MORE >>></strong></a></div>
<div class="WADAResultCommerceArea">
<div class="WADAResultCommerceButton">
<div class="WADAClearBoth"></div>
<div class="WADAResultPrice"><span class="WADAResultPrice1"><?php echo $row_WADAproducts["ProductPrice"]; ?></span></div>
<div class="WADAClearRight"></div>
<form name="TotalCatECART_1_ATC_<?php echo $row_WADAproducts['ProductID']; ?>" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<p>
<input type="hidden" name="TotalCatECART_1_ID_Add" value="<?php echo $row_WADAproducts['ProductID']; ?>" >
Qty: <select name="TotalCatECART_1_Quantity_Add" style="float:right;">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
</select>
</p>
<input type="image" src="WA_eCart/Images/Granite Pine/Btn3_EN_addtocart.gif" border="0" class="eC_ImageButton" value="Add to Cart" name="TotalCatECART_1_ATC" style="float:right; margin:5px 0px;">
</form>
</div>
</div>
<div class="WADARecordNavigationButtons"></div>
</div></td>
</tr>
<?php } while ($row_WADAproducts = mysql_fetch_assoc($WADAproducts)); ?>
</table>
<div class="WADAResultsNavigation">
<div class="WADAClearRight"></div>
<div class="WADAResultsBackTop"><a href="#top" title="Back to top"><img border="0" name="Top" id="Top" alt="Back to top" src="WA_DataAssist/images/Granite Pine/Refined_up.gif" /></a></div>
<div class="WADAResultsCountBottom">Products
<?php echo ($startRow_WADAproducts + 1) ?>
to
<?php echo min($startRow_WADAproducts + $maxRows_WADAproducts, $totalRows_WADAproducts) ?>
of
<?php echo $totalRows_WADAproducts ?>
</div>
<div class="WADAClearBoth" ></div>
</div>
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAproducts == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No results for your search</div>
</div>
<?php } // Show if recordset empty ?>
</div>
<div >
<p> </p>
<p style="font-size: 8pt; line-height:8pt; font-style:italic;">*Note: All orders are shipped out the next day (except Sundays) from our facility as long as the item is in stock and the all funds have been received for the entire order. In most cases, funds are received immediately if payment is via credit card or paypal. </p>
<p style="font-size: 8pt; line-height:8pt; font-style:italic;"> </p>
</div>
</div>
</div>
<!-- MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</div> </div> NOT SURE BUT THING NO NEED FOR THESE 2 DIV MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM-->
<!-- InstanceEndEditable -->
<div class="col1">
<div class="box1">
<div class="wrapper" style="border-bottom:#bea97c medium dotted; margin-bottom:0px;">
<h1 style="font-size: 25pt; line-height: 25pt;">OUr Promise to You...</h1>
<p><strong>To do the PRODUCT RESEARCH<br />
for you! To only offer quality product in our store.</strong> <a href="guidelines_and_standards_the_total_cat_store.html"><br />
Read More></a></p>
<p> </p>
</div>
<div class="wrapper">
<p style="font-size: 12pt; line-height: 12pt;"><strong>Concerned about</strong></p> <h1 style="font-size:16pt; line-height:20pt; color:#635C4B;padding: 0px; margin:0px;">Salmonella and Parasites </h1><p >with Feeding a Raw Diet.<br/> Watch this video for Answers.
</p>
<p >
<div class="AJXLightboxIQdRdXD_center_wrapper">
<!-- AJXFILE:../ajxlightbox_Video%20R%20Nav%20Salmonella.css -->
<div class="AJXLightboxIQdRdXD">
<div class="AJXLightboxIQdRdXDli">
<div class="AJXLightboxIQdRdXDawrapper"><a title="Raw Meat Diet for Dogs and Cats" href="http://www.youtube.com/watch?v=G3wLTlqnMMg&ajximg=http://i1.ytimg.com/vi/G3wLTlqnMMg/0.jpg" class="AJXLightboxa"><img src="http://i1.ytimg.com/vi/G3wLTlqnMMg/1.jpg" alt="Raw Meat Diet for Dogs and Cats" height="" width="165"/></a></div>
</div>
</div>
</div>
</p>
<h1 style="font-size: 25pt; line-height: 25pt;">Feline<br />
Health<br />
Articles</h1>
<ul class="list1" >
<li> <a href="articles_cat.html">Urination Outsite Box</a> </li>
<li> <a href="articles_cat.html">CRF and Insufficieny</a> </li>
<li> <a href="articles_cat.html"><strong>Constipation</strong></a><strong></strong></li>
<li> <a href="poison_list_for%20cats_felines.html"><strong>Feline Poison List</strong></a><strong></strong></li>
</ul>
</div>
</div>
<div class="box2 marg_top1"><div class="wrapper">
<h1 style="font-size: 25pt; line-height: 25pt;">Success Stories...</h1>
<p >read stories from other Feline Owners on how a Raw Diet improved their Feline Companions health and life. </p>
<form id="form_1" action="" style="width:180px;">
<div>
<div class="wrapper"><a href="share_your_cat_food_story_entries.html" class="button" ><span><span>Read the Stories</span></span></a></div>
</div>
</form>
<h1 style="font-size: 18pt; line-height: 18pt;"> </h1>
<h1 style="font-size: 18pt; line-height: 18pt; border-top:thin #FFF dotted ; padding-top: 15px;">Share your Story...</h1>
<p>of how a raw diet improved your felines life.</p>
<form id="form_1" action="" style="width:180px;">
<div>
<div class="wrapper" style="margin-bottom: 0px;"><a href="share_your_cat_food_story_form.html" class="button" ><span><span>Tell Your Story</span></span></a></div>
</div>
</form>
</div></div>
<div class="box3 marg_top1"><div class="wrapper" style="margin: 315px 0px 25px 0px">
<p style="color:#555; font-size: 11px; line-height: 12px;" ><em>- As owner of The Total Cat Store I only recommend products of quality, that I have researched personally and use myself, if applicable. I've been a Go Pet Plan client for over 4 yrs and choose GPP, after reviewing many, for their policy on cost, pre-existing conditions, coverage and re-imbursement. </em><em><a href="https://account.gopetplan.com/partner/totalcatstore">READ MORE</a>.</em></p>
</div></div>
<div class="box3 marg_top1" style="background-image:none; height:205px; padding-left: 0px;"><a href="http://feline-nutrition.org"><img src="images/Ad_Side_feline_nutrition.jpg" width="200" height="200" alt="RawFedKitty" longdesc="http://www.feline-nutrition.org" /></a></div>
</div>
</div>
<!--content end-->
</div>
<div class="bot">
<!--footer -->
<div id="footer">
<div id="Nav_Header" style="margin-top: 15px; float: left;">
<h3><a href="index.php">Shop For YOur > PET</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="faq_raw_cat_food_diet.html">Raw Diet FAQ</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="articles_cat.html">Cat Articles</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="resources_the_total_cat_store.html">Helpful Links</a><img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="about_us.html">About Us</a> <img src="images/menu_line.png" alt="" width="20" height="20" class="nav_divider_spacing" /><a href="contactus.html">Contact Us</a></h3>
</div>
<p> </p>
<p> </p>
<p> </p>
<p align="center">The Total Cat Store ©2011 | <a href="privacypolicy.html">Privacy</a> and<a href="termsandcondtions_the_total_cat_store.html"> Terms and contiions</a> policy | <a href="returnpolicy.html">Return & Shipping policy</a></p>
</div>
<!--footer end--></div>
</div>
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">
$(function(){
$("#faded").faded({
speed: 1200,
crossfade: true,
bigtarget: true,
autoplay: 4800,
autorestart: 1200,
autopagination: true
});
});
</script>
</body>
<!-- InstanceEnd -->