
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>yycms影视管理系统</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="publics/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="publics/iconfont/iconfont.css" media="all" />
<link rel="stylesheet" href="css/admin.css" media="all" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script charset="utf-8" type="text/javascript" src="/editor/kindeditor.js"></script>
<style type="text/css">
<!--
.multipic {
	border: 1px dashed #FC6;
}
.albCt {
	border-bottom: 1px dashed #FC0;
	margin-bottom: 10px;
	padding-bottom:10px;
}
.albCt img{
	cursor:pointer;
}
-->
.col-lg-4 {
    width: 33.33333333%;
}
</style>
<style type="text/css">
<!--
.multipic {
	border: 1px dashed #FC6;
}
.albCt {
	border-bottom: 1px dashed #FC0;
	margin-bottom: 10px;
	padding-bottom:10px;
}
.albCt img{
	cursor:pointer;
}
-->
</style>
<link href='css/tb-box.css' rel='stylesheet' type='text/css' />
</head>
<body class="childrenBody">
<div class="x-nav">
	<span class="layui-breadcrumb">
	  <a id="hqxz1" >系统设置</a>
	</span>
	<a class="layui-btn layui-btn-small refresh" href="javascript:location.replace(location.href);" title="刷新"><i class="iconfont icon-refresh" style="line-height:30px"></i></a>
</div>
<form id="form1" enctype="multipart/form-data" method="post" class="layui-form layui-form-pane layui-mt-10">

	<div class="layui-form-item">
			<div class="layui-inline">		
				<label class="layui-form-label">网站名称</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_name" id="yycms_a_name" value="微链影院" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">优化标题</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_bt" id="yycms_a_bt" value="" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">网站域名</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_url" id="yycms_a_url" value="微链影院" class="layui-input">
				</div>
			</div>
	</div>
	<div class="layui-form-item">
			<div class="layui-inline">		
				<label class="layui-form-label">关键字</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_keywords" id="yycms_a_keywords" value="yycms" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">关键描述</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_description" id="yycms_a_description" value="yycms" class="layui-input">
				</div>
			</div>
<div class="layui-inline">		
			<label class="layui-form-label">选择模板</label>
			<div class="layui-input-inline">
				<span id='typeidct'>
				<select name='yycms_a_mb' id='yycms_a_mb' style='width:240px'>
<?php
$file = file("name.txt");
foreach($file as $key =>$value){
echo '<option value="'.$value.'" >﻿'.$value.'</option>';
}
?>
</select>
</span>
			</div>
		</div>	

	</div>
	<div class="layui-form-item">
			<div class="layui-inline">		
				<label class="layui-form-label">播放器广告</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_bfqgg" id="yycms_a_bfqgg" value="0" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">默认解析</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_mrjx" id="yycms_a_mrjx" value="http://jx.saonantv.com/jiexi/jx/?url=" class="layui-input">
				</div>
			</div>
		<div class="layui-inline">		
				<label class="layui-form-label">网站logo</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_logo" id="yycms_a_logo" value="" class="layui-input">
				</div>
				<div class="layui-input-inline"><button type="button" id="logo" class="layui-btn layui-btn-normal">选择</button></div>				
			</div>

	</div>
	<div class="layui-form-item">
	<div class="layui-inline">		
				<label class="layui-form-label">网站缓存</label>
				<div class="layui-input-inline">
					<input type="radio" name="yycms_a_hckg" id="yycms_a_hckg" title="是" value="1"> 

					<input type="radio" name="yycms_a_hckg" id="yycms_a_hckg" title="否" value="0" checked="checked">
				</div>
			</div>
	<div class="layui-inline">		
				<label class="layui-form-label">防红开关</label>
				<div class="layui-input-inline">
					<input type="radio" name="yycms_a_fhkg" id="yycms_a_fhkg" title="是" value="1"> 

					<input type="radio" name="yycms_a_fhkg" id="yycms_a_fhkg" title="否" value="0" checked="checked">
				</div>
			</div>		
		<div class="layui-inline">		
				<label class="layui-form-label">加载图</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_jzt" id="yycms_a_jzt" value="/uploadfile/load.png" class="layui-input">
				</div>
				<div class="layui-input-inline"><button type="button" id="jzt" class="layui-btn layui-btn-normal">选择</button></div>
			</div>	
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">		
				<label class="layui-form-label">缓存时间</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_hcsj" id="yycms_a_hcsj" value="0" placeholder="数值表示小时" class="layui-input">
				</div>
			</div>	
		<div class="layui-inline">		
				<label class="layui-form-label">底部导航</label>
				<div class="layui-input-inline">
					<input type="radio" name="yycms_a_dbdh" id="yycms_a_dbdh" title="开" value="1" checked="checked"> 

					<input type="radio" name="yycms_a_dbdh" id="yycms_a_dbdh" title="关" value="0" >
				</div>
			</div>
            <div class="layui-inline">		
				<label class="layui-form-label">电影轮播</label>
				<div class="layui-input-inline">
					<input type="radio" name="yycms_a_dylb" id="yycms_a_dylb" title="开" value="1" checked="checked"> 

					<input type="radio" name="yycms_a_dylb" id="yycms_a_dylb" title="关" value="0" >
				</div>
			</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">		
				<label class="layui-form-label">打赏二维码</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_dst" id="yycms_a_dst" value="" class="layui-input">
				</div>
				<div class="layui-input-inline"><button type="button" id="dst" class="layui-btn layui-btn-normal">选择</button></div>
			</div>
		<div class="layui-inline">		
				<label class="layui-form-label">微信公众号</label>
				<div class="layui-input-inline">
					<input type="text" name="yycms_a_wximg" id="yycms_a_wximg" value="" class="layui-input">
				</div>
				<div class="layui-input-inline"><button type="button" id="wximg" class="layui-btn layui-btn-normal">选择</button></div>
			</div>
	</div>
	<div class="layui-form-item">
	<div class="layui-inline">		
				<label class="layui-form-label">收费开关</label>
				<div class="layui-input-inline">
					<input type="radio" name="yycms_a_sfkg" id="yycms_a_sfkg" title="开" value="1"> 

					<input type="radio" name="yycms_a_sfkg" id="yycms_a_sfkg" title="关" value="0"  checked="checked">
				</div>
			</div>
		<div class="layui-inline">		
				<label class="layui-form-label">抢先开关</label>
				<div class="layui-input-inline">
					<input type="radio" name="yycms_a_kg1" id="yycms_a_kg1" title="开" value="1"> 

					<input type="radio" name="yycms_a_kg1" id="yycms_a_kg1" title="关" value="0"  checked="checked">
				</div>
			</div>
	</div>
<div class="layui-form-item">
					<label class="layui-form-label">
					解析接口					</label>
					<div class="layui-input-block">
<textarea name='yycms_a_jxjk' row='4' id='yycms_a_jxjk' class='layui-textarea'>线路一$http://www.ddqtv.com/ck/jx.php?url=</textarea></div>
				</div>
<div class="layui-form-item">
					<label class="layui-form-label">
					资源接口					</label>
					<div class="layui-input-block">
<textarea name='yycms_a_zyjk' row='4' id='yycms_a_zyjk' class='layui-textarea'>http://zy.bajieziyuan.com/inc//feifei3bjm3u8/index.php
http://cj.okzy.tv/inc/feifei3/
http://www.zdziyuan.com/inc/s_feifei3.4/</textarea></div>
				</div>				
<div class="layui-form-item">
					<label class="layui-form-label">
					侵权视频					</label>
					<div class="layui-input-block">
<textarea name='yycms_a_qqsp' row='4' id='yycms_a_qqsp' class='layui-textarea'></textarea></div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">
					网站版权信息					</label>
					<div class="layui-input-block">
<textarea name='yycms_a_bq' row='4' id='yycms_a_bq' class='layui-textarea'>责任声明：本网站为非赢利性站点，本网站所有内容均来源于互联网相关站点自动搜索采集信息，版权归原创者所有，相关链接已经注明来源。</textarea></div>
				</div>
<div class="layui-form-item">
					<label class="layui-form-label">
					统计代码					</label>
					<div class="layui-input-block">
<textarea name='yycms_a_tj' row='4' id='yycms_a_tj' class='layui-textarea'></textarea>
</div>
				</div>
	

	<div class="layui-form-item">
		<div class="layui-input-block">
		    <input type="hidden" name="yycms" value="tjdl">
			<button class="layui-btn" onclick="tjdl()" >提交保存</button>
			<button type="reset" class="layui-btn layui-btn-danger">重置</button>
			<a class="layui-btn layui-btn-primary" href="javascript:;" onClick='history.go(-1);'>返回</a>
		</div>
	</div>
</form>
<script type='text/javascript'>
KindEditor.ready(function(K) {
	K.create('#s_copyright');
	var editor = K.editor();
			K('#jzt').click(function() {
		editor.loadPlugin('image', function() {
			editor.plugin.imageDialog({
			imageUrl : K('#yycms_a_jat').val(),
			clickFn : function(url, title, width, height, border, align) {
				K('#yycms_a_jat').val(url);
				editor.hideDialog();
				}
			});
		});
	});
	K('#logo').click(function() {
		editor.loadPlugin('image', function() {
			editor.plugin.imageDialog({
			imageUrl : K('#yycms_a_logo').val(),
			clickFn : function(url, title, width, height, border, align) {
				K('#yycms_a_logo').val(url);
				editor.hideDialog();
				}
			});
		});
	});
	K('#dst').click(function() {
		editor.loadPlugin('image', function() {
			editor.plugin.imageDialog({
			imageUrl : K('#yycms_a_dst').val(),
			clickFn : function(url, title, width, height, border, align) {
				K('#yycms_a_dst').val(url);
				editor.hideDialog();
				}
			});
		});
	});
	K('#wximg').click(function() {
		editor.loadPlugin('image', function() {
			editor.plugin.imageDialog({
			imageUrl : K('#yycms_a_wximg').val(),
			clickFn : function(url, title, width, height, border, align) {
				K('#yycms_a_wximg').val(url);
				editor.hideDialog();
				}
			});
		});
	});
});
</script>
<?php 
include('footer.php');
?>
</body>
</html>