<%>PHP<% > include("include/common.php"); //获取配置 $prolist_new=$mysql->getlist('product','*','ifnew=1 and ifsj=1','order by rand()',0,12);// $prolist_hot=$mysql->getlist('product','*','ifhot=1 and ifsj=1','order by rand()',0,12);// $prolist_tejia=$mysql->getlist('product','*','iftejia=1 and ifsj=1','order by rand()',0,3);//特价 $news_list=$mysql->getlist('news','title,Id','','order by rand()',0,3); $prolist=$mysql->getlist('product','*','ifsj=1','order by rand()',0,12); $ad = $mysql->getlist("linktab","*","class='index_dh'","order by OrderNumber desc,Id desc"); $prolist_tj=$mysql->getlist('product','*','iftj=1 and ifsj=1','order by rand()',0,12);//推荐 //$brand=$mysql->getlist('pclass','ClassName,Id,ShowPic','indextj=1 and tj_dh<>1','order by OrderNumber desc,Id desc',0,18);//推荐品牌 //$class_tj = $mysql->getlist('bpclass','ClassName,Id,ShowPic','tj_ss=1 and tj_dh<>1','order by OrderNumber desc,Id desc',0,5);//推荐品牌 //$brand_ad = $mysql->getlist("linktab","*","class='index_qh'","order by OrderNumber desc,Id desc limit 6"); //店铺简介 $syzn=$mysql->getfield('config','content','id=103'); /* 获取重要情报 */ $get_news=$mysql->getlist("proinfo","*","1","order by OrderNumber desc,Id desc"); include_once(PHPCORFU_TEMPLATE."index.php"); ?>