fix: nav
This commit is contained in:
176
runtime/complile/024f617e085b615cb5561e101f7e5419.php
Normal file
176
runtime/complile/024f617e085b615cb5561e101f7e5419.php
Normal file
@@ -0,0 +1,176 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{sort:title}</title>
|
||||
<meta name="keywords" content="{sort:keywords}">
|
||||
<meta name="description" content="{sort:description}">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-------------------------------------- 头部开始 -------------------------------------->
|
||||
<div class="header">
|
||||
<div class="wrap">
|
||||
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
|
||||
{pboot:nav num=8 parent=0}
|
||||
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav_wap"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 头部结束 -------------------------------------->
|
||||
<!-------------------------------------- 内容开始 -------------------------------------->
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="contact">
|
||||
<div class="img wow fadeInUp" data-wow-delay=".1s">
|
||||
<div id="allmap" style="width:100%; height:400px; margin:20px auto"></div>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/getscript?v=2.0&ak=DsyzV6aY9pNspbZrMHG6tSQ9dWUTSOHA=&t=20180323171755"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
ShowMap('{pboot:companyother}', 'cname', 'address', 'tel', 'fax', 'email', '18');
|
||||
})
|
||||
function ShowMap(zuobiao, name, addrsee, phone, chuanzhen, email, zoom) {
|
||||
var arrzuobiao = zuobiao.split(',');
|
||||
var map = new BMap.Map("allmap");
|
||||
map.centerAndZoom(new BMap.Point(arrzuobiao[0], arrzuobiao[1]), zoom);
|
||||
map.addControl(new BMap.NavigationControl());
|
||||
var marker = new BMap.Marker(new BMap.Point(arrzuobiao[0], arrzuobiao[1]));
|
||||
map.addOverlay(marker);
|
||||
var infoWindow = new BMap.InfoWindow('<p>{pboot:companyaddress}</p><p> </p><p>电话:{pboot:companyphone}</p>');
|
||||
marker.addEventListener("click", function () {
|
||||
this.openInfoWindow(infoWindow);
|
||||
});
|
||||
marker.openInfoWindow(infoWindow);
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div class="cont_rt wow fadeInUp" data-wow-delay=".1s">
|
||||
<div class="contact_box">
|
||||
<div class="tit">
|
||||
<h3>用户留言</h3>
|
||||
<span></span></div>
|
||||
<form action="{pboot:msgaction}" method="post" onsubmit="return checkForm();">
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li><span>姓名:</span>
|
||||
<div class="div_input">
|
||||
<input type='text' name='name' id='name'>
|
||||
</div>
|
||||
</li>
|
||||
<li><span>电话:</span>
|
||||
<div class="div_input">
|
||||
<input type='text' name='tel' id='tel'>
|
||||
</div>
|
||||
</li>
|
||||
<li><span>邮箱:</span>
|
||||
<div class="div_input">
|
||||
<input type='text' name='email' id='email'>
|
||||
</div>
|
||||
</li>
|
||||
<li class="li_last"><span>写下您的需求和建议:</span>
|
||||
<div class="div_input">
|
||||
<textarea type='text' name='content' id='content'></textarea>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
<div class="btn1"><a onclick="$('form').submit()"><span>提交留言</span></a></div>
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
function checkForm()
|
||||
{
|
||||
if(document.getElementById('name').value.length == 0)
|
||||
{
|
||||
alert('姓名不能为空!');
|
||||
return false;
|
||||
}
|
||||
if(document.getElementById('tel').value.length == 0)
|
||||
{
|
||||
alert('电话不能为空!');
|
||||
return false;
|
||||
}
|
||||
if(document.getElementById('email').value.length == 0)
|
||||
{
|
||||
alert('邮箱不能为空!');
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="c_list wow_list">
|
||||
<ul>
|
||||
<li class="fadeInUp wow">
|
||||
<div class="img"><img src="{pboot:sitedomain}/skin/images/icon13.png"/><i class="i1 animated wow infinite flash"></i></div>
|
||||
<div class="text">
|
||||
<h4>电 话</h4>
|
||||
<p>{pboot:companyphone}</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="fadeInUp wow">
|
||||
<div class="img"><img src="{pboot:sitedomain}/skin/images/icon14.png"/><i class="i2 animated wow infinite bounceInLeft"></i></div>
|
||||
<div class="text">
|
||||
<h4>邮 箱</h4>
|
||||
<p>{pboot:companyemail} </p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="fadeInUp wow">
|
||||
<div class="img"><img src="{pboot:sitedomain}/skin/images/icon15.png"/><i class="i3 animated wow infinite rubberBand"></i></div>
|
||||
<div class="text">
|
||||
<h4>地 址</h4>
|
||||
<p>{pboot:companyaddress} </p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-------------------------------------- 内容结束 -------------------------------------->
|
||||
<!-------------------------------------- 尾部开始 -------------------------------------->
|
||||
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
|
||||
<div class="wrap">
|
||||
<div class="left">
|
||||
<h3>{pboot:companyname}</h3>
|
||||
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 尾部结束 -------------------------------------->
|
||||
</body>
|
||||
</html><?php return array (
|
||||
0 => '/home/php/pxgw/template/default/html/head.html',
|
||||
1 => '/home/php/pxgw/template/default/html/foot.html',
|
||||
); ?>
|
||||
103
runtime/complile/0c9f0ef6ca202e1e8cb7cebd82d47f62.php
Normal file
103
runtime/complile/0c9f0ef6ca202e1e8cb7cebd82d47f62.php
Normal file
@@ -0,0 +1,103 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{sort:title}</title>
|
||||
<meta name="keywords" content="{sort:keywords}">
|
||||
<meta name="description" content="{sort:description}">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-------------------------------------- 头部开始 -------------------------------------->
|
||||
<div class="header">
|
||||
<div class="wrap">
|
||||
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
|
||||
{pboot:nav num=8 parent=0}
|
||||
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav_wap"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 头部结束 -------------------------------------->
|
||||
<!-------------------------------------- 内容开始 -------------------------------------->
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="title wow fadeInUp" data-wow-delay=".1s">
|
||||
<h3>{sort:topname}</h3>
|
||||
<label></label>
|
||||
<span></span> </div>
|
||||
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
|
||||
<ul>
|
||||
{pboot:nav num=15 parent={sort:tcode}}
|
||||
{pboot:if('[nav:scode]'=='{sort:scode}')}
|
||||
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
|
||||
{else}
|
||||
<li><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:if}
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="zxns_list wow_list">
|
||||
<ul>
|
||||
{pboot:list num=50 order=date}
|
||||
<li class="on wow fadeInUp">
|
||||
<div class="tit">
|
||||
<h3>[list:title]
|
||||
<label>more</label>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="text" [list:i]>
|
||||
<div class="list">
|
||||
<h4>职位描述:</h4>
|
||||
[list:content] </div>
|
||||
</div>
|
||||
</li>
|
||||
{/pboot:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-------------------------------------- 内容结束 -------------------------------------->
|
||||
<!-------------------------------------- 尾部开始 -------------------------------------->
|
||||
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
|
||||
<div class="wrap">
|
||||
<div class="left">
|
||||
<h3>{pboot:companyname}</h3>
|
||||
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 尾部结束 -------------------------------------->
|
||||
</body>
|
||||
</html><?php return array (
|
||||
0 => '/home/php/pxgw/template/default/html/head.html',
|
||||
1 => '/home/php/pxgw/template/default/html/foot.html',
|
||||
); ?>
|
||||
269
runtime/complile/2a0efbd0d29a6ddf49c8f582b7845f81.php
Normal file
269
runtime/complile/2a0efbd0d29a6ddf49c8f582b7845f81.php
Normal file
@@ -0,0 +1,269 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
|
||||
<link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
|
||||
<link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="layui-layout-body">
|
||||
|
||||
<!--定义部分地址方便JS调用-->
|
||||
<div style="display: none">
|
||||
<span id="controller" data-controller="<?php echo C;?>"></span>
|
||||
<span id="url" data-url="<?php echo URL;?>"></span>
|
||||
<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
|
||||
<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
|
||||
<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
|
||||
</div>
|
||||
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div class="layui-header">
|
||||
<div class="layui-logo">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
|
||||
<img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
|
||||
<?php echo CMSNAME;?>
|
||||
<?php if (LICENSE==3) {?>
|
||||
<span class="layui-badge">SVIP</span>
|
||||
<?php } else { ?>
|
||||
<span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
|
||||
<?php } ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="menu">
|
||||
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
|
||||
</ul>
|
||||
<?php if (!$this->getVar('one_area')) {?>
|
||||
<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-col-xs8">
|
||||
<select name="acode">
|
||||
<?php echo $this->getVar('area_html');?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="layui-col-xs4">
|
||||
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
|
||||
</div>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="layui-nav layui-layout-right">
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="javascript:;">
|
||||
<i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
|
||||
</a>
|
||||
<dl class="layui-nav-child">
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
|
||||
<?php if (session('ucode')==10001) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="layui-side layui-bg-black">
|
||||
<div class="layui-side-scroll">
|
||||
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
|
||||
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
|
||||
<?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
|
||||
<li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
|
||||
<a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
|
||||
<dl class="layui-nav-child">
|
||||
<?php if ($value->mcode=='M130') {?>
|
||||
<?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
|
||||
<?php if ($value3->type==1) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
|
||||
<?php } ?>
|
||||
<?php if ($value3->type==2) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
|
||||
<?php if (!isset($value2->status)|| $value2->status==1) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-body">
|
||||
|
||||
<div class="layui-tab layui-tab-brief" lay-filter="tab">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this">公司信息</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div class="layui-tab-item layui-show">
|
||||
<form action="<?php echo \core\basic\Url::get('/admin/Company/mod');?>" method="post">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">公司名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" value="<?php echo @$this->getVar('companys')->name;?>" placeholder="请输入公司名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">公司地址</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="address" value="<?php echo @$this->getVar('companys')->address;?>" placeholder="请输入公司地址" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">邮政编码</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="postcode" value="<?php echo @$this->getVar('companys')->postcode;?>" placeholder="请输入邮政编码" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">联系人</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="contact" value="<?php echo @$this->getVar('companys')->contact;?>" placeholder="请输入联系人" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">手机号码</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="mobile" value="<?php echo @$this->getVar('companys')->mobile;?>" placeholder="请输入手机号码" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">电话号码</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="phone" value="<?php echo @$this->getVar('companys')->phone;?>" placeholder="请输入电话号码" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">传真号码</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="fax" value="<?php echo @$this->getVar('companys')->fax;?>" placeholder="请输入传真号码" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">电子邮箱</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="email" value="<?php echo @$this->getVar('companys')->email;?>" placeholder="请输入电子邮箱" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">QQ号码</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="qq" value="<?php echo @$this->getVar('companys')->qq;?>" placeholder="请输入QQ号码" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">微信图标</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="weixin" id="weixin" value="<?php echo @$this->getVar('companys')->weixin;?>" placeholder="请上传微信图标" class="layui-input">
|
||||
</div>
|
||||
<button type="button" class="layui-btn upload" data-des="weixin">
|
||||
<i class="layui-icon"></i>上传图片
|
||||
</button>
|
||||
<div id="weixin_box" class="pic"><dl><dt><?php if (@$this->getVar('companys')->weixin) {?><img src="<?php echo SITE_DIR;?><?php echo @$this->getVar('companys')->weixin;?>" data-url="<?php echo @$this->getVar('companys')->weixin;?>"></dt><dd>删除</dd></dl><?php } ?></div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">营业执照代码</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="blicense" value="<?php echo @$this->getVar('companys')->blicense;?>" placeholder="请输入营业执照代码" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">其它信息</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="other" value="<?php echo @$this->getVar('companys')->other;?>" placeholder="请输入其它信息" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit>立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
|
||||
|
||||
|
||||
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php return array (
|
||||
0 => '/home/php/pxgw/apps/admin/view/default/common/head.html',
|
||||
1 => '/home/php/pxgw/apps/admin/view/default/common/foot.html',
|
||||
); ?>
|
||||
@@ -47,18 +47,7 @@
|
||||
<h3>{sort:topname}</h3>
|
||||
<label></label>
|
||||
<span></span> </div>
|
||||
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
|
||||
<ul>
|
||||
{pboot:nav num=15 parent={sort:tcode}}
|
||||
{pboot:if('[nav:scode]'=='{sort:scode}')}
|
||||
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
|
||||
{else}
|
||||
<li><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:if}
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div class="curriculum_list wow_list">
|
||||
<ul>
|
||||
{pboot:list num=8 order=date}
|
||||
@@ -101,7 +90,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/sitemap.xml" target="_blank">XML地图</a> <a href="http://www.adminbuy.cn" target="_blank">网站源码</a> {pboot:sitestatistical}</p>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
@@ -53,33 +53,6 @@
|
||||
{/pboot:slide}
|
||||
</div>
|
||||
</div>
|
||||
<div class="page_num clear">
|
||||
<div class="wrap">
|
||||
<ul>
|
||||
<li class="wow fadeInUp" data-wow-delay=".1s">
|
||||
<h2><span class="timer" data-to="12" data-speed="1800">12</span></h2>
|
||||
<label></label>
|
||||
<p>12年专注国际艺术教育</p>
|
||||
</li>
|
||||
<li class="wow fadeInUp" data-wow-delay=".2s">
|
||||
<h2><span class="timer" data-to="200" data-speed="1900">200</span>万+</h2>
|
||||
<label></label>
|
||||
<p>200多万的学员光荣毕业</p>
|
||||
</li>
|
||||
<li class="wow fadeInUp" data-wow-delay=".3s">
|
||||
<h2><span class="timer" data-to="500" data-speed="1800">500</span>+</h2>
|
||||
<label></label>
|
||||
<p>500多家合作机构</p>
|
||||
</li>
|
||||
<li class="wow fadeInUp" data-wow-delay=".4s">
|
||||
<h2><span class="timer" data-to="300" data-speed="1900">300</span>+</h2>
|
||||
<label></label>
|
||||
<p>300多位优秀导师</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="div_hot">
|
||||
<div class="wrap">
|
||||
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
|
||||
@@ -257,7 +230,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/sitemap.xml" target="_blank">XML地图</a> <a href="http://www.adminbuy.cn" target="_blank">网站源码</a> {pboot:sitestatistical}</p>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
117
runtime/complile/3e2f49bcf6d79ee1d29876b9ad5159d5.php
Normal file
117
runtime/complile/3e2f49bcf6d79ee1d29876b9ad5159d5.php
Normal file
@@ -0,0 +1,117 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{sort:title}</title>
|
||||
<meta name="keywords" content="{sort:keywords}">
|
||||
<meta name="description" content="{sort:description}">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$(".class_nav li").click(function () { $(this).addClass("on").siblings().removeClass("on") });
|
||||
})
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-------------------------------------- 头部开始 -------------------------------------->
|
||||
<div class="header">
|
||||
<div class="wrap">
|
||||
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
|
||||
{pboot:nav num=8 parent=0}
|
||||
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav_wap"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 头部结束 -------------------------------------->
|
||||
<!-------------------------------------- 内容开始 -------------------------------------->
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="title wow fadeInUp" data-wow-delay=".1s">
|
||||
<h3>{sort:topname}</h3>
|
||||
<label></label>
|
||||
<span></span> </div>
|
||||
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
|
||||
<ul>
|
||||
{pboot:nav num=15 parent={sort:tcode}}
|
||||
{pboot:if('[nav:scode]'=='{sort:scode}')}
|
||||
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
|
||||
{else}
|
||||
<li><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:if}
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="course_owl wow_list">
|
||||
<ul>
|
||||
{pboot:list num=8 order=date}
|
||||
<li class="wow fadeInUp">
|
||||
<div class="item"> <a href="[list:link]">
|
||||
<div class="img"><img src="[list:ico]"/></div>
|
||||
<div class="text">
|
||||
<h3>[list:title]</h3>
|
||||
<p>作者:[list:author]</p>
|
||||
</div>
|
||||
</a> </div>
|
||||
</li>
|
||||
{/pboot:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
|
||||
<ul>
|
||||
{pboot:if({page:rows}>0)}
|
||||
<a href="{page:index}">首页</a>
|
||||
<a href='{page:pre}'>上一页</a>
|
||||
{page:numbar}
|
||||
<a href='{page:next}'>下一页</a>
|
||||
<a href='{page:last}'>末页</a>
|
||||
{/pboot:if}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-------------------------------------- 内容结束 -------------------------------------->
|
||||
<!-------------------------------------- 尾部开始 -------------------------------------->
|
||||
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
|
||||
<div class="wrap">
|
||||
<div class="left">
|
||||
<h3>{pboot:companyname}</h3>
|
||||
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 尾部结束 -------------------------------------->
|
||||
</body>
|
||||
</html><?php return array (
|
||||
0 => '/home/php/pxgw/template/default/html/head.html',
|
||||
1 => '/home/php/pxgw/template/default/html/foot.html',
|
||||
); ?>
|
||||
File diff suppressed because it is too large
Load Diff
101
runtime/complile/632bfc164dc8645ff8c2527d80d7da04.php
Normal file
101
runtime/complile/632bfc164dc8645ff8c2527d80d7da04.php
Normal file
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{sort:title}</title>
|
||||
<meta name="keywords" content="{sort:keywords}">
|
||||
<meta name="description" content="{sort:description}">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-------------------------------------- 头部开始 -------------------------------------->
|
||||
<div class="header">
|
||||
<div class="wrap">
|
||||
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
|
||||
{pboot:nav num=8 parent=0}
|
||||
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav_wap"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 头部结束 -------------------------------------->
|
||||
<!-------------------------------------- 内容开始 -------------------------------------->
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="title wow fadeInUp" data-wow-delay=".1s">
|
||||
<h3>{sort:topname}</h3>
|
||||
<label></label>
|
||||
<span></span> </div>
|
||||
<div class="news2_list wow_list">
|
||||
<ul>
|
||||
{pboot:list num=8 order=date}
|
||||
<li class="wow fadeInUp animated "> <a href="[list:link]">
|
||||
<div class="img"><img src="[list:ico]"/></div>
|
||||
<div class="date"><span>[list:date style=m-d]</span>
|
||||
<label>[list:date style=Y]</label>
|
||||
</div>
|
||||
<div class="text">
|
||||
<h3>[list:title]</h3>
|
||||
<p>[list:description]...</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a> </li>
|
||||
{/pboot:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
|
||||
<ul>
|
||||
{pboot:if({page:rows}>0)}
|
||||
<a href="{page:index}">首页</a>
|
||||
<a href='{page:pre}'>上一页</a>
|
||||
{page:numbar}
|
||||
<a href='{page:next}'>下一页</a>
|
||||
<a href='{page:last}'>末页</a>
|
||||
{/pboot:if}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-------------------------------------- 内容结束 -------------------------------------->
|
||||
<!-------------------------------------- 尾部开始 -------------------------------------->
|
||||
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
|
||||
<div class="wrap">
|
||||
<div class="left">
|
||||
<h3>{pboot:companyname}</h3>
|
||||
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 尾部结束 -------------------------------------->
|
||||
</body>
|
||||
</html><?php return array (
|
||||
0 => '/home/php/pxgw/template/default/html/head.html',
|
||||
1 => '/home/php/pxgw/template/default/html/foot.html',
|
||||
); ?>
|
||||
117
runtime/complile/7b84aa93b8f723c6b65f2896ed350b7c.php
Normal file
117
runtime/complile/7b84aa93b8f723c6b65f2896ed350b7c.php
Normal file
@@ -0,0 +1,117 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{sort:title}</title>
|
||||
<meta name="keywords" content="{sort:keywords}">
|
||||
<meta name="description" content="{sort:description}">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$(".close").click(function () { $(".modal").stop().fadeOut(); })
|
||||
$(".team2_list li a").click(function () { $(".modal_team").stop().fadeIn(); });
|
||||
|
||||
})
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-------------------------------------- 头部开始 -------------------------------------->
|
||||
<div class="header">
|
||||
<div class="wrap">
|
||||
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
|
||||
{pboot:nav num=8 parent=0}
|
||||
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav_wap"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 头部结束 -------------------------------------->
|
||||
<!-------------------------------------- 内容开始 -------------------------------------->
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="title wow fadeInUp" data-wow-delay=".1s">
|
||||
<h3>{sort:topname}</h3>
|
||||
<label></label>
|
||||
<span></span> </div>
|
||||
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
|
||||
<ul>
|
||||
{pboot:nav num=15 parent={sort:tcode}}
|
||||
{pboot:if('[nav:scode]'=='{sort:scode}')}
|
||||
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
|
||||
{else}
|
||||
<li><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:if}
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="team2_list wow_list">
|
||||
<ul>
|
||||
{pboot:list num=8 order=date}
|
||||
<li class="wow fadeInUp"><a href="[list:link]">
|
||||
<div class="img"><img src="[list:ico]"/></div>
|
||||
<div class="text"><span></span>
|
||||
<h3>[list:title]</h3>
|
||||
<p>[list:ext_zhiwei]</p>
|
||||
</div>
|
||||
</a></li>
|
||||
{/pboot:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
|
||||
<ul>
|
||||
{pboot:if({page:rows}>0)}
|
||||
<a href="{page:index}">首页</a>
|
||||
<a href='{page:pre}'>上一页</a>
|
||||
{page:numbar}
|
||||
<a href='{page:next}'>下一页</a>
|
||||
<a href='{page:last}'>末页</a>
|
||||
{/pboot:if}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-------------------------------------- 内容结束 -------------------------------------->
|
||||
<!-------------------------------------- 尾部开始 -------------------------------------->
|
||||
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
|
||||
<div class="wrap">
|
||||
<div class="left">
|
||||
<h3>{pboot:companyname}</h3>
|
||||
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 尾部结束 -------------------------------------->
|
||||
</body>
|
||||
</html><?php return array (
|
||||
0 => '/home/php/pxgw/template/default/html/head.html',
|
||||
1 => '/home/php/pxgw/template/default/html/foot.html',
|
||||
); ?>
|
||||
95
runtime/complile/ab718fdd6572b36588dfa2a0912299bf.php
Normal file
95
runtime/complile/ab718fdd6572b36588dfa2a0912299bf.php
Normal file
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{sort:title}</title>
|
||||
<meta name="keywords" content="{sort:keywords}">
|
||||
<meta name="description" content="{sort:description}">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
|
||||
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-------------------------------------- 头部开始 -------------------------------------->
|
||||
<div class="header">
|
||||
<div class="wrap">
|
||||
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
|
||||
{pboot:nav num=8 parent=0}
|
||||
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav_wap"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 头部结束 -------------------------------------->
|
||||
<!-------------------------------------- 内容开始 -------------------------------------->
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="title wow fadeInUp" data-wow-delay=".1s">
|
||||
<h3>{sort:topname}</h3>
|
||||
<label></label>
|
||||
<span></span> </div>
|
||||
<!-- <div class="class_nav wow fadeInUp" data-wow-delay=".2s">
|
||||
<ul>
|
||||
{pboot:nav num=15 parent={sort:tcode}}
|
||||
{pboot:if('[nav:scode]'=='{sort:scode}')}
|
||||
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
|
||||
{else}
|
||||
<li><a href="[nav:link]">[nav:name]</a></li>
|
||||
{/pboot:if}
|
||||
{/pboot:nav}
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div> -->
|
||||
<div class="about_gsjj">
|
||||
<div class="list wow fadeInUp" data-wow-delay=".3s">
|
||||
<div class="web">
|
||||
<div class="text" id="maximg">
|
||||
<p>{content:content}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-------------------------------------- 内容结束 -------------------------------------->
|
||||
<!-------------------------------------- 尾部开始 -------------------------------------->
|
||||
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
|
||||
<div class="wrap">
|
||||
<div class="left">
|
||||
<h3>{pboot:companyname}</h3>
|
||||
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-------------------------------------- 尾部结束 -------------------------------------->
|
||||
</body>
|
||||
</html><?php return array (
|
||||
0 => '/home/php/pxgw/template/default/html/head.html',
|
||||
1 => '/home/php/pxgw/template/default/html/foot.html',
|
||||
); ?>
|
||||
771
runtime/complile/adf09a546a5d5e2e20813f4cfe57d89b.php
Normal file
771
runtime/complile/adf09a546a5d5e2e20813f4cfe57d89b.php
Normal file
@@ -0,0 +1,771 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
|
||||
<link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
|
||||
<link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="layui-layout-body">
|
||||
|
||||
<!--定义部分地址方便JS调用-->
|
||||
<div style="display: none">
|
||||
<span id="controller" data-controller="<?php echo C;?>"></span>
|
||||
<span id="url" data-url="<?php echo URL;?>"></span>
|
||||
<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
|
||||
<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
|
||||
<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
|
||||
</div>
|
||||
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div class="layui-header">
|
||||
<div class="layui-logo">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
|
||||
<img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
|
||||
<?php echo CMSNAME;?>
|
||||
<?php if (LICENSE==3) {?>
|
||||
<span class="layui-badge">SVIP</span>
|
||||
<?php } else { ?>
|
||||
<span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
|
||||
<?php } ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="menu">
|
||||
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
|
||||
</ul>
|
||||
<?php if (!$this->getVar('one_area')) {?>
|
||||
<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-col-xs8">
|
||||
<select name="acode">
|
||||
<?php echo $this->getVar('area_html');?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="layui-col-xs4">
|
||||
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
|
||||
</div>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="layui-nav layui-layout-right">
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="javascript:;">
|
||||
<i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
|
||||
</a>
|
||||
<dl class="layui-nav-child">
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
|
||||
<?php if (session('ucode')==10001) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="layui-side layui-bg-black">
|
||||
<div class="layui-side-scroll">
|
||||
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
|
||||
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
|
||||
<?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
|
||||
<li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
|
||||
<a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
|
||||
<dl class="layui-nav-child">
|
||||
<?php if ($value->mcode=='M130') {?>
|
||||
<?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
|
||||
<?php if ($value3->type==1) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
|
||||
<?php } ?>
|
||||
<?php if ($value3->type==2) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
|
||||
<?php if (!isset($value2->status)|| $value2->status==1) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-body">
|
||||
<?php if ($this->getVar('list')) {?>
|
||||
<div class="layui-tab layui-tab-brief" lay-filter="tab">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this" lay-id="t1">栏目列表</li>
|
||||
<li lay-id="t2">栏目新增</li>
|
||||
<li lay-id="t3">批量新增</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div class="layui-tab-item layui-show">
|
||||
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/mod');?>" method="post" id="sortForm" name="sortForm">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<table class="layui-table" id="sortTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" lay-ignore id="checkall" title="全选"></th>
|
||||
<th>栏目名称</th>
|
||||
<th>编码</th>
|
||||
<th>URL名称</th>
|
||||
<th>模型</th>
|
||||
<th>列表页模板</th>
|
||||
<th>详情页模板</th>
|
||||
<th>排序</th>
|
||||
<th>状态</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $num = 0;foreach ($this->getVar('sorts') as $key => $value) { $num++;?>
|
||||
|
||||
<tr data-tt-id='<?php echo $value->scode; ?>' data-tt-parent-id="<?php echo $value->pcode; ?>">
|
||||
<td>
|
||||
<input type="checkbox" class="checkitem" lay-ignore name="list[]" value="<?php echo $value->scode; ?>">
|
||||
<input type="hidden" name="listall[]" value="<?php echo $value->id; ?>">
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($value->son) {?>
|
||||
<i class="fa fa-folder-o" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<i class="fa fa-folder-open-o" aria-hidden="true"></i>
|
||||
<?php } ?>
|
||||
<?php echo $value->name; ?>
|
||||
|
||||
|
||||
<?php if ($value->outlink) {?>
|
||||
<a href="<?php echo $value->outlink; ?>" target="_blank"><i class="fa fa-external-link" aria-hidden="true"></i></a>
|
||||
<?php } else { ?>
|
||||
<?php if ($value->type==1) {?>
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode');?>/<?php echo $value->mcode; ?>&scode=<?php echo $value->scode; ?>"><i class="fa fa-file-text-o" aria-hidden="true"></i> </a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode');?>/<?php echo $value->mcode; ?>&scode=<?php echo $value->scode; ?>"><i class="fa fa-file-text-o" aria-hidden="true"></i> </a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td><?php echo $value->scode; ?></td>
|
||||
<td><?php echo $value->filename; ?></td>
|
||||
<td>
|
||||
<?php $num = 0;foreach ($this->getVar('allmodels') as $key2 => $value2) { $num++;?>
|
||||
<?php if ($value2->mcode==$value->mcode) {?>
|
||||
<?php echo $value2->name; ?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td><?php echo $value->listtpl; ?></td>
|
||||
<td><?php echo $value->contenttpl; ?></td>
|
||||
<td class="table-input"><input type="text" name="sorting[]" value="<?php echo $value->sorting; ?>" class="layui-input"></td>
|
||||
<td>
|
||||
<?php if ($value->status) {?>
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/0');?>" class="switch"><i class='fa fa-toggle-on' title="点击禁用"></i></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/1');?>" class="switch"><i class='fa fa-toggle-off' title="点击启用"></i></a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (!$value->outlink) {?>
|
||||
<?php
|
||||
$Parser=new app\home\controller\ParserController();
|
||||
$link=$Parser->parserLink($value->type,$value->urlname,'list',$value->scode,$value->filename,'','');
|
||||
?>
|
||||
<a href="<?php echo $link?>" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
|
||||
<?php } ?>
|
||||
|
||||
<?php echo get_btn_del($value->scode,'scode');?>
|
||||
<?php echo get_btn_mod($value->scode,'scode');?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<button type="submit" name="submit" value="sorting" class="layui-btn">保存排序</button>
|
||||
<button type="submit" name="submit" onclick="return setDelAction();" class="layui-btn">批量删除</button>
|
||||
<script>
|
||||
function setDelAction(){
|
||||
document.sortForm.action = "<?php echo \core\basic\Url::get('/admin/ContentSort/del');?>";
|
||||
return confirm("您确定要删除选中的栏目么?");
|
||||
}
|
||||
|
||||
$("#sortTable").treetable({ expandable: true,column: 1,indent:20,stringCollapse:'收缩',stringExpand:'展开' });
|
||||
</script>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="layui-tab-item">
|
||||
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/add');?>" method="post" class="layui-form" lay-filter="sort">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-tab">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this">基本选项</li>
|
||||
<li>高级选项</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div class="layui-tab-item layui-show">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">父栏目</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="pcode">
|
||||
<option value="0" >顶级栏目</option>
|
||||
<?php echo $this->getVar('sort_select');?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目名称 <span class="layui-text-red">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入栏目名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">URL名称 </label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="filename" placeholder="请输入URL名称,如:test,test/a/b/c" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">内容模型 <span class="layui-text-red">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<select name="mcode" lay-filter="model" lay-verify="required" >
|
||||
<option value="">请选择内容模型</option>
|
||||
<?php $num = 0;foreach ($this->getVar('models') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value->mcode; ?>" data-type="<?php echo $value->type; ?>" data-listtpl="<?php echo $value->listtpl; ?>" data-contenttpl="<?php echo $value->contenttpl; ?>" ><?php echo $value->name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" value="1" name="type" id="type">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">列表页模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="listtpl" id="listtpl">
|
||||
<option value="">无</option>
|
||||
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">详情页模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="contenttpl" id="contenttpl" >
|
||||
<option value="">无</option>
|
||||
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">状态</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" name="status" value="1" title="显示" checked>
|
||||
<input type="radio" name="status" value="0" title="隐藏">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">浏览权限</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="gid">
|
||||
<option value="">不限制</option>
|
||||
<?php $num = 0;foreach ($this->getVar('groups') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value->id; ?>"><?php echo $value->gname; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">权限类型</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="gtype" id="gtype" >
|
||||
<option value="1">小于</option>
|
||||
<option value="2">小于等于</option>
|
||||
<option value="3">等于</option>
|
||||
<option value="4" selected>大于等于</option>
|
||||
<option value="5">大于</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="layui-tab-item">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目副名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="subname" placeholder="请输入栏目副名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目描述1</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="def1" placeholder="请输入栏目描述1内容" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目描述2</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="def2" placeholder="请输入栏目描述2内容" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目描述3</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="def3" placeholder="请输入栏目描述3内容" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">跳转链接</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="outlink" placeholder="请输入跳转链接" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">权限不足提示</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="gnote" placeholder="请输入权限不足时提示文本" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目缩略图</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="ico" id="ico" placeholder="请上传栏目缩略图" class="layui-input">
|
||||
</div>
|
||||
<button type="button" class="layui-btn upload" data-des="ico">
|
||||
<i class="layui-icon"></i>上传图片
|
||||
</button>
|
||||
<div id="ico_box" class="pic"></div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目大图</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="pic" id="pic" placeholder="请上传栏目大图" class="layui-input">
|
||||
</div>
|
||||
<button type="button" class="layui-btn upload" data-des="pic">
|
||||
<i class="layui-icon"></i>上传图片
|
||||
</button>
|
||||
<div id="pic_box" class="pic"></div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">SEO标题</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="title" placeholder="请输入栏目SEO标题,需前端调用" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">SEO关键字</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="keywords" placeholder="请输入栏目SEO关键字,需前端调用" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">SEO描述</label>
|
||||
<div class="layui-input-block">
|
||||
<textarea name="description" placeholder="请输入栏目SEO描述,需前端调用" class="layui-textarea"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit>立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- 批量新增 -->
|
||||
<div class="layui-tab-item">
|
||||
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/add');?>" method="post" class="layui-form" lay-filter="sort">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">父栏目</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="pcode">
|
||||
<option value="0" >顶级栏目</option>
|
||||
<?php echo $this->getVar('sort_select');?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="multiplename" required lay-verify="required" placeholder="请输入栏目名称,多个栏目用逗号隔开" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">内容模型</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="mcode" lay-filter="model" lay-verify="required" >
|
||||
<option value="">请选择内容模型</option>
|
||||
<?php $num = 0;foreach ($this->getVar('models') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value->mcode; ?>" data-type="<?php echo $value->type; ?>" data-listtpl="<?php echo $value->listtpl; ?>" data-contenttpl="<?php echo $value->contenttpl; ?>" ><?php echo $value->name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" value="1" name="type" id="type">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">列表页模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="listtpl" id="listtpl">
|
||||
<option value="">无</option>
|
||||
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">详情页模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="contenttpl" id="contenttpl" >
|
||||
<option value="">无</option>
|
||||
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">状态</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" name="status" value="1" title="显示" checked>
|
||||
<input type="radio" name="status" value="0" title="隐藏">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit>立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->getVar('mod')) {?>
|
||||
<div class="layui-tab layui-tab-brief" lay-filter="tab">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this">栏目修改</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div class="layui-tab-item layui-show">
|
||||
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/mod/scode/'.get('scode').'');?><?php echo $this->getVar('backurl');?>" method="post" class="layui-form" lay-filter="sort">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-tab">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this">基本选项</li>
|
||||
<li>高级选项</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div class="layui-tab-item layui-show">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">父栏目</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="pcode" id="pcode">
|
||||
<option value="0" >顶级栏目</option>
|
||||
<?php echo $this->getVar('sort_select');?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目名称 <span class="layui-text-red">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" value="<?php echo @$this->getVar('sort')->name;?>" placeholder="请输入栏目名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">URL名称 </label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="filename" value="<?php echo @$this->getVar('sort')->filename;?>" placeholder="请输入URL名称,如:test,test/a/b/c" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">内容模型 <span class="layui-text-red">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<select name="mcode" lay-filter="model" lay-verify="required" >
|
||||
<option value="">请选择内容模型</option>
|
||||
<?php $num = 0;foreach ($this->getVar('models') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value->mcode; ?>" <?php if ($value->mcode==$this->getVar('sort')->mcode) {?>selected<?php } ?> data-type="<?php echo $value->type; ?>" data-listtpl="<?php echo $value->listtpl; ?>" data-contenttpl="<?php echo $value->contenttpl; ?>" ><?php echo $value->name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="type" id="type" value="<?php echo @$this->getVar('sort')->type;?>">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">列表页模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="listtpl" id="listtpl">
|
||||
<option value="<?php echo @$this->getVar('sort')->listtpl;?>"><?php echo @$this->getVar('sort')->listtpl;?></option>
|
||||
<option value="">无</option>
|
||||
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
|
||||
<?php if ($value!=$this->getVar('sort')->listtpl) {?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">详情页模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="contenttpl" id="contenttpl" >
|
||||
<option value="<?php echo @$this->getVar('sort')->contenttpl;?>"><?php echo @$this->getVar('sort')->contenttpl;?></option>
|
||||
<option value="">无</option>
|
||||
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
|
||||
<?php if ($value!=$this->getVar('sort')->contenttpl) {?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">同步子栏目模板</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" name="modsub" value="1" title="是">
|
||||
<input type="radio" name="modsub" value="0" title="否" checked>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">状态</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" name="status" value="1" title="显示" <?php if ($this->getVar('sort')->status==1) {?>checked="checked"<?php } ?>>
|
||||
<input type="radio" name="status" value="0" title="隐藏" <?php if ($this->getVar('sort')->status==0) {?>checked="checked"<?php } ?>>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">浏览权限</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="gid">
|
||||
<option value="">不限制</option>
|
||||
<?php $num = 0;foreach ($this->getVar('groups') as $key => $value) { $num++;?>
|
||||
<option value="<?php echo $value->id; ?>" <?php if ($this->getVar('sort')->gid==$value->id) {?>selected="selected"<?php } ?>><?php echo $value->gname; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">权限类型</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="gtype" id="gtype" >
|
||||
<option value="1" <?php if ($this->getVar('sort')->gtype==1) {?>selected="selected"<?php } ?>>小于</option>
|
||||
<option value="2" <?php if ($this->getVar('sort')->gtype==2) {?>selected="selected"<?php } ?>>小于等于</option>
|
||||
<option value="3" <?php if ($this->getVar('sort')->gtype==3) {?>selected="selected"<?php } ?>>等于</option>
|
||||
<option value="4" <?php if ($this->getVar('sort')->gtype==4||(!$this->getVar('sort')->gtype)) {?>selected="selected"<?php } ?>>大于等于</option>
|
||||
<option value="5" <?php if ($this->getVar('sort')->gtype==5) {?>selected="selected"<?php } ?>>大于</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="layui-tab-item">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目副名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="subname" value="<?php echo @$this->getVar('sort')->subname;?>" placeholder="请输入栏目副名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目描述1</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="def1" value="<?php echo @$this->getVar('sort')->def1;?>" placeholder="请输入栏目描述1内容" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目描述2</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="def2" value="<?php echo @$this->getVar('sort')->def2;?>" placeholder="请输入栏目描述2内容" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目描述3</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="def3" value="<?php echo @$this->getVar('sort')->def3;?>" placeholder="请输入栏目描述3内容" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">跳转链接</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="outlink" value="<?php echo @$this->getVar('sort')->outlink;?>" placeholder="请输入跳转链接" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">权限不足提示</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="gnote" value="<?php echo @$this->getVar('sort')->gnote;?>" placeholder="请输入权限不足时提示文本" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目缩略图</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="ico" id="ico" value="<?php echo @$this->getVar('sort')->ico;?>" placeholder="请上传栏目缩略图" class="layui-input">
|
||||
</div>
|
||||
<button type="button" class="layui-btn upload" data-des="ico">
|
||||
<i class="layui-icon"></i>上传图片
|
||||
</button>
|
||||
<div id="ico_box" class="pic"><dl><dt><?php if ($this->getVar('sort')->ico) {?><img src='<?php echo SITE_DIR;?><?php echo @$this->getVar('sort')->ico;?>' data-url="<?php echo @$this->getVar('sort')->ico;?>"></dt><dd>删除</dd></dl><?php } ?></div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">栏目大图</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="pic" id="pic" value="<?php echo @$this->getVar('sort')->pic;?>" placeholder="请上传栏目大图" class="layui-input">
|
||||
</div>
|
||||
<button type="button" class="layui-btn upload" data-des="pic">
|
||||
<i class="layui-icon"></i>上传图片
|
||||
</button>
|
||||
<div id="pic_box" class="pic"><dl><dt><?php if ($this->getVar('sort')->pic) {?><img src='<?php echo SITE_DIR;?><?php echo @$this->getVar('sort')->pic;?>' data-url="<?php echo @$this->getVar('sort')->pic;?>"></dt><dd>删除</dd></dl><?php } ?></div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">SEO标题</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="title" value="<?php echo @$this->getVar('sort')->title;?>" placeholder="请输入栏目SEO标题,需前端调用" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">SEO关键字</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="keywords" value="<?php echo @$this->getVar('sort')->keywords;?>" placeholder="请输入栏目SEO关键字,需前端调用" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">SEO描述</label>
|
||||
<div class="layui-input-block">
|
||||
<textarea name="description" placeholder="请输入栏目SEO描述,需前端调用" class="layui-textarea"><?php echo @$this->getVar('sort')->description;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit>立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
<?php echo get_btn_back();?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
|
||||
|
||||
|
||||
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php return array (
|
||||
0 => '/home/php/pxgw/apps/admin/view/default/common/head.html',
|
||||
1 => '/home/php/pxgw/apps/admin/view/default/common/foot.html',
|
||||
); ?>
|
||||
@@ -44,7 +44,7 @@
|
||||
<div class="mainer">
|
||||
<div class="wrap">
|
||||
<div class="curriculum_article">
|
||||
<div class="img wow fadeInUp" data-wow-delay=".1s"> <img src="{content:ico}"/> </div>
|
||||
<div class="img wow fadeInUp" data-wow-delay=".1s"> <img style="height: 100%" src="{content:ico}"/> </div>
|
||||
<div class="web">
|
||||
<div class="tit wow fadeInUp" data-wow-delay=".3s">
|
||||
<h3>{content:title}</h3>
|
||||
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>电话:<span>{pboot:companyphone}</span></h3>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/sitemap.xml" target="_blank">XML地图</a> <a href="http://www.adminbuy.cn" target="_blank">网站源码</a> {pboot:sitestatistical}</p>
|
||||
<p>{pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
263
runtime/complile/e9f0f173dbbd158f88a610e4b6bd168f.php
Normal file
263
runtime/complile/e9f0f173dbbd158f88a610e4b6bd168f.php
Normal file
@@ -0,0 +1,263 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
|
||||
<link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
|
||||
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
|
||||
<link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="layui-layout-body">
|
||||
|
||||
<!--定义部分地址方便JS调用-->
|
||||
<div style="display: none">
|
||||
<span id="controller" data-controller="<?php echo C;?>"></span>
|
||||
<span id="url" data-url="<?php echo URL;?>"></span>
|
||||
<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
|
||||
<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
|
||||
<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
|
||||
</div>
|
||||
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div class="layui-header">
|
||||
<div class="layui-logo">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
|
||||
<img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
|
||||
<?php echo CMSNAME;?>
|
||||
<?php if (LICENSE==3) {?>
|
||||
<span class="layui-badge">SVIP</span>
|
||||
<?php } else { ?>
|
||||
<span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
|
||||
<?php } ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="menu">
|
||||
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
|
||||
</ul>
|
||||
<?php if (!$this->getVar('one_area')) {?>
|
||||
<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-col-xs8">
|
||||
<select name="acode">
|
||||
<?php echo $this->getVar('area_html');?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="layui-col-xs4">
|
||||
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
|
||||
</div>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="layui-nav layui-layout-right">
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs">
|
||||
<a href="javascript:;">
|
||||
<i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
|
||||
</a>
|
||||
<dl class="layui-nav-child">
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
|
||||
<?php if (session('ucode')==10001) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="layui-side layui-bg-black">
|
||||
<div class="layui-side-scroll">
|
||||
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
|
||||
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
|
||||
<?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
|
||||
<li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
|
||||
<a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
|
||||
<dl class="layui-nav-child">
|
||||
<?php if ($value->mcode=='M130') {?>
|
||||
<?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
|
||||
<?php if ($value3->type==1) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
|
||||
<?php } ?>
|
||||
<?php if ($value3->type==2) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
|
||||
<?php if (!isset($value2->status)|| $value2->status==1) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
|
||||
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-sm">
|
||||
<a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-body">
|
||||
<div class="layui-tab layui-tab-brief" lay-filter="tab">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="layui-this">站点信息</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
<div class="layui-tab-item layui-show">
|
||||
<form action="<?php echo \core\basic\Url::get('/admin/Site/mod');?>" method="post" class="layui-form">
|
||||
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点标题</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="title" value="<?php echo @$this->getVar('sites')->title;?>" placeholder="请输入站点标题" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点副标题</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="subtitle" value="<?php echo @$this->getVar('sites')->subtitle;?>" placeholder="请输入站点副标题" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点域名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="domain" value="<?php echo @$this->getVar('sites')->domain;?>" placeholder="请输入站点域名" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点LOGO</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="logo" id="logo" value="<?php echo @$this->getVar('sites')->logo;?>" placeholder="请上传站点LOGO图" class="layui-input">
|
||||
</div>
|
||||
<button type="button" class="layui-btn upload" data-des="logo">
|
||||
<i class="layui-icon"></i>上传图片
|
||||
</button>
|
||||
<div id="logo_box" class="pic"><dl><dt><?php if (@$this->getVar('sites')->logo) {?><img src="<?php echo SITE_DIR;?><?php echo @$this->getVar('sites')->logo;?>" data-url="<?php echo @$this->getVar('sites')->logo;?>"></dt><dd>删除</dd></dl><?php } ?></div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点关键字</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="keywords" value="<?php echo @$this->getVar('sites')->keywords;?>" placeholder="请输入站点关键字" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点描述</label>
|
||||
<div class="layui-input-block">
|
||||
<textarea name="description" placeholder="请输入站点描述" class="layui-textarea"><?php echo @$this->getVar('sites')->description;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点备案</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="icp" value="<?php echo @$this->getVar('sites')->icp;?>" placeholder="请输入站点备案" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">站点模板</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="theme">
|
||||
<?php $num = 0;foreach ($this->getVar('themes') as $key => $value) { $num++;?>
|
||||
<?php if ($value == $this->getVar('sites')->theme) {?>
|
||||
<option value="<?php echo $value; ?>" selected='selected'><?php echo $value; ?></option>
|
||||
<?php } else { ?>
|
||||
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">统计代码</label>
|
||||
<div class="layui-input-block">
|
||||
<textarea name="statistical" placeholder="请输入统计代码" class="layui-textarea"><?php echo @$this->getVar('sites')->statistical;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">尾部信息</label>
|
||||
<div class="layui-input-block">
|
||||
<textarea name="copyright" placeholder="请输入尾部信息" class="layui-textarea"><?php echo @$this->getVar('sites')->copyright;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit>立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
|
||||
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
|
||||
|
||||
|
||||
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php return array (
|
||||
0 => '/home/php/pxgw/apps/admin/view/default/common/head.html',
|
||||
1 => '/home/php/pxgw/apps/admin/view/default/common/foot.html',
|
||||
); ?>
|
||||
Reference in New Issue
Block a user