require_once("include/defs.php");
$extractfile = split("/",$_SERVER["SCRIPT_NAME"]);
$pagenamereal=$extractfile[count($extractfile)-1];
$pagename=str_replace(".php","",$pagenamereal);
$qry = "Select pid,name,catid,desr,features,pic2,largealt From tblproducts Where pagename = '".$pagename."' AND active='Y'";
$res = mysql_query($qry);
$row = mysql_fetch_array($res);
$subcat = $row["catid"];
$prodname = $row["name"];
?>
Find the cheapest prices for at valueshop.co.uk
| include "headcat.php"; ?> |
| include "leftbar.php"; ?> |
|
| Best prices for |
| |
|
|
| |
| Features: |
if ($row["features"] <> "") {?>
if ($row["pic2"]) { ?> } ?>
$allfeat = split(",",$row["features"]);
foreach($allfeat as $feat)
{
$thisitem = trim($feat);
$thisitem = str_replace("?","",$thisitem);
if ($thisitem <> "") {
?>
} } ?>
|
} ?>
| |
| |
|
$kelkocat = getkelkocat($subcat);
$kelkosubdom = getkelkosubdom($subcat);
$kelkopage = getkelkopage($row["pid"]);
if (($kelkocat != "") and ($kelkosubdom != "") and ($kelkopage != ""))
{
?>
} else {
?>
} ?>
|
|
|
|
|
| include "footer.php"; ?> |
mysql_free_result($res); ?>