<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!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=<?php echo $cfg_soft_lang; ?>" />
<title>全部发帖</title>
<link href="../member/images/member.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../images/js/j.js"></script>
<script language="javascript" type="text/javascript" src="../member/js/table_function.js"></script>
</head>
<body>
<?php  include(DEDEMEMBER."./templets/head.htm"); ?>
<div class="wrapper lineT">
  <div class="mainBox">
    <div class="main"><?php  include(DEDEMEMBER."./templets/menu.php");?>
      <div class="dedeMain">
        <div class="location"><span class="fLeft">圈子话题<i>|</i><a href="index.php">圈子频道</a></span><span class="fRight mR10 titPublish icon"><a href="create.php">创建圈子</a></span></div>
        <div class="titleTabBar bgGreen lineTB">
          <ul>
            <li><a href="mygroup.php">创建的圈子</a></li>
            <!--<li><a href="myjoin.php">参与的圈子</a></li> -->
            <li class="select"><a href="myjoin.php">我的发帖</a></li>
          </ul>
        </div>
        
        <div class="mL10 mR10 mTB10">
          <table cellspacing="1" class="list">
            <thead>
              <tr>
                <th width="10%">圈子名称</th>
                <th>话题</th>
                <th width="10%">最后更新</th>
              </tr>
            </thead>
            <tbody>

            <?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
foreach( $blockValue as $key=>$fields )
{

				$row = $fields;
			?>
            <tr>
              <td align="center"><a href="../group/group.php?id=<?php echo $row['gid'];?>" target="_blank"><?php echo $row['groupname'];?></a></td>
              <td><a href="../group/viewthread.php?id=<?php echo $row['gid'];?>&tid=<?php echo $row['tid'];?>" title="<?php echo $row['subject'];?>" target="_blank"><?php echo cn_substr($row['subject'],30);?></a></td>
              <td align="center"><?php echo GetDateMk($row['lastpost'])?></td>
            </tr>
            <?php
}
?>
            </tbody>

            <tfoot>
              <tr>
                <td colspan="6"><div class="pages fRight"><?php
$atts = array();
$atts['tagname'] = 'pagelist';
 echo $this->refObj->GetPageList($atts,$this->refObj,$fields); 
?>
</div></td>
              </tr>
            </tfoot>
          </table>
        </div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
</div>
</div>
<?php  include(DEDEMEMBER."./templets/foot.htm");?>
</body>
</html>