<!-- #include file="../../themes/default/~css.php" -->

<style type="text/css">
<!--
h4.ay{
color:#151515;
margin:0;
padding:10px 0;	
}
h4.ay a{
	text-decoration: none;
}

h4.ay span{
	color:#B3B3B3;
	font-size: 75%;
	font-weight: normal;
}
.ay_img{
	float:right;
	padding:0;
	height: 68px;
	width: 95px;
	margin: 8px;
	border: 3px solid #eee;
}
.ay_hr{
	background:none repeat scroll 0 0 transparent;
border-top:1px solid #EBEBEB;
clear:both;
line-height:0;
margin:5px 0;
padding:0;
}
-->
</style>
<?php if(!empty($mpv[1])){?>
<a class="tr" href="<?=url(RPGM.'newtopic/'.MID.'/')?>" ><img src="<?=THEMEPATH?>img/add.png"  alt="<?=htmlmlang('新主题')?>" /></a>
<?php }?>
<form id="form" name="" method="post" action="<?=url(RPGM.'edittopics/'.MID.'/?ajax')?>" onsubmit="return yun_submit(this.id)">

<?php foreach($arg_0 as $k=>$v){?>
<div id="pid_<?=$k?>">
<h4 class="ay"><?=$v['title']?><br>
            <span><?php if(!empty($mpv[3])){?>
<input name="pids[]" type="checkbox" value="<?=$k?>" />
<?php }?><?=htmlmlang('发表于')?><?=$v['post_time']?> | <?=htmlmlang('查看')?><?=$v['hits']?> </span></h2>
<?php if(strlen($v['thumb'])>0){?>
<img class="ay_img" alt="" src="<?=$v['thumb']?>">
<?php }?>
<p><?=xstr($v['doc'],160)?><?php if(!empty($mpv[3])){?>
 <a style="display: inline;margin:0" href="javascript:void(0)" onclick="yun_send('<?=url(RPGM.'deltopic/'.MID.'/'.$k.'/?ajax')?>','<?=htmlmlang('要删除该主题吗')?>?');return false;"><?=htmlmlang('删')?></a> 
<?php }?> <a href="<?=url(RPGM.'show/'.MID.'/'.$k.'/')?>"><?=htmlmlang('详细')?>...</a>
</p>
<div class="ay_hr"></div>
</div>
<?php }?>
<p>
<?=$arg_1?>
</p>
<?php if(!empty($mpv[3])){?>

<div class="fieldwrapper">
	<label for="" class="styled"><?=htmlmlang('选项')?></label>
	<div class="thefield">
    <input type="radio" value="del" checked="checked" name="type" id="f1"/><label for="f1"><?=htmlmlang('在本栏目内删除')?></label><br />
 
<input type="radio" value="fdel" name="type" id="f2"/><label for="f2"><?=htmlmlang('完全删除')?></label><br />
 
<input type="radio" value="move" name="type" id="f3"/><label for="f3"><?=htmlmlang('移动')?></label>: 
<select name="tomid" >
<option value="0"></option>
<?php foreach($conf['sys_menus'] as $k =>$v){ if($conf['sys_modules'][$v['mod']]['tixi']<>'yuns' || MID==$k) continue;?>
<option value="<?=$k?>"><?=htmlxlang($v['name'])?></option>
<?php }?>
  
</select>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled"><?=htmlmlang('全选')?></label>
	<div class="thefield">
    <input type="checkbox" name="chkall" onclick="CheckAll(this.form)" id="f0"/>
    </div>
</div>
<div class="buttonsdiv" >
	<input value="<?=htmlmlang('提交')?>" type="submit" class="button" onclick="if(!confirm('<?=htmlmlang('确定进行该项操作吗')?>?')) return false;"> 
    <input value="<?=htmlmlang('重置')?>" type="reset" class="button">
    
</div>
<?php }?>  
</form>

<script type="text/javascript">

</script>