assignInclude("BODY", "supporterbody.htm"); eval($templatecache['phpinclude']); $tpl->prepare(); noads(); $tpl->assign("TITLE", $title); $tpl->assign("TODAYSDATE", date("F j, Y")); $result = mysql_query("SELECT * FROM inventory WHERE status=1 AND membersonly=0 AND edelivery=2"); while($row = mysql_fetch_array($result)) { $tpl->newBlock(PROD); $tpl->assign("PRODUCT", $row[product]); $tpl->assign("DESCRIPTION", $row[description]); $tpl->assign("PRICE", $row[price]); $urlstring = "add=".$row[id]; $tpl->assign("VIEW_CART_URL_STRING", $urlstring); } $screencontent = $tpl->getOutputContent(); echo $screencontent; if ($enable_cache and $cacheok) { $cache->save($screencontent); } } if ($debug) { echo ""; echo "$numqueries database queries total"; echo "
Execution time = ".elapsed($scriptexec_start)." seconds\n"; echo "
"; } if ($enable_gzip) { new gzip_encode(); } ?>