vip_id;
if (!isset($_REQUEST["page"]))
{
$page = 1;
}
else
{
$page = $_REQUEST["page"];
}
settype($page, "integer");
if ($page < 1)
{
$page = 1;
}
$page_size = $nexus_cfg["product"]["page_size"];
$order_clause = "";
$search_info = array(
"in_vip" => array($vip_id),
"status" => "live"
);
nexus_product_get_list($search_info, $products_total, $products_result, "", $page, $page_size);
$start_index = ($page-1) * $page_size + 1;
$end_index = $page * $page_size;
if ($product_total < $end_index)
{
$end_index = $products_total;
}
$max_page = ceil($products_total / $page_size);
?>
| VIP area |
/greyline.gif" width="670" height="3" /> |
/blank.gif" width="20" height="5" /> |
Welcome |
|
| Total product(s), showing to . |
|
|
/blank.gif" width="5" height="10" /> |
/blank.gif" width="608" height="1" /> |
\n";
}
$search_info = array(
"product_id" => $product_row->product_id
);
nexus_product_photo_get_list($search_info, $product_photo_total, $product_photo_result, "", 1, 1);
if ($product_photo_total > 0)
{
$product_photo_row = $product_photo_result[0];
$product_thumbnail = sprintf(" ", $product_photo_row->file_path);
}
else
{
$product_thumbnail = sprintf(" ", $nexus_cfg["url"]["lang_images"]);
}
?>
|
/blank.gif" width="5" height="10" /> |
\n", $nexus_cfg["url"]["lang_images"]);
}
echo "\n";
}
?>
|
|
| 1)
{
echo sprintf("%s", $txt_prev_page);
}
else
{
echo sprintf("%s", $txt_prev_page);
}
?> |
|
|
|
%s", $txt_next_page);
}
else
{
echo sprintf("%s", $txt_next_page);
}
?> |