Your Name пре 3 месеци
родитељ
комит
cfd9138dd3

+ 6
- 0
.gitignore Прегледај датотеку

@@ -0,0 +1,6 @@
1
+data/
2
+runtime/
3
+*.log
4
+*.sql
5
+*.zip
6
+config/database.php

+ 5
- 1
apps/common/function.php Прегледај датотеку

@@ -315,6 +315,10 @@ function post_baidu($api, $urls)
315 315
     return $result;
316 316
 }
317 317
 
318
-
318
+function titlereplace($data){
319
+    //把? ?都替换为空格
320
+    $search = array('?','?',' ','%',',');
321
+    return str_replace($search, "_", $data);
322
+}
319 323
 
320 324
 

+ 30
- 0
apps/home/controller/ParserController.php Прегледај датотеку

@@ -78,6 +78,7 @@ class ParserController extends Controller
78 78
         $content = $this->parserLoopLabel($content); // LOOP语句(需置后,不可放到if前面,否则有安全风险)
79 79
         $content = $this->restorePreLabel($content); // 还原不需要解析的内容
80 80
         $content = $this->parserReplaceKeyword($content); // 页面关键词替换
81
+        $content = $this->parserTitleReplaceLabel($content); // 通用内容替换标签  这里是我新增的
81 82
 
82 83
         // 解析个人扩展标签,升级不覆盖
83 84
         if (file_exists(APP_PATH . '/home/controller/ExtLabelController.php')) {
@@ -90,6 +91,35 @@ class ParserController extends Controller
90 91
         return $content;
91 92
     }
92 93
 
94
+    // 通用内容替换标签 @mk-title_replace
95
+    //$content这里用的时文章标题,直接是字符串
96
+    public function parserTitleReplaceLabel($content)
97
+    {
98
+        $pattern = '/\{pboot:titlereplace(\s+[^}]+)?\}/';
99
+
100
+        if (preg_match_all($pattern, $content, $matches)) {
101
+            $count = count($matches[0]);
102
+            for ($i = 0; $i < $count; $i ++) {
103
+                $params = $this->parserParam($matches[0][$i]);
104
+                $data = '';
105
+                foreach ($params as $key => $value) {
106
+                    switch ($key) {
107
+                        case 'title'://这里其实可以解析很多的,不只是title,可以根据case进行不同的解析
108
+                            $data = $value; // 获取到的文章title
109
+
110
+                            if (! $data) { // 无内容不解析
111
+                                continue;
112
+                            }
113
+                            $data = titlereplace($data); //testreplace方法为自定义方法,在\apps\common\function.php里
114
+                            break;
115
+                    }
116
+                }
117
+                $content = str_replace($matches[0][$i], $data, $content);
118
+            }
119
+        }
120
+        return $content;
121
+    }
122
+
93 123
     // 保存保留内容
94 124
     public function savePreLabel($content)
95 125
     {

+ 13
- 1
git.txt Прегледај датотеку

@@ -2,4 +2,16 @@ git init
2 2
 git add .
3 3
 git commit -m "first commit"
4 4
 git remote add origin http://47.120.56.77:3000/zhengxifeng/tyqngp.git
5
-git push -u origin master
5
+git push -u origin master
6
+
7
+
8
+# 忽略所有.log文件
9
+*.log
10
+# 忽略所有编译生成的.o文件
11
+*.o
12
+# 忽略名为temp的目录及其所有内容
13
+temp/
14
+# 忽略docs目录下的所有.md文件
15
+docs/*.md
16
+# 忽略所有子目录下的.txt文件
17
+**/*.txt

+ 1
- 1
runtime/archive/session_ticket.php Прегледај датотеку

@@ -1 +1 @@
1
-<?php exit();?>{"expire_time":1724421722}
1
+<?php exit();?>{"expire_time":1724433159}

+ 0
- 622
runtime/complile/2b6c3d1befb5e400d535b28992aa01b5.php Прегледај датотеку

@@ -1,622 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-<head>
4
-  <meta charset="utf-8">
5
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
-  <meta name="renderer"  content="webkit">
7
-  <title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
8
-  <link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
9
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
10
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
11
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
12
-  <link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
13
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
14
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
15
-</head>
16
-
17
-<body class="layui-layout-body">
18
-
19
-<!--定义部分地址方便JS调用-->
20
-<div style="display: none">
21
-	<span id="controller" data-controller="<?php echo C;?>"></span>
22
-	<span id="url" data-url="<?php echo URL;?>"></span>
23
-	<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
24
-	<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
25
-	<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
26
-</div>
27
-
28
-<div class="layui-layout layui-layout-admin">
29
-  <div class="layui-header">
30
-    <div class="layui-logo">
31
-    <a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
32
-    
33
-	    <?php echo CMSNAME;?> 控制台
34
-    </a>
35
-    </div>
36
-    
37
-    <ul class="menu">
38
-    	<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
39
-	</ul>
40
-	<?php if (!$this->getVar('one_area')) {?>
41
-	<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
42
-		<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
43
-		<div class="layui-col-xs8">
44
-		   <select name="acode">
45
-		       <?php echo $this->getVar('area_html');?>
46
-		   </select>
47
-		</div>
48
-		<div class="layui-col-xs4">
49
-		 	<button type="submit" class="layui-btn layui-btn-sm">切换</button>
50
-		</div>
51
-   	</form>
52
- 	<?php } ?>
53
-
54
-    <ul class="layui-nav layui-layout-right">
55
-    
56
-       <li class="layui-nav-item layui-hide-xs">
57
-      	 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
58
-       </li>
59
-       
60
-        <li class="layui-nav-item layui-hide-xs">
61
-      	 <a href="<?php echo \core\basic\Url::get('//admin/City/index');?>"><i class="fa fa-university" aria-hidden="true"></i> 城市分站</a>
62
-       </li>
63
-
64
-       <li class="layui-nav-item layui-hide-xs">
65
-       		<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
66
-       </li>
67
-       
68
-       <li class="layui-nav-item layui-hide-xs">
69
-	        <a href="javascript:;">
70
-	          <i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
71
-	        </a>
72
-	        <dl class="layui-nav-child">
73
-	          <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>
74
-	          <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
75
-	         <!-- <?php if (session('ucode')==10001) {?>
76
-	          	<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
77
-	          	<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>
78
-	          <?php } ?> -->
79
-	        </dl>
80
-      </li>
81
-    </ul>
82
-  </div>
83
-  
84
-  <div class="layui-side layui-bg-black">
85
-    <div class="layui-side-scroll">
86
-      <!-- 左侧导航区域(可配合layui已有的垂直导航) -->
87
-      <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
88
-	   <?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
89
-        <li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
90
-          <a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
91
-          <dl class="layui-nav-child">
92
-			<?php if ($value->mcode=='M130') {?>
93
-				 <?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
94
-				 	<?php if ($value3->type==1) {?>
95
-						<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>
96
-					<?php } ?>
97
-					<?php if ($value3->type==2) {?>
98
-						<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>
99
-					<?php } ?>
100
-				 <?php } ?>
101
-			<?php } else { ?>
102
-				<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
103
-					<?php if (!isset($value2->status)|| $value2->status==1) {?>
104
-	            		<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>
105
-	            	<?php } ?>
106
-				<?php } ?>
107
-				
108
-			<!-- 	<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
109
-					<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
110
-				<?php } ?> -->
111
-		    <?php } ?>
112
-          </dl>
113
-        </li>
114
-		<?php } ?>
115
-		
116
-		<li style="height:1px;background:#666" class="layui-hide-sm"></li>
117
-		
118
-		<li class="layui-nav-item layui-hide-sm">
119
-		 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
120
-		</li>
121
-		
122
-		<li class="layui-nav-item layui-hide-sm">
123
-          <a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
124
-        </li>
125
-        
126
-        <li class="layui-nav-item layui-hide-sm">
127
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
128
-        </li>
129
-        
130
-        <li class="layui-nav-item layui-hide-sm">
131
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
132
-        </li>
133
-
134
-      </ul>
135
-    </div>
136
-  </div>
137
-
138
-<div class="layui-body">
139
-	<?php if ($this->getVar('list')) {?>
140
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
141
-	  <ul class="layui-tab-title">
142
-	    <li class="layui-this" lay-id="t1"><?php echo $this->getVar('model_name');?>内容</li>
143
-	  </ul>
144
-	  <div class="layui-tab-content">
145
-	  	   <div class="layui-tab-item layui-show">
146
-	  	   		<form action="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.get('mcode').'');?>" method="get" class="layui-form">
147
-		  	   		<div class="layui-form-item nospace">
148
-		  	   			<div class="layui-input-inline">
149
-		  	   				<?php echo $this->getVar('pathinfo');?>
150
-					       <select name="field" class="form-control input-sm" style="width:auto;">
151
-					       		<option value="b.name" <?php if (get('field')=='b.name') {?>selected="selected" <?php } ?>>栏目名称</option>
152
-                                <option value="a.title" <?php if (get('field')=='a.title') {?>selected="selected" <?php } ?> >文章标题</option>
153
-                                <option value="a.content" <?php if (get('field')=='a.content') {?>selected="selected" <?php } ?>>文章内容</option>
154
-                        	</select>
155
-					    </div>
156
-	                     <div class="layui-input-inline">
157
-	                     	<input type="text" name="keyword"  value="<?php echo get('keyword');?>"  placeholder="请输入搜索关键字" class="layui-input">
158
-	                     </div>
159
-	                     <div class="layui-input-inline">
160
-	                     	<button class="layui-btn" lay-submit>搜索</button>
161
-	                     	<a class="layui-btn layui-btn-primary"  href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.get('mcode').'');?>">清除搜索</a>
162
-	                     </div>
163
-	                </div>
164
-                </form>
165
-
166
-	            <table class="layui-table">
167
-	            	<thead>
168
-	                    <tr>
169
-	                    	<th>ID</th>
170
-	                        <th>栏目</th>
171
-	                        <th>标题</th>
172
-	                        <th>时间</th>
173
-	                        <th>状态</th>
174
-	                        <th>访问量</th>
175
-	                        <th>操作</th>
176
-	                    </tr>
177
-	                </thead>
178
-	                <tbody>
179
-	                    <?php $num = 0;foreach ($this->getVar('contents') as $key => $value) { $num++;?>
180
-	                    <tr>
181
-	                    	<td><?php echo $value->id; ?></td>
182
-	                        <td title="<?php echo $value->scode; ?>"><?php echo $value->sortname; ?></td>
183
-	                         <td title="<?php echo $value->title; ?>">
184
-		                        <?php echo substr_both($value->title,0,15);?>
185
-		                        <?php if ($value->ico) {?>
186
-		                        	<span class="layui-badge layui-bg-orange">缩</span>
187
-		                        <?php } ?>
188
-		                        <?php if ($value->pics) {?>
189
-		                        	<span class="layui-badge">图</span>
190
-		                        <?php } ?>
191
-		                        <?php if ($value->outlink) {?>
192
-	                            	<span class="layui-badge layui-bg-black">链</span>
193
-	                            <?php } ?>
194
-	                        </td>
195
-	                        <td><?php echo $value->date; ?></td>
196
-	                        <td>
197
-	                        <?php if ($value->status) {?>
198
-		                        <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0');?>" class="switch"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
199
-		                        <?php } else { ?>
200
-		                        <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1');?>" class="switch"><i class='fa fa-toggle-off' title="点击开启"></i></a>
201
-		                    <?php } ?>
202
-		                    </td>
203
-		                    <td><?php echo $value->visits; ?></td>
204
-	                        <td>
205
-	                        	<?php if (!$value->outlink) {?>
206
-	                        		<?php  
207
-			                        		$Parser=new app\home\controller\ParserController();
208
-			                        		$link=$Parser->parserLink(1,$value->urlname,'about',$value->scode,$value->filename,'','');
209
-			                       ?>
210
-		                        	<a href="<?php  echo $link?>" class="layui-btn layui-btn-xs layui-btn-primary"  target="_blank">查看</a>
211
-	                        	<?php } ?>
212
-	                        	
213
-	                            <?php if (check_level('mod')) {?>
214
-	                            	<a href="<?php echo \core\basic\Url::get('/admin/Single/mod/mcode/'.$value->mcode.'/id/'.$value->id.'');?><?php echo $this->getVar('btnqs');?>" class="layui-btn layui-btn-xs" >修改</a>
215
-	                            	<?php if ($this->getVar('baidu_zz_token') && !$value->outlink) {?>
216
-	                            		<a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/baiduzz/'.$value->id.'');?>" class="layui-btn layui-btn-xs layui-btn-primary" >百度普通推送</a>
217
-	                            	<?php } ?>
218
-	                            	<?php if ($this->getVar('baidu_ks_token') && !$value->outlink) {?>
219
-	                            		<a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/baiduks/'.$value->id.'');?>" class="layui-btn layui-btn-xs layui-btn-primary" >百度快速推送</a>
220
-	                            	<?php } ?>
221
-	                            <?php } ?>
222
-	                        </td>
223
-	                    </tr>
224
-	                    <?php } ?>
225
-	                </tbody>
226
-	            </table>
227
-	  	   </div>
228
-	  </div>
229
-	 </div>
230
-	<?php } ?> 
231
-	
232
-	<?php if ($this->getVar('mod')) {?>
233
-	
234
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
235
-	  <ul class="layui-tab-title">
236
-	    <li class="layui-this">单页修改</li>
237
-	  </ul>
238
-	  <div class="layui-tab-content">
239
-	  	<div class="layui-tab-item layui-show">
240
-	  		<form action="<?php echo \core\basic\Url::get('/admin/Single/mod/id/'.get('id').'');?><?php echo $this->getVar('backurl');?>" method="post" class="layui-form" id="edit">
241
-	  			<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
242
-	  			<div class="layui-tab">
243
-					  <ul class="layui-tab-title">
244
-					    <li class="layui-this">基本内容</li>
245
-					    <li>高级内容</li>
246
-					  </ul>
247
-					  <div class="layui-tab-content">
248
-					    <div class="layui-tab-item layui-show">
249
-
250
-			                <div class="layui-form-item">
251
-			                     <label class="layui-form-label">内容标题   <span class="layui-text-red">*</span></label>
252
-			                     <div class="layui-input-block">
253
-			                     	<input type="text" name="title" required lay-verify="required" value="<?php echo @$this->getVar('content')->title;?>" placeholder="请输入内容标题" class="layui-input">
254
-			                     </div>
255
-			                </div>
256
-			                
257
-			                 <?php $num = 0;foreach ($this->getVar('extfield') as $key => $value) { $num++;?>
258
-			                	<?php if ($value->type==1) {?> <!-- 单行文本 -->
259
-			                	<div class="layui-form-item">
260
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
261
-			                		<div class="layui-input-block">
262
-				                    	<input type="text" name="<?php echo $value->name; ?>" value="<?php echo @$this->getVar('content')->{$value->name};?>"  placeholder="请输入<?php echo $value->description; ?>"  class="layui-input">
263
-				                	</div>
264
-				                </div>
265
-			                	<?php } ?>
266
-			                	
267
-			                	<?php if ($value->type==2) {?><!-- 多行文本 -->
268
-			                	<div class="layui-form-item">
269
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
270
-			                		<div class="layui-input-block">
271
-				                		<textarea name="<?php echo $value->name; ?>" class="layui-textarea" placeholder="请输入<?php echo $value->description; ?>"><?php  $name=$value->name;echo str_replace('<br>', "\r\n",$this->vars['content']->$name);?></textarea>
272
-				                	</div>
273
-				                </div>
274
-			                	<?php } ?>
275
-			                	
276
-			                    <?php if ($value->type==3) {?><!-- 单选 -->
277
-			                	<div class="layui-form-item">
278
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
279
-			                		<div class="layui-input-block">
280
-				                		<div>
281
-	            						     <?php  
282
-				                				$radios=explode(',',$value->value);
283
-				                				$name=$value->name;
284
-				                				foreach ($radios as $value2) {
285
-				                					if($this->vars['content']->$name==$value2){
286
-	                									echo '<input type="radio" name="'.$value->name.'" value="'.$value2.'" title="'.$value2.'" checked>';
287
-	                								}else{
288
-	                									echo '<input type="radio" name="'.$value->name.'" value="'.$value2.'" title="'.$value2.'">';
289
-	                								}
290
-	            								}
291
-	            						     ?>
292
-					                    </div>
293
-				                	</div>
294
-				                </div>
295
-			                	<?php } ?>
296
-			                	
297
-			                    <?php if ($value->type==4) {?><!-- 多选 -->
298
-			                	<div class="layui-form-item">
299
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
300
-			                		<div class="layui-input-block">
301
-				                		<div>
302
-	            						     <?php  
303
-				                				$checkboxs=explode(',',$value->value);
304
-				                				$name=$value->name;
305
-				                				echo '<input name="'.$value->name.'" type="hidden">';//占位清空
306
-				                				$values=explode(',',$this->vars['content']->$name);
307
-				                				foreach ($checkboxs as $value2) {
308
-				                					if(in_array($value2,$values)){
309
-	            										echo '<input type="checkbox" name="'.$value->name.'[]" value="'.$value2.'" title="'.$value2.'" checked>';
310
-	            									}else{
311
-	            										echo '<input type="checkbox" name="'.$value->name.'[]" value="'.$value2.'" title="'.$value2.'">';
312
-	            									}
313
-	            								}
314
-	            						     ?>
315
-					                    </div>
316
-				                	</div>
317
-				                </div>
318
-			                	<?php } ?>
319
-			                	
320
-			                	<?php if ($value->type==5) {?><!-- 图片 -->
321
-			                	<div class="layui-form-item">
322
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
323
-			                		<div class="layui-input-inline">
324
-				                     	<input type="text" name="<?php echo $value->name; ?>" id="<?php echo $value->name; ?>" value="<?php echo @$this->getVar('content')->{$value->name};?>" placeholder="请上传<?php echo $value->description; ?>"  class="layui-input">
325
-				                     </div>
326
-				                     <button type="button" class="layui-btn upload watermark" data-des="<?php echo $value->name; ?>">
327
-									 	 <i class="layui-icon">&#xe67c;</i>上传图片
328
-									 </button>
329
-									 <?php  $name=$value->name; ?>
330
-									 <div id="<?php echo $value->name; ?>_box" class="pic"><dl><dt><?php if ($this->getVar('content')->$name) {?><img src='<?php echo SITE_DIR;?><?php echo @$this->getVar('content')->{$value->name};?>' data-url="<?php echo @$this->getVar('content')->{$value->name};?>"></dt><dd>删除</dd></dl><?php } ?></div>
331
-				                </div>
332
-			                	<?php } ?>
333
-			                	
334
-			                	<?php if ($value->type==6) {?><!-- 文件 -->
335
-			                	<div class="layui-form-item">
336
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
337
-			                		<div class="layui-input-inline">
338
-				                     	<input type="text" name="<?php echo $value->name; ?>" id="<?php echo $value->name; ?>" value="<?php echo @$this->getVar('content')->{$value->name};?>" placeholder="请上传<?php echo $value->description; ?>"  class="layui-input">
339
-				                     </div>
340
-				                     <button type="button" class="layui-btn file" data-des="<?php echo $value->name; ?>">
341
-									 	 <i class="layui-icon">&#xe67c;</i>上传文件
342
-									 </button>
343
-				                </div>
344
-			                	<?php } ?>
345
-			                	
346
-			                	<?php if ($value->type==7) {?><!-- 日期 -->
347
-				                <div class="layui-form-item">
348
-				                     <label class="layui-form-label"><?php echo $value->description; ?></label>
349
-				                     <div class="layui-input-block">
350
-				                     	<input type="text" name="<?php echo $value->name; ?>" value="<?php echo @$this->getVar('content')->{$value->name};?>" readonly placeholder="请选择<?php echo $value->description; ?>"  class="layui-input datetime">
351
-				                     </div>
352
-				                </div>
353
-			                	<?php } ?>
354
-			                	
355
-			                	<?php if ($value->type==8) {?><!-- 编辑器 -->
356
-			                	<div class="layui-form-item">
357
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
358
-			                		<div class="layui-input-block">
359
-			                			<?php  
360
-			                				$name=@$value->name;
361
-			                			?>
362
-				                		<script type="text/plain" id="editor_<?php echo $value->name; ?>" name="<?php echo $value->name; ?>" style="width:100%;height:240px;"><?php echo decode_string($this->getVar('content')->$name);?></script>
363
-				                		<script>
364
-											//初始化编辑器
365
-											$(document).ready(function (e) {
366
-												var ue = UE.getEditor('editor_<?php echo $value->name; ?>',{
367
-													maximumWords:10000 
368
-												});
369
-											})
370
-										</script>
371
-				                	</div>
372
-				                </div>
373
-			                	<?php } ?>
374
-			                	
375
-			                	<?php if ($value->type==9) {?><!-- 下拉 -->
376
-			                	<div class="layui-form-item">
377
-			                		<label class="layui-form-label"><?php echo $value->description; ?></label>
378
-			                		<div class="layui-input-block">
379
-			                			<select name="<?php echo $value->name; ?>">
380
-			                				<?php  
381
-				                				$selects=explode(',',$value->value);
382
-				                				$name=$value->name;
383
-				                				foreach ($selects as $value2) {
384
-				                					if($this->vars['content']->$name==$value2){
385
-				                						echo '<option value="'.$value2.'" selected>'.$value2.'</option>';
386
-	                								}else{
387
-	                									echo '<option value="'.$value2.'">'.$value2.'</option>';
388
-	                								}
389
-	            								}
390
-	            						    ?>
391
-			                			</select>
392
-				                	</div>
393
-				                 </div>
394
-			                	 <?php } ?>
395
-			                	 
396
-			                <?php } ?>
397
-			                
398
-			                <div class="layui-form-item">
399
-			                     <label class="layui-form-label">内容</label>
400
-			                     <div class="layui-input-block">
401
-			                     	<script type="text/plain" id="editor" name="content" style="width:100%;height:240px;"><?php echo decode_string($this->getVar('content')->content);?></script>
402
-			                     </div>
403
-			                </div>
404
-			                
405
-			                <div class="layui-form-item">
406
-			                     <label class="layui-form-label">tags</label>
407
-			                     <div class="layui-input-block">
408
-			                     	<input type="text" name="tags" placeholder="请输入文章tag,英文逗号隔开" value="<?php echo @$this->getVar('content')->tags;?>" class="layui-input">
409
-			                     </div>
410
-			                </div>
411
-			                
412
-			                <div class="layui-form-item">
413
-			                     <label class="layui-form-label">作者</label>
414
-			                     <div class="layui-input-block">
415
-			                     	<input type="text" name="author" placeholder="请输入作者" value="<?php echo @$this->getVar('content')->author;?>" class="layui-input">
416
-			                     </div>
417
-			                </div>
418
-			                
419
-			                <div class="layui-form-item">
420
-			                     <label class="layui-form-label">来源</label>
421
-			                     <div class="layui-input-block">
422
-			                     	<input type="text" name="source" placeholder="请输入来源" value="<?php echo @$this->getVar('content')->source;?>" class="layui-input">
423
-			                     </div>
424
-			                </div>
425
-			                
426
-			                <div class="layui-form-item">
427
-			                     <label class="layui-form-label">缩略图</label>
428
-			                     <div class="layui-input-inline">
429
-			                     	<input type="text" name="ico" id="ico" value="<?php echo @$this->getVar('content')->ico;?>" placeholder="请上传缩略图"  class="layui-input">
430
-			                     </div>
431
-			                     <button type="button" class="layui-btn upload watermark" data-des="ico">
432
-								 	 <i class="layui-icon">&#xe67c;</i>上传图片
433
-								 </button>
434
-								 <div id="ico_box" class="pic addedit"><?php if ($this->getVar('content')->ico) {?><dl><dt><img src="<?php echo SITE_DIR;?><?php echo @$this->getVar('content')->ico;?>" data-url="<?php echo @$this->getVar('content')->ico;?>"></dt><dd>删除</dd></dl><?php } ?></div>
435
-			                </div>
436
-			                
437
-			                <div class="layui-form-item">
438
-			                     <label class="layui-form-label">轮播多图</label>
439
-			                     <div class="layui-input-inline">
440
-			                     	<input type="text" name="pics" id="pics" value="<?php echo @$this->getVar('content')->pics;?>" placeholder="请上传轮播多图"  class="layui-input">
441
-			                     </div>
442
-			                     <button type="button" class="layui-btn uploads watermark" data-des="pics">
443
-								 	 <i class="layui-icon">&#xe67c;</i>上传多图
444
-								 </button>
445
-								 <div id="pics_box" class="pic addedit">
446
-								 	<dl></dl> <!-- 规避空内容拖动bug -->
447
-								 	 <?php  
448
-									    if($this->getVar('content')->pics){
449
-		                					$pics=explode(',',$this->getVar('content')->pics);
450
-		                				}else{
451
-		                					$pics = array();
452
-		                				}
453
-		                				if($this->getVar('content')->picstitle){
454
-		                					$picstitle=explode(',',$this->getVar('content')->picstitle);
455
-		                				}else{
456
-		                					$picstitle = array();
457
-		                				}
458
-		                				foreach ($pics as $key=>$value) {
459
-		                					//需要留一个空,不然被解析为标签了
460
-		                					echo "<dl><dt><img src='".SITE_DIR.$value."' data-url='".$value."'></dt><dd>删除</dd><dt><input type='text' value='".$picstitle[$key ]."' name='picstitle[]' style='width:95%' /></dt></dl>";
461
-	          							}
462
-	         						 ?>
463
-								 </div>
464
-			                </div>
465
-					    </div>
466
-					    
467
-					    <div class="layui-tab-item ">
468
-					    
469
-					   		 <div class="layui-form-item">
470
-			                     <label class="layui-form-label">标题颜色</label>
471
-			                     <div class="layui-input-inline">
472
-			                     	<input type="text" name="titlecolor" value="<?php echo @$this->getVar('content')->titlecolor;?>" placeholder="请选择标题颜色"  class="layui-input jscolor {hash:true}">
473
-			                     </div>
474
-			                 </div>
475
-			                 
476
-			                 <div class="layui-form-item">
477
-			                     <label class="layui-form-label">副标题</label>
478
-			                     <div class="layui-input-block">
479
-			                     	<input type="text" name="subtitle" value="<?php echo @$this->getVar('content')->subtitle;?>" placeholder="请输入副标题" class="layui-input">
480
-			                     </div>
481
-			                 </div>
482
-
483
-			                 <div class="layui-form-item">
484
-			                     <label class="layui-form-label">时间</label>
485
-			                     <div class="layui-input-inline">
486
-			                     	<input type="text" name="date" value="<?php echo @$this->getVar('content')->date;?>" readonly placeholder="请选择发布时间"  class="layui-input datetime">
487
-			                     </div>
488
-			                     <div class="layui-form-mid layui-word-aux">温馨提示:单页不支持定时发布!</div>
489
-			                </div>
490
-			                
491
-			                <div class="layui-form-item">
492
-		                		<label class="layui-form-label">附件</label>
493
-		                		<div class="layui-input-inline">
494
-			                     	<input type="text" name="enclosure" id="enclosure" value="<?php echo @$this->getVar('content')->enclosure;?>" placeholder="请上传附件"  class="layui-input">
495
-			                     </div>
496
-			                     <button type="button" class="layui-btn file" data-des="enclosure">
497
-								 	 <i class="layui-icon">&#xe67c;</i>上传附件
498
-								 </button>
499
-			                </div>
500
-			                
501
-			                <div class="layui-form-item">
502
-			                     <label class="layui-form-label">SEO关键字</label>
503
-			                     <div class="layui-input-block">
504
-			                     	<input type="text" name="keywords" value="<?php echo @$this->getVar('content')->keywords;?>"  placeholder="请输入详情页SEO关键字" class="layui-input">
505
-			                     </div>
506
-			                </div>
507
-			                
508
-			                <div class="layui-form-item">
509
-			                     <label class="layui-form-label">SEO描述</label>
510
-			                     <div class="layui-input-block">
511
-			                     	<textarea name="description" placeholder="请输入详情页SEO描述" class="layui-textarea"><?php echo @$this->getVar('content')->description;?></textarea>
512
-			                     </div>
513
-			                </div>
514
-			                
515
-			                <div class="layui-form-item">
516
-			                     <label class="layui-form-label">状态</label>
517
-			                     <div class="layui-input-block">
518
-			                     	<input type="radio" name="status" value="1" title="显示" <?php if ($this->getVar('content')->status==1) {?> checked="checked"<?php } ?>>
519
-									<input type="radio" name="status" value="0" title="隐藏" <?php if ($this->getVar('content')->status==0) {?> checked="checked"<?php } ?>>
520
-			                     </div>
521
-			                </div>
522
-					    </div>
523
-					  </div>
524
-					</div>
525
-					<div class="layui-form-item">
526
-						 <div class="layui-input-block">
527
-						    <button class="layui-btn" lay-submit>立即提交</button>
528
-						    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
529
-						    <?php echo get_btn_back();?>
530
-						 </div>
531
-					</div>
532
-	  		</form>
533
-	  	</div>
534
-	  </div>
535
-	</div>
536
-	<?php } ?> 
537
-
538
-</div>
539
-
540
-<style>.placeHolder {border:dashed 2px gray; }</style>
541
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.dragsort-0.5.2.min.js"></script>
542
-<script type="text/javascript">
543
-$("#pics_box").dragsort({
544
-	dragSelector: "dl",
545
-	dragSelectorExclude: "input,textarea,dd",
546
-	dragBetween: false,
547
-	dragEnd: saveOrder,
548
-	placeHolderTemplate: "<dl class='placeHolder'><dt></dt></dl>"
549
-});
550
-
551
-function saveOrder() {
552
-	var data = $("#pics_box dl dt img").map(function() {
553
-		return $(this).data("url");
554
-	}).get();
555
-	$("input[name=pics]").val(data.join(","))
556
-};
557
-</script>
558
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jscolor.js"></script>
559
-
560
-<!-- 引入编辑器文件 -->
561
-<script type="text/javascript" charset="utf-8" src="<?php echo CORE_DIR;?>/extend/ueditor/ueditor.config.js"></script>
562
-<script type="text/javascript" charset="utf-8" src="<?php echo CORE_DIR;?>/extend/ueditor/ueditor.all.js"> </script>
563
-<script type="text/javascript" charset="utf-8" src="<?php echo CORE_DIR;?>/extend/ueditor/lang/zh-cn/zh-cn.js"></script>
564
-<script>
565
-//初始化编辑器
566
-$(document).ready(function (e) {
567
-	var ue = UE.getEditor('editor',{
568
-		maximumWords:30000 
569
-	});
570
-})
571
-</script>
572
-
573
-
574
-<script type="text/javascript">
575
-   <!-- 解决源码模式无法保存 -->
576
-  function editor_init() {
577
-      $('#edit').submit(function () {
578
-          editor=UE.getEditor('editor');
579
-          if(editor.queryCommandState('source')==1) editor.execCommand('source');
580
-      })
581
-  }
582
- 
583
-  <!-- 点击后添加到编辑器 -->
584
-  $(".addedit").on("click",'img',function(){
585
-	    editor=UE.getEditor('editor');
586
-		$img = $(this).attr("src");
587
-		editor.execCommand('inserthtml',"<img src='"+$img+"'>");
588
-   });
589
-
590
-</script>
591
-
592
-<script type="text/javascript">editor_init();</script>
593
-
594
-
595
-
596
-
597
-<input type="hidden" id="do_check" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/check');?>">
598
-<input type="hidden" id="do_down" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/down');?>">
599
-<input type="hidden" id="do_update" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/update');?>">
600
-<input type="hidden" id="check_version" data-url="/index.php?p=upgrade/check&version=<?php echo APP_VERSION;?>.<?php echo RELEASE_TIME;?>.<?php echo $this->getVar('revise');?>&branch=<?php echo $this->getVar('branch');?>&snuser=<?php echo $this->getVar('snuser');?>&site=<?php echo $this->getVar('site');?>">
601
-<input type="hidden" id="check_cache" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/checkCache');?>">
602
-</div>
603
-
604
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
605
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
606
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
607
-
608
-<script type="text/javascript" src="https://www.pbootcms.com/res/v1/js/update.js?v=v3.1.3" ></script>
609
-<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
610
-<!--[if lt IE 9]>
611
-  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
612
-  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
613
-<![endif]-->
614
-
615
-</body>
616
-</html>
617
-
618
-<?php return array (
619
-  0 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/head.html',
620
-  1 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/ueditor.html',
621
-  2 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/foot.html',
622
-); ?>

+ 0
- 488
runtime/complile/34c1c35b9c8ca28055eed87583fd1ffd.php Прегледај датотеку

@@ -1,488 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-<head>
4
-  <meta charset="utf-8">
5
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
-  <meta name="renderer"  content="webkit">
7
-  <title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
8
-  <link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
9
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
10
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
11
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
12
-  <link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
13
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
14
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
15
-</head>
16
-
17
-<body class="layui-layout-body">
18
-
19
-<!--定义部分地址方便JS调用-->
20
-<div style="display: none">
21
-	<span id="controller" data-controller="<?php echo C;?>"></span>
22
-	<span id="url" data-url="<?php echo URL;?>"></span>
23
-	<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
24
-	<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
25
-	<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
26
-</div>
27
-
28
-<div class="layui-layout layui-layout-admin">
29
-  <div class="layui-header">
30
-    <div class="layui-logo">
31
-    <a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
32
-    
33
-	    <?php echo CMSNAME;?> 控制台
34
-    </a>
35
-    </div>
36
-    
37
-    <ul class="menu">
38
-    	<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
39
-	</ul>
40
-	<?php if (!$this->getVar('one_area')) {?>
41
-	<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
42
-		<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
43
-		<div class="layui-col-xs8">
44
-		   <select name="acode">
45
-		       <?php echo $this->getVar('area_html');?>
46
-		   </select>
47
-		</div>
48
-		<div class="layui-col-xs4">
49
-		 	<button type="submit" class="layui-btn layui-btn-sm">切换</button>
50
-		</div>
51
-   	</form>
52
- 	<?php } ?>
53
-
54
-    <ul class="layui-nav layui-layout-right">
55
-    
56
-       <li class="layui-nav-item layui-hide-xs">
57
-      	 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
58
-       </li>
59
-       
60
-        <li class="layui-nav-item layui-hide-xs">
61
-      	 <a href="<?php echo \core\basic\Url::get('//admin/City/index');?>"><i class="fa fa-university" aria-hidden="true"></i> 城市分站</a>
62
-       </li>
63
-
64
-       <li class="layui-nav-item layui-hide-xs">
65
-       		<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
66
-       </li>
67
-       
68
-       <li class="layui-nav-item layui-hide-xs">
69
-	        <a href="javascript:;">
70
-	          <i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
71
-	        </a>
72
-	        <dl class="layui-nav-child">
73
-	          <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>
74
-	          <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
75
-	         <!-- <?php if (session('ucode')==10001) {?>
76
-	          	<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
77
-	          	<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>
78
-	          <?php } ?> -->
79
-	        </dl>
80
-      </li>
81
-    </ul>
82
-  </div>
83
-  
84
-  <div class="layui-side layui-bg-black">
85
-    <div class="layui-side-scroll">
86
-      <!-- 左侧导航区域(可配合layui已有的垂直导航) -->
87
-      <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
88
-	   <?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
89
-        <li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
90
-          <a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
91
-          <dl class="layui-nav-child">
92
-			<?php if ($value->mcode=='M130') {?>
93
-				 <?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
94
-				 	<?php if ($value3->type==1) {?>
95
-						<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>
96
-					<?php } ?>
97
-					<?php if ($value3->type==2) {?>
98
-						<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>
99
-					<?php } ?>
100
-				 <?php } ?>
101
-			<?php } else { ?>
102
-				<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
103
-					<?php if (!isset($value2->status)|| $value2->status==1) {?>
104
-	            		<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>
105
-	            	<?php } ?>
106
-				<?php } ?>
107
-				
108
-			<!-- 	<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
109
-					<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
110
-				<?php } ?> -->
111
-		    <?php } ?>
112
-          </dl>
113
-        </li>
114
-		<?php } ?>
115
-		
116
-		<li style="height:1px;background:#666" class="layui-hide-sm"></li>
117
-		
118
-		<li class="layui-nav-item layui-hide-sm">
119
-		 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
120
-		</li>
121
-		
122
-		<li class="layui-nav-item layui-hide-sm">
123
-          <a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
124
-        </li>
125
-        
126
-        <li class="layui-nav-item layui-hide-sm">
127
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
128
-        </li>
129
-        
130
-        <li class="layui-nav-item layui-hide-sm">
131
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
132
-        </li>
133
-
134
-      </ul>
135
-    </div>
136
-  </div>
137
-<div class="layui-body">
138
-    <?php if ($this->getVar('list')) {?>
139
-    <div class="layui-tab layui-tab-brief" lay-filter="tab">
140
-        <ul class="layui-tab-title">
141
-            <li class="layui-this" lay-id="t1">城市内容</li>
142
-            <li lay-id="t2">城市新增</li>
143
-        </ul>
144
-        <div class="layui-tab-content">
145
-            <div class="layui-tab-item layui-show">
146
-                <form action="<?php echo \core\basic\Url::get('/admin/City/mod');?>" id="contentForm" name="contentForm" method="post" class="layui-form" onkeydown="if(event.keyCode==13) return false;">
147
-                    <input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
148
-                    <table class="layui-table">
149
-                        <thead>
150
-                            <tr>
151
-                                <th width="50"><input type="checkbox" class="checkbox" lay-ignore id="checkall" title="全选"></th>
152
-                                <th width="50">ID</th>
153
-                                <th>城市名称</th>
154
-                                <th>城市拼音</th>
155
-                                <th>排序</th>
156
-                                <th>状态</th>
157
-                                <th>置顶</th>
158
-                                <th>操作</th>
159
-                            </tr>
160
-                        </thead>
161
-                        <tbody>
162
-                            <?php $num = 0;foreach ($this->getVar('lists') as $key => $value) { $num++;?>
163
-                            <tr>
164
-                                <td>
165
-		                    		<input type="checkbox" class="checkbox checkitem" lay-ignore name="list[]" value="<?php echo $value->id; ?>">
166
-		                    		<input type="hidden" name="listall[]" value="<?php echo $value->id; ?>">
167
-		                    	</td>
168
-                                <td><?php echo $value->id; ?></td>
169
-                            
170
-                                <td><a href="<?php echo \core\basic\Url::get('admin/City/index/pid/'.$value->id.'');?>" class="text-blue"><?php echo $value->title; ?> <span class="layui-badge layui-bg-orange"><?php echo $value->count; ?></span></a></td>
171
-                               
172
-                                <td><?php echo $value->etitle; ?></td>   
173
-                                  <td class="table-input"><input type="text" lay-ignore class="layui-input" name="sorting[]" value="<?php echo $value->sorting; ?>"></td>
174
-                                
175
-                                <td>
176
-                                    <?php if ($value->status) {?>
177
-                                    <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0');?>"><i class='fa fa-toggle-on' style="vertical-align:middle"></i></a>
178
-                                    <?php } else { ?>
179
-                                    <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1');?>"><i class='fa fa-toggle-off' style="vertical-align:middle"></i></a>
180
-                                    <?php } ?>
181
-                                </td>
182
-                                <td>
183
-                                    <?php if ($value->istop) {?>
184
-                                    <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/istop/value/0');?>"><i class='fa fa-toggle-on' style="vertical-align:middle"></i></a>
185
-                                    <?php } else { ?>
186
-                                    <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/istop/value/1');?>"><i class='fa fa-toggle-off' style="vertical-align:middle"></i></a>
187
-                                    <?php } ?>
188
-                                </td>
189
-                              <td>
190
-                                    <?php echo get_btn_mod($value->id,'id');?>
191
-                                    <?php echo get_btn_del($value->id,'id');?>
192
-                                </td>
193
-                            </tr>
194
-                            <?php } ?>
195
-                        </tbody>
196
-                    </table>
197
-                    <div class="layui-btn-group">
198
-	                    <?php if (check_level('del')) {?>
199
-				     		<button type="submit" name="submit" onclick="return setDelAction();" class="layui-btn layui-btn-sm">批量删除</button>
200
-				     	<?php } ?>
201
-				     	<?php if (check_level('mod')) {?>
202
-				     		<button type="submit" name="submit" value="sorting" class="layui-btn layui-btn-sm">保存排序</button>
203
-				     	 <?php } ?>
204
-			     	</div>
205
-                    <script>
206
-                        function setDelAction(){
207
-                            document.contentForm.action = "<?php echo \core\basic\Url::get('/admin/City/del');?>"; 
208
-                            return confirm("您确定要删除选中的内容么?");
209
-                        }
210
-                    </script>
211
-                </form>
212
-            </div>
213
-           <div class="layui-tab-item">
214
-	  	  		<form action="<?php echo \core\basic\Url::get('/admin/City/add');?>" method="post" class="layui-form" lay-filter="sort">
215
-                    <input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
216
-		  	     	<div class="layui-tab">
217
-					  <ul class="layui-tab-title">
218
-					    <li class="layui-this">基本内容</li>
219
-					    <li>高级内容</li>
220
-					  </ul>
221
-					  <div class="layui-tab-content">
222
-					    <div class="layui-tab-item layui-show">
223
-			            <div class="layui-form-item">
224
-                        <label class="layui-form-label">上级城市   <span class="layui-text-red">*</span></label>
225
-                        <div class="layui-input-block">
226
-                            <select name="pid" lay-verify="required">
227
-                               <option value="0">顶级</option>
228
-                               <?php $num = 0;foreach ($this->getVar('city_select') as $key => $value) { $num++;?>
229
-                               <option value="<?php echo $value->id; ?>"><?php echo $value->title; ?></option>
230
-                               <?php } ?>
231
-                           </select>
232
-                        </div>
233
-                    </div>
234
-                    <div class="layui-form-item">
235
-                        <label class="layui-form-label">城市名称 <span class="layui-text-red">*</span></label>
236
-                        <div class="layui-input-block">
237
-                            <input type="text" name="title" required lay-verify="required" placeholder="请输入城市名称" class="layui-input">
238
-                        </div>
239
-                    </div>
240
-                    <div class="layui-form-item">
241
-                        <label class="layui-form-label">城市拼音<span class="layui-text-red">*</span></label>
242
-                        <div class="layui-input-block">
243
-                            <input type="text" name="etitle" placeholder="请输入城市拼音" class="layui-input">
244
-                        </div>
245
-                    </div>
246
-                    <div class="layui-form-item">
247
-                        <label class="layui-form-label">参数</label>
248
-                        <div class="layui-input-block">
249
-                           <input type="checkbox" name="istop" value="1" title="推荐">
250
-                        </div>
251
-                   </div>
252
-                    <div class="layui-form-item">
253
-                        <label class="layui-form-label">状态</label>
254
-                        <div class="layui-input-block">
255
-                            <input type="radio" name="status" value="1" title="显示" checked>
256
-							<input type="radio" name="status" value="0" title="隐藏">
257
-                        </div>
258
-                    </div>
259
-					    </div>
260
-					    <div class="layui-tab-item ">
261
-					    <div class="layui-form-item">
262
-                        <label class="layui-form-label">首页SEO标题</label>
263
-                        <div class="layui-input-block">
264
-                            <input type="text" name="seo_title" placeholder="请输入城市首页SEO关键字" class="layui-input">
265
-                        </div>
266
-                   </div>
267
-                   <div class="layui-form-item">
268
-                        <label class="layui-form-label">首页SEO关键字</label>
269
-                        <div class="layui-input-block">
270
-                            <input type="text" name="seo_keywords" placeholder="请输入首页SEO关键字" class="layui-input">
271
-                        </div>
272
-                    </div>
273
-                   <div class="layui-form-item">
274
-                        <label class="layui-form-label">首页SEO描述</label>
275
-                        <div class="layui-input-block">
276
-                            <textarea name="seo_description" placeholder="请输入首页SEO描述" class="layui-textarea"></textarea>
277
-                        </div>
278
-                   </div>
279
-                     <div class="layui-form-item">
280
-                        <label class="layui-form-label">分站联系人</label>
281
-                        <div class="layui-input-block">
282
-                            <input type="text" name="contact" placeholder="请输入分站联系人" class="layui-input" />
283
-                        </div>
284
-                    </div>
285
-                    <div class="layui-form-item">
286
-                        <label class="layui-form-label">分站手机号</label>
287
-                        <div class="layui-input-block">
288
-                            <input type="text" name="mobile" placeholder="请输入分站手机号" class="layui-input" />
289
-                        </div>
290
-                    </div>
291
-                    <div class="layui-form-item">
292
-                        <label class="layui-form-label">分站电话</label>
293
-                        <div class="layui-input-block">
294
-                            <input type="text" name="phone" placeholder="请输入分站电话" class="layui-input" />
295
-                        </div>
296
-                    </div>
297
-                    <div class="layui-form-item">
298
-                        <label class="layui-form-label">分站传真</label>
299
-                        <div class="layui-input-block">
300
-                            <input type="text" name="fax" placeholder="请输入分站传真" class="layui-input" />
301
-                        </div>
302
-                    </div>
303
-                    <div class="layui-form-item">
304
-                        <label class="layui-form-label">分站邮箱</label>
305
-                        <div class="layui-input-block">
306
-                            <input type="text" name="email" placeholder="请输入分站邮箱" class="layui-input" />
307
-                        </div>
308
-                    </div>
309
-                    <div class="layui-form-item">
310
-                        <label class="layui-form-label">分站QQ</label>
311
-                        <div class="layui-input-block">
312
-                            <input type="text" name="qq" placeholder="请输入分站QQ" class="layui-input" />
313
-                        </div>
314
-                    </div>
315
-                    <div class="layui-form-item">
316
-                        <label class="layui-form-label">分站地址</label>
317
-                        <div class="layui-input-block">
318
-                            <input type="text" name="address" placeholder="请输入分站地址" class="layui-input" />
319
-                        </div>
320
-                    </div>
321
-					    </div>
322
-					  </div>
323
-					</div>
324
-					<div class="layui-form-item">
325
-						 <div class="layui-input-block">
326
-						    <button class="layui-btn" lay-submit>立即提交</button>
327
-						    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
328
-						 </div>
329
-					</div>
330
-			   </form>
331
-	  	   </div>
332
-        </div>
333
-    </div>
334
-    <?php } ?>
335
-    <?php if ($this->getVar('mod')) {?>
336
-    <div class="layui-tab layui-tab-brief" lay-filter="tab">
337
-        <ul class="layui-tab-title">
338
-            <li class="layui-this">城市修改</li>
339
-        </ul>
340
-        <div class="layui-tab-content">
341
-            <div class="layui-tab-item  layui-show">
342
-	  	  	<form action="<?php echo \core\basic\Url::get('/admin/City/mod/id/'.get('id').'');?><?php echo $this->getVar('backurl');?>" method="post" class="layui-form" lay-filter="sort">
343
-                    <input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>">
344
-		  	     	<div class="layui-tab">
345
-					  <ul class="layui-tab-title">
346
-					    <li class="layui-this">基本内容</li>
347
-					    <li>高级内容</li>
348
-					  </ul>
349
-					  <div class="layui-tab-content">
350
-					    <div class="layui-tab-item layui-show">
351
-					    <div class="layui-form-item">
352
-                                    <label class="layui-form-label">上级城市   <span class="layui-text-red">*</span></label>
353
-                                    <div class="layui-input-block">
354
-                                        <select name="pid" lay-verify="required">
355
-                                           <option value="0">顶级</option>
356
-                                           <?php $num = 0;foreach ($this->getVar('city_select') as $key => $value) { $num++;?>
357
-                                           <option value="<?php echo $value->id; ?>" <?php if ($value->id==$this->getVar('city')->pid) {?>selected="selected"<?php } ?>><?php echo $value->title; ?></option>
358
-                                           <?php } ?>
359
-                                       </select>
360
-                                    </div>
361
-                                </div>
362
-                                <div class="layui-form-item">
363
-                                    <label class="layui-form-label">城市名称 <span class="layui-text-red">*</span></label>
364
-                                    <div class="layui-input-block">
365
-                                        <input type="text" name="title" required lay-verify="required" value="<?php echo @$this->getVar('city')->title;?>" placeholder="请输入城市城市名称" class="layui-input">
366
-                                    </div>
367
-                                </div>
368
-                                <div class="layui-form-item">
369
-                                    <label class="layui-form-label">城市拼音<span class="layui-text-red">*</span></label>
370
-                                    <div class="layui-input-block">
371
-                                        <input type="text" name="etitle" required lay-verify="required" value="<?php echo @$this->getVar('city')->etitle;?>" placeholder="请输入城市英文城市名称" class="layui-input">
372
-                                    </div>
373
-                                </div>
374
-                                <div class="layui-form-item">
375
-                                    <label class="layui-form-label">参数</label>
376
-                                    <div class="layui-input-block">
377
-                                       <input type="checkbox" name="istop" value="1" title="推荐" <?php if ($this->getVar('city')->istop==1) {?>checked<?php } ?>>
378
-                                    </div>
379
-                                </div>
380
-                                <div class="layui-form-item">
381
-                                    <label class="layui-form-label">状态</label>
382
-                                    <div class="layui-input-block">
383
-                                        <input type="radio" name="status" value="1" title="显示" <?php if ($this->getVar('city')->status==1) {?>checked="checked"<?php } ?>>
384
-                                        <input type="radio" name="status" value="0" title="隐藏" <?php if ($this->getVar('city')->status==0) {?>checked="checked"<?php } ?>>
385
-                                    </div>
386
-                                </div>
387
-					    </div>
388
-					    <div class="layui-tab-item ">
389
-					     <div class="layui-form-item">
390
-                                    <label class="layui-form-label">首页SEO标题</label>
391
-                                    <div class="layui-input-block">
392
-                                        <input type="text" name="seo_title" placeholder="请输入城市首页SEO关键字" value="<?php echo @$this->getVar('city')->seo_title;?>" class="layui-input">
393
-                                    </div>
394
-                                </div>
395
-                                <div class="layui-form-item">
396
-                                    <label class="layui-form-label">首页SEO关键字</label>
397
-                                    <div class="layui-input-block">
398
-                                        <input type="text" name="seo_keywords" placeholder="请输入首页SEO关键字" value="<?php echo @$this->getVar('city')->seo_keywords;?>" class="layui-input">
399
-                                    </div>
400
-                                </div>
401
-                                <div class="layui-form-item">
402
-                                    <label class="layui-form-label">首页SEO描述</label>
403
-                                    <div class="layui-input-block">
404
-                                        <textarea name="seo_description" placeholder="请输入首页SEO描述" class="layui-textarea"><?php echo @$this->getVar('city')->seo_description;?></textarea>
405
-                                    </div>
406
-                                </div>
407
-                     <div class="layui-form-item">
408
-                                    <label class="layui-form-label">分站联系人</label>
409
-                                    <div class="layui-input-block">
410
-                                        <input type="text" name="contact" placeholder="请输入分站联系人" value="<?php echo @$this->getVar('city')->contact;?>" class="layui-input" />
411
-                                    </div>
412
-                                </div>
413
-                                <div class="layui-form-item">
414
-                                    <label class="layui-form-label">分站手机号</label>
415
-                                    <div class="layui-input-block">
416
-                                        <input type="text" name="mobile" placeholder="请输入分站手机号" value="<?php echo @$this->getVar('city')->mobile;?>" class="layui-input" />
417
-                                    </div>
418
-                                </div>
419
-                                <div class="layui-form-item">
420
-                                    <label class="layui-form-label">分站电话</label>
421
-                                    <div class="layui-input-block">
422
-                                        <input type="text" name="phone" placeholder="请输入分站电话" value="<?php echo @$this->getVar('city')->phone;?>" class="layui-input" />
423
-                                    </div>
424
-                                </div>
425
-                                <div class="layui-form-item">
426
-                                    <label class="layui-form-label">分站传真</label>
427
-                                    <div class="layui-input-block">
428
-                                        <input type="text" name="fax" placeholder="请输入分站传真" value="<?php echo @$this->getVar('city')->fax;?>" class="layui-input" />
429
-                                    </div>
430
-                                </div>
431
-                                <div class="layui-form-item">
432
-                                    <label class="layui-form-label">分站邮箱</label>
433
-                                    <div class="layui-input-block">
434
-                                        <input type="text" name="email" placeholder="请输入分站邮箱" value="<?php echo @$this->getVar('city')->email;?>" class="layui-input" />
435
-                                    </div>
436
-                                </div>
437
-                                <div class="layui-form-item">
438
-                                    <label class="layui-form-label">分站QQ</label>
439
-                                    <div class="layui-input-block">
440
-                                        <input type="text" name="qq" placeholder="请输入分站QQ" value="<?php echo @$this->getVar('city')->qq;?>" class="layui-input" />
441
-                                    </div>
442
-                                </div>
443
-                                <div class="layui-form-item">
444
-                                    <label class="layui-form-label">分站地址</label>
445
-                                    <div class="layui-input-block">
446
-                                        <input type="text" name="address" placeholder="请输入分站地址" value="<?php echo @$this->getVar('city')->address;?>" class="layui-input" />
447
-                                    </div>
448
-                                </div>
449
-					    </div>
450
-					  </div>
451
-					</div>
452
-					 <div class="layui-form-item">
453
-                        <div class="layui-input-block">
454
-                            <button class="layui-btn" lay-submit>立即提交</button>
455
-                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
456
-                            <?php echo get_btn_back();?>
457
-                        </div>
458
-                    </div>
459
-			   </form>
460
-	  	   </div>
461
-        </div>
462
-    </div>
463
-    <?php } ?>
464
-</div>
465
-<input type="hidden" id="do_check" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/check');?>">
466
-<input type="hidden" id="do_down" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/down');?>">
467
-<input type="hidden" id="do_update" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/update');?>">
468
-<input type="hidden" id="check_version" data-url="/index.php?p=upgrade/check&version=<?php echo APP_VERSION;?>.<?php echo RELEASE_TIME;?>.<?php echo $this->getVar('revise');?>&branch=<?php echo $this->getVar('branch');?>&snuser=<?php echo $this->getVar('snuser');?>&site=<?php echo $this->getVar('site');?>">
469
-<input type="hidden" id="check_cache" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/checkCache');?>">
470
-</div>
471
-
472
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
473
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
474
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
475
-
476
-<script type="text/javascript" src="https://www.pbootcms.com/res/v1/js/update.js?v=v3.1.3" ></script>
477
-<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
478
-<!--[if lt IE 9]>
479
-  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
480
-  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
481
-<![endif]-->
482
-
483
-</body>
484
-</html>
485
-<?php return array (
486
-  0 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/head.html',
487
-  1 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/foot.html',
488
-); ?>

+ 0
- 306
runtime/complile/3aa29999765d6802695dcc94ed33e359.php Прегледај датотеку

@@ -1,306 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-<head>
4
-  <meta charset="utf-8">
5
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
-  <meta name="renderer"  content="webkit">
7
-  <title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
8
-  <link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
9
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
10
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
11
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
12
-  <link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
13
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
14
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
15
-</head>
16
-
17
-<body class="layui-layout-body">
18
-
19
-<!--定义部分地址方便JS调用-->
20
-<div style="display: none">
21
-	<span id="controller" data-controller="<?php echo C;?>"></span>
22
-	<span id="url" data-url="<?php echo URL;?>"></span>
23
-	<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
24
-	<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
25
-	<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
26
-</div>
27
-
28
-<div class="layui-layout layui-layout-admin">
29
-  <div class="layui-header">
30
-    <div class="layui-logo">
31
-    <a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
32
-    
33
-	    <?php echo CMSNAME;?> 控制台
34
-    </a>
35
-    </div>
36
-    
37
-    <ul class="menu">
38
-    	<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
39
-	</ul>
40
-	<?php if (!$this->getVar('one_area')) {?>
41
-	<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
42
-		<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
43
-		<div class="layui-col-xs8">
44
-		   <select name="acode">
45
-		       <?php echo $this->getVar('area_html');?>
46
-		   </select>
47
-		</div>
48
-		<div class="layui-col-xs4">
49
-		 	<button type="submit" class="layui-btn layui-btn-sm">切换</button>
50
-		</div>
51
-   	</form>
52
- 	<?php } ?>
53
-
54
-    <ul class="layui-nav layui-layout-right">
55
-    
56
-       <li class="layui-nav-item layui-hide-xs">
57
-      	 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
58
-       </li>
59
-       
60
-        <li class="layui-nav-item layui-hide-xs">
61
-      	 <a href="<?php echo \core\basic\Url::get('//admin/City/index');?>"><i class="fa fa-university" aria-hidden="true"></i> 城市分站</a>
62
-       </li>
63
-
64
-       <li class="layui-nav-item layui-hide-xs">
65
-       		<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
66
-       </li>
67
-       
68
-       <li class="layui-nav-item layui-hide-xs">
69
-	        <a href="javascript:;">
70
-	          <i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
71
-	        </a>
72
-	        <dl class="layui-nav-child">
73
-	          <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>
74
-	          <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
75
-	         <!-- <?php if (session('ucode')==10001) {?>
76
-	          	<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
77
-	          	<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>
78
-	          <?php } ?> -->
79
-	        </dl>
80
-      </li>
81
-    </ul>
82
-  </div>
83
-  
84
-  <div class="layui-side layui-bg-black">
85
-    <div class="layui-side-scroll">
86
-      <!-- 左侧导航区域(可配合layui已有的垂直导航) -->
87
-      <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
88
-	   <?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
89
-        <li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
90
-          <a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
91
-          <dl class="layui-nav-child">
92
-			<?php if ($value->mcode=='M130') {?>
93
-				 <?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
94
-				 	<?php if ($value3->type==1) {?>
95
-						<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>
96
-					<?php } ?>
97
-					<?php if ($value3->type==2) {?>
98
-						<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>
99
-					<?php } ?>
100
-				 <?php } ?>
101
-			<?php } else { ?>
102
-				<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
103
-					<?php if (!isset($value2->status)|| $value2->status==1) {?>
104
-	            		<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>
105
-	            	<?php } ?>
106
-				<?php } ?>
107
-				
108
-			<!-- 	<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
109
-					<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
110
-				<?php } ?> -->
111
-		    <?php } ?>
112
-          </dl>
113
-        </li>
114
-		<?php } ?>
115
-		
116
-		<li style="height:1px;background:#666" class="layui-hide-sm"></li>
117
-		
118
-		<li class="layui-nav-item layui-hide-sm">
119
-		 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
120
-		</li>
121
-		
122
-		<li class="layui-nav-item layui-hide-sm">
123
-          <a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
124
-        </li>
125
-        
126
-        <li class="layui-nav-item layui-hide-sm">
127
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
128
-        </li>
129
-        
130
-        <li class="layui-nav-item layui-hide-sm">
131
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
132
-        </li>
133
-
134
-      </ul>
135
-    </div>
136
-  </div>
137
-
138
-<div class="layui-body">
139
-	<?php if ($this->getVar('list')) {?>
140
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
141
-	  <ul class="layui-tab-title">
142
-	    <li class="layui-this" lay-id="t1">留言列表</li>
143
-	  </ul>
144
-	  <div class="layui-tab-content">
145
-		  <form method="get" name="contentForm" >
146
-	  	   <div class="layui-tab-item layui-show">
147
-	  	   		<?php $num = 0;foreach ($this->getVar('messages') as $key => $value) { $num++;?>
148
-	  	   		<table class="layui-table table-two">
149
-	  	   			<thead>
150
-				  		<tr>
151
-					  		<th colspan="2">
152
-								<input type="checkbox" name="checkbox" title="选择" lay-skin="primary" class="check" value="<?php echo $value->id; ?>">
153
-								<input type="hidden" name="listall[]" value="<?php echo $value->id; ?>">
154
-								在线留言-<?php echo @(PAGE-1)*PAGESIZE+$num; ?>
155
-					  			<span style="float:right">
156
-						  			<?php if ($value->status) {?>
157
-		                            <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0');?>"><i class='fa fa-toggle-on' title="点击前端隐藏" style="vertical-align:middle"></i></a>
158
-		                            <?php } else { ?>
159
-		                            <a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1');?>"><i class='fa fa-toggle-off' title="点击前端显示" style="vertical-align:middle"></i></a>
160
-		                            <?php } ?>
161
-						  			<?php echo get_btn_mod($value->id,'id','回复');?>
162
-						  			<?php echo get_btn_del($value->id);?>
163
-					  			</span>
164
-					  		</th>
165
-					  	</tr>
166
-				    </thead>
167
-	  	   			<tbody>
168
-		  	   			<?php $num2 = 0;foreach ($this->getVar('fields') as $key2 => $value2) { $num2++;?>
169
-			  	   			<tr>
170
-						      	<th><?php echo $value2->description; ?></th>
171
-						      	<?php   $field=$value2->name ?>
172
-						      	<td><?php echo $value->$field; ?></td>
173
-						    </tr>
174
-		  	   			<?php } ?>
175
-		  	   			<tr>
176
-					      	<th>时间</th>
177
-					      	<td><?php echo $value->create_time; ?></td>
178
-					    </tr>
179
-					    <tr>
180
-					      	<th>访客信息</th>
181
-					      	<td>
182
-					      		IP:<a href="http://ip.taobao.com/ipSearch.html?ipAddr=<?php echo long2ip($value->user_ip);?>" target="_blank" title="点击查看归属地"><?php echo long2ip($value->user_ip);?></a>;
183
-								浏览器:<?php echo $value->user_bs; ?>;
184
-								操作系统:<?php echo $value->user_os; ?>
185
-							</td>
186
-					    </tr>
187
-					    <?php if ($value->username) {?>
188
-					    <tr>
189
-					      	<th>会员账号</th>
190
-					      	<td><?php echo $value->username; ?>(<?php echo $value->nickname; ?>)</td>
191
-					    </tr>
192
-					    <?php } ?>
193
-					    <tr>
194
-					      	<th>回复内容</th>
195
-					      	<td><?php echo $value->recontent; ?></td>
196
-					    </tr>
197
-	  	   			</tbody>
198
-	            </table>
199
-	            <?php } ?>
200
-	            
201
-	            <?php if (session('ucode')==10001 && $this->getVar('messages')) {?>
202
-			     	<a href="<?php echo \core\basic\Url::get('/admin/Message/clear');?>"  onclick='return confirm("您确定要全部清空么?")' class="layui-btn layui-btn-sm">清空全部记录</a>
203
-			   		<a href="javascript:" onclick="selectall('checkbox')" class="layui-btn layui-btn-sm">全选</a>
204
-			   		<a href="javascript:" onclick="delselect(this);return false" class="layui-btn layui-btn-sm">清空选中记录</a>
205
-			    <?php } ?>
206
-			    
207
-			    <?php if ($this->getVar('messages')) {?>
208
-			    <a href="<?php echo \core\basic\Url::get('/admin/Message/index/export/1');?>" class="layui-btn layui-btn-sm">导出记录</a>
209
-			    <?php } ?>
210
-			    
211
-	            <div class="page"><?php echo $this->getVar('pagebar');?></div>
212
-	  	   </div>
213
-		  </form>
214
-	  	 </div>
215
-	</div>
216
-	<?php } ?>
217
-	
218
-	<?php if ($this->getVar('mod')) {?>
219
-	
220
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
221
-	  <ul class="layui-tab-title">
222
-	    <li class="layui-this">留言回复</li>
223
-	  </ul>
224
-	  <div class="layui-tab-content">
225
-	  	<div class="layui-tab-item layui-show">
226
-	  		 <form action="<?php echo \core\basic\Url::get('/admin/Message/mod/id/'.get('id').'');?><?php echo $this->getVar('backurl');?>" method="post" class="layui-form">
227
-	  		 	<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
228
-	  		 	<div class="layui-form-item">
229
-                     <label class="layui-form-label">回复内容</label>
230
-                     <div class="layui-input-block">
231
-                     	<textarea name="recontent" placeholder="请输入回复内容" class="layui-textarea"><?php echo @$this->getVar('message')->recontent;?></textarea>
232
-                     </div>
233
-                </div>
234
-                
235
-                <div class="layui-form-item">
236
-                    <label class="layui-form-label">状态</label>
237
-                    <div class="layui-input-block">
238
-                    	<input type="radio" name="status" value="1" title="显示" <?php if ($this->getVar('message')->status==1) {?>checked="checked"<?php } ?>>
239
-						<input type="radio" name="status" value="0" title="隐藏" <?php if ($this->getVar('message')->status==0) {?>checked="checked"<?php } ?>>
240
-                    </div>
241
-                </div>
242
-                
243
-	  		 	<div class="layui-form-item">
244
-				 <div class="layui-input-block">
245
-				    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
246
-				    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
247
-				    <?php echo get_btn_back();?>
248
-				 </div>
249
-			   </div>
250
-			   
251
-	  		 </form>
252
-	  	</div>
253
-	  </div>
254
-	 </div>
255
-
256
-	<?php } ?> 
257
-	
258
-</div>
259
-<script>
260
-
261
-	function selectall(objName){
262
-		var objNameList=document.getElementsByName(objName);
263
-		if(null!=objNameList){
264
-			for(var i=0;i<objNameList.length;i++){
265
-				objNameList[i].checked="checked";
266
-			}
267
-		}
268
-	}
269
-
270
-	function delselect(obj){
271
-		if(confirm("您确定要删除选中的内容么?")){
272
-			var check_list = [];
273
-			$('input[name="checkbox"]:checked').each(function (){
274
-				check_list.push($(this).val());
275
-			});
276
-			var url = $(obj).attr("href");
277
-			var str = check_list.join("and");
278
-			// $(obj).attr("href", url + "" + str);
279
-			location.href = "<?php echo \core\basic\Url::get('/admin/Message/clear');?>/ids/" + str;
280
-		}
281
-	}
282
-</script>
283
-<input type="hidden" id="do_check" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/check');?>">
284
-<input type="hidden" id="do_down" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/down');?>">
285
-<input type="hidden" id="do_update" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/update');?>">
286
-<input type="hidden" id="check_version" data-url="/index.php?p=upgrade/check&version=<?php echo APP_VERSION;?>.<?php echo RELEASE_TIME;?>.<?php echo $this->getVar('revise');?>&branch=<?php echo $this->getVar('branch');?>&snuser=<?php echo $this->getVar('snuser');?>&site=<?php echo $this->getVar('site');?>">
287
-<input type="hidden" id="check_cache" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/checkCache');?>">
288
-</div>
289
-
290
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
291
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
292
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
293
-
294
-<script type="text/javascript" src="https://www.pbootcms.com/res/v1/js/update.js?v=v3.1.3" ></script>
295
-<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
296
-<!--[if lt IE 9]>
297
-  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
298
-  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
299
-<![endif]-->
300
-
301
-</body>
302
-</html>
303
-<?php return array (
304
-  0 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/head.html',
305
-  1 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/foot.html',
306
-); ?>

+ 0
- 266
runtime/complile/5113c69d1be1d7e5c85751d4516a8fbe.php Прегледај датотеку

@@ -1,266 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-<head>
4
-  <meta charset="utf-8">
5
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
-  <meta name="renderer"  content="webkit">
7
-  <title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
8
-  <link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
9
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
10
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
11
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
12
-  <link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
13
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
14
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
15
-</head>
16
-
17
-<body class="layui-layout-body">
18
-
19
-<!--定义部分地址方便JS调用-->
20
-<div style="display: none">
21
-	<span id="controller" data-controller="<?php echo C;?>"></span>
22
-	<span id="url" data-url="<?php echo URL;?>"></span>
23
-	<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
24
-	<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
25
-	<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
26
-</div>
27
-
28
-<div class="layui-layout layui-layout-admin">
29
-  <div class="layui-header">
30
-    <div class="layui-logo">
31
-    <a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
32
-    
33
-	    <?php echo CMSNAME;?> 控制台
34
-    </a>
35
-    </div>
36
-    
37
-    <ul class="menu">
38
-    	<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
39
-	</ul>
40
-	<?php if (!$this->getVar('one_area')) {?>
41
-	<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
42
-		<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
43
-		<div class="layui-col-xs8">
44
-		   <select name="acode">
45
-		       <?php echo $this->getVar('area_html');?>
46
-		   </select>
47
-		</div>
48
-		<div class="layui-col-xs4">
49
-		 	<button type="submit" class="layui-btn layui-btn-sm">切换</button>
50
-		</div>
51
-   	</form>
52
- 	<?php } ?>
53
-
54
-    <ul class="layui-nav layui-layout-right">
55
-    
56
-       <li class="layui-nav-item layui-hide-xs">
57
-      	 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
58
-       </li>
59
-       
60
-        <li class="layui-nav-item layui-hide-xs">
61
-      	 <a href="<?php echo \core\basic\Url::get('//admin/City/index');?>"><i class="fa fa-university" aria-hidden="true"></i> 城市分站</a>
62
-       </li>
63
-
64
-       <li class="layui-nav-item layui-hide-xs">
65
-       		<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
66
-       </li>
67
-       
68
-       <li class="layui-nav-item layui-hide-xs">
69
-	        <a href="javascript:;">
70
-	          <i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
71
-	        </a>
72
-	        <dl class="layui-nav-child">
73
-	          <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>
74
-	          <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
75
-	         <!-- <?php if (session('ucode')==10001) {?>
76
-	          	<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
77
-	          	<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>
78
-	          <?php } ?> -->
79
-	        </dl>
80
-      </li>
81
-    </ul>
82
-  </div>
83
-  
84
-  <div class="layui-side layui-bg-black">
85
-    <div class="layui-side-scroll">
86
-      <!-- 左侧导航区域(可配合layui已有的垂直导航) -->
87
-      <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
88
-	   <?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
89
-        <li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
90
-          <a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
91
-          <dl class="layui-nav-child">
92
-			<?php if ($value->mcode=='M130') {?>
93
-				 <?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
94
-				 	<?php if ($value3->type==1) {?>
95
-						<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>
96
-					<?php } ?>
97
-					<?php if ($value3->type==2) {?>
98
-						<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>
99
-					<?php } ?>
100
-				 <?php } ?>
101
-			<?php } else { ?>
102
-				<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
103
-					<?php if (!isset($value2->status)|| $value2->status==1) {?>
104
-	            		<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>
105
-	            	<?php } ?>
106
-				<?php } ?>
107
-				
108
-			<!-- 	<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
109
-					<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
110
-				<?php } ?> -->
111
-		    <?php } ?>
112
-          </dl>
113
-        </li>
114
-		<?php } ?>
115
-		
116
-		<li style="height:1px;background:#666" class="layui-hide-sm"></li>
117
-		
118
-		<li class="layui-nav-item layui-hide-sm">
119
-		 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
120
-		</li>
121
-		
122
-		<li class="layui-nav-item layui-hide-sm">
123
-          <a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
124
-        </li>
125
-        
126
-        <li class="layui-nav-item layui-hide-sm">
127
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
128
-        </li>
129
-        
130
-        <li class="layui-nav-item layui-hide-sm">
131
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
132
-        </li>
133
-
134
-      </ul>
135
-    </div>
136
-  </div>
137
-
138
-<div class="layui-body">
139
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
140
-	  <ul class="layui-tab-title">
141
-	    <li class="layui-this">站点信息</li>
142
-	  </ul>
143
-	  <div class="layui-tab-content">
144
-	  	<div class="layui-tab-item layui-show">
145
-	  		<form action="<?php echo \core\basic\Url::get('/admin/Site/mod');?>" method="post" class="layui-form">
146
-	  			<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
147
-	  			<div class="layui-form-item">
148
-                     <label class="layui-form-label">站点标题</label>
149
-                     <div class="layui-input-block">
150
-                     	<input type="text" name="title" value="<?php echo @$this->getVar('sites')->title;?>" placeholder="请输入站点标题,格式小写的{xx}:{xx}关键词A_{xx}关键词B"  class="layui-input">
151
-                     </div>
152
-                </div>
153
-                
154
-                <div class="layui-form-item">
155
-                     <label class="layui-form-label">站点副标题</label>
156
-                     <div class="layui-input-block">
157
-                     	<input type="text" name="subtitle" value="<?php echo @$this->getVar('sites')->subtitle;?>" placeholder="请输入站点副标题"  class="layui-input">
158
-                     </div>
159
-                </div>
160
-                
161
-                <div class="layui-form-item">
162
-                     <label class="layui-form-label">站点域名</label>
163
-                     <div class="layui-input-block">
164
-                     	<input type="text" name="domain" value="<?php echo @$this->getVar('sites')->domain;?>" placeholder="请输入站点域名"  class="layui-input">
165
-                     </div>
166
-                </div>
167
-                
168
-                <div class="layui-form-item">
169
-                     <label class="layui-form-label">站点LOGO</label>
170
-                     <div class="layui-input-inline">
171
-                     	<input type="text" name="logo" id="logo" value="<?php echo @$this->getVar('sites')->logo;?>" placeholder="请上传站点LOGO图"  class="layui-input">
172
-                     </div>
173
-                     <button type="button" class="layui-btn upload" data-des="logo">
174
-					 	 <i class="layui-icon">&#xe67c;</i>上传图片
175
-					 </button>
176
-					 <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>
177
-                </div>
178
-                
179
-                <div class="layui-form-item">
180
-                     <label class="layui-form-label">站点关键字</label>
181
-                     <div class="layui-input-block">
182
-                     	<input type="text" name="keywords" value="<?php echo @$this->getVar('sites')->keywords;?>" placeholder="请输入站点关键字,格式小写的{xx}:{xx}关键词A_{xx}关键词B"  class="layui-input">
183
-                     </div>
184
-                </div>
185
-                
186
-                <div class="layui-form-item">
187
-                     <label class="layui-form-label">站点描述</label>
188
-                     <div class="layui-input-block">
189
-                     	<textarea name="description" placeholder="请输入站点描述,格式小写的{xx}:{xx}关键词A_{xx}关键词B,某某某描述" class="layui-textarea"><?php echo @$this->getVar('sites')->description;?></textarea>
190
-                     </div>
191
-                </div>
192
-                
193
-                <div class="layui-form-item">
194
-                     <label class="layui-form-label">站点备案</label>
195
-                     <div class="layui-input-block">
196
-                     	<input type="text" name="icp" value="<?php echo @$this->getVar('sites')->icp;?>" placeholder="请输入站点备案"  class="layui-input">
197
-                     </div>
198
-                </div>
199
-                
200
-                <div class="layui-form-item">
201
-				    <label class="layui-form-label">站点模板</label>
202
-				    <div class="layui-input-block">
203
-				      <select name="theme">
204
-                       	<?php $num = 0;foreach ($this->getVar('themes') as $key => $value) { $num++;?> 
205
-                            <?php if ($value == $this->getVar('sites')->theme) {?>
206
-                                <option value="<?php echo $value; ?>" selected='selected'><?php echo $value; ?></option> 
207
-                            <?php } else { ?>
208
-                                <option value="<?php echo $value; ?>"><?php echo $value; ?></option> 
209
-                            <?php } ?>
210
-                        <?php } ?>
211
-				      </select>
212
-				    </div>
213
-				 </div>
214
-				 
215
-				 <div class="layui-form-item">
216
-                     <label class="layui-form-label">统计代码</label>
217
-                     <div class="layui-input-block">
218
-                     	<textarea name="statistical" placeholder="请输入统计代码" class="layui-textarea"><?php echo @$this->getVar('sites')->statistical;?></textarea>
219
-                     </div>
220
-                </div>
221
-                
222
-                <div class="layui-form-item">
223
-                     <label class="layui-form-label">尾部信息</label>
224
-                     <div class="layui-input-block">
225
-                     	<textarea name="copyright" placeholder="请输入尾部信息" class="layui-textarea"><?php echo @$this->getVar('sites')->copyright;?></textarea>
226
-                     </div>
227
-                </div>
228
-				
229
-				<div class="layui-form-item">
230
-					 <div class="layui-input-block">
231
-					    <button class="layui-btn" lay-submit>立即提交</button>
232
-					    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
233
-					 </div>
234
-				</div>
235
-				 
236
-	  		</form>
237
-	  	</div>
238
-	  </div>
239
-	</div>
240
-</div>
241
-
242
-<input type="hidden" id="do_check" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/check');?>">
243
-<input type="hidden" id="do_down" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/down');?>">
244
-<input type="hidden" id="do_update" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/update');?>">
245
-<input type="hidden" id="check_version" data-url="/index.php?p=upgrade/check&version=<?php echo APP_VERSION;?>.<?php echo RELEASE_TIME;?>.<?php echo $this->getVar('revise');?>&branch=<?php echo $this->getVar('branch');?>&snuser=<?php echo $this->getVar('snuser');?>&site=<?php echo $this->getVar('site');?>">
246
-<input type="hidden" id="check_cache" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/checkCache');?>">
247
-</div>
248
-
249
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
250
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
251
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
252
-
253
-<script type="text/javascript" src="https://www.pbootcms.com/res/v1/js/update.js?v=v3.1.3" ></script>
254
-<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
255
-<!--[if lt IE 9]>
256
-  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
257
-  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
258
-<![endif]-->
259
-
260
-</body>
261
-</html>
262
-
263
-<?php return array (
264
-  0 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/head.html',
265
-  1 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/foot.html',
266
-); ?>

+ 0
- 346
runtime/complile/da4b6ba3fac9c4f9e7c09d810e180c42.php Прегледај датотеку

@@ -1,346 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-<head>
4
-  <meta charset="utf-8">
5
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
-  <meta name="renderer"  content="webkit">
7
-  <title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
8
-  <link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
9
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
10
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
11
-  <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
12
-  <link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
13
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
14
-  <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
15
-</head>
16
-
17
-<body class="layui-layout-body">
18
-
19
-<!--定义部分地址方便JS调用-->
20
-<div style="display: none">
21
-	<span id="controller" data-controller="<?php echo C;?>"></span>
22
-	<span id="url" data-url="<?php echo URL;?>"></span>
23
-	<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
24
-	<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
25
-	<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
26
-</div>
27
-
28
-<div class="layui-layout layui-layout-admin">
29
-  <div class="layui-header">
30
-    <div class="layui-logo">
31
-    <a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
32
-    
33
-	    <?php echo CMSNAME;?> 控制台
34
-    </a>
35
-    </div>
36
-    
37
-    <ul class="menu">
38
-    	<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
39
-	</ul>
40
-	<?php if (!$this->getVar('one_area')) {?>
41
-	<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
42
-		<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
43
-		<div class="layui-col-xs8">
44
-		   <select name="acode">
45
-		       <?php echo $this->getVar('area_html');?>
46
-		   </select>
47
-		</div>
48
-		<div class="layui-col-xs4">
49
-		 	<button type="submit" class="layui-btn layui-btn-sm">切换</button>
50
-		</div>
51
-   	</form>
52
- 	<?php } ?>
53
-
54
-    <ul class="layui-nav layui-layout-right">
55
-    
56
-       <li class="layui-nav-item layui-hide-xs">
57
-      	 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
58
-       </li>
59
-       
60
-        <li class="layui-nav-item layui-hide-xs">
61
-      	 <a href="<?php echo \core\basic\Url::get('//admin/City/index');?>"><i class="fa fa-university" aria-hidden="true"></i> 城市分站</a>
62
-       </li>
63
-
64
-       <li class="layui-nav-item layui-hide-xs">
65
-       		<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
66
-       </li>
67
-       
68
-       <li class="layui-nav-item layui-hide-xs">
69
-	        <a href="javascript:;">
70
-	          <i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
71
-	        </a>
72
-	        <dl class="layui-nav-child">
73
-	          <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>
74
-	          <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
75
-	         <!-- <?php if (session('ucode')==10001) {?>
76
-	          	<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
77
-	          	<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>
78
-	          <?php } ?> -->
79
-	        </dl>
80
-      </li>
81
-    </ul>
82
-  </div>
83
-  
84
-  <div class="layui-side layui-bg-black">
85
-    <div class="layui-side-scroll">
86
-      <!-- 左侧导航区域(可配合layui已有的垂直导航) -->
87
-      <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
88
-	   <?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
89
-        <li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
90
-          <a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
91
-          <dl class="layui-nav-child">
92
-			<?php if ($value->mcode=='M130') {?>
93
-				 <?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
94
-				 	<?php if ($value3->type==1) {?>
95
-						<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>
96
-					<?php } ?>
97
-					<?php if ($value3->type==2) {?>
98
-						<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>
99
-					<?php } ?>
100
-				 <?php } ?>
101
-			<?php } else { ?>
102
-				<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
103
-					<?php if (!isset($value2->status)|| $value2->status==1) {?>
104
-	            		<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>
105
-	            	<?php } ?>
106
-				<?php } ?>
107
-				
108
-			<!-- 	<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
109
-					<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
110
-				<?php } ?> -->
111
-		    <?php } ?>
112
-          </dl>
113
-        </li>
114
-		<?php } ?>
115
-		
116
-		<li style="height:1px;background:#666" class="layui-hide-sm"></li>
117
-		
118
-		<li class="layui-nav-item layui-hide-sm">
119
-		 <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
120
-		</li>
121
-		
122
-		<li class="layui-nav-item layui-hide-sm">
123
-          <a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
124
-        </li>
125
-        
126
-        <li class="layui-nav-item layui-hide-sm">
127
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
128
-        </li>
129
-        
130
-        <li class="layui-nav-item layui-hide-sm">
131
-         <a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
132
-        </li>
133
-
134
-      </ul>
135
-    </div>
136
-  </div>
137
-
138
-<div class="layui-body">
139
-	<?php if ($this->getVar('list')) {?>
140
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
141
-	  <ul class="layui-tab-title">
142
-	    <li class="layui-this" lay-id="t1">幻灯片列表</li>
143
-	    <li lay-id="t2">幻灯片新增</li>
144
-	  </ul>
145
-	  <div class="layui-tab-content">
146
-	  	<div class="layui-tab-item layui-show">
147
-	  		<form action="<?php echo \core\basic\Url::get('/admin/Slide/mod');?>" method="post" class="layui-form" onkeydown="if(event.keyCode==13) return false;">
148
-		    <input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
149
-	  		<table class="layui-table">
150
-            	<thead>
151
-                    <tr>
152
-                    	<th>分组(gid)</th>
153
-                        <th>图片</th>
154
-                        <th>链接</th>
155
-                        <th>标题</th>
156
-                        <th>副标题</th>
157
-                        <th>排序</th>
158
-                        <th>操作</th>
159
-                    </tr>
160
-                </thead>
161
-                <tbody>
162
-                    <?php $num = 0;foreach ($this->getVar('slides') as $key => $value) { $num++;?>
163
-                    <tr>
164
-                    	<td><?php echo $value->gid; ?></td>
165
-                        <td><img src="<?php echo SITE_DIR;?><?php echo $value->pic; ?>" style="height:30px;"></td>
166
-                        <td><?php echo $value->link; ?></td>
167
-                        <td><?php echo $value->title; ?></td>
168
-                        <td><?php echo $value->subtitle; ?></td>
169
-                        <td class="table-input">
170
-                        <input type="hidden" name="listall[]" value="<?php echo $value->id; ?>">
171
-                        <input type="text" lay-ignore class="layui-input" name="sorting[]" value="<?php echo $value->sorting; ?>">
172
-                        </td>
173
-                        <td>
174
-                            <?php echo get_btn_del($value->id);?>
175
-                            <?php echo get_btn_mod($value->id);?>
176
-                        </td>
177
-                    </tr>
178
-                    <?php } ?>
179
-                </tbody>
180
-            </table>
181
-            <button type="submit" name="submit" value="sorting" class="layui-btn layui-btn-sm">保存排序</button>
182
-            </form> 
183
-            <div class="page"><?php echo $this->getVar('pagebar');?></div>
184
-	  	</div>
185
-	  	
186
-	  	<div class="layui-tab-item">
187
-	  		<form action="<?php echo \core\basic\Url::get('/admin/Slide/add');?>" method="post" class="layui-form">
188
-	  			<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
189
-	  			<div class="layui-form-item">
190
-                     <label class="layui-form-label">分组</label>
191
-                     <div class="layui-input-block">
192
-                     	<select name="gid" >	
193
-                     		<?php $num = 0;foreach ($this->getVar('gids') as $key => $value) { $num++;?>
194
-	                			<option value="<?php echo $value; ?>" >分组<?php echo $value; ?></option>
195
-	                		<?php } ?>
196
-	                		<option value="" >自动新增分组</option>
197
-	                	</select>
198
-                     </div>
199
-                </div>
200
-                
201
-                <div class="layui-form-item">
202
-                     <label class="layui-form-label">图片</label>
203
-                     <div class="layui-input-inline">
204
-                     	<input type="text" name="pic" id="pic" required  lay-verify="required" placeholder="请上传图片"  class="layui-input">
205
-                     </div>
206
-                     <button type="button" class="layui-btn upload" data-des="pic">
207
-					 	 <i class="layui-icon">&#xe67c;</i>上传图片
208
-					 </button>
209
-					 <div id="pic_box" class="pic"></div>
210
-                </div>
211
-                
212
-                <div class="layui-form-item">
213
-                     <label class="layui-form-label">链接</label>
214
-                     <div class="layui-input-block">
215
-                     	<input type="text" name="link" placeholder="请输入跳转链接"  class="layui-input">
216
-                     </div>
217
-                </div>
218
-                
219
-                 <div class="layui-form-item">
220
-                     <label class="layui-form-label">标题</label>
221
-                     <div class="layui-input-block">
222
-                     	<input type="text" name="title" placeholder="请输入标题"  class="layui-input">
223
-                     </div>
224
-                </div>
225
-                
226
-                <div class="layui-form-item">
227
-                     <label class="layui-form-label">副标题</label>
228
-                     <div class="layui-input-block">
229
-                     	<input type="text" name="subtitle" placeholder="请输入副标题"  class="layui-input">
230
-                     </div>
231
-                </div>
232
-                
233
-                <div class="layui-form-item">
234
-                     <label class="layui-form-label">排序</label>
235
-                     <div class="layui-input-block">
236
-                     	<input type="text" name="sorting" required lay-verify="required" value="255" placeholder="请输入排序"  class="layui-input">
237
-                     </div>
238
-                </div>
239
-                
240
-                 <div class="layui-form-item">
241
-					 <div class="layui-input-block">
242
-					    <button class="layui-btn" lay-submit>立即提交</button>
243
-					    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
244
-					 </div>
245
-				</div>
246
-	  		</form>
247
-	  	</div>
248
-	  </div>
249
-	</div>
250
-	<?php } ?> 
251
-	
252
-	<?php if ($this->getVar('mod')) {?>
253
-	<div class="layui-tab layui-tab-brief" lay-filter="tab">
254
-	  <ul class="layui-tab-title">
255
-	    <li class="layui-this">幻灯片修改</li>
256
-	  </ul>
257
-	  <div class="layui-tab-content">
258
-	  	<div class="layui-tab-item layui-show">
259
-	  		<form action="<?php echo \core\basic\Url::get('/admin/Slide/mod/id/'.get('id').'');?><?php echo $this->getVar('backurl');?>" method="post" class="layui-form">
260
-	  			<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" > 
261
-	  			
262
-                <div class="layui-form-item">
263
-                     <label class="layui-form-label">分组</label>
264
-                     <div class="layui-input-block">
265
-                     	<input type="text" name="gid" required  lay-verify="required" value="<?php echo @$this->getVar('slide')->gid;?>" placeholder="请输入分组"  class="layui-input">
266
-                     </div>
267
-                </div>
268
-                
269
-                <div class="layui-form-item">
270
-                     <label class="layui-form-label">图片</label>
271
-                     <div class="layui-input-inline">
272
-                     	<input type="text" name="pic" id="pic" required  lay-verify="required" value="<?php echo @$this->getVar('slide')->pic;?>" placeholder="请上传图片"  class="layui-input">
273
-                     </div>
274
-                     <button type="button" class="layui-btn upload" data-des="pic">
275
-					 	 <i class="layui-icon">&#xe67c;</i>上传图片
276
-					 </button>
277
-					 <div id="pic_box" class="pic"><?php if ($this->getVar('slide')->pic) {?><dl><dt><img src="<?php echo SITE_DIR;?><?php echo @$this->getVar('slide')->pic;?>" data-url="<?php echo @$this->getVar('slide')->pic;?>"></dt><dd>删除</dd></dl><?php } ?></div>
278
-                </div>
279
-                
280
-                <div class="layui-form-item">
281
-                     <label class="layui-form-label">跳转链接</label>
282
-                     <div class="layui-input-block">
283
-                     	<input type="text" name="link" value="<?php echo @$this->getVar('slide')->link;?>"  placeholder="请输入跳转链接"  class="layui-input">
284
-                     </div>
285
-                </div>
286
-                
287
-                <div class="layui-form-item">
288
-                     <label class="layui-form-label">标题</label>
289
-                     <div class="layui-input-block">
290
-                     	<input type="text" name="title" value="<?php echo @$this->getVar('slide')->title;?>" placeholder="请输入标题"  class="layui-input">
291
-                     </div>
292
-                </div>
293
-                
294
-                 <div class="layui-form-item">
295
-                     <label class="layui-form-label">副标题</label>
296
-                     <div class="layui-input-block">
297
-                     	<input type="text" name="subtitle" value="<?php echo @$this->getVar('slide')->subtitle;?>" placeholder="请输入副标题"  class="layui-input">
298
-                     </div>
299
-                </div>
300
-                
301
-                 <div class="layui-form-item">
302
-                     <label class="layui-form-label">排序</label>
303
-                     <div class="layui-input-block">
304
-                     	<input type="text" name="sorting" required lay-verify="required" value="<?php echo @$this->getVar('slide')->sorting;?>" placeholder="请输入排序"  class="layui-input">
305
-                     </div>
306
-                </div>
307
-                
308
-                 <div class="layui-form-item">
309
-					 <div class="layui-input-block">
310
-					    <button class="layui-btn" lay-submit>立即提交</button>
311
-					    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
312
-					    <?php echo get_btn_back();?>
313
-					 </div>
314
-				</div>
315
-	  		</form>
316
-	  	</div>
317
-	  </div>
318
-	</div>
319
-	<?php } ?> 
320
-
321
-</div>
322
-<input type="hidden" id="do_check" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/check');?>">
323
-<input type="hidden" id="do_down" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/down');?>">
324
-<input type="hidden" id="do_update" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/update');?>">
325
-<input type="hidden" id="check_version" data-url="/index.php?p=upgrade/check&version=<?php echo APP_VERSION;?>.<?php echo RELEASE_TIME;?>.<?php echo $this->getVar('revise');?>&branch=<?php echo $this->getVar('branch');?>&snuser=<?php echo $this->getVar('snuser');?>&site=<?php echo $this->getVar('site');?>">
326
-<input type="hidden" id="check_cache" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/checkCache');?>">
327
-</div>
328
-
329
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
330
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
331
-<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
332
-
333
-<script type="text/javascript" src="https://www.pbootcms.com/res/v1/js/update.js?v=v3.1.3" ></script>
334
-<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
335
-<!--[if lt IE 9]>
336
-  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
337
-  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
338
-<![endif]-->
339
-
340
-</body>
341
-</html>
342
-
343
-<?php return array (
344
-  0 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/head.html',
345
-  1 => 'H:/phpEnv/www/tyqngp.cn/www.tyqngp.cn_JLmEc/www.tyqngp.cn/apps/admin/view/default/common/foot.html',
346
-); ?>

+ 0
- 1148
runtime/complile/eb28e22d038912ff602d14365ee7ca01.php
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


+ 18
- 4
template/dafeult/index.html Прегледај датотеку

@@ -1,14 +1,27 @@
1
+
2
+{pboot:sql sql="select * from ay_site where id=1"}
3
+
4
+{pboot:titlereplace title='[sql:title]'}
5
+
6
+{/pboot:sql}
7
+
1 8
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 9
 <html xmlns="http://www.w3.org/1999/xhtml">
3 10
 <head>
11
+
12
+  <title>{pboot:sitetitle}</title>
13
+  <meta name="keywords" content="{pboot:sitekeywords}">
14
+  <meta name="description" content="{pboot:sitedescription}">
15
+
4 16
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 17
 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
6 18
 <meta http-equiv="Cache-Control" content="no-transform" />
7 19
 <meta http-equiv="Cache-Control" content="no-siteapp" />
8
-<title>{pboot:sitetitle}</title>
9
-<meta name="keywords" content="{pboot:sitekeywords}">
10
-<meta name="description" content="{pboot:sitedescription}">
11
-<meta name="author" content="BONGPHP">
20
+
21
+<meta name="author" content="">
22
+
23
+
24
+
12 25
 <link href="{pboot:sitedomain}/skin/css/style.css" rel="stylesheet" media="screen" type="text/css" />
13 26
 <link href="{pboot:sitedomain}/skin/css/iconfont.css" rel="stylesheet" media="screen" type="text/css" />
14 27
 <script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery1.42.min.js"></script>
@@ -16,6 +29,7 @@
16 29
 </head>
17 30
 <body>
18 31
 {include file=head.html}
32
+
19 33
 <!--焦点图-->
20 34
 <div id="slideBox" class="slideBox">
21 35
   <div class="hd">

Loading…
Откажи
Сачувај