120 lines
5.1 KiB
PHP
Executable File
120 lines
5.1 KiB
PHP
Executable File
<?php /*a:2:{s:66:"E:\www\hcysshop\server\application\admin\view\basic\copyright.html";i:1628618358;s:58:"E:\www\hcysshop\server\application\admin\view\layout1.html";i:1628618358;}*/ ?>
|
||
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title><?php echo url(); ?></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.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||
<link rel="stylesheet" href="/static/plug/layui-admin/dist/layuiadmin/layui/css/layui.css?v=<?php echo htmlentities($front_version); ?>" media="all">
|
||
<link rel="stylesheet" href="/static/plug/layui-admin/dist/layuiadmin/style/admin.css?v=<?php echo htmlentities($front_version); ?>" media="all">
|
||
<link rel="stylesheet" href="/static/plug/layui-admin/dist/layuiadmin/style/like.css?v=<?php echo htmlentities($front_version); ?>" media="all">
|
||
</head>
|
||
<body>
|
||
<?php echo $js_code; ?>
|
||
<script src="/static/plug/layui-admin/dist/layuiadmin/layui/layui.js?v=<?php echo htmlentities($front_version); ?>"></script>
|
||
<script src="/static/common/js/function.js?v=<?php echo htmlentities($front_version); ?>"></script>
|
||
<script src="/static/common/js/Time.js?v=<?php echo htmlentities($front_version); ?>"></script>
|
||
|
||
|
||
<div class="layui-col-md12">
|
||
<div class="layui-fluid">
|
||
<div class="layui-card">
|
||
|
||
<div class="layui-card-body" >
|
||
<div class="layui-form" lay-filter="">
|
||
<div class="layui-form-item layui-col-sm6 layui-col-md4">
|
||
<label class="layui-form-label">版权信息:</label>
|
||
<div class="layui-input-block">
|
||
<input type="text" name="company_name" lay-verType="tips" autocomplete="off" value="<?php echo htmlentities($config['company_name']); ?>" class="layui-input">
|
||
</div>
|
||
<div class=" layui-form-mid layui-word-aux" style="left:110px">Copyright © 2019-2020 公司名称</div>
|
||
</div>
|
||
|
||
<div class="layui-form-item layui-col-sm6 layui-col-md4">
|
||
<label class="layui-form-label" style="white-space: nowrap;">ICP备案号:</label>
|
||
<div class="layui-input-block">
|
||
<input type="text" name="number" lay-verType="tips" autocomplete="off" value="<?php echo htmlentities($config['number']); ?>" class="layui-input">
|
||
</div>
|
||
</div>
|
||
<div class="layui-form-item layui-col-sm6 layui-col-md4">
|
||
<label class="layui-form-label"style="white-space: nowrap;">备案号链接:</label>
|
||
<div class="layui-input-block">
|
||
<input type="text" name="link" lay-verType="tips" autocomplete="off" value="<?php echo htmlentities($config['link']); ?>" class="layui-input">
|
||
</div>
|
||
<div class=" layui-form-mid layui-word-aux" style="left:110px">域名信息备案系统链接。http://beian.miit.gov.cn/</div>
|
||
</div>
|
||
|
||
<div class="layui-form-item">
|
||
<div class="layui-input-block">
|
||
<button class="layui-btn layui-btn-sm <?php echo htmlentities($view_theme_color); ?>" lay-submit lay-filter="setmnp">确认</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<script>
|
||
|
||
|
||
layui.config({
|
||
version:"<?php echo htmlentities($front_version); ?>",
|
||
base: '/static/plug/layui-admin/dist/layuiadmin/' //静态资源所在路径
|
||
}).extend({
|
||
index: 'lib/index' //主入口模块
|
||
}).use(['index','table','like'], function(){
|
||
var $ = layui.$
|
||
,form = layui.form
|
||
,like = layui.like;
|
||
|
||
form.verify({
|
||
|
||
});
|
||
form.on('submit(setmnp)',function (data) {
|
||
layui.$.ajax({
|
||
url: '<?php echo url("Basic/setCopyright"); ?>'//实际使用请改成服务端真实接口
|
||
,data: data.field
|
||
,type: 'post'
|
||
,success: function(res){
|
||
|
||
// if(res.code == 0)
|
||
// {
|
||
// layer.msg(res.msg, {
|
||
// offset: '15px'
|
||
// ,icon: 2
|
||
// ,time: 1000
|
||
// });
|
||
// return false;
|
||
// }
|
||
|
||
//登入成功的提示与跳转
|
||
layer.msg(res.msg, {
|
||
offset: '15px'
|
||
,icon: 1
|
||
,time: 1500
|
||
}, function(){
|
||
location.href = location.href; //后台主页
|
||
});
|
||
},
|
||
error:function(res){
|
||
layer.msg('网络错误', {
|
||
offset: '15px'
|
||
,icon: 2
|
||
,time: 1000
|
||
}, function(){
|
||
return;
|
||
});
|
||
}
|
||
});
|
||
});
|
||
|
||
});
|
||
|
||
</script>
|
||
</body>
|
||
</html>
|