require_once('../etc/common_config.php');
$params = array('page','mcat','scat');
getParam($params, $_GET);
if($mcat || $scat) {
$where = "mcat='$mcat'";
if ($scat) {
$where = "mcat='$mcat' AND scat='$scat' ";
}
}else{
$where = "mcat=1";
}
$db = new DB;
if(!$page)$page = 1;
$q = "SELECT COUNT(id) FROM product_lists WHERE $where";
$db->query($q);
$count = $db->next_record();
$limit_info = limit_per_page($page,$count[0],5);
$limit = "$limit_info[begin],$limit_info[end]";
$q = "SELECT id,price,product_key,mcat,scat,period,quantity,summary,image,timestamp FROM product_lists WHERE $where ORDER BY timestamp DESC LIMIT $limit";
$db->query($q);
?>
Others : BIF 보루네오 - 미서부지점 LA / OC / Torrance
|
|
|
|
while($row = $db->next_record()){
?>
|
모델넘버 |
$0.00 |
|
세일기간 : |
세일수량 : 개 한정 |
|
}?>
|
|
|
© 2010 bifinc.com. All rights reserved. |
|
|
|