<?php include_once('web_left.php');?>
    <td width="493" align="left"><table border="0" cellpadding="0" cellspacing="0" class="righttable">
<?php
global $db;
	$sql="select * from s_article where S_Author='".$chsh_web_name."' order by s_id desc";
		$Arr=getuserpage($sql,"15");//sql,每页显示条数
		$result=$db->query($Arr[2]);
?>
        <tr> 
          <td width="106" class="righttable01"><img src="images/web/dl_01_02.jpg" width="9" height="9" align="absmiddle"> 
            <strong>我的文章</strong></td>
           <td width="380" align="right" class="righttable01"><?php echo $Arr[0];?></td>
        </tr>
        <tr align="left" valign="top"> 
          <td height="150" colspan="2" class="righttable02">
<?php
		if($result){
			while ($row = $db ->fetch_array($result)){
?>
	   <table width="98%" border="0" cellpadding="5" cellspacing="0" class="righttable06">
              <tr>
                <td height="25"><a href="<?php echo S_SiteDomain.LinkUrl("s_article",$row['S_ClassID'],1,$row['S_ID'])?>" target=_blank><font color="<?php echo $row["S_Color"]?>"><?php echo $row["S_Name"]?></font></strong></a></td>
              </tr>
 
              <tr>
                <td height="25"><?php echo cnsubstr($row['S_Content'],50)?></td>
              </tr>
              <tr>
                <td height="25"><a href="<?php echo S_SiteDomain.LinkUrl("s_article",$row['S_ClassID'],1,$row['S_ID'])?>" >查看详细信息...</a></td>
              </tr>
              <tr>
                <td height="25" align="right" class="righttable05">添加时间：<?php echo $row['S_AddTime']?>|查看次数：<?php echo $row['S_Hits']?></td>
              </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="8"></td>
              </tr>
            </table>
<?php
}
}
?>
	      </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="8"></td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<table width="756" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="8"></td>
  </tr>
</table>
<table width="756" border="0" align="center" cellpadding="0" cellspacing="0" class="bottomtable">
  <tr> 
    <td><div align="center">
</div></td>
  </tr>
</table>