<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>刷新影视资源内容附加组件</title>
<link type="text/css" rel="stylesheet" href="skin/css/min.css" />
<link type="text/css" rel="stylesheet" href="skin/css/code.css" />
<script type="text/javascript" language="javascript" src="skin/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" language="javascript" src="skin/js/min.js"></script>

</head>
<body>
<div class="hvalign" style="width:720px">
  <div class="hvalign-cnt">
    <div class="hvalign-cnt-inner">
      <div class="well"> <span class="pull-left">当前位置:扩展插件 > 设置影视参数</span> </div>
      <div class="clear"></div>
      <div>
      <form action="savemovieconfig.php?action=edit" method="post">
        <table class="table table-bordered table-striped">
          <tbody>
  
 <?php
 $action=$_GET[action];
 if($action=='edit'){
 require ('../e/class/connect.php');
 require ('../e/class/db_sql.php');

 $link=db_connect();
 $empire=new mysqlquery;
 $query="select * from {$dbtbpre}movie_config where id=1 order by id desc limit 1";
 $r=$empire->fetch1($query);
 
 $empire=NULL;
 db_close();
 }
 ?>
            <tr>
              <td>影视资源类分割符</td>
              <td><input class="input-large span6" name="d_exp" value="<?=$r[d_exp]?>" placeholder="::::::" /></td>
            </tr>
           
              <tr>
              <td>影视资源行分割符</td>
              <td><input class="input-large span6" name="r_exp" value="<?=$r[r_exp]?>" placeholder="#" /></td>
            </tr>
            <tr>
              
              <td>影视资源块分割符</td>
              <td><input class="input-large span6" name="t_exp" value="<?=$r[t_exp]?>" placeholder="|||" /></td>
            </tr>
            <tr>
              
              <td>影视资源名分割符</td>
              <td><input class="input-large span6" name="f_exp" value="<?=$r[f_exp]?>" placeholder="$" /></td>
            </tr>
          
            <tr>
              <td>影视资源类型(用逗号分割)</td>
              <td><input class="input-large span6" name="movietype" value="<?=$r[movietype]?>" placeholder="bdhd,tudou,youku,qiyi,qvod,letv,56,ku6,gvod,17173,sina,qq" /></td>
            </tr>
            <tr>
              <td>影视资源类型对应中文(用逗号分割)</td>
              <td><input class="input-large span6" name="movietypecn" value="<?=$r[movietypecn]?>" placeholder="百度影音,土豆视频,优酷视频,奇艺高清,快播资源,乐视剧集,我乐视频,酷六视频,迅播高清,17173视频,新浪视频,QQ视频" /></td>
            </tr>
              <tr>
              <td>影视资源分页是否生成</td>
              <td><input name="isfenhtml" type="radio" class="radio" value="0"<?=$r[isfenhtml]=="0"?' checked':''?>>关闭 &nbsp;&nbsp;<input name="isfenhtml" type="radio" class="radio" value="1"<?=$r[isfenhtml]=="1"?' checked':''?>>开启</td>
              </tr>  
 
 <!--
              <tr>
            	  <td>信息内容存储前置目录</td>
            	  <td><input class="input-large span6" name="videohtmldir" value="<?=$r[videohtmldir]?>" placeholder="播放资源的存储目录 默认play 可更改，但须确认可写入" /></td>
          	  </tr>   
 -->             
              <tr>
            	  <td>播放资源存储目录</td>
            	  <td><input class="input-large span6" name="playhtmldir" value="<?=$r[playhtmldir]?>" placeholder="播放资源的存储目录 默认play 可更改，但须确认可写入" /></td>
          	  </tr>              
                       
              <tr>
              <td>影视资源每次生成信息数</td>
              <td><input class="input-large span6" name="repagenum" value="<?=$r[repagenum]?>" placeholder="每次生成的信息数，默认为5" /></td>
              </tr>
               <tr>
              <td>影视资源生成开始数 0为不限制</td>
              <td><input class="input-large span6" name="repagestartnum" value="<?=$r[repagestartnum]?>" placeholder="生成开始ID，0为不限制" /></td>
            </tr>
               <tr>
              <td>影视资源生成结束数 0为不限制</td>
              <td><input class="input-large span6" name="repageendnum" value="<?=$r[repageendnum]?>" placeholder="生成结束ID，0为不限制" /></td>
            </tr>            

            <tr>
              <td>播放内容资源模板ID</td>
              <td><input class="input-large span6" name="playtemp1" value="<?=$r[playtemp1]?>" placeholder="默认是1" /></td>
            </tr>  
            <tr>
              <td>播放内容分页模板ID</td>
              <td><input class="input-large span6" name="playtemp2" value="<?=$r[playtemp2]?>" placeholder="默认是2" /></td>
            </tr> 
            <tr>
              <td>影视信息页面模板ID</td>
              <td><input class="input-large span6" name="playtemp3" value="<?=$r[playtemp3]?>" placeholder="默认是3" /></td>
            </tr>  
             <tr>
              <td>百度影音下载地址</td>
              <td><input class="input-large span6" name="bdhddownurl" value="<?=$r[bdhddownurl]?>" placeholder="百度影音的下载地址" /></td>
            </tr> 
              <tr>
              <td>快播下载地址</td>
              <td><input class="input-large span6" name="qvoddownurl" value="<?=$r[qvoddownurl]?>" placeholder="快播的下载地址" /></td>
            </tr> 
              <tr>
              <td>百度影音说明</td>
              <td><input class="input-large span6" name="bdhdstr" value="<?=$r[bdhdstr]?>" placeholder="百度影音的播放器说明，如下载版本" /></td>
            </tr> 
              <tr>
              <td>快播说明</td>
              <td><input class="input-large span6" name="qvodstr" value="<?=$r[qvodstr]?>" placeholder="快播的播放器说明，如下载版本" /></td>
            </tr> 
              <tr>
              <td>在线视频说明</td>
              <td><input class="input-large span6" name="videostr" value="<?=$r[videostr]?>" placeholder="普通视频的视频说明" /></td>
            </tr> 
             <tr>
              <td>播放页影视列表模板</td>
              <td><textarea class="input-xlarge" style="width:445px; height:100px" name="thismovielisthtml"><?=$r[thismovielisthtml]?></textarea></td>
            </tr> 
             <tr>
              <td>信息展示页列表模板</td>
              <td><textarea class="input-xlarge" style="width:445px; height:160px" name="movielisttemp"><?=$r[movielisttemp]?></textarea></td>
            </tr>                                              
          </tbody>
        </table>
        <div align="center"><input type="submit" class="btn btn-success" value="保存" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" class="btn btn-warning" value="重置" /> </div>
        </form>
        <p align="center" style="color:#F30">*请确认/e/class/movie_config.php可写！</p>
      </div>
      <div class="clear"></div>
      <div  class="well">
      <p>播放页当前影视列表模板实例：</p>
      <pre class="prettyprint linenums">&#60;&#108;&#105;&#62;&#60;&#97;&#32;&#116;&#97;&#114;&#103;&#101;&#116;&#61;&#34;&#95;&#98;&#108;&#97;&#110;&#107;&#34;&#32;&#116;&#105;&#116;&#108;&#101;&#61;&#34;&#91;&#33;&#45;&#45;&#110;&#97;&#109;&#101;&#45;&#45;&#93;&#34;&#32;&#104;&#114;&#101;&#102;&#61;&#34;&#91;&#33;&#45;&#45;&#117;&#114;&#108;&#45;&#45;&#93;&#34;&#62;&#91;&#33;&#45;&#45;&#110;&#97;&#109;&#101;&#45;&#45;&#93;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;</pre>
      
  		<p>信息展示页列表模板实例：</p>
<pre class="prettyprint linenums ">&lt;!--[!--movietypecn--]--&gt;
&lt;div class="box Video-list"&gt;
&lt;div class="play-list b mb"&gt;
&lt;div class="title"&gt;
&lt;h3&gt;&lt;span class="[!--movietypeclass--]"&gt;&lt;/span&gt;[!--movietypecn--]&lt;span class="tips"&gt;[!--movietypestr--]&lt;/span&gt;&lt;/h3&gt;
&lt;span class="pa order hascoll"&gt;
排序：&lt;a id="desc_[!--typeid--]" class="desc" href="javascript:void(0);" onclick="desc(1,[!--typeid--],this)"&gt;降序&lt;/a&gt;&lt;em&gt;|&lt;/em&gt;&lt;a id="asc_[!--typeid--]" href="javascript:void(0);" class="asc asc_on" onclick="desc(0,[!--typeid--],this)"&gt;升序&lt;/a&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div id="play_[!--typeid--]"&gt;
&lt;ul&gt;[!--slum.exp--]
&lt;li&gt;&lt;a target="_blank" title="[!--name--]" href="[!--url--]"&gt;[!--name--]&lt;/a&gt;&lt;/li&gt;
[!--slum.exp--]&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>     
       </div>
      <div class="clear"></div>
      <div align="center" class="well"><a  data-toggle="modal" href="#myModal"  data-keyboard="true" data-backdrop="true" >关于我们</a> </div>
    </div>
  </div>
</div>
<div class="modal hide fade" id="myModal">
  <div class="modal-header"> <a class="close" data-dismiss="modal">×</a>
    <h3>关于我们</h3>
  </div>
  <div class="modal-body">
    <p>牡丹江市科繁科技有限公司创始于2011年，从事于商务软件、互联网、系统 集成、工业自动化控制等信息领域。</p>
    <p>地址：黑龙江省牡丹江市西安区太平路，祥合大厦1612室。</p>
    <p>官方网址:<a href="http://www.92game.net/" target="_blank">http://www.92game.net/</a></p>
  </div>
  <div class="modal-footer"> <a href="#" class="btn btn-primary"  data-dismiss="modal">关闭</a> </div>
</div>
<script type="text/javascript" language="javascript" src="skin/js/code.js"></script>
<script>
    $('.table').tooltip({
      selector: "a[rel=tooltip]"
    })
    window.prettyPrint && prettyPrint()
	
</script>

</body>
</html>