瀏覽代碼

Merge branch 'develop' of zhengxifeng/tyqngp into master

zhengxifeng 3 月之前
父節點
當前提交
bbd0ff950f
共有 100 個文件被更改,包括 546 次插入18702 次删除
  1. 6
    0
      .gitignore
  2. 31
    2
      apps/admin/controller/content/LinkController.php
  3. 8
    2
      apps/admin/controller/system/CityController.php
  4. 44
    2
      apps/admin/model/content/LinkModel.php
  5. 77
    4
      apps/admin/view/default/content/link.html
  6. 26
    0
      apps/admin/view/default/system/city.html
  7. 26
    0
      apps/common/HomeController.php
  8. 5
    0
      apps/common/function.php
  9. 70
    13
      apps/home/controller/IndexController.php
  10. 194
    3
      apps/home/controller/ParserController.php
  11. 18
    0
      apps/home/model/ParserModel.php
  12. 7
    1
      config/config.php
  13. 0
    25
      config/database.php
  14. 5
    5
      core/convention.php
  15. 7
    0
      core/function/helper.php
  16. 二進制
      data/70b444c71e1a9b21789f2102c17ac7fc - 副本.db
  17. 二進制
      data/70b444c71e1a9b21789f2102c17ac7fc.db
  18. 0
    1
      data/city.lock
  19. 0
    1980
      data/main.sql
  20. 0
    1792
      data/main2.sql
  21. 0
    1792
      data/main3.sql
  22. 二進制
      favicon.ico
  23. 22
    1
      git.txt
  24. 0
    1
      runtime/archive/session_ticket.php
  25. 0
    622
      runtime/complile/2b6c3d1befb5e400d535b28992aa01b5.php
  26. 0
    488
      runtime/complile/34c1c35b9c8ca28055eed87583fd1ffd.php
  27. 0
    306
      runtime/complile/3aa29999765d6802695dcc94ed33e359.php
  28. 0
    266
      runtime/complile/5113c69d1be1d7e5c85751d4516a8fbe.php
  29. 0
    1013
      runtime/complile/6ac9325705ab24d7ffc1ad7a9578e071.php
  30. 0
    346
      runtime/complile/da4b6ba3fac9c4f9e7c09d810e180c42.php
  31. 0
    1148
      runtime/complile/eb28e22d038912ff602d14365ee7ca01.php
  32. 0
    81
      runtime/config/2245023265ae4cf87d02c8b6ba991139.php
  33. 0
    20
      runtime/config/4b82677b6c1408df4be21ada9a584fde.php
  34. 0
    8723
      runtime/config/4ed5d2eaed1a1fadcc41ad1d58ed603e.php
  35. 0
    1
      runtime/session/0/sess_003fc0n7gsqf7f1fd5v0qrptbh
  36. 0
    1
      runtime/session/0/sess_09d049uav28gvngv762pcvimhd
  37. 0
    1
      runtime/session/0/sess_0c9tqrfuplo2ofgd2otiv3dg6e
  38. 0
    1
      runtime/session/0/sess_0d0i3p0ijrpq0of18sdpjln2l4
  39. 0
    1
      runtime/session/0/sess_0dmahdi0lt7lbkoo87u6ofnei0
  40. 0
    1
      runtime/session/0/sess_0msh96jm7jg8n5cd97oh5fi9q9
  41. 0
    1
      runtime/session/0/sess_0pm93t9p1v8aip77l44nnpjhte
  42. 0
    1
      runtime/session/0/sess_0tc4pvq2lv761m5nmue8c6vk29
  43. 0
    1
      runtime/session/1/sess_1mlcg2nb5qnvefkbul8kqrtdqm
  44. 0
    1
      runtime/session/1/sess_1nuiasq5fservngmdo5g48ti4i
  45. 0
    1
      runtime/session/2/sess_25hkn54dvgvinj175pbdvcj67o
  46. 0
    1
      runtime/session/2/sess_2oohikb3n38ite6c3mjnj6kh3s
  47. 0
    1
      runtime/session/2/sess_2phv7e9eq1vstgo77ra69nucb2
  48. 0
    1
      runtime/session/2/sess_2v12qjef2cdjco3oobi9kideg5
  49. 0
    1
      runtime/session/3/sess_310c3hj0dp8jgmugfut3unh83a
  50. 0
    1
      runtime/session/3/sess_353mm0m4ikd11mg0aqa539dq89
  51. 0
    1
      runtime/session/3/sess_36hg578unoahu3bss4el90rn2d
  52. 0
    1
      runtime/session/4/sess_455j6l75msa1ra1ssvaim3c5bd
  53. 0
    1
      runtime/session/4/sess_457uggrrgflnq5f6qj76ecdn67
  54. 0
    1
      runtime/session/4/sess_4cknfngodb0d4teul10c0kq0ir
  55. 0
    1
      runtime/session/4/sess_4d9mn9m3imdo43v0tk95ojcsi5
  56. 0
    1
      runtime/session/4/sess_4g4rej51hl0f3ofd9fc3ohdplj
  57. 0
    1
      runtime/session/5/sess_51slnsq5uifrpq4dpe37j54ts6
  58. 0
    1
      runtime/session/5/sess_525c9orq3feju8mdtfh7mv75j3
  59. 0
    1
      runtime/session/6/sess_608og9jufkbht03mo4ndrhi4v4
  60. 0
    1
      runtime/session/6/sess_682pqi6f4ktan6rc38cju69m50
  61. 0
    1
      runtime/session/6/sess_6cobmcinh6qfrgsemn0t6m1fnh
  62. 0
    1
      runtime/session/6/sess_6dakgt2m8u7vfnms98qs1rpequ
  63. 0
    1
      runtime/session/6/sess_6hks90451srj3ddjtaup0qq22l
  64. 0
    1
      runtime/session/6/sess_6l8v1598keahbdt638fnhmn0ag
  65. 0
    1
      runtime/session/7/sess_71u159e1e7d4f646euecai2cnc
  66. 0
    1
      runtime/session/7/sess_7s2hqe8qte1olmekpj8cbrfurn
  67. 0
    1
      runtime/session/8/sess_85vo4phgaubc78r8bv5jn5uvi6
  68. 0
    1
      runtime/session/8/sess_86q5ebhij4v655b4avst6k2m5u
  69. 0
    1
      runtime/session/8/sess_8g0f0so3tfkj9fl598anlkmvhq
  70. 0
    1
      runtime/session/8/sess_8onorcqnu42jk0i4s5qqu1vmm5
  71. 0
    1
      runtime/session/8/sess_8s6e19ql4e6oueenmb3a9ume5g
  72. 0
    1
      runtime/session/9/sess_946h6aerpu1e92pqv1h65dm5mk
  73. 0
    1
      runtime/session/9/sess_9d4c33tn43snmnct8kf0nvk7ea
  74. 0
    1
      runtime/session/9/sess_9k43b52c9jk0drcmis8g855opa
  75. 0
    1
      runtime/session/9/sess_9lqhv1j84duii3alo6ia0tu6gh
  76. 0
    1
      runtime/session/9/sess_9q94hv47o4s5gv4v662o7i5gos
  77. 0
    1
      runtime/session/9/sess_9s7o4v0bm1efc0trpbg1tf0hhp
  78. 0
    1
      runtime/session/a/sess_a05cld341lmm2uhnhb8ic2a2hc
  79. 0
    1
      runtime/session/a/sess_a5fivqgp4bkgmeevu577vu6hfc
  80. 0
    1
      runtime/session/a/sess_a5ihum4haa1ceia3gj7saekknc
  81. 0
    1
      runtime/session/a/sess_aee4kot6hsog1g5lsuomjamlsn
  82. 0
    1
      runtime/session/a/sess_atcatjfb9hkgeq5i7ngfj42kup
  83. 0
    1
      runtime/session/a/sess_atj0gofnmdktjp52j1uj33thjv
  84. 0
    1
      runtime/session/b/sess_bct8b2ik150fsfl1dpqc1gj044
  85. 0
    1
      runtime/session/b/sess_bg178m006p63udguf54qqgj9rv
  86. 0
    1
      runtime/session/b/sess_bivlioqkg7c9ph2c0gaigfd8ue
  87. 0
    1
      runtime/session/b/sess_bv6t95k430pfmh3b7ifcvh34tu
  88. 0
    1
      runtime/session/c/sess_c9qjp0focfsbl0lac62tagniug
  89. 0
    1
      runtime/session/c/sess_cdcsb8otr2o42q2462oc81oul1
  90. 0
    1
      runtime/session/c/sess_curqd10f4duvabvf1c0ojjcqah
  91. 0
    1
      runtime/session/d/sess_d2k09b42vpu2vpv3j47c41bnvt
  92. 0
    1
      runtime/session/d/sess_da7h1u42q5q2cfm15a30d68mqj
  93. 0
    1
      runtime/session/d/sess_dasncpnd0eiqjo1rjru0899j6l
  94. 0
    1
      runtime/session/d/sess_dcbp4jpf6l7r4iv26ufu22trp7
  95. 0
    1
      runtime/session/d/sess_di4k193ihj0a30kcp7shorhor6
  96. 0
    1
      runtime/session/d/sess_dij0sfaq8d3rklkasv2cblbtff
  97. 0
    1
      runtime/session/d/sess_dvefq7dop2rus3eq5g2b3as20t
  98. 0
    1
      runtime/session/e/sess_e0ddbk0q4t5q7v5bnef0vpb4hh
  99. 0
    1
      runtime/session/e/sess_e12s4i0me30gpk3uf8gd1f3msk
  100. 0
    0
      runtime/session/e/sess_e4rnqg7cvapnlh2q0rqm0k2id4

+ 6
- 0
.gitignore 查看文件

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

+ 31
- 2
apps/admin/controller/content/LinkController.php 查看文件

@@ -24,6 +24,11 @@ class LinkController extends Controller
24 24
     // 友情链接列表
25 25
     public function index()
26 26
     {
27
+        //调用城市
28
+        $city_list = $this->model->getCity();
29
+        //var_dump($city_list);
30
+        $this->assign('city_list', $city_list);
31
+
27 32
         if ((! ! $id = get('id', 'int')) && $result = $this->model->getLink($id)) {
28 33
             $this->assign('more', true);
29 34
             $this->assign('link', $result);
@@ -50,7 +55,13 @@ class LinkController extends Controller
50 55
             $link = post('link');
51 56
             $logo = post('logo');
52 57
             $sorting = post('sorting');
53
-            
58
+            $city = post('city');
59
+
60
+
61
+            //查询城市名称
62
+            $cityName = $this->model->getCityName($city);
63
+
64
+
54 65
             if (! $gid) {
55 66
                 $gid = $this->model->getMaxGid() + 1;
56 67
             }
@@ -79,6 +90,8 @@ class LinkController extends Controller
79 90
                 'name' => $name,
80 91
                 'link' => $link,
81 92
                 'logo' => $logo,
93
+                'city' => $city,
94
+                'csm' => $cityName,
82 95
                 'sorting' => $sorting,
83 96
                 'create_user' => session('username'),
84 97
                 'update_user' => session('username')
@@ -160,7 +173,11 @@ class LinkController extends Controller
160 173
             $link = post('link');
161 174
             $logo = post('logo');
162 175
             $sorting = post('sorting');
163
-            
176
+            $city = post('city');
177
+
178
+            //查询城市名称
179
+            $cityName = $this->model->getCityName($city);
180
+
164 181
             if (! $gid) {
165 182
                 $gid = $this->model->getMaxGid() + 1;
166 183
             }
@@ -184,6 +201,8 @@ class LinkController extends Controller
184 201
                 'name' => $name,
185 202
                 'link' => $link,
186 203
                 'logo' => $logo,
204
+                'city' => $city,
205
+                'csm' => $cityName,
187 206
                 'sorting' => $sorting,
188 207
                 'update_user' => session('username')
189 208
             );
@@ -200,11 +219,21 @@ class LinkController extends Controller
200 219
                 location(- 1);
201 220
             }
202 221
         } else {
222
+
223
+
224
+
203 225
             // 调取修改内容
204 226
             $this->assign('mod', true);
205 227
             if (! $result = $this->model->getLink($id)) {
206 228
                 error('编辑的内容已经不存在!', - 1);
207 229
             }
230
+
231
+            //var_dump($result);
232
+            //调用城市
233
+            $city_list = $this->model->getCity($result->city);
234
+            //var_dump($city_list);
235
+            $this->assign('city_list', $city_list);
236
+
208 237
             $this->assign('gids', $this->model->getGid());
209 238
             $this->assign('link', $result);
210 239
             $this->display('content/link.html');

+ 8
- 2
apps/admin/controller/system/CityController.php 查看文件

@@ -78,6 +78,7 @@ class CityController extends Controller
78 78
                 $mutietitle = post('mutietitle');
79 79
                 $mutietitle = str_replace(',', ',', $mutietitle);
80 80
                 $pid = post('pid', 'int');
81
+                $logo = post('logo');
81 82
                 if (! $mutititle) {
82 83
                     alert_back('城市名称不能为空!');
83 84
                 }
@@ -109,6 +110,7 @@ class CityController extends Controller
109 110
                         'email' => '',
110 111
                         'qq' => '',
111 112
                         'address' => '',
113
+                        'logo' => $logo
112 114
                     );
113 115
                 }
114 116
             }else{
@@ -122,6 +124,7 @@ class CityController extends Controller
122 124
                 $seo_title = post('seo_title');
123 125
                 $seo_keywords = post('seo_keywords');
124 126
                 $seo_description = post('seo_description');
127
+                $logo = post('logo');
125 128
 
126 129
                 $contact = post('contact');
127 130
                 $mobile = post('mobile');
@@ -159,7 +162,8 @@ class CityController extends Controller
159 162
                     'fax' => $fax,
160 163
                     'email' => $email,
161 164
                     'qq' => $qq,
162
-                    'address' => $address
165
+                    'address' => $address,
166
+                    'logo' => $logo
163 167
                 );
164 168
             }
165 169
             // 执行添加
@@ -229,6 +233,7 @@ class CityController extends Controller
229 233
             $email = post('email');
230 234
             $qq = post('qq');
231 235
             $address = post('address');
236
+            $logo = post('logo');
232 237
 
233 238
             if($id==$pid){
234 239
                 alert_back('区域混乱啦!');
@@ -256,7 +261,8 @@ class CityController extends Controller
256 261
                 'fax' => $fax,
257 262
                 'email' => $email,
258 263
                 'qq' => $qq,
259
-                'address' => $address
264
+                'address' => $address,
265
+                'logo' => $logo
260 266
             );
261 267
             // 执行添加
262 268
             if ($this->model->modCity($id, $data)) {

+ 44
- 2
apps/admin/model/content/LinkModel.php 查看文件

@@ -17,7 +17,7 @@ class LinkModel extends Model
17 17
     public function getList()
18 18
     {
19 19
         return parent::table('ay_link')->where("acode='" . session('acode') . "'")
20
-            ->order('gid asc,sorting asc,id asc')
20
+            ->order('city asc,gid asc,sorting asc,id asc')
21 21
             ->page()
22 22
             ->select();
23 23
     }
@@ -27,7 +27,7 @@ class LinkModel extends Model
27 27
     {
28 28
         return parent::table('ay_link')->where("acode='" . session('acode') . "'")
29 29
             ->like($field, $keyword)
30
-            ->order('gid asc,sorting asc,id asc')
30
+            ->order('city asc,gid asc,sorting asc,id asc')
31 31
             ->page()
32 32
             ->select();
33 33
     }
@@ -82,4 +82,46 @@ class LinkModel extends Model
82 82
     {
83 83
         return parent::table('ay_link')->column('logo');
84 84
     }
85
+
86
+    /*
87
+     * 调用所有城市列表
88
+     */
89
+    public function getCity($cid=0){
90
+        $ids = parent::table('ay_city')->where("pid=0")->column('id');
91
+        $is = '-1';
92
+        foreach ($ids as $k=>$v){
93
+            $is = $is.','.$v;
94
+        }
95
+        $list = parent::table('ay_city')->where("id IN(1,2,9,22) OR pid IN($is)")->order("etitle ASC")->select();;
96
+        //return $list;
97
+
98
+        // 将结果转换为数组
99
+        $dataArray = [];
100
+        foreach ($list as $row) {
101
+            $dataArray[] = (array)$row;
102
+        }
103
+
104
+        $data = [];
105
+        foreach($dataArray as $k=>$v){
106
+            $str = $v['etitle'];
107
+            $zm = $str[0];
108
+            if((int)$cid === (int)$v['id']){
109
+                $v['selected'] = 1;
110
+            }else{
111
+                $v['selected'] = 0;
112
+            }
113
+            $data[$zm][] = $v;
114
+        }
115
+        return $data;
116
+
117
+    }
118
+
119
+    public function getCityName($id){
120
+        if($id > 0){
121
+            return parent::table('ay_city')->where("id=$id")->value('title');
122
+        }else{
123
+            return "全国";
124
+        }
125
+    }
126
+
85 127
 }

+ 77
- 4
apps/admin/view/default/content/link.html 查看文件

@@ -15,6 +15,7 @@
15 15
 	  			<thead>
16 16
                     <tr>
17 17
                     	<th>分组(gid)</th>
18
+                        <th>城市</th>
18 19
                         <th>名称</th>
19 20
                         <th>链接</th>
20 21
                         <th>Logo</th>
@@ -26,6 +27,7 @@
26 27
                     {foreach $links(key,value)}
27 28
                     <tr>
28 29
                     	<td>[value->gid]</td>
30
+                        <td>[value->csm]</td>
29 31
                         <td>[value->name]</td>
30 32
                         <td>[value->link]</td>
31 33
                         <td><img src="{SITE_DIR}[value->logo]" style="height:20px;"></td>
@@ -51,15 +53,48 @@
51 53
 	  		 	<div class="layui-form-item">
52 54
                      <label class="layui-form-label">分组</label>
53 55
                      <div class="layui-input-block">
54
-                     	<select name="gid">	
56
+                     	<select name="gid">
57
+
58
+
55 59
                      		{foreach $gids(key,value)}
56 60
 	                			<option value="[value]" >分组[value]</option>
57 61
 	                		{/foreach}
62
+
63
+
58 64
 	                		<option value="" >自动新增分组</option>
59 65
 	                	</select>
60 66
                      </div>
61 67
                 </div>
62
-                
68
+
69
+
70
+
71
+
72
+
73
+                 <div class="layui-form-item">
74
+                     <label class="layui-form-label">城市</label>
75
+                     <div class="layui-input-block">
76
+                         <select name="city" id="city">
77
+                             <option value="0">全国</option>
78
+                             {foreach $city_list(key,value)}
79
+                             <optgroup label="[key]">
80
+                             {php}
81
+                             foreach($value as $k2=>$v2){
82
+                             echo '<option value="'.$v2['id'].'" >'.$v2['title'].'</option>';
83
+                             }
84
+                             {/php}
85
+                             {/foreach}
86
+                             </optgroup>
87
+                         </select>
88
+                     </div>
89
+                 </div>
90
+
91
+                 <style>
92
+                     .layui-form-select dl{
93
+                         z-index: 9999;
94
+                         max-height: 450px;
95
+                     }
96
+                </style>
97
+
63 98
                  <div class="layui-form-item">
64 99
                      <label class="layui-form-label">名称</label>
65 100
                      <div class="layui-input-block">
@@ -120,8 +155,46 @@
120 155
                      	<input type="text" name="gid" required  lay-verify="required" value="{$link->gid}" placeholder="请输入分组"  class="layui-input">
121 156
                      </div>
122 157
                 </div>
123
-                
124
-                <div class="layui-form-item">
158
+
159
+                 {php}
160
+                    //var_dump($link->city);
161
+                    //var_dump($link);
162
+                    //$link->city
163
+                 {/php}
164
+
165
+                 <div class="layui-form-item">
166
+                     <label class="layui-form-label">城市</label>
167
+                     <div class="layui-input-block">
168
+                         <select name="city" id="city">
169
+                             <option value="0">全国</option>
170
+                             {foreach $city_list(key,value)}
171
+                             <optgroup label="[key]">
172
+                                 {php}
173
+                                 foreach($value as $k2=>$v2){
174
+                                 if($v2['selected'] === 1){
175
+                                    $cur = 'selected';
176
+                                 }else{
177
+                                    $cur = '';
178
+                                 }
179
+                                 echo '<option value="'.$v2['id'].'" '.$cur.'>'.$v2['title'].'</option>';
180
+                                 }
181
+                                 {/php}
182
+                                 {/foreach}
183
+                             </optgroup>
184
+                         </select>
185
+                     </div>
186
+                 </div>
187
+
188
+                 <style>
189
+                     .layui-form-select dl{
190
+                         z-index: 9999;
191
+                         max-height: 450px;
192
+                     }
193
+                 </style>
194
+
195
+
196
+
197
+                 <div class="layui-form-item">
125 198
                      <label class="layui-form-label">名称</label>
126 199
                      <div class="layui-input-block">
127 200
                      	<input type="text" name="name" required  lay-verify="required" value="{$link->name}" placeholder="请输入名称"  class="layui-input">

+ 26
- 0
apps/admin/view/default/system/city.html 查看文件

@@ -108,6 +108,19 @@
108 108
                             <input type="text" name="etitle" placeholder="请输入城市拼音" class="layui-input">
109 109
                         </div>
110 110
                     </div>
111
+
112
+                            <div class="layui-form-item">
113
+                                <label class="layui-form-label">城市LOGO</label>
114
+                                <div class="layui-input-inline">
115
+                                    <input type="text" name="logo" id="logo" value="{$sites->logo}" placeholder="请上传城市LOGO图"  class="layui-input">
116
+                                </div>
117
+                                <button type="button" class="layui-btn upload" data-des="logo">
118
+                                    <i class="layui-icon">&#xe67c;</i>上传图片
119
+                                </button>
120
+                                <div id="logo_box" class="pic"><dl><dt>{if(@[$sites->logo])}<img src="{SITE_DIR}{$sites->logo}" data-url="{$sites->logo}"></dt><dd>删除</dd></dl>{/if}</div>
121
+                            </div>
122
+
123
+
111 124
                     <div class="layui-form-item">
112 125
                         <label class="layui-form-label">参数</label>
113 126
                         <div class="layui-input-block">
@@ -236,6 +249,19 @@
236 249
                                         <input type="text" name="etitle" required lay-verify="required" value="{$city->etitle}" placeholder="请输入城市英文城市名称" class="layui-input">
237 250
                                     </div>
238 251
                                 </div>
252
+
253
+                            <div class="layui-form-item">
254
+                                <label class="layui-form-label">城市LOGO</label>
255
+                                <div class="layui-input-inline">
256
+                                    <input type="text" name="logo" id="logo" value="{$city->logo}" placeholder="请上传城市LOGO图"  class="layui-input">
257
+                                </div>
258
+                                <button type="button" class="layui-btn upload" data-des="logo">
259
+                                    <i class="layui-icon">&#xe67c;</i>上传图片
260
+                                </button>
261
+                                <div id="logo_box" class="pic"><dl><dt>{if(@[$city->logo])}<img src="{SITE_DIR}{$city->logo}" data-url="{$city->logo}"></dt><dd>删除</dd></dl>{/if}</div>
262
+                            </div>
263
+
264
+
239 265
                                 <div class="layui-form-item">
240 266
                                     <label class="layui-form-label">参数</label>
241 267
                                     <div class="layui-input-block">

+ 26
- 0
apps/common/HomeController.php 查看文件

@@ -10,12 +10,15 @@ namespace app\common;
10 10
 
11 11
 use core\basic\Controller;
12 12
 use core\basic\Config;
13
+use app\home\model\ParserModel;
13 14
 
14 15
 class HomeController extends Controller
15 16
 {
16 17
 
17 18
     public function __construct()
18 19
     {
20
+        $this->model = new ParserModel();
21
+
19 22
         // 自动缓存基础信息
20 23
         cache_config();
21 24
         
@@ -100,6 +103,29 @@ class HomeController extends Controller
100 103
                 cookie('city',$this->config('firstcity'));
101 104
             }else{
102 105
                 cookie('city',$domain_first);
106
+                //var_dump($domain_first);
107
+                //设置新的cookie 城市id
108
+                //$cityid = 1;
109
+                $cityid = $this->model->getCityId($domain_first);
110
+                if(empty($cityid)){
111
+                    $cityid = 0;
112
+                }
113
+                //var_dump($cityid);
114
+                cookie('city_id',$cityid);
115
+                //模板赋值变量 用于sql 同样查询数组可循环
116
+                $this->assign('cityId',$cityid);
117
+                //测试数据
118
+                /*$testArray = [
119
+                    1,2,3,4
120
+                ];
121
+                $this->assign('testArray',$testArray);*/
122
+
123
+                //输出logo
124
+                $citylogo = $this->model->getCityLogo($domain_first);
125
+                if(empty($citylogo)){
126
+                    $citylogo = $this->model->getSiteLogo();
127
+                }
128
+                $this->assign('citylogo',$citylogo);
103 129
             }
104 130
         }else{
105 131
             $cur_city = array_filter($citys, function($t) use ($domain) { return $t['isurl'] == $domain; });

+ 5
- 0
apps/common/function.php 查看文件

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

+ 70
- 13
apps/home/controller/IndexController.php 查看文件

@@ -27,6 +27,9 @@ class IndexController extends Controller
27 27
         $this->parser = new ParserController();
28 28
         $this->model = new ParserModel();
29 29
         $this->htmldir = $this->config('tpl_html_dir') ? $this->config('tpl_html_dir') . '/' : '';
30
+
31
+        //var_dump("开始加载");
32
+
30 33
     }
31 34
 
32 35
     // 空拦截器, 实现文章路由转发
@@ -37,7 +40,8 @@ class IndexController extends Controller
37 40
         
38 41
         if (PATH) { // 采用pathinfo模式及p参数伪静态模式
39 42
             if ($url_rule_type == 2 && stripos(URL, $_SERVER['SCRIPT_NAME']) !== false) { // 禁止伪静态时带index.php访问
40
-                _404('您访问的内容不存在,请核对后重试!');
43
+                //_404('您访问的内容不存在,请核对后重试!');
44
+                _301();
41 45
             }
42 46
             $path = PATH;
43 47
         } elseif ($url_rule_type == 3 && isset($_SERVER["QUERY_STRING"]) && $qs = $_SERVER["QUERY_STRING"]) { // 采用简短传参模式
@@ -56,6 +60,7 @@ class IndexController extends Controller
56 60
         
57 61
         // 判断是否存在后缀
58 62
         $url_rule_suffix = substr($this->config('url_rule_suffix'), 1);
63
+
59 64
         $suffix = false;
60 65
         $slash = false;
61 66
         if (preg_match('/(.*)(_|\.)' . $url_rule_suffix . '$/', $path, $matchs)) {
@@ -65,11 +70,22 @@ class IndexController extends Controller
65 70
             $slash = true;
66 71
             $path = trim($path, '/');
67 72
         }
73
+
74
+        //强制忽略后缀 假设后缀是存在的
75
+        //后缀只是修饰 不存在不影响功能
76
+        //$path 存在栏目二级目录
77
+        //var_dump((int)$path);
78
+        if((int)$path > 0){
79
+            $suffix = true;
80
+        }
81
+
68 82
         $path = escape_string($path);
69 83
         $path_arr = $path ? explode('/', $path) : array();
70
-        
84
+
71 85
         // 开始路由
72 86
         if (isset($path_arr) && count($path_arr) > 0 && ( in_array('tag',$path_arr) || preg_match('/^[\w\-\/]+$/', $path)) ) {
87
+            //var_dump("存在路由");
88
+            //var_dump(strtolower($path_arr[0]));
73 89
             switch (strtolower($path_arr[0])) {
74 90
                 case 'search':
75 91
                 case 'keyword':
@@ -111,7 +127,7 @@ class IndexController extends Controller
111 127
                     $spider->index();
112 128
                     break;
113 129
                 default:
114
-                    
130
+                    //var_dump(strtolower($path_arr[0]));
115 131
                     $url_break_char = $this->config('url_break_char') ?: '_';
116 132
                     $url_rule_content_path = $this->config('url_rule_content_path') ? true : false;
117 133
                     $err = '';
@@ -125,10 +141,12 @@ class IndexController extends Controller
125 141
                         define('CMS_PAGE_CUSTOM', true); // 设置走自定义CMS分页
126 142
                         $_GET['page'] = $matchs[2]; // 设置分页参数
127 143
                     } else {
128
-                        
144
+                        //var_dump(strtolower($path_arr[0]));
129 145
                         if ($url_rule_content_path && ! ! $data = $this->model->getContent($path)) {
146
+                            //var_dump(strtolower($path_arr[0]));
130 147
                             $iscontent = true; // 短路径情况
131 148
                         } elseif (! $url_rule_content_path) {
149
+                            //var_dump(strtolower($path_arr[0]));
132 150
                             // 详情页至少是2级,对地址进行栏目和内容路径拆分,访问详情页
133 151
                             $part1 = dirname($path);
134 152
                             $part2 = basename($path);
@@ -167,6 +185,7 @@ class IndexController extends Controller
167 185
                         
168 186
                         // 执行未配置栏目名称但是配置了模型路径的情况路径匹配
169 187
                         if (! $iscontent) {
188
+                            //var_dump(strtolower($path_arr[0]));
170 189
                             preg_match('/^([a-zA-Z0-9\-\/]+)(' . $url_break_char . '([0-9]+))?' . $url_break_char . '([0-9]+)$/i', $path, $matchs);
171 190
                             if ($matchs[2] && $model = $this->model->checkModelUrlname($matchs[1])) {
172 191
                                 // 模型名称_栏目ID_分页
@@ -191,11 +210,15 @@ class IndexController extends Controller
191 210
                     }
192 211
                     
193 212
                     if ($iscontent) {
213
+                        //var_dump(strtolower($path_arr[0]));
194 214
                         define('CMS_PAGE', false); // 使用普通分页处理模型
215
+                        //var_dump($suffix);
195 216
                         if (! ! $data && $suffix && ! $err) {
196 217
                             $this->getContentPage($data);
197 218
                         } else {
198
-                            _404('您访问的内容不存在,请核对后重试!');
219
+                            //var_dump(strtolower($path_arr[0]));
220
+                            //_404('您访问的内容不存在,请核对后重试!');
221
+                            _301();
199 222
                         }
200 223
                     } else {
201 224
                         define('CMS_PAGE', true); // 使用cms分页处理模型
@@ -206,11 +229,14 @@ class IndexController extends Controller
206 229
                                 $this->getListPage($sort);
207 230
                             }
208 231
                         } else {
209
-                            _404('您访问的页面不存在,请核对后重试!');
232
+                            //_404('您访问的页面不存在,请核对后重试!');
233
+                            _301();
210 234
                         }
211 235
                     }
212 236
             }
213 237
         } else {
238
+            //var_dump("不存在路由");
239
+
214 240
             if(SITE_DIR == ''){
215 241
                 //一级目录
216 242
                 $this->urlJump($url_rule_type,false);
@@ -219,15 +245,41 @@ class IndexController extends Controller
219 245
                 $this->urlJump($url_rule_type,true);
220 246
             }
221 247
         }
248
+
249
+        //var_dump("f555e");
222 250
     }
223 251
 
224 252
     // 首页
225 253
     private function getIndexPage()
226 254
     {
227
-        $content = parent::parser($this->htmldir . 'index.html'); // 框架标签解析
228
-        $content = $this->parser->parserBefore($content); // CMS公共标签前置解析
229 255
 
230 256
         $cur_city = cookie('city');
257
+
258
+        //tyqngp
259
+        //var_dump($cur_city);
260
+        //var_dump(get_http_url());
261
+
262
+        $domain_url = get_http_url();
263
+        $ap = explode('.',$domain_url);
264
+        if($ap[1] == 'cn' || $ap[1] == 'com'){
265
+            $aps = $ap[0];
266
+            $aps = str_replace('https://', '', $aps);
267
+            $aps = str_replace('http://', '', $aps);
268
+        }else{
269
+            $aps = $ap[1];
270
+        }
271
+        //var_dump($aps);
272
+
273
+        if($cur_city == $aps){
274
+            //城市页面
275
+            $content = parent::parser($this->htmldir . 'city.html'); // 框架标签解析
276
+        }else{
277
+            //主页
278
+            $content = parent::parser($this->htmldir . 'index.html'); // 框架标签解析
279
+        }
280
+
281
+        $content = $this->parser->parserBefore($content); // CMS公共标签前置解析
282
+        
231 283
         if( !! $cur_city ){ //如果是分站
232 284
             $citys = Config::get('citys');
233 285
             $city = $citys[$cur_city];
@@ -237,7 +289,8 @@ class IndexController extends Controller
237 289
         }else{
238 290
             $content = str_replace('{pboot:pagetitle}', $this->config('index_title') ?: '{pboot:sitetitle}-{pboot:sitesubtitle}', $content);
239 291
         }
240
-        
292
+
293
+
241 294
         $content = $this->parser->parserPositionLabel($content, - 1, '首页', SITE_INDEX_DIR . '/'); // CMS当前位置标签解析
242 295
         $content = $this->parser->parserSpecialPageSortLabel($content, 0, '', SITE_INDEX_DIR . '/'); // 解析分类标签
243 296
         $content = $this->parser->parserAfter($content); // CMS公共标签后置解析
@@ -297,7 +350,8 @@ class IndexController extends Controller
297 350
                 error('请到后台设置分类栏目内容页模板!');
298 351
             }
299 352
         } else {
300
-            _404('您访问内容的分类已经不存在,请核对后再试!');
353
+            //_404('您访问内容的分类已经不存在,请核对后再试!');
354
+            _301();
301 355
         }
302 356
         $this->cache($content, true);
303 357
     }
@@ -312,7 +366,8 @@ class IndexController extends Controller
312 366
         
313 367
         // 读取数据
314 368
         if (! $data = $this->model->getAbout($sort->scode)) {
315
-            _404('您访问的内容不存在,请核对后重试!');
369
+            //_404('您访问的内容不存在,请核对后重试!');
370
+            _301();
316 371
         }
317 372
         
318 373
         if ($sort->contenttpl) {
@@ -441,7 +496,8 @@ class IndexController extends Controller
441 496
             } else {
442 497
                 //读取后台首页404访问配置
443 498
                 if($this->config('url_index_404') == 1){
444
-                    _404('您访问的页面不存在,请核对后重试!');
499
+                   // _404('您访问的页面不存在,请核对后重试!');
500
+                    _301();
445 501
                 }
446 502
                 header("Location: " . $http . $_SERVER['HTTP_HOST'] . $matches1[0], true, 301);
447 503
             }
@@ -449,7 +505,8 @@ class IndexController extends Controller
449 505
             if( file_exists(ROOT_PATH . '/data/city.lock') ){
450 506
                 $this->getIndexPage();
451 507
             }else{
452
-                _404('您访问的页面不存在,请核对后重试!');
508
+                //_404('您访问的页面不存在,请核对后重试!');
509
+                _301();
453 510
             }
454 511
         }
455 512
     }

+ 194
- 3
apps/home/controller/ParserController.php 查看文件

@@ -78,6 +78,9 @@ 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); // 通用内容替换标签  这里是我新增的
82
+        $content = $this->parserBLock($content); //自定义方法2
83
+        $content = $this->parserForeachLabel($content); // 指定随意内容按条件遍
81 84
 
82 85
         // 解析个人扩展标签,升级不覆盖
83 86
         if (file_exists(APP_PATH . '/home/controller/ExtLabelController.php')) {
@@ -90,6 +93,183 @@ class ParserController extends Controller
90 93
         return $content;
91 94
     }
92 95
 
96
+    // 解析指定随意内容遍历,支持设定分隔符 @pbhtml
97
+    /*
98
+     * foreach标签无法匹配成功
99
+     * 模板代码不要有php原生 因为无法与标签传值
100
+     * 复制link标签  加上city_id 的手法 就可以了
101
+     */
102
+    public function parserForeachLabel($content)
103
+    {
104
+        $pattern = '/{pboot:foreach(s+[^}]+)?}([sS]*?){/pboot:foreach}/';
105
+        $pattern2 = '/[foreach:([w]+)(s+[^]]+)?]/';
106
+
107
+        if (preg_match_all($pattern, $content, $matches)) {
108
+            $count = count($matches[0]);
109
+            for ($i = 0; $i<$count; $i ++) {
110
+                // 获取调节参数
111
+                $params = $this->parserParam($matches[1][$i]);
112
+                $str = '';
113
+                $char = ',';
114
+
115
+                if (! self::checkLabelLevel($params)) {
116
+                    $content = str_replace($matches[0][$i], '', $content);
117
+                    continue;
118
+                }
119
+
120
+                // 分离参数
121
+                foreach ($params as $key => $value) {
122
+                    switch ($key) {
123
+                        case 'num':
124
+                            $num = $value;
125
+                            break;
126
+                        case 'str':
127
+                            //var_dump($value);
128
+                            $str = $value;
129
+                            break;
130
+                        case 'char':
131
+                            if ($value) $char = $value;
132
+                            break;
133
+                    }
134
+                }
135
+
136
+                // 无数据直接替换为空并跳过
137
+                if (! $str) {
138
+                    $content = str_replace($matches[0][$i], '', $content);
139
+                    continue;
140
+                }
141
+
142
+                // 匹配到内部标签
143
+                if (preg_match_all($pattern2, $matches[2][$i], $matches2)) {
144
+                    $count2 = count($matches2[0]); // 循环内的内容标签数量
145
+                } else {
146
+                    $count2 = 0;
147
+                }
148
+
149
+                $out_html = '';
150
+                $key = 1;
151
+                //$arr是数组 可以调用自定义函数或模型方法 一般直接用sql
152
+                $arr = explode($char,$str);
153
+                foreach ($arr as $value) { // 按查询图片条数循环
154
+                    $one_html = $matches[2][$i];
155
+                    for ($j = 0; $j<$count2; $j ++) { // 循环替换数据
156
+                        $params = $this->parserParam($matches2[2][$j]);
157
+                        switch ($matches2[1][$j]) {
158
+                            case 'n':
159
+                                $one_html = str_replace($matches2[0][$j], $this->adjustLabelData($params, $key) - 1, $one_html);
160
+                                break;
161
+                            case 'i':
162
+                                $one_html = str_replace($matches2[0][$j], $this->adjustLabelData($params, $key), $one_html);
163
+                                break;
164
+                            case 'name':
165
+                                $one_html = str_replace($matches2[0][$j], $this->adjustLabelData($params, $value), $one_html);
166
+                                break;
167
+                        }
168
+                    }
169
+	                $key ++;
170
+	                $out_html .= $one_html;
171
+	                if (isset($num) && $key > $num) {
172
+                        unset($num);
173
+                        break;
174
+                    }
175
+	            }
176
+                $content = str_replace($matches[0][$i], $out_html, $content);
177
+            }
178
+	    }
179
+        return $content;
180
+    }
181
+
182
+
183
+    // 通用内容替换标签 @mk-title_replace
184
+    //$content这里用的时文章标题,直接是字符串
185
+    public function parserTitleReplaceLabel($content)
186
+    {
187
+
188
+        $pattern = '/\{pboot:titlereplace(\s+[^}]+)?\}/';
189
+
190
+        //先对$content 进行处理 包含 {xx}
191
+        //{pboot:titlereplace title='{xx}心理咨询,{xx}心理医生,{xx}心理咨询中心机构【乐达心理】' /}
192
+        //因为{xx} 正则问题
193
+        $content = str_replace('{xx}', '[xx]', $content);
194
+
195
+        //var_dump($content);die;
196
+        if (preg_match_all($pattern, $content, $matches)) {
197
+            $count = count($matches[0]);
198
+            for ($i = 0; $i < $count; $i ++) {
199
+                //var_dump($matches[0][$i]);die;
200
+                $matches[0][$i] = str_replace('[xx]', '{xx}', $matches[0][$i]);
201
+                $params = $this->parserParam($matches[0][$i]);
202
+                $data = '';
203
+                foreach ($params as $key => $value) {
204
+                    switch ($key) {
205
+                        case 'title'://这里其实可以解析很多的,不只是title,可以根据case进行不同的解析
206
+                            $data = $value; // 获取到的文章title
207
+                            //$data = titlereplace($data); //testreplace方法为自定义方法,在\apps\common\function.php里
208
+                            //$data = str_replace("`", '', $data);
209
+                            //var_dump($data);die;
210
+                            $data = explode(',',$data);
211
+                            $data = $data[0];
212
+                            break;
213
+                    }
214
+                }
215
+                if (!$data) { // 无内容不解析
216
+                    continue;
217
+                }
218
+                //$content = str_replace($matches[0][$i], $data, $content);
219
+                //$content  {pboot:titlereplace title='广州心理咨询,广州心理医生,广州心理咨询中心机构【乐达心理】' /}
220
+                //$data '广州
221
+                //$matches[0][$i] {pboot:titlereplace title='广州
222
+                //$content = str_replace("`/}", '', $content);
223
+                $content = str_replace('[xx]', '{xx}', $content);
224
+                //var_dump($content);die;
225
+                $content = str_replace($matches[0][$i], $data, $content);
226
+            }
227
+
228
+            if((int)$count === 0){
229
+                $content = str_replace('[xx]', '{xx}', $content);
230
+            }
231
+        }else{
232
+            $content = str_replace('[xx]', '{xx}', $content);
233
+        }
234
+        return $content;
235
+    }
236
+
237
+    /*
238
+     * {pboot:block id='{pboot:httpurl}' /}
239
+     */
240
+    public function parserBLock($content){
241
+
242
+        $pattern = '/\{pboot:block(\s+[^}]+)?\}/';
243
+        if (preg_match_all($pattern, $content, $matches)) {
244
+            $count = count($matches[0]);
245
+            for ($i = 0; $i < $count; $i ++) {
246
+                $params = $this->parserParam($matches[0][$i]);
247
+                $data = '';
248
+                foreach ($params as $key => $value) {
249
+                    switch ($key) {
250
+                        case 'id':
251
+                            //var_dump($value);
252
+                            //$value里面存在{xx} 就需要特殊处理
253
+                            //解析顺序不同 与eyoucms的模板机制 区别
254
+                            $data = $this->model->getBlockContent($value);
255
+                            //return $data['value'];
256
+                            //print_r($data);exit();
257
+                            break;
258
+                        /*$data = $this->model->getContent($value)->content; // 获取到的文章id去获取文章内容
259
+                        $data = testreplace($data);*/
260
+
261
+                    }
262
+                }
263
+                if (!$data) { // 无内容不解析
264
+                    continue;
265
+                }
266
+                //$content = $data['value'];
267
+                $content = str_replace($matches[0][$i], $data, $content);
268
+            }
269
+        }
270
+        return $content;
271
+    }
272
+
93 273
     // 保存保留内容
94 274
     public function savePreLabel($content)
95 275
     {
@@ -2748,15 +2928,15 @@ class ParserController extends Controller
2748 2928
             for ($i = 0; $i < $count; $i ++) {
2749 2929
                 // 获取调节参数
2750 2930
                 $params = $this->parserParam($matches[1][$i]);
2751
-                
2931
+
2752 2932
                 if (! self::checkLabelLevel($params)) {
2753 2933
                     $content = str_replace($matches[0][$i], '', $content);
2754 2934
                     continue;
2755 2935
                 }
2756
-                
2936
+
2757 2937
                 $num = 1000; // 最大读取1000条
2758 2938
                 $sql = '';
2759
-                
2939
+                $kp = 0;
2760 2940
                 foreach ($params as $key => $value) {
2761 2941
                     switch ($key) {
2762 2942
                         case 'num':
@@ -2765,6 +2945,9 @@ class ParserController extends Controller
2765 2945
                         case 'sql':
2766 2946
                             $sql = $value;
2767 2947
                             break;
2948
+                        case 'kp':
2949
+                            $kp = $value;
2950
+                            break;
2768 2951
                     }
2769 2952
                 }
2770 2953
                 
@@ -2796,6 +2979,7 @@ class ParserController extends Controller
2796 2979
                 
2797 2980
                 $pagenum = defined('PAGE') ? PAGE : 1;
2798 2981
                 $key = ($pagenum - 1) * $num + 1;
2982
+                $a = 1;
2799 2983
                 foreach ($data as $value) { // 按查询数据条数循环
2800 2984
                     $one_html = $matches[2][$i];
2801 2985
                     for ($j = 0; $j < $count2; $j ++) { // 循环替换数据
@@ -2812,7 +2996,14 @@ class ParserController extends Controller
2812 2996
                                     $one_html = str_replace($matches2[0][$j], $this->adjustLabelData($params, $value->{$matches2[1][$j]}), $one_html);
2813 2997
                                 }
2814 2998
                         }
2999
+
3000
+                        if($kp > 0){
3001
+                            if($a%$kp == 0 && $a > 0){
3002
+                                $one_html = $one_html."<br/>";
3003
+                            }
3004
+                        }
2815 3005
                     }
3006
+                    $a++;
2816 3007
                     $key ++;
2817 3008
                     $out_html .= $one_html;
2818 3009
                 }

+ 18
- 0
apps/home/model/ParserModel.php 查看文件

@@ -10,6 +10,7 @@ namespace app\home\model;
10 10
 
11 11
 use core\basic\Model;
12 12
 
13
+
13 14
 class ParserModel extends Model
14 15
 {
15 16
 
@@ -1038,4 +1039,21 @@ class ParserModel extends Model
1038 1039
             ->where("id=$id")
1039 1040
             ->delete();
1040 1041
     }
1042
+
1043
+    public function getBlockContent($id){
1044
+        //return parent::table('ay_block')->where(['id'=>$id])->decode()->find(1);
1045
+        return '1+1';
1046
+    }
1047
+
1048
+    public function getCityId($name){
1049
+       return parent::table('ay_city')->where(['etitle'=>$name])->value('id');
1050
+    }
1051
+    public function getCityLogo($name){
1052
+        return parent::table('ay_city')->where(['etitle'=>$name])->value('logo');
1053
+    }
1054
+    public function getSiteLogo(){
1055
+        return parent::table('ay_site')->where(['id'=>1])->value('logo');
1056
+    }
1057
+
1058
+
1041 1059
 }

+ 7
- 1
config/config.php 查看文件

@@ -6,7 +6,13 @@ return array(
6 6
     
7 7
     // 授权码,多个授权码使用英文逗号隔开,如:'aaaaa,bbbbb'
8 8
     'sn' => 'F5604F3B99',
9
-    
9
+
10
+    //URL地址后缀名
11
+    'url_rule_suffix' => '.html',
12
+
13
+    //控制器返回数据输出方式
14
+    'return_data_type' => 'html',
15
+
10 16
     // 授权用户手机
11 17
     'sn_user' => '',
12 18
     

+ 0
- 25
config/database.php 查看文件

@@ -1,25 +0,0 @@
1
-<?php
2
-/**
3
- * 主数据库连接参数,未配置的参数使用框架惯性配置
4
- * 如果修改为mysql数据库,请同时修改type和dbname两个参数
5
- */
6
-return array(
7
-    
8
-    'database' => array(
9
-        
10
-        'type' => 'mysqli', // 数据库连接驱动类型: mysqli,sqlite,pdo_mysql,pdo_sqlite
11
-        
12
-        'host' => '127.0.0.1', // 数据库服务器
13
-        
14
-        'user' => 'root', // 数据库连接用户名
15
-        
16
-        'passwd' => 'Zhengwei178..', // 数据库连接密码
17
-        
18
-        'port' => '3306', // 数据库端口
19
-                          
20
-        'dbname' => 'tyqngp.cn' // 去掉注释,启用mysql数据库,注意修改前面的连接信息及type为mysqli
21
-        
22
-        //'dbname' => '/data/70b444c71e1a9b21789f2102c17ac7fc.db' // 去掉注释,启用Sqlite数据库,注意修改type为sqlite
23
-    )
24
-
25
-);

+ 5
- 5
core/convention.php 查看文件

@@ -33,10 +33,7 @@ return array(
33 33
     
34 34
     // 前台URL分隔符
35 35
     'url_break_char' => '_',
36
-    
37
-    // URL地址后缀名
38
-    'url_rule_suffix' => '.html',
39
-    
36
+
40 37
     // URL地址路由,如:// 'home/index' => 'home/index/index'
41 38
     'url_route' => array(),
42 39
     
@@ -47,7 +44,10 @@ return array(
47 44
     'tpl_dir' => array(
48 45
         'home' => '/template'
49 46
     ),
50
-    
47
+
48
+    // URL地址后缀名
49
+    'url_rule_suffix' => '.html',
50
+
51 51
     // 控制器返回数据输出方式
52 52
     'return_data_type' => 'html',
53 53
     

+ 7
- 0
core/function/helper.php 查看文件

@@ -732,6 +732,13 @@ function _404($string, $jump_url = null, $time = 2)
732 732
     }
733 733
 }
734 734
 
735
+function _301(){
736
+    $target_url = get_http_url();
737
+    header("HTTP/1.1 301 Moved Permanently");
738
+    header("Location: $target_url");
739
+    exit;
740
+}
741
+
735 742
 // php对象转为数组
736 743
 function toArray($obj){
737 744
     if($obj === null){

二進制
data/70b444c71e1a9b21789f2102c17ac7fc - 副本.db 查看文件


二進制
data/70b444c71e1a9b21789f2102c17ac7fc.db 查看文件


+ 0
- 1
data/city.lock 查看文件

@@ -1 +0,0 @@
1
-2024-08-19 21:29:54

+ 0
- 1980
data/main.sql
文件差異過大導致無法顯示
查看文件


+ 0
- 1792
data/main2.sql
文件差異過大導致無法顯示
查看文件


+ 0
- 1792
data/main3.sql
文件差異過大導致無法顯示
查看文件


二進制
favicon.ico 查看文件


+ 22
- 1
git.txt 查看文件

@@ -2,4 +2,25 @@ 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
+.gitignore规则
9
+
10
+# 忽略所有.log文件
11
+*.log
12
+# 忽略所有编译生成的.o文件
13
+*.o
14
+# 忽略名为temp的目录及其所有内容
15
+temp/
16
+# 忽略docs目录下的所有.md文件
17
+docs/*.md
18
+# 忽略所有子目录下的.txt文件
19
+**/*.txt
20
+
21
+===============================
22
+
23
+git rm -r --cached .
24
+修改 .gitignore 规则
25
+git add .
26
+git commit -m "clear cached"

+ 0
- 1
runtime/archive/session_ticket.php 查看文件

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

+ 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
- 1013
runtime/complile/6ac9325705ab24d7ffc1ad7a9578e071.php
文件差異過大導致無法顯示
查看文件


+ 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
文件差異過大導致無法顯示
查看文件


+ 0
- 81
runtime/config/2245023265ae4cf87d02c8b6ba991139.php 查看文件

@@ -1,81 +0,0 @@
1
-<?php
2
-return array (
3
-  'smtp_password' => '@Tang821329922',
4
-  'admin_check_code' => '1',
5
-  'weixin_appid' => '',
6
-  'weixin_secret' => '',
7
-  'message_send_mail' => '0',
8
-  'message_send_to' => 'gongxiangzixishi@126.com',
9
-  'api_open' => '0',
10
-  'api_auth' => '1',
11
-  'api_appid' => '',
12
-  'api_secret' => '',
13
-  'baidu_zz_token' => '',
14
-  'baidu_xzh_appid' => '',
15
-  'baidu_xzh_token' => '',
16
-  'wap_domain' => '',
17
-  'gzip' => '0',
18
-  'content_tags_replace_num' => '',
19
-  'smtp_username_test' => 'xinshijiezixishi@126.com',
20
-  'form_send_mail' => '0',
21
-  'baidu_xzh_type' => '0',
22
-  'watermark_open' => '0',
23
-  'watermark_text' => '',
24
-  'watermark_text_font' => '',
25
-  'watermark_text_size' => '20',
26
-  'watermark_text_color' => '100,100,100',
27
-  'watermark_pic' => '',
28
-  'watermark_position' => '4',
29
-  'message_verify' => '1',
30
-  'form_check_code' => '0',
31
-  'lock_count' => '5',
32
-  'lock_time' => '900',
33
-  'url_rule_type' => '2',
34
-  'message_status' => '1',
35
-  'form_status' => '1',
36
-  'tpl_html_dir' => '',
37
-  'ip_deny' => '',
38
-  'ip_allow' => '',
39
-  'close_site' => '0',
40
-  'close_site_note' => '',
41
-  'lgautosw' => '1',
42
-  'to_https' => '0',
43
-  'to_main_domain' => '0',
44
-  'main_domain' => 'www.tyqngp.cn',
45
-  'content_keyword_replace' => '',
46
-  'url_rule_sort_suffix' => '0',
47
-  'message_rqlogin' => '0',
48
-  'spiderlog' => '0',
49
-  'licensecode' => 'QUVBREYyMUU2NCw0MDczNzI1RTAyLDY3MUU5ODhGMkQsMjYwMzZBQjU5MSw3N0FGM0IwRjlFLDE3MDU3QzEyREQsMkIzOUJGNTVFRiwxQjI4MzJBNTMxLEJCODJBNkQyQzcsRjg1N0JENzlEQixCOTlEOEI5ODNFLDg1MkMyREUyMTksQ0Q0REQ3RjcyMyw1OEE5M0JC',
50
-  'url_rule_content_path' => '1',
51
-  'url_index_404' => '0',
52
-  'wildcard' => '1',
53
-  'firstcity' => '',
54
-  'open_citymap' => '1',
55
-  'register_status' => '1',
56
-  'register_type' => '1',
57
-  'register_check_code' => '1',
58
-  'register_verify' => '0',
59
-  'login_status' => '0',
60
-  'login_check_code' => '1',
61
-  'login_no_wait' => '0',
62
-  'comment_status' => '1',
63
-  'comment_anonymous' => '0',
64
-  'comment_check_code' => '1',
65
-  'comment_verify' => '1',
66
-  'register_score' => '',
67
-  'login_score' => '',
68
-  'register_gcode' => '',
69
-  'home_upload_ext' => '',
70
-  'index_title' => '',
71
-  'about_title' => '',
72
-  'list_title' => '',
73
-  'content_title' => '',
74
-  'search_title' => '',
75
-  'register_title' => '',
76
-  'login_title' => '',
77
-  'ucenter_title' => '',
78
-  'umodify_title' => '',
79
-  'other_title' => '',
80
-  'comment_send_mail' => '0',
81
-);

+ 0
- 20
runtime/config/4b82677b6c1408df4be21ada9a584fde.php 查看文件

@@ -1,20 +0,0 @@
1
-<?php
2
-return array (
3
-  'lgs' => 
4
-  array (
5
-    'cn' => 
6
-    array (
7
-      'id' => '1',
8
-      'acode' => 'cn',
9
-      'pcode' => '0',
10
-      'name' => '中文',
11
-      'domain' => '',
12
-      'is_default' => '1',
13
-      'create_user' => 'admin',
14
-      'update_user' => 'admin',
15
-      'create_time' => '2017-11-30 13:55:37',
16
-      'update_time' => '2018-04-13 11:40:49',
17
-      'theme' => 'dafeult',
18
-    ),
19
-  ),
20
-);

+ 0
- 8723
runtime/config/4ed5d2eaed1a1fadcc41ad1d58ed603e.php
文件差異過大導致無法顯示
查看文件


+ 0
- 1
runtime/session/0/sess_003fc0n7gsqf7f1fd5v0qrptbh 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_09d049uav28gvngv762pcvimhd 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_0c9tqrfuplo2ofgd2otiv3dg6e 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_0d0i3p0ijrpq0of18sdpjln2l4 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_0dmahdi0lt7lbkoo87u6ofnei0 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_0msh96jm7jg8n5cd97oh5fi9q9 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_0pm93t9p1v8aip77l44nnpjhte 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/0/sess_0tc4pvq2lv761m5nmue8c6vk29 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/1/sess_1mlcg2nb5qnvefkbul8kqrtdqm 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/1/sess_1nuiasq5fservngmdo5g48ti4i 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/2/sess_25hkn54dvgvinj175pbdvcj67o 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/2/sess_2oohikb3n38ite6c3mjnj6kh3s 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/2/sess_2phv7e9eq1vstgo77ra69nucb2 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/2/sess_2v12qjef2cdjco3oobi9kideg5 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/3/sess_310c3hj0dp8jgmugfut3unh83a
文件差異過大導致無法顯示
查看文件


+ 0
- 1
runtime/session/3/sess_353mm0m4ikd11mg0aqa539dq89 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/3/sess_36hg578unoahu3bss4el90rn2d 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/4/sess_455j6l75msa1ra1ssvaim3c5bd 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/4/sess_457uggrrgflnq5f6qj76ecdn67 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/4/sess_4cknfngodb0d4teul10c0kq0ir 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/4/sess_4d9mn9m3imdo43v0tk95ojcsi5 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/4/sess_4g4rej51hl0f3ofd9fc3ohdplj 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/5/sess_51slnsq5uifrpq4dpe37j54ts6 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/5/sess_525c9orq3feju8mdtfh7mv75j3 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/6/sess_608og9jufkbht03mo4ndrhi4v4 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/6/sess_682pqi6f4ktan6rc38cju69m50 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/6/sess_6cobmcinh6qfrgsemn0t6m1fnh 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/6/sess_6dakgt2m8u7vfnms98qs1rpequ 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/6/sess_6hks90451srj3ddjtaup0qq22l 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/6/sess_6l8v1598keahbdt638fnhmn0ag 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/7/sess_71u159e1e7d4f646euecai2cnc 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/7/sess_7s2hqe8qte1olmekpj8cbrfurn 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/8/sess_85vo4phgaubc78r8bv5jn5uvi6 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/8/sess_86q5ebhij4v655b4avst6k2m5u 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/8/sess_8g0f0so3tfkj9fl598anlkmvhq 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/8/sess_8onorcqnu42jk0i4s5qqu1vmm5 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/8/sess_8s6e19ql4e6oueenmb3a9ume5g 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/9/sess_946h6aerpu1e92pqv1h65dm5mk 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/9/sess_9d4c33tn43snmnct8kf0nvk7ea 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/9/sess_9k43b52c9jk0drcmis8g855opa 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/9/sess_9lqhv1j84duii3alo6ia0tu6gh 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/9/sess_9q94hv47o4s5gv4v662o7i5gos 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/9/sess_9s7o4v0bm1efc0trpbg1tf0hhp 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/a/sess_a05cld341lmm2uhnhb8ic2a2hc 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/a/sess_a5fivqgp4bkgmeevu577vu6hfc 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/a/sess_a5ihum4haa1ceia3gj7saekknc 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/a/sess_aee4kot6hsog1g5lsuomjamlsn 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/a/sess_atcatjfb9hkgeq5i7ngfj42kup 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/a/sess_atj0gofnmdktjp52j1uj33thjv 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/b/sess_bct8b2ik150fsfl1dpqc1gj044 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/b/sess_bg178m006p63udguf54qqgj9rv 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/b/sess_bivlioqkg7c9ph2c0gaigfd8ue 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/b/sess_bv6t95k430pfmh3b7ifcvh34tu 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/c/sess_c9qjp0focfsbl0lac62tagniug 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/c/sess_cdcsb8otr2o42q2462oc81oul1 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/c/sess_curqd10f4duvabvf1c0ojjcqah 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_d2k09b42vpu2vpv3j47c41bnvt 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_da7h1u42q5q2cfm15a30d68mqj 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_dasncpnd0eiqjo1rjru0899j6l 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_dcbp4jpf6l7r4iv26ufu22trp7 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_di4k193ihj0a30kcp7shorhor6 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_dij0sfaq8d3rklkasv2cblbtff 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/d/sess_dvefq7dop2rus3eq5g2b3as20t 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/e/sess_e0ddbk0q4t5q7v5bnef0vpb4hh 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 1
runtime/session/e/sess_e12s4i0me30gpk3uf8gd1f3msk 查看文件

@@ -1 +0,0 @@
1
-sendemail|b:0;

+ 0
- 0
runtime/session/e/sess_e4rnqg7cvapnlh2q0rqm0k2id4 查看文件


部分文件因文件數量過多而無法顯示

Loading…
取消
儲存