<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="css/space.css" rel="stylesheet" type="text/css" />
<title><?php echo $spacename?></title>
</head>

<body>
<div id="container">
	<!--头部开始-->
	<?php include(dirname(__FILE__)."/member_head.htm");?>
    <!--头部结束-->
    <!--中间开始-->
    <div id="spacemain">
    	<div id="space_main">
        	<?php include(dirname(__FILE__)."/member_left.htm");?>
        	<!--左边结束-->
            
            <div id="space_right"><!--右边开始-->
            	
                <div class="space_notice">
                	<div class="space_title02">
                    	<ul>
                        <li><?php echo $uname?>发布的所有主题</li>
                      </ul>
                  </div>
                  <div class="space_notice_text">                    
                    <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" >
                      <tr>
                        <td width="7%" height="30" align="center" bgcolor="#FDFEE9">点击</td>
                        <td width="8%" height="30" align="center" bgcolor="#FDFEE9">回复</td>
                        <td width="54%" height="30" align="center" bgcolor="#FDFEE9">标题</td>
                        <td width="16%" height="30" align="center" bgcolor="#FDFEE9">最后更新</td>
                        <td width="15%" height="30" align="center" bgcolor="#FDFEE9">最后回复</td>
                      </tr>
                      <?php  
                      $mylist = $dlist->GetDataList();
                      while($row = $mylist->GetArray('dm'))
                      {
                      $subject = $row['subject'];
                      $titleleft = "";
                      if($row['digest']) $titleleft .= "<span style='color:red;'>[精]</span>";
                      if($row['closed']) $subject = "<s>".$subject."</s>";
                      $subject = $titleleft.$subject;                      
                      ?>
                      <tr>
                        <td height="28" align="center" bgcolor="#FFFFFF"><?=$row['views']?></td>
                        <td height="28" align="center" bgcolor="#FFFFFF"><?=$row['replies']?></td>
                        <td height="28" align="left" bgcolor="#FFFFFF" class="space_viewthread_title"><a href="../group/viewthread.php?id=<?php echo $row['gid'];?>&tid=<?php echo $row['tid'];?>" title="<?php echo $row['subject'];?>" target="_blank"><?=$subject?></a></td>
                        <td height="28" align="center" bgcolor="#FFFFFF"><?=GetDateMk($row['lastpost'])?></td>
                        <td height="28" align="center" bgcolor="#FFFFFF"><?=$row['lastposter']?></td>
                      </tr>
                      <?php
                      }
                      ?>
                    </table>
                    <div class="space_news_text">&nbsp;&nbsp;<?php echo $dlist->GetPageList(7);?></div>
                    </div>
                </div>
            </div><!--右边结束-->
            <div class="clear">
            </div>
        </div>
    </div>
    <!--中间结束-->
    <!--底部开始-->
	<?php include(dirname(__FILE__)."/member_footer.htm");?>
    <!--底部结束-->
    
</div>
</body>
</html>
