require("../dc/defines.php"); if ( $_GET[productsubsection] == "ageing" ){ $subsection = "C"; $subsection_ = "ageing"; }else if ( $_GET[productsubsection] == "healthy" ){ $subsection = "B"; $subsection_ = "healthy"; }else{ $subsection = "A"; $subsection_ = "classic"; } if ( $_GET[productrange] == "cleanse" ){ $range = 1; }else if ( $_GET[productrange] == "moist" ){ $range = 2; }else{ $range = 3; } if ( isset($_GET["curimg"]) ){ $curimg = $_GET["curimg"]+0; }else{ $curimg = 1; } $con = mysql_connect(defhost,defusername,defpassword); mysql_select_db(defdatabase); $products = select_product($subsection,$range); ?>
|
||||||||||||||||||