<?php
require_once(dirname(__FILE__)."/header.htm");
?>
    <!--中间开始-->
    <div id="group_main">
    	<div id="group_main_middle">
        	<div class="group_main_title">搜索圈子
            </div>
        	<div class="group_list_text">
                    <div class="group_list_title">搜索圈子：<?php echo $keyword;?></div>
                <div class="clear">
                </div>
        	</div>
            <?php  
              $mylist = $dlist->GetDataList();
              while($row = $mylist->GetArray('dm')) {
              $icon = $row['groupimg'];
  			  if(!$icon) $icon = "/group/images/group_mainlist00.gif";
            ?>
            <div class="group_list_class">
            	<div class="group_list_class_img"><img src="<?php echo $icon;?>" /></div>
                <div class="group_list_class_text">
                	<ul>
                    <li><a href="group.php?id=<?php echo $row['groupid'];?>"><?php echo $row['groupname'];?></a></li>
                    <li>创建人：<?php echo $row['creater'];?></li>
                    <li><span><?php echo $row['des'];?></span></li>
                    </ul>
                </div>
                <div class="clear">
                </div>
            </div>
            <?php
            }
            ?>
            <div class="group_more"><?php echo $dlist->GetPageList(7);?>
            </div>                 
        </div>   
    </div>       
    <div class="clear">
    </div>
    <!--中间结束-->
<?php
require_once(dirname(__FILE__)."/footer.htm");
?>