 |
|
include_once("fpgfiles/product_title.php");
//include_once("menu/index.php");
?>
|
|
include_once("fpgfiles/cart_box.php");
?>
|
 |
|
include_once("fpgfiles/mailbox.php");
?>
|
|
include_once("fpgfiles/searchbox.php");
?>
|
|
|
|
|
|
|
include("shopping2/includes/db.php");
include("shopping2/includes/functions.php");
if($_REQUEST['command']=='add' && $_REQUEST['productid']>0){
$pid=$_REQUEST['productid'];
$ID=$_GET['Id'];
addtocart($pid,1);
include("fpgfiles/add_msg3.php");
exit();
}
?>
$select_all_product="select * from products where brandid='$_GET[Id]'";
$res_all_product=mysql_query($select_all_product);
if(!$res_all_product){
echo mysql_error();
exit;
}
$i=1;
echo"
";
while($row_all_product=mysql_fetch_array($res_all_product)){
echo"
|
| ";
if($i==4){
ECHO" ";
$i=0;
}
$i=$i+1;
}?>
|
|
|
|
|
 |
$selbranimg="select * from brands where 1";
$resbrandimg=mysql_query($selbranimg);
while($rowbrandimg=mysql_fetch_array($resbrandimg)){
$logobrand_img=$rowbrandimg[brand_img];
$logobrand_name=$rowbrandimg[brand_name];
$logobrandid=$rowbrandimg[brandid];
?>

}?>
|
|
|
include_once("../fpgpanel/files/dbc.php");
$fconect="select * from conect_link where coid='1'";
$res_fconect=mysql_query($fconect);
if(!$res_fconect){
echo mysql_error();
exit;
}
while($row_fconect=mysql_fetch_array($res_fconect)){
$facebookt=$row_fconect[colink];
//echo $facebookt;
}
$yconect_link="select * from conect_link where coid='2'";
$res_yconect_link=mysql_query($yconect_link);
if(!$res_yconect_link){
echo mysql_error();
exit;
}
while($row_yconect_link=mysql_fetch_array($res_yconect_link)){
$youtube=$row_yconect_link[colink];
}
$twconect_link="select * from conect_link where coid='3'";
$res_twconect_link=mysql_query($twconect_link);
if(!$res_twconect_link){
echo mysql_error();
exit;
}
while($row_twconect_link=mysql_fetch_array($res_twconect_link)){
$twitter=$row_twconect_link[colink];
}
?>
|