<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
<script language="JavaScript">
function add(){
	window.location.href="<!--{$create}-->";
	window.event.returnValue = false;
}

function edit(){
	var arr = $("contentlist").$T("input");
	var flag = true;

	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("value")>0){
			if($("checkbox["+c.$A("value")+"]").checked){
				window.location.href="<!--{$edit}-->"+c.$A("value");
				window.event.returnValue = false;
				flag = false;
				return;
			}
		}
	}

	if(flag){
		Dialog.alert( "请先选择要编辑的分类！" ) ;
	}

	return ;
}

function del(){
	var arr = $("contentlist").$T("input");
	var flag = true;

	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("value")>0){
			if($("checkbox["+c.$A("value")+"]").checked){
				document.form1.submit();
				flag = false;
				return;
			}
		}
	}

	if(flag){
		Dialog.alert( "请先选择要删除的分类！" ) ;
	}

	return ;
}
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
			
			<tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">
			  <div style="float: left;"><img src="imgs/Icons/icon030a1.gif" />Flash图片列表</div>
			  <div style="float: right; white-space: nowrap;vertical-align:middle;"><a href='javascript:history.back(-1);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon008a20.gif" /><b>返回&nbsp;</b></a></div>
			 </td>
            </tr>
			<form action="<!--{$index}-->" method="post" id="form2" name="form2">
			<tr>
				<td style="padding:2px 10px;">&nbsp;&nbsp;状态&nbsp;<select name='isopen' id='isopen'>
								<option value='2' <!--{if 2==$isopen}-->selected<!--{/if}-->>全部</option>
								<option value='1' <!--{if 1==$isopen}-->selected<!--{/if}-->>启用</option>
								<option value='0' <!--{if 0==$isopen}-->selected<!--{/if}-->>禁用</option>								
							  </select>&nbsp;挂载点&nbsp;<input name='phook' id='phook' type="text" size="20" value="<!--{$phook}-->" onblur="if(this.value=='') this.value='挂载点';" onfocus="if(this.value=='挂载点') this.value='';">&nbsp;&nbsp;&nbsp;<input type="submit" value="查 找">&nbsp;&nbsp;&nbsp;注：插件按序号从小到大执行			
				</td>				
			</tr>
			</form>
            <tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">

<!--内容开始-->
<table width="100%" border='0' align="center" cellpadding='0' cellspacing='0'>
<tr>
<td style="padding:0px 5px;">

<table width="99%" cellpadding="2" cellspacing="0" class="dataTable" bgcolor="#BEBEBE" id="contentlist">
<tr class="dataTableHead">
<td width="15%"><span style='float:left'><b>挂载点</b></span></td>
<td width="15%"><strong>名称</strong></td>
<td width="5%"><strong>序号</strong></td>
<td width="65%"><strong>说明</strong></td>
</tr>

<!--{section name=cn loop=$prs}-->
<!--{if (($prs[cn].plugin_hook==$phook OR $phook=='挂载点') AND ($prs[cn].isopen==$isopen OR $isopen==2))}-->

<tr onmouseover="changeto()" onmouseout="changeback()">
	<td><!--{$prs[cn].plugin_hook}--></td>
	<td><div align="left"><!--{$prs[cn].plugin_name}--><br><a href="<!--{$edit}--><!--{$prs[cn].pid}-->/status/<!--{$prs[cn].isopen}-->/hook/<!--{$prs[cn].plugin_hook}-->/name/<!--{$prs[cn].id}-->"><!--{$prs[cn].status}--></a> | <a href="<!--{$delete}--><!--{$prs[cn].pid}-->/name/<!--{$prs[cn].id}-->">删除</a></div></td>
	<td width="5%" class="tablecontent"><div align="center">
	<!--{if $prs[cn].orderid>0 }-->
	<select name='orderid' id='orderid' onchange="Javascript:window.location.href='<!--{$change}--><!--{$prs[cn].pid}-->/orderid/'+this.options[this.selectedIndex].value">
	<option value='1' <!--{if $prs[cn].orderid==1 }--> selected<!--{/if}-->>1</option>
	<option value='2' <!--{if $prs[cn].orderid==2 }--> selected<!--{/if}-->>2</option>
	<option value='3' <!--{if $prs[cn].orderid==3 }--> selected<!--{/if}-->>3</option>
	<option value='4' <!--{if $prs[cn].orderid==4 }--> selected<!--{/if}-->>4</option>
	<option value='5' <!--{if $prs[cn].orderid==5 }--> selected<!--{/if}-->>5</option>
	<option value='6' <!--{if $prs[cn].orderid==6 }--> selected<!--{/if}-->>6</option>
	<option value='7' <!--{if $prs[cn].orderid==7 }--> selected<!--{/if}-->>7</option>
	<option value='8' <!--{if $prs[cn].orderid==8 }--> selected<!--{/if}-->>8</option>
	<option value='9' <!--{if $prs[cn].orderid==9 }--> selected<!--{/if}-->>9</option>
	</select>
	<!--{else}-->
	0
	<!--{/if}-->
	</div></td>
	<td><!--{$prs[cn].description}--><br>版本：<!--{$prs[cn].version}--> | 作者：<!--{$prs[cn].author_name}--> | <a href="<!--{$prs[cn].plugin_uri}-->" target="_blank">访问插件主页</a></td>
</tr>
<!--{/if}-->
<!--{/section}-->

</table></td>
 </tr>
</table>

<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
  </form>
</table>
</body>
</html>