y("select category_id, name from categories order by 2");
while($dbcategory_id->next_record())
{
$tpl->set_var("ID", $dbcategory_id->f(0));
$tpl->set_var("Value", $dbcategory_id->f(1));
if($dbcategory_id->f(0) == $fldcategory_id)
$tpl->set_var("Selected", "SELECTED" );
else
$tpl->set_var("Selected", "");
$tpl->parse("LBcategory_id", true);
}
$tpl->set_var("price", tohtml($fldprice));
$tpl->set_var("product_url", tohtml($fldproduct_url));
$tpl->set_var("image_url", tohtml($fldimage_url));
$tpl->set_var("notes", t
上一篇:
booker.php
下一篇:
爱情只不过就是,爱与不爱