{?>
$cuid= $_SESSION["cuid"];
$sql3= "select * from users where uid=‘{$cuid}‘";
$arr3= $db->query($sql3);foreach($arr3 as$c)
{
echo"
{$arr3[0][2]}
个性签名:
";
}?>
$cuid= $_SESSION["cuid"];
$sql4= "select * from users where uid=‘{$cuid}‘";
$arr4= $db->query($sql4);
$sql5="select * from duihua where uid=‘{$cuid}‘ or jsid=‘{$cuid}‘ order by dhtime";
$arr5= $db->query($sql5);foreach($arr5 as$f)
{//该联系人的信息显示在左侧,和前台相反
if($f[2]==$cuid)
{
echo"
{$f[6]}
{$f[4]}
}//如果是店主,则显示在右侧
if($f[2]==‘zhangsan‘)
{
echo"
{$f[6]}
{$f[4]}
}
}?>
关闭
发送
}?>