<!--{template 'head'}-->
<script type="text/javascript">
if(top != window) parent.document.getElementById('menu').contentWindow.show('submenu'+channelid.toString());
setSubject("{$channeltitle}管理");
</script>
<script type="text/javascript">
var getBrowseSoft = function(p, id, size){
	var d = typeof p == 'string' ? p : p[0];
	var size = arguments.length < 3 ? 0 : arguments[2];
	var path = d.substr(config.url.length, d.length);
	if($(id) == null){
		alert("系统似乎出了点问题");
		return false;
	}
	$(id).value = path;
	size = size.toString();
	var a = parseInt(size);
	if(size.toLowerCase().indexOf('k') > -1){
		
	}else if(size.toLowerCase().indexOf('m') > -1){
		a = a * 1024;
	}else if(size.toLowerCase().indexOf('g') > -1){
		a = a * 1024 * 1024;
	}
	if($('soft-size') != null && $('soft-size').value == 0) $('soft-size').value = a;
	qmeCms.dialogView.close(typeof p == 'string' ? 0 : 500);
}
</script>
<script language=javascript src="{AW_P}images/js/download/edit.js"></script>
<table cellpadding="0" cellspacing="0" border="0" align=center class="tableborder" width="100%">
  <tr>
    <td class="tablerow" colspan=2><b>管理选项:</b>
	<a href="system.php?sys=module&mod={$mod}&channelid={$channelid}&action=manage"><!--{if $action=='manage'}--><font color=red>{$channeltitle}管理</font><!--{else}-->{$channeltitle}管理<!--{/if}--></a> | 
	<a href="module.php?mod=download&channelid={$channelid}&action=add&addtype=0"><!--{if $action=='add' && $addtype==0}--><font color=red>{$channeltitle}添加</font><!--{else}-->{$channeltitle}添加<!--{/if}--></a> |
	<a href="module.php?mod=download&channelid={$channelid}&action=add&addtype=1"><!--{if $action=='add' && $addtype==1}--><font color=red>{$channeltitle}添加（镜像模式）</font><!--{else}-->{$channeltitle}添加（镜像模式）<!--{/if}--></a>
  </tr>
  <tr>
      <td class="tablerow">
		<div class="modify-cate">
			<form name="search-form" id="search-form" class="search-form" action="system.php" onsubmit="$('__submit').disabled=true;return true;">
				<input type="hidden" name="sys" value="module" />
				<input type="hidden" name="channelid" value="{$channelid}" />
				<input type="hidden" name="action" value="manage" />
				<input type="hidden" name="pagesize" value="{$pagesize}" />
				<input onclick="formSubmit('search-form')" name='status' value="0" type='radio' <!--{if $action=='manage'}--> checked<!--{/if}--> id="__status_0"><label for="__status_0">审核通过</label>
				<input onclick="formSubmit('search-form')" name='status' value="3" type='radio' <!--{if $status==3}--> checked<!--{/if}--> id="__status_3"><label for="__status_3">待审{$channeltitle}</label>
				<input onclick="formSubmit('search-form')" name='status' value="2" type='radio' <!--{if $status==2}--> checked<!--{/if}--> id="__status_2"><label for="__status_2">退稿{$channeltitle}</label>
				<input onclick="formSubmit('search-form')" name='status' value="1" type='radio' <!--{if $status==1}--> checked<!--{/if}--> id="__status_1"><label for="__status_1">草稿{$channeltitle}</label>
				<input onclick="formSubmit('search-form')" name='status' value="4" type='radio' <!--{if $status==4}--> checked<!--{/if}--> id="__status_4"><label for="__status_4">回收站</label>
				<input onclick="formSubmit('search-form')" name='is_comend' value="1" type='checkbox'<!--{if intval($_GET['is_comend'])==1}--> checked<!--{/if}--> id="__is_comend"><label for="__is_comend">推荐{$channeltitle}</label>
				<input onclick="formSubmit('search-form')" name="param[error]" value="1" type="checkbox" <!--{if intval($_GET['param']['error']) == 1}--> checked<!--{/if}--> id="__is_error" /><label for="__is_error">错误报告</label>
				<select  onchange="formSubmit('search-form')" name='cid'>
					<option value='0'>选择栏目</option>
					{$strall}
				</select>
				<select  onchange="formSubmit('search-form')" id="__filter" name="filter"><!--{echo makeFilterBox($filters, 'select');}--></select>
			</form>
		</div>
	</td>
      <td align=right class="tablerow">
      </td>
  </tr>
</table>