query("select tempid,tempvar,tempname,tempfile,temptype from {$dbtbpre}enewstempdt order by myorder,tempid");
while($tempr=$empire->fetch($tempsql))
{
$andstr='
'.$tempr['tempname'].' ';
if($tempr['temptype']=='incfile')
{
$showtempr['incfile'].=$andstr;
}
if($tempr['temptype']=='doinfo')
{
$showtempr['doinfo'].=$andstr;
}
if($tempr['temptype']=='pubtemp')
{
$showtempr['pubtemp'].=$andstr;
}
if($tempr['temptype']=='shopsys')
{
$showtempr['shopsys'].=$andstr;
}
if($tempr['temptype']=='member')
{
$showtempr['member'].=$andstr;
}
if($tempr['temptype']=='membermsg')
{
$showtempr['membermsg'].=$andstr;
}
if($tempr['temptype']=='memberfriend')
{
$showtempr['memberfriend'].=$andstr;
}
if($tempr['temptype']=='memberfav')
{
$showtempr['memberfav'].=$andstr;
}
if($tempr['temptype']=='memberother')
{
$showtempr['memberother'].=$andstr;
}
if($tempr['temptype']=='memberspace')
{
$showtempr['memberspace'].=$andstr;
}
if($tempr['temptype']=='memberconnect')
{
$showtempr['memberconnect'].=$andstr;
}
if($tempr['temptype']=='diytemp')
{
$showtempr['diytemp'].=$andstr;
}
}
?>
菜单
短消息页面
=$showtempr['membermsg']?>
好友页面
=$showtempr['memberfriend']?>
收藏夹页面
=$showtempr['memberfav']?>
=$showtempr['memberspace']?>
=$showtempr['memberconnect']?>
=$showtempr['memberother']?>