=returncount("yjcode_profav where userid=".$rowuser[id])?>
商品收藏
=returncount("yjcode_shopfav where userid=".$rowuser[id])?>
店铺收藏

我的足迹
$sj=date("Y-m-d H:i:s");
while1("*","yjcode_qiandao where userid=".$rowuser[id]." order by sj desc limit 1");
if($row1=mysql_fetch_array($res1)){
$a_ux = strtotime($sj);
$a_date = date('Y-m-d',$a_ux);
$b_date = date('Y-m-d',strtotime($row1[sj]));
if($a_date==$b_date){$ifq=1;}else{$ifq=0;}
}else{$ifq=0;}
?>
if($ifq==0){?>

前去签到
}else{?>

已签到
}?>