www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/admin/tpl/file.tpl.php
<?php if(!defined('IN_NetMao')) exit('Access Denied'); ?> <? if($action == 'file_manage') { ?> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder"> <tr> <td class="tablerow">当前操作 > 文件管理</td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="3"> <tr> <td ></td> </tr> </table> <form name=myform method="post" action="?action=file_manage"> <table width="100%" border="0" align=center cellpadding="2" cellspacing="1" class="tableBorder"> <tr> <td bgcolor="#F1F3F5">特殊: <select name="select" style="width:10em" onChange="location='?action=file_manage&o=1&sid='+this.options[this.selectedIndex].value"> <option value="" <? if($sid == '') echo "selected"; ?>>全部</option> <option value="null" <? if($sid == 'null') echo "selected"; ?>>空</option> <?=$servopt?> </select> <select name="select" style="width:10em" onChange="location='?action=file_manage&o=2&pid='+this.options[this.selectedIndex].value"> <option value="" <? if($pid == '') echo "selected"; ?>>全部</option> <option value="null" <? if($pid == 'null') echo "selected"; ?>>空</option> <?=$playopt?> </select> </td> </tr> <tr> <td bgcolor="#F1F3F5"> 综合: <input name="keyword" type="text" value="<?=$keyword?>" size="20"> <select name="type"> <option value="content" selected>地址</option> <option value="name">名称</option> <option value="mid">MID</option> <option value="fid">FID</option> <option value="sid">服务器</option> <option value="pid">播放器</option> <option value="error">报错</option> </select> <select name="ordertype"> <option value="0" <? if($ordertype == '0') echo "selected"; ?>>默认</option> <option value="1" <? if($ordertype == '1') echo "selected"; ?>>server倒序</option> <option value="2" <? if($ordertype == '2') echo "selected"; ?>>server顺序</option> <option value="3" <? if($ordertype == '3') echo "selected"; ?>>player倒序</option> <option value="4" <? if($ordertype == '4') echo "selected"; ?>>player顺序</option> <option value="11" <? if($ordertype == '5') echo "selected"; ?>>Err倒序</option> <option value="12" <? if($ordertype == '6') echo "selected"; ?>>Err顺序</option> </select> <input name="o" type="hidden" value="3"> <input name="submit" type="submit" value="搜索"> </td> </tr> </table> </form> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="3"> <tr> <td ></td> </tr> </table> <form name=myform method="post" action="?action=file_from"> <table width="100%%" cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=7>文件管理</th> </tr> <tr> <td width="100" class="tablerowhighlight">FID</td> <td width="60" class="tablerowhighlight">MID</td> <td width="100" class="tablerowhighlight">名称</td> <td width="500" class="tablerowhighlight">地址</td> <td width="60" class="tablerowhighlight">服务器</td> <td width="60" class="tablerowhighlight">播放器</td> <td width="30" class="tablerowhighlight">Err</td> </tr> <? if(is_array($nfiles))foreach($nfiles AS $nfile){ ?> <tr onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#CEEAD3'" bgColor='#F1F3F5'> <td height="25"> <input type="checkbox" name="fid[]" value="<?=$nfile[fid]?>"> <?=$nfile[fid]?> </td> <td> <?=$nfile[mid]?> </td> <td> <?=$nfile[name]?> </td> <td> <?=$nfile[content]?> </td> <td> <?=$nfile[server]?> </td> <td> <?=$nfile[player]?> </td> <td> <?=$nfile[error]?> </td> </tr> <? } ?> <tr> <td colspan="9" bgcolor="#E1E1E1" align="right"> <?=$pages?> </td> </tr> <tr> <td colspan="9" bgcolor="#E1E1E1"><input name='chkall' type='checkbox' onclick='checkall(this.form)' value='checkbox'> (全选)<font color="#FF0000">批量操作</font> <input type="submit" name="fxxsubmit" value="详细修改"> <input type="submit" name="fxgsubmit" value="修改文件"> <input type="submit" name="fscsubmit" value="删除文件"> </td> </tr> </table> </form> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder"> <tr> <td class="tablerow">小技巧:<br> 设定服务器标识后建议将播放器标识置空,如设置播放器标识后则强制用此播放器播放。<br> 如为绝对地址,可将服务器置空,设置正确的播放器标识。</td> </tr> </table> <script language="JavaScript" type="text/JavaScript"> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } </script> <? }elseif($action == 'file_from' && $fxxsubmit){ ?> <script type="text/javaScript" src="<?=ROOTDIR?>/inc/js/prototype.js"></script> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder"> <tr> <td class="tablerow">当前操作 > 批量文件修改</td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table width="100%" border='0' align='center' cellpadding='1' cellspacing='1' class="tableborder"> <form name="myform" action="?action=file_to" method="post" > <tr> <th height="25"> 批量文件修改</th> </tr> <tr> <td height="25" class="tablerow"> <? if(is_array($oldfiles)) foreach($oldfiles as $i=>$oldfile) { ?> <input name="filefidold[]" type="hidden" value="<?=$oldfile[fid]?>"> <input name="fileerrorold[]" type="text" class="input" value="<?=$oldfile[error]?>" size="1"> <Input name="filenameold[]" type="text" size="5" value="<?=$oldfile[name]?>"> <input name="filecontentold[]" type="text" value="<?=$oldfile[content]?>" size="60"> <input name="fileserverold[]" type="text" class="input" value="<?=$oldfile[server]?>" size="5"> <input name="fileplayerold[]" type="text" class="input" value="<?=$oldfile[player]?>" size="5"> <input name="fileolddel[]" type="text" value="o" size="1" id="<?=$i?>"> <a href="#" onclick="$('<?=$i?>').value='x'" title="删除">x</a> <a href="#" onclick="$('<?=$i?>').value='o'" title="保留">o</a><br> <? } ?> </td> </tr> <tr> <td bgcolor="#E1E1E1"> <input name="fxxsubmit" type="submit" value=" 提 交 "> <input name="button" type="button" onClick="history.go(-1);" value=" 取 消 "> </td> </tr> </form> </table> <? }elseif($action == 'file_from' && $fxgsubmit){ ?> <table width="500" height="80" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> </td> </tr> </table> <table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border='0' align='center' cellpadding='1' cellspacing='1' class="tableborder"> <form name="myform" action="?action=batch_to" method="post" > <tr> <th height="25" colspan="2"> NetMao 提示 </th> </tr> <tr> <td colspan="2" align="left" class="tablerowhighlight"> 注:刚才选中的所有电影将进行此操作,请仔细操作,以免发生不必要的错误,操作完以后请更新整站以保持数据同步。 <input name="fids" type="hidden" value="<?=$fids?>"></td> </tr> <tr> <td height="25" class="tablerow"> <input name="o" type="radio" value="server"> 修改服务器</td> <td class="tablerow"><select name="sid" style="width:20em"> <option value="">空</option> <?=$servopt?> </select></td> </tr> <tr> <td width="120" height="25" class="tablerow"> <input name="o" type="radio" value="player"> 修改播放器</td> <td width="420" class="tablerow"><select name="pid" style="width:20em"> <option value="">空</option> <?=$playopt?> </select></td> </tr> <tr> <td height="25" class="tablerow"><input name="o" type="radio" value="movie"> 关联MID</td> <td class="tablerow"><input name="movie" type="text" class="input" value="0" size="4"> </td> </tr> <tr> <td height="25" class="tablerow"><input type="radio" name="o" value="error"> 修改Error</td> <td class="tablerow"><input name="error" type="text" class="input" value="0" size="4"></td> </tr> <tr> <td colspan="2" bgcolor="#E1E1E1"> <input name="fxgsubmit" type="submit" value=" 提 交 "> <input name="button" type="button" onClick="history.go(-1);" value=" 取 消 "> </td> </tr> </form> </table></td> </tr> </table> <? } ?>