www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/admin/tpl/code.tpl.php
<?php if(!defined('IN_NetMao')) exit('Access Denied'); ?> <? if($action == 'code_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">当前操作 > 采集管理 <a href="?action=spider"><strong>暂停|停止</strong></a> - <strong>手动批量:</strong>(<a href="?action=spider_multi&auto=0"><strong>全新</strong></a>)(<a href="?action=spider_insert&auto=0"><strong>继续</strong></a>) - <strong>自动批量</strong>:(<a href="?action=spider_multi&auto=1"><strong>全新</strong></a>)(<a href="?action=spider_insert&auto=1"><strong>继续</strong></a>)</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=code_manage"> <table width="100%" border="0" align=center cellpadding="2" cellspacing="1" class="tableBorder"> <tr> <td bgcolor="#F1F3F5"> 综合: <select onChange="location='?action=code_manage&isok='+this.options[this.selectedIndex].value" style="width:10em"> <option value="" <? if($isok == '') echo "selected"; ?>>全部</option> <option value="no" <? if($isok == 'no') echo "selected"; ?>>未采集</option> <option value="y1" <? if($isok == 'y1') echo "selected"; ?>>已采集</option> <option value="y2" <? if($isok == 'y2') echo "selected"; ?>>已入库</option> <?=$playopt?> </select> <input name="keyword" type="text" value="<?=$keyword?>" size="20"> <select name="type"> <option value="url" <? if($type == 'url') echo "selected"; ?>>地址</option> <option value="code" <? if($type == 'code') echo "selected"; ?>>代码</option> <option value="urlid" <? if($type == 'urlid') echo "selected"; ?>>编号</option> </select> <input name="isok" type="hidden" value="<?=$isok?>"> <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=code_from"> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=4>采集管理</th> </tr> <tr> <td width="100" class="tablerowhighlight">编号</td> <td width="10" class="tablerowhighlight">状</td> <td width="100" class="tablerowhighlight">操作</td> <td class="tablerowhighlight">信息</td> </tr> <? if(is_array($nmcodes))foreach($nmcodes AS $nmcode){ ?> <tr onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#CEEAD3'" bgColor='#F1F3F5'> <td height="25"> <input type="checkbox" name="urlid[]" value="<?=$nmcode[urlid]?>"> <?=$nmcode[urlid]?> </td> <td> <?=$nmcode[isok]?> </td> <td><a href="?action=code_mod&urlid=<?=$nmcode[urlid]?>&isok=<?=$isok?>&type=<?=$type?>&keyword=<?=$keyword?>&page=<?=$page?>">修改</a> | <a href="?action=code_del&urlid=<?=$nmcode[urlid]?>&isok=<?=$isok?>&type=<?=$type?>&keyword=<?=$keyword?>">删除</a> | <a href="?action=code_run&urlid=<?=$nmcode[urlid]?>&isok=<?=$isok?>&type=<?=$type?>&keyword=<?=$keyword?>">入库</a></td> <td> 地址:<a href="<?=$nmcode[url]?>" target="_blank"><font color="green"> <?=$nmcode[url]?> </font></a><br> 代码: <? echo cutstr($nmcode[code],250); ?> </td> </tr> <? } ?> <tr> <td colspan="6" bgcolor="#E1E1E1" align="right"> <?=$pages?> </td> </tr> <tr> <td colspan="6" bgcolor="#E1E1E1"><input name='chkall' type='checkbox' onclick='checkall(this.form)' value='checkbox'> (全选)<font color="#FF0000">批量操作</font> <input type="submit" name="cicsubmit" value="批量入库"> <input type="submit" name="cscsubmit" value="批量删除"> <input type="submit" name="cy0submit" value="置为未采"> <input type="submit" name="cy1submit" value="置为已采"> <input type="submit" name="cy2submit" value="置为已入"> </td> </tr> </table> </form> <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 == 'code_mod'){ ?> <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 cellpadding="2" cellspacing="1" class="tableborder"> <form name="myform" method="post" action="?action=code_mod"> <tr> <th colspan="2">采集信息修改(<?=$code[urlid]?>)</th> </tr> <tr> <td width="80" height="30" class="tablerow" >地址</td> <td class="tablerow" ><input name="urlnew" type="text" value="<?=$code[url]?>" size="50"> 状态 <input name="isoknew" type="text" value="<?=$code[isok]?>" size="5"></td> </tr> <tr> <td class="tablerow" >信息</td> <td class="tablerow" ><textarea cols="80" rows="20" name="codenew"><?=$code[code]?></textarea></td> </tr> <tr> <td bgcolor="#E1E1E1"> </td> <td bgcolor="#E1E1E1"> <input name="isok" type="hidden" value="<?=$isok?>"> <input name="type" type="hidden" value="<?=$type?>"> <input name="keyword" type="hidden" value="<?=$keyword?>"> <input name="page" type="hidden" value="<?=$page?>"> <input name="urlid" type="hidden" value="<?=$urlid?>"> <input name="submit" type="submit" value=" 提 交 "> </td> </tr> </form> </table> <? }elseif($action == 'code_runquery'){ ?> <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 cellpadding="2" cellspacing="1" class="tableborder"> <form name="myform" method="post" action="?action=code_runquery"> <tr> <th colspan="2">格式代码(NetMao 影片快捷添加) - 请将NetMao影片数据代码粘贴在下面</th> </tr> <tr> <td class="tablerow" > <textarea cols="85" rows="25" name="netmaocode"></textarea> </td> <td width="250" valign="top" class="tablerow" > <p> 标签前的为文字介绍<br> <strong>标签说明:标签及格式</strong><br> <font color="#FF0000">影片名称:<nm:name></nm></font><br> 分类编号:<nm:cid></nm><br> 影片地区:<nm:area></nm><br> 影片语言:<nm:language></nm><br> 领衔主演:<nm:actor></nm><br> 影片导演:<nm:director></nm><br> 影片海报:<nm:picture></nm><br> 影片简介:<nm:content></nm><br> 地址信息:<nm:filecontent></nm><br> 连载集数:<nm:isrun></nm><br> 点击次数:<nm:hits></nm><br> 首页推荐:<nm:isindex></nm><br> 分类推荐:<nm:ismlist></nm><br> 是否发布:<nm:isshow></nm> <br> 附加关键:<nm:keyword></nm><br> 影片看点:<nm:description></nm><br> 特殊广告:<nm:adsense></nm><br> 添加作者:<nm:author></nm><br> 添加时间:<nm:addtime></nm></p> </td> </tr> <tr> <td colspan="2" bgcolor="#E1E1E1"> <input name="codesubmit" type="submit" value=" 提 交 "></td> </tr> </form> </table> <? } ?>