Your Name 2 months ago
parent
commit
af42463399

+ 1
- 1
apps/admin/model/content/LinkModel.php View File

92
         foreach ($ids as $k=>$v){
92
         foreach ($ids as $k=>$v){
93
             $is = $is.','.$v;
93
             $is = $is.','.$v;
94
         }
94
         }
95
-        $list = parent::table('ay_city')->where("id IN(1,2,9,22) OR pid IN($is)")->order("etitle ASC")->select();;
95
+        $list = parent::table('ay_city')->where("id IN(1,2,9,22) and id!=381 OR pid IN($is) and id!=381")->order("etitle ASC")->select();;
96
         //return $list;
96
         //return $list;
97
 
97
 
98
         // 将结果转换为数组
98
         // 将结果转换为数组

+ 1
- 1
apps/admin/model/system/CityModel.php View File

19
             "(select count(b.id) from ay_city b where b.pid=a.id) as count"
19
             "(select count(b.id) from ay_city b where b.pid=a.id) as count"
20
         );
20
         );
21
         $where['pid']=$pid;
21
         $where['pid']=$pid;
22
-        $result = parent::table('ay_city a')->field($field)->where($where)->order('a.sorting asc')->select();
22
+        $result = parent::table('ay_city a')->field($field)->where($where)->where('id!=381')->order('a.sorting asc')->select();
23
         return $result;
23
         return $result;
24
     }
24
     }
25
 
25
 

+ 9
- 0
apps/admin/view/default/content/link.html View File

75
                      <div class="layui-input-block">
75
                      <div class="layui-input-block">
76
                          <select name="city" id="city">
76
                          <select name="city" id="city">
77
                              <option value="0">全国</option>
77
                              <option value="0">全国</option>
78
+                             <option value="381">城市切换站</option>
78
                              {foreach $city_list(key,value)}
79
                              {foreach $city_list(key,value)}
79
                              <optgroup label="[key]">
80
                              <optgroup label="[key]">
80
                              {php}
81
                              {php}
167
                      <div class="layui-input-block">
168
                      <div class="layui-input-block">
168
                          <select name="city" id="city">
169
                          <select name="city" id="city">
169
                              <option value="0">全国</option>
170
                              <option value="0">全国</option>
171
+
172
+
173
+                             {if([$link->city] == '381')}
174
+                             <option value="381" selected>城市切换站</option>
175
+                             {else}
176
+                             <option value="381">城市切换站</option>
177
+                             {/if}
178
+
170
                              {foreach $city_list(key,value)}
179
                              {foreach $city_list(key,value)}
171
                              <optgroup label="[key]">
180
                              <optgroup label="[key]">
172
                                  {php}
181
                                  {php}

+ 4
- 2
apps/admin/view/default/system/config.html View File

174
 		                
174
 		                
175
 		                <div class="layui-form-item">
175
 		                <div class="layui-form-item">
176
 		                     <label class="layui-form-label">系统授权码</label>
176
 		                     <label class="layui-form-label">系统授权码</label>
177
-		                     <div class="layui-input-inline">
178
-		                     	<input type="text" name="sn"  value="{$configs.sn.value}" placeholder="请输入授权码,多个授权码用逗号隔开"  class="layui-input">
177
+		                     <div class="layui-input-inline" style="width:600px;">
178
+
179
+								 <textarea name="sn" placeholder="请输入授权码,多个授权码用逗号隔开" class="layui-textarea">{$configs.sn.value}</textarea>
180
+
179
 		                     </div>
181
 		                     </div>
180
 		                </div>
182
 		                </div>
181
 		                
183
 		                

+ 2
- 2
apps/admin/view/default/system/home.html View File

55
 		 </div>
55
 		 </div>
56
 	 </fieldset>
56
 	 </fieldset>
57
 	 
57
 	 
58
-	 {if(CMSNAME=='SZQFCMS')}
58
+	 {if(CMSNAME=='RONGCMS')}
59
 	 <div class="layui-row layui-col-space10">
59
 	 <div class="layui-row layui-col-space10">
60
 	 	<div class="layui-col-xs12 layui-col-md6">
60
 	 	<div class="layui-col-xs12 layui-col-md6">
61
 			<table class="layui-table table-two">
61
 			<table class="layui-table table-two">
67
 				  <tbody>
67
 				  <tbody>
68
 				     <tr>
68
 				     <tr>
69
 				      	<th width="100">应用版本</th>
69
 				      	<th width="100">应用版本</th>
70
-				      	<td>SZQFCMS SVIP
70
+				      	<td>RONGCMS SVIP
71
 				      	</td>
71
 				      	</td>
72
 				     </tr>
72
 				     </tr>
73
 				     <tr>
73
 				     <tr>

+ 1
- 1
config/config.php View File

2
 return array(
2
 return array(
3
     
3
     
4
     // 定义CMS名称
4
     // 定义CMS名称
5
-    'cmsname' => 'SZQFCMS',
5
+    'cmsname' => 'RONGCMS',
6
     
6
     
7
     // 授权码,多个授权码使用英文逗号隔开,如:'aaaaa,bbbbb'
7
     // 授权码,多个授权码使用英文逗号隔开,如:'aaaaa,bbbbb'
8
     'sn' => 'F5604F3B99',
8
     'sn' => 'F5604F3B99',

+ 5
- 1
m/css/style_m.css View File

300
   border: 1px solid #333;
300
   border: 1px solid #333;
301
 }
301
 }
302
 .pagination .st{ font-family:宋体}
302
 .pagination .st{ font-family:宋体}
303
-.text-secondary{ text-align:center; padding:20px 0}
303
+.text-secondary{ text-align:center; padding:20px 0}
304
+
305
+.fcc  a{
306
+    line-height: 20px;
307
+}

+ 2
- 2
skin/css/style.css View File

486
     right: 0;
486
     right: 0;
487
 }
487
 }
488
 .head-1 .welcome a{
488
 .head-1 .welcome a{
489
-    color: red;
489
+    /*color: red;*/
490
 }
490
 }
491
 .head-1 .info a{
491
 .head-1 .info a{
492
-    color: red;
492
+   /* color: red;*/
493
 }
493
 }

+ 6
- 2
template/dafeult/city.html View File

18
 </head>
18
 </head>
19
 <body>
19
 <body>
20
 {include file=head_city.html}
20
 {include file=head_city.html}
21
-<div><img src="/static/upload/image/20240528/1716887600211481.jpg" width="100%"></div>
21
+<div>
22
+
23
+	<!--<img src="/static/upload/image/20240528/1716887600211481.jpg" width="100%">-->
24
+
25
+</div>
22
 <div class="page-bg">
26
 <div class="page-bg">
23
   <div class="page-box">
27
   <div class="page-box">
24
          <style>
28
          <style>
69
 <div class="footer" style="font-size: 16px;">
73
 <div class="footer" style="font-size: 16px;">
70
 	<div class="footer-dh">友情链接:
74
 	<div class="footer-dh">友情链接:
71
 
75
 
72
-		{pboot:sql sql="select * from ay_link where gid=2"}
76
+		{pboot:sql sql="select * from ay_link where city=381"}
73
 		<a href="[sql:link]" class="first-level" target="_blank" style="padding-right: 10px;"> [sql:name] </a>
77
 		<a href="[sql:link]" class="first-level" target="_blank" style="padding-right: 10px;"> [sql:name] </a>
74
 		{/pboot:sql}
78
 		{/pboot:sql}
75
 
79
 

+ 8
- 10
template/dafeult/foot.html View File

15
       </div>
15
       </div>
16
       <div class="footer-message">
16
       <div class="footer-message">
17
 
17
 
18
-
19
         {pboot:sql sql="select * from ay_city where id='{$temp_cityId}'"}
18
         {pboot:sql sql="select * from ay_city where id='{$temp_cityId}'"}
20
         {pboot:if('[sql:phone]'=='')}
19
         {pboot:if('[sql:phone]'=='')}
21
         <p>咨询热线:{pboot:companyphone}</p>
20
         <p>咨询热线:{pboot:companyphone}</p>
43
     <div class="right">
42
     <div class="right">
44
       <div class="ewm">
43
       <div class="ewm">
45
 
44
 
46
-
47
-
48
         {pboot:sql sql="select * from ay_city where id='{$temp_cityId}'"}
45
         {pboot:sql sql="select * from ay_city where id='{$temp_cityId}'"}
49
-        {pboot:if('[sql:weixin]'=='')}
50
-        <img src="{pboot:companyweixin}">
46
+        {pboot:if('[sql:weixin]' == '')}
47
+        <img src="{pboot:companyweixin}" />
51
         {else}
48
         {else}
52
-        <img src="[sql:weixin]">
49
+        <img src='[sql:weixin]' alt="微信客服" />
53
         {/pboot:if}
50
         {/pboot:if}
54
         {/pboot:sql}
51
         {/pboot:sql}
55
 
52
 
65
     {pboot:if('{$temp_cityId}'==381)}
62
     {pboot:if('{$temp_cityId}'==381)}
66
 
63
 
67
     <a href="{pboot:sitedomain}">心理咨询</a>  Copyright  ©  2019-2024
64
     <a href="{pboot:sitedomain}">心理咨询</a>  Copyright  ©  2019-2024
68
-    <a href="{pboot:sitedomain}">心理医生</a>,<a href="{pboot:sitedomain}">心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"心理咨询机构"
65
+    <a href="{pboot:sitedomain}">心理医生</a>,<a href="{pboot:sitedomain}">心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"<a href="{pboot:sitedomain}">心理咨询机构</a>"
69
 
66
 
70
     {else}
67
     {else}
71
 
68
 
72
     <a href="{pboot:httpurl}">[sql:title]心理咨询</a>  Copyright  ©  2019-2024
69
     <a href="{pboot:httpurl}">[sql:title]心理咨询</a>  Copyright  ©  2019-2024
73
-    <a href="{pboot:httpurl}">[sql:title]心理医生</a>,<a href="{pboot:httpurl}">[sql:title]心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"心理咨询机构"
70
+    <a href="{pboot:httpurl}">[sql:title]心理医生</a>,<a href="{pboot:httpurl}">[sql:title]心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"<a href="{pboot:sitedomain}">心理咨询机构</a>"
74
 
71
 
75
 
72
 
76
     {/pboot:if}
73
     {/pboot:if}
77
     {/pboot:sql}
74
     {/pboot:sql}
78
 
75
 
79
-    {pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/index.php/sitemap.xml" target="_blank">网站地图</a> {pboot:sitestatistical}</p>
76
+    {pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/sitemap.xml" target="_blank">网站地图</a> {pboot:sitestatistical}</p>
80
   <p style="display:none;"></p>
77
   <p style="display:none;"></p>
81
 </div>
78
 </div>
82
 <!--/页脚--> 
79
 <!--/页脚--> 
129
         {pboot:if('[sql:weixin]'=='')}
126
         {pboot:if('[sql:weixin]'=='')}
130
         <img src="{pboot:companyweixin}">
127
         <img src="{pboot:companyweixin}">
131
         {else}
128
         {else}
132
-        <img src="[sql:weixin]">
129
+        <img src='[sql:weixin]' />
133
         {/pboot:if}
130
         {/pboot:if}
134
 
131
 
135
         <p class="red">扫描二维码</p>
132
         <p class="red">扫描二维码</p>
136
         <p>添加微信客服</p>
133
         <p>添加微信客服</p>
134
+
137
       </div>
135
       </div>
138
     </li>
136
     </li>
139
 
137
 

+ 2
- 2
template/dafeult/foot_city.html View File

28
 </div>
28
 </div>
29
 <div class="footer-copy">
29
 <div class="footer-copy">
30
   <p>
30
   <p>
31
-    <a href="{label:city_url}">心理咨询</a>  Copyright  ©  2019-2024
32
-    <a href="{label:city_url}">心理医生</a>,<a href="{label:city_url}">心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"心理咨询机构"
31
+
32
+    <a href="{label:city_url}">心理咨询预约</a> Copyright © 2019-2024 “<a href="{label:city_url}">心理咨询预约</a> ”就上“<a href="{pboot:sitedomain}">乐达心理</a>”全国高端连锁
33
 
33
 
34
     {pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/index.php/sitemap.xml" target="_blank">网站地图</a> {pboot:sitestatistical}</p>
34
     {pboot:sitecopyright} <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> <a href="{pboot:sitedomain}/index.php/sitemap.xml" target="_blank">网站地图</a> {pboot:sitestatistical}</p>
35
   <p style="display:none;"></p>
35
   <p style="display:none;"></p>

+ 2
- 2
template/dafeult/top.html View File

8
             <a href="{pboot:sitedomain}">心理咨询</a>,<a href="{pboot:sitedomain}">心理医生</a>,<a href="{pboot:sitedomain}">心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】
8
             <a href="{pboot:sitedomain}">心理咨询</a>,<a href="{pboot:sitedomain}">心理医生</a>,<a href="{pboot:sitedomain}">心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】
9
             {else}
9
             {else}
10
 
10
 
11
-            <a href="{pboot:httpurl}">[sql:title]心理咨询</a>,<a href="{pboot:httpurl}">[sql:title]心理医生</a>,<a href="{pboot:httpurl}">[sql:title]心理咨询中心</a>【<a href="{pboot:sitedomain}" style="color:blue;">乐达心理</a>】
11
+            <a href="{pboot:httpurl}">[sql:title]心理咨询</a>,<a href="{pboot:httpurl}">[sql:title]心理医生</a>,<a href="{pboot:httpurl}">[sql:title]心理咨询中心</a>【<a href="{pboot:sitedomain}" style="">乐达心理</a>】
12
 
12
 
13
 
13
 
14
             {/pboot:if}
14
             {/pboot:if}
18
             {pboot:if('{$temp_cityId}'==381)}
18
             {pboot:if('{$temp_cityId}'==381)}
19
             找“<a href="{pboot:sitedomain}">心理咨询机构</a>”首选“<a href="{pboot:sitedomain}">乐达心理咨询</a>”效果好!专业!
19
             找“<a href="{pboot:sitedomain}">心理咨询机构</a>”首选“<a href="{pboot:sitedomain}">乐达心理咨询</a>”效果好!专业!
20
             {else}
20
             {else}
21
-            找“<a href="{pboot:httpurl}">[sql:title]心理咨询机构</a>”首选“<a href="{pboot:sitedomain}" style="color:blue;">乐达心理咨询</a>”效果好!专业!
21
+            找“<a href="{pboot:httpurl}">[sql:title]心理咨询机构</a>”首选“<a href="{pboot:sitedomain}" style="">乐达心理咨询</a>”效果好!专业!
22
             {/pboot:if}
22
             {/pboot:if}
23
         </div>
23
         </div>
24
         {/pboot:sql}
24
         {/pboot:sql}

+ 2
- 2
template/dafeult/top_city.html View File

2
 <div class="top">
2
 <div class="top">
3
     <div class="w1200">
3
     <div class="w1200">
4
         <div class="welcome">
4
         <div class="welcome">
5
-            <a href="{label:city_url}">心理咨询预约</a>,首选【<a href="{pboot:sitedomain}" style="color:blue;">乐达心理</a>】
5
+            <a href="{label:city_url}">心理咨询预约</a>,首选【<a href="{pboot:sitedomain}" style="">乐达心理</a>】
6
         </div>
6
         </div>
7
         <div class="info">
7
         <div class="info">
8
-            <a href="{label:city_url}">心理咨询预约</a>【<a href="{pboot:sitedomain}" style="color:blue;">乐达心理</a>ledaxinli.com】全国高端连锁心理咨询机构
8
+            <a href="{label:city_url}">心理咨询预约</a>【<a href="{pboot:sitedomain}" style="">乐达心理</a>ledaxinli.com】全国高端连锁心理咨询机构
9
         </div>
9
         </div>
10
 
10
 
11
     </div>
11
     </div>

+ 0
- 7
template/dafeult/wap/city.html View File

67
 
67
 
68
 {include file=hot.html}
68
 {include file=hot.html}
69
 
69
 
70
-<div class="footer-copy-content" style="font-size: 12px;">
71
 
70
 
72
-	友情链接:
73
-	{pboot:sql sql="select * from ay_link where city='{$cityId}'"}
74
-	<a href="[sql:link]" class="first-level" target="_blank" style="padding-right: 10px;"> [sql:name] </a>
75
-	{/pboot:sql}
76
-
77
-</div>
78
 
71
 
79
 {include file=foot_city.html}
72
 {include file=foot_city.html}
80
 </body>
73
 </body>

+ 23
- 1
template/dafeult/wap/foot.html View File

5
 
5
 
6
 	
6
 	
7
   <div class="footer-copy-content">
7
   <div class="footer-copy-content">
8
-    <p>{pboot:sitecopyright}</p>
8
+    <p>
9
+
10
+
11
+
12
+      {pboot:sql sql="select * from ay_city where id='{$temp_cityId}'"}
13
+      {pboot:if('{$temp_cityId}'==381)}
14
+
15
+      <a href="{pboot:sitedomain}">心理咨询</a>  Copyright  ©  2019-2024
16
+      <a href="{pboot:sitedomain}">心理医生</a>,<a href="{pboot:sitedomain}">心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"<a href="{pboot:sitedomain}">心理咨询机构</a>"
17
+
18
+      {else}
19
+
20
+      <a href="{pboot:httpurl}">[sql:title]心理咨询</a>  Copyright  ©  2019-2024
21
+      <a href="{pboot:httpurl}">[sql:title]心理医生</a>,<a href="{pboot:httpurl}">[sql:title]心理咨询中心</a>【<a href="{pboot:sitedomain}">乐达心理</a>】全国高端连锁"<a href="{pboot:sitedomain}">心理咨询机构</a>"
22
+
23
+
24
+      {/pboot:if}
25
+      {/pboot:sql}
26
+
27
+
28
+      {pboot:sitecopyright}
29
+
30
+    </p>
9
     <p><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
31
     <p><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
10
     <p style="display:none;"></p>
32
     <p style="display:none;"></p>
11
   </div>
33
   </div>

+ 5
- 1
template/dafeult/wap/foot_city.html View File

5
 
5
 
6
 	
6
 	
7
   <div class="footer-copy-content">
7
   <div class="footer-copy-content">
8
-    <p>{pboot:sitecopyright}</p>
8
+    <p>
9
+
10
+      <a href="{label:city_url}">心理咨询预约</a> Copyright © 2019-2024 “<a href="{label:city_url}">心理咨询预约</a> ”就上“<a href="{pboot:sitedomain}">乐达心理</a>”全国高端连锁
11
+
12
+      {pboot:sitecopyright}</p>
9
     <p><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
13
     <p><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{pboot:siteicp}</a> {pboot:sitestatistical}</p>
10
     <p style="display:none;"></p>
14
     <p style="display:none;"></p>
11
   </div>
15
   </div>

+ 0
- 9
template/dafeult/wap/index.html View File

260
 
260
 
261
 {include file=hot.html}
261
 {include file=hot.html}
262
 
262
 
263
-<div class="footer-copy-content" style="font-size: 12px;">
264
-
265
-   友情链接:
266
-  {pboot:sql sql="select * from ay_link where city='{$cityId}'"}
267
-  <a href="[sql:link]" class="first-level" target="_blank" style="padding-right: 10px;"> [sql:name] </a>
268
-  {/pboot:sql}
269
-
270
-  </div>	
271
-
272
 
263
 
273
 
264
 
274
 
265
 

+ 9
- 0
template/dafeult/wap/link.html View File

1
+
2
+<div class="footer-copy-content fcc" style="font-size: 12px;">
3
+
4
+    友情链接:
5
+    {pboot:sql sql="select * from ay_link where city='{$cityId}'"}
6
+    <a href="[sql:link]" class="first-level" target="_blank" style="padding-right: 10px;"> [sql:name] </a>
7
+    {/pboot:sql}
8
+
9
+</div>

Loading…
Cancel
Save