下一部分程序是
<table width="754" border="3" cellspacing="1" cellpadding="0" align="center" bordercolor="#ffffff">
  <tr bgcolor='#fffbf7'>
<?
  if($session_customer_class=="7" || $session_customer_class=="6")
{
?>
    <td width=40% class=blue align=center height=25>评论主题</td>
    <td width=13% class=blue align=center height=25>评论作者</td>
    <td width=7% class=blue align=center height=25>点击</td>
    <td width=7% class=blue align=center height=25>回复</td>
    <td width=7% class=blue align=center height=25>字节</td>
    <td width=16% class=blue align=center height=25>评论时间</td>
    <td width=5% class=blue align=center height=25>删除</td>
    <td width=5% class=blue align=center height=25>修改</td>
<?
}
else
{
?>
    <td width=41% class=blue align=center height=25>评论主题</td>
    <td width=15% class=blue align=center height=25>评论作者</td>
    <td width=9% class=blue align=center height=25>点击</td>
    <td width=9% class=blue align=center height=25>回复</td>
    <td width=10% class=blue align=center height=25>字节</td>
    <td width=16% class=blue align=center height=25>评论时间</td>
<?
}
?>
  </tr>
  <?
  $result=@mysql_query("select * from re where re_pic1='".$pic."' and re_id1='0' order by re_date asc");
  while($row=@mysql_fetch_array($result))
  {
    $id=$row["re_id"];
    $id1=$row["re_id1"];
$title=$row["re_title"];
if(strlen($title)>30)
{
  $title1=substr($title,0,30);
  $rr="...";
  $title=$title1.$rr;
}
else
{
  $title=$row["re_title"];
}
    $name=$row["re_name"];    
$date=$row["re_date"];    
$readtimes=$row["re_readtimes"];  
    $replytimes=$row["re_replytimes"];
$content=$row["re_content"]; 
$num=strlen($content); 
$pic=$row["re_pic1"]; 
/*$=$row["re_"];  
    $=$row["re_"];    
$=$row["re_"];    
$=$row["re_"];  
$=$row["re_"]; */  if($session_customer_class=="7" || $session_customer_class=="6")
{
  print("<tr bgColor=#eefdff>".
    "<td width=40% class=blue height=25><a href='handphone_input.php?$id'>".$title."</a></td>".
    "<td width=13% class=blue align=center height=25>".$name."</td>".
    "<td width=7% class=blue align=center height=25>".$readtimes."</td>".
    "<td width=7% class=blue align=center height=25>".$replytimes."</td>".
    "<td width=7% class=blue align=center height=25>".$num."</td>".
    "<td width=16% class=blue align=center height=25>".$date."</td>".
    "<td width=5% class=blue align=center height=25><a href='handphone_re_delete.php'>删除</a></td>".
    "<td width=5% class=blue align=center height=25><a href='handphone_re_update.php'>修改</a></td>".
    "</tr>");
   }
else
{
  print("<tr bgColor=#eefdff>".
    "<td width=41% class=blue height=25><a href='handphone_input.php?$id'>".$title."</a></td>".
    "<td width=15% class=blue align=center height=25>".$name."</td>".
    "<td width=9% class=blue align=center height=25>".$readtimes."</td>".
    "<td width=9% class=blue align=center height=25>".$replytimes."</td>".
    "<td width=10% class=blue align=center height=25>".$num."</td>".
    "<td width=16% class=blue align=center height=25>".$date."</td>".
    "</tr>");
}  
  $kong="";
  $id2=$id;
  $result6=@mysql_query("select * from re where re_id1='".$id."'");
  if($row6=@mysql_fetch_array($result6))
  {
    tree($id,$kong,$session_customer_class);
  }
    }  //whlie_id
  ?>
</table>
</body>
</html>