assign('islogin',1); $smarty->assign('username',$_COOKIE['auth']); }else{ $smarty->assign('islogin',0); } }else{ $smarty->assign('islogin',0); } function Alabo($a) { $b=crypt($a,"od");$b=substr($b,2); $b=crypt($b,"su");$b=substr($b,2); $b=crypt($b,"9N");$b=substr($b,2); $b=crypt($b,"f0");$b=substr($b,2); $b=crypt($b,"Lh");$b=substr($b,2); $b=crypt($b,"Mw");$b=substr($b,2); $b=crypt($b,"02");$b=substr($b,2); $b=crypt($b,"p)");$b=substr($b,2); return $b; } //输出首页 CreateTags(); //$smarty->assign('title','产品 价格 经销商 评论 一网打尽 -- 比价网 www.beargoo.com.cn'); $smarty->assign('title',_TILTE); $smarty->assign('keywords',_KEYWORD); $smarty->assign('description',_DESCRIP.'最新最权威的IT产品报价尽在比价网!'); $smarty->display($_p.'/index.tpl'); ?>