Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
3afa8154
Commit
3afa8154
authored
Jul 22, 2017
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短标签开关兼容
parent
680ee767
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
33 additions
and
33 deletions
+33
-33
CopyTable.php
e/admin/db/CopyTable.php
+1
-1
ChangePath.php
e/admin/ebak/ChangePath.php
+1
-1
main.php
e/admin/main.php
+5
-5
ListZtInfo.php
e/admin/special/ListZtInfo.php
+1
-1
TogZt.php
e/admin/special/TogZt.php
+1
-1
LoadInBq.php
e/admin/template/LoadInBq.php
+1
-1
LoadOutBq.php
e/admin/template/LoadOutBq.php
+1
-1
ClassUrl.php
e/admin/view/ClassUrl.php
+5
-5
TtUrl.php
e/admin/view/TtUrl.php
+5
-5
changedata.php
e/bak_170410_install/changedata.php
+4
-4
com_functions.php
e/class/com_functions.php
+4
-4
connect.php
e/class/connect.php
+1
-1
functions.php
e/class/functions.php
+1
-1
feedback1.php
e/tool/feedback/temp/feedback1.php
+2
-2
No files found.
e/admin/db/CopyTable.php
View file @
3afa8154
...
@@ -64,7 +64,7 @@ $empire=null;
...
@@ -64,7 +64,7 @@ $empire=null;
</tr>
</tr>
<tr>
<tr>
<td
height=
"25"
bgcolor=
"#F8F8F8"
>
源数据表名
</td>
<td
height=
"25"
bgcolor=
"#F8F8F8"
>
源数据表名
</td>
<td
height=
"25"
bgcolor=
"#FFFFFF"
><font
color=
red
><b>
<?
echo
$dbtbpre
.
"ecms_"
.
$r
[
'tbname'
];
?>
</b></font></td>
<td
height=
"25"
bgcolor=
"#FFFFFF"
><font
color=
red
><b>
<?
php
echo
$dbtbpre
.
"ecms_"
.
$r
[
'tbname'
];
?>
</b></font></td>
</tr>
</tr>
<tr>
<tr>
<td
width=
"23%"
height=
"25"
bgcolor=
"#F8F8F8"
>
新数据表名
</td>
<td
width=
"23%"
height=
"25"
bgcolor=
"#F8F8F8"
>
新数据表名
</td>
...
...
e/admin/ebak/ChangePath.php
View file @
3afa8154
...
@@ -79,7 +79,7 @@ window.close();
...
@@ -79,7 +79,7 @@ window.close();
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
<div
align=
"left"
><img
src=
"images/dir.gif"
width=
"19"
height=
"15"
>
<td
height=
"25"
>
<div
align=
"left"
><img
src=
"images/dir.gif"
width=
"19"
height=
"15"
>
<?=
$showfile
?>
</div></td>
<?=
$showfile
?>
</div></td>
<td
height=
"25"
>
<div
align=
"center"
>
[
<a
href=
"
<?
echo
$bakpath
.
"/"
.
$file
.
"/readme.txt"
?>
"
target=
_blank
>
查看备份说明
</a>
]
</div></td>
<td
height=
"25"
>
<div
align=
"center"
>
[
<a
href=
"
<?
php
echo
$bakpath
.
"/"
.
$file
.
"/readme.txt"
?>
"
target=
_blank
>
查看备份说明
</a>
]
</div></td>
<td><div
align=
"center"
>
[
<a
href=
"#ebak"
onclick=
"window.open('phome.php?phome=DoZip&p=
<?=
$file
?>
&change=
<?=
$change
?><?=
$ecms_hashur
[
'href'
]
?>
','','width=350,height=160');"
>
打包并下载
</a>
]
[
<a
href=
"phome.php?phome=DelBakpath&path=
<?=
$file
?>
&change=
<?=
$change
?><?=
$ecms_hashur
[
'href'
]
?>
"
onclick=
"return confirm('确认要删除?');"
>
删除目录
</a>
]
</div></td>
<td><div
align=
"center"
>
[
<a
href=
"#ebak"
onclick=
"window.open('phome.php?phome=DoZip&p=
<?=
$file
?>
&change=
<?=
$change
?><?=
$ecms_hashur
[
'href'
]
?>
','','width=350,height=160');"
>
打包并下载
</a>
]
[
<a
href=
"phome.php?phome=DelBakpath&path=
<?=
$file
?>
&change=
<?=
$change
?><?=
$ecms_hashur
[
'href'
]
?>
"
onclick=
"return confirm('确认要删除?');"
>
删除目录
</a>
]
</div></td>
</tr>
</tr>
<?php
<?php
...
...
e/admin/main.php
View file @
3afa8154
...
@@ -204,7 +204,7 @@ if($public_r[addnews_ok])
...
@@ -204,7 +204,7 @@ if($public_r[addnews_ok])
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
登陆者IP:
</td>
<td
height=
"23"
>
登陆者IP:
</td>
<td>
<?
echo
egetip
();
?>
</td>
<td>
<?
php
echo
egetip
();
?>
</td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
程序版本:
</td>
<td
height=
"23"
>
程序版本:
</td>
...
@@ -225,15 +225,15 @@ if($public_r[addnews_ok])
...
@@ -225,15 +225,15 @@ if($public_r[addnews_ok])
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
操作系统:
</td>
<td
height=
"23"
>
操作系统:
</td>
<td>
<?
echo
defined
(
'PHP_OS'
)
?
PHP_OS
:
'未知'
;
?>
</td>
<td>
<?
php
echo
defined
(
'PHP_OS'
)
?
PHP_OS
:
'未知'
;
?>
</td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
PHP版本:
</td>
<td
height=
"23"
>
PHP版本:
</td>
<td>
<?
echo
@
phpversion
();
?>
</td>
<td>
<?
php
echo
@
phpversion
();
?>
</td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
MYSQL版本:
</td>
<td
height=
"23"
>
MYSQL版本:
</td>
<td>
<?
echo
@
mysqli_get_server_info
();
?>
</td>
<td>
<?
php
echo
@
mysqli_get_server_info
();
?>
</td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
全局变量:
</td>
<td
height=
"23"
>
全局变量:
</td>
...
@@ -255,7 +255,7 @@ if($public_r[addnews_ok])
...
@@ -255,7 +255,7 @@ if($public_r[addnews_ok])
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
当前时间:
</td>
<td
height=
"23"
>
当前时间:
</td>
<td>
<?
echo
date
(
"Y-m-d H:i:s"
);
?>
</td>
<td>
<?
php
echo
date
(
"Y-m-d H:i:s"
);
?>
</td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"23"
>
使用域名:
</td>
<td
height=
"23"
>
使用域名:
</td>
...
...
e/admin/special/ListZtInfo.php
View file @
3afa8154
...
@@ -408,7 +408,7 @@ function CheckAll(form)
...
@@ -408,7 +408,7 @@ function CheckAll(form)
<input
name=
"dozid[]"
type=
"hidden"
id=
"dozid[]"
value=
"
<?=
$zr
[
zid
]
?>
"
>
<input
name=
"dozid[]"
type=
"hidden"
id=
"dozid[]"
value=
"
<?=
$zr
[
zid
]
?>
"
>
<input
name=
"newstime[]"
type=
"text"
value=
"
<?=
date
(
"Y-m-d H:i:s"
,
$zr
[
newstime
])
?>
"
size=
"22"
>
<input
name=
"newstime[]"
type=
"text"
value=
"
<?=
date
(
"Y-m-d H:i:s"
,
$zr
[
newstime
])
?>
"
size=
"22"
>
</div></td>
</div></td>
<td><div
align=
"center"
>
[
<a
href=
"../AddNews.php?enews=EditNews&id=
<?=
$r
[
id
]
?>
&classid=
<?=
$r
[
classid
]
?>
&bclassid=
<?=
$class_r
[
$r
[
classid
]][
bclassid
]
?><?=
$addecmscheck
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
title=
"
<?
echo
"增加时间:"
.
$truetime
.
"
\r\n
最后修改:"
.
$lastdotime
;
?>
"
target=
"_blank"
>
修改
</a>
]
</div></td>
<td><div
align=
"center"
>
[
<a
href=
"../AddNews.php?enews=EditNews&id=
<?=
$r
[
id
]
?>
&classid=
<?=
$r
[
classid
]
?>
&bclassid=
<?=
$class_r
[
$r
[
classid
]][
bclassid
]
?><?=
$addecmscheck
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
title=
"
<?
php
echo
"增加时间:"
.
$truetime
.
"
\r\n
最后修改:"
.
$lastdotime
;
?>
"
target=
"_blank"
>
修改
</a>
]
</div></td>
</tr>
</tr>
<?php
<?php
}
}
...
...
e/admin/special/TogZt.php
View file @
3afa8154
...
@@ -202,7 +202,7 @@ function DoTogzt(){
...
@@ -202,7 +202,7 @@ function DoTogzt(){
</a>
</a>
</td>
</td>
<td><div
align=
"center"
>
<?=
$r
[
username
]
?>
</div></td>
<td><div
align=
"center"
>
<?=
$r
[
username
]
?>
</div></td>
<td><div
align=
"center"
><a
href=
"../AddNews.php?enews=EditNews&id=
<?=
$r
[
id
]
?>
&classid=
<?=
$r
[
classid
]
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
title=
"
<?
echo
"增加时间:"
.
$truetime
.
"
\r\n
最后修改:"
.
$lastdotime
;
?>
"
target=
_blank
>
<?=
date
(
"Y-m-d H:i:s"
,
$r
[
newstime
])
?>
</a></div></td>
<td><div
align=
"center"
><a
href=
"../AddNews.php?enews=EditNews&id=
<?=
$r
[
id
]
?>
&classid=
<?=
$r
[
classid
]
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
title=
"
<?
php
echo
"增加时间:"
.
$truetime
.
"
\r\n
最后修改:"
.
$lastdotime
;
?>
"
target=
_blank
>
<?=
date
(
"Y-m-d H:i:s"
,
$r
[
newstime
])
?>
</a></div></td>
</tr>
</tr>
<?php
<?php
}
}
...
...
e/admin/template/LoadInBq.php
View file @
3afa8154
...
@@ -72,7 +72,7 @@ if($enews=="LoadInBq")
...
@@ -72,7 +72,7 @@ if($enews=="LoadInBq")
<td
height=
"25"
><table
width=
"100%"
border=
"0"
align=
"center"
cellpadding=
"3"
cellspacing=
"1"
>
<td
height=
"25"
><table
width=
"100%"
border=
"0"
align=
"center"
cellpadding=
"3"
cellspacing=
"1"
>
<tr>
<tr>
<td
width=
"34%"
><div
align=
"right"
>
导入标签名称:
</div></td>
<td
width=
"34%"
><div
align=
"right"
>
导入标签名称:
</div></td>
<td
width=
"66%"
height=
"27"
><b>
<?
echo
$r
[
0
]
.
" ("
.
$r
[
3
]
.
")"
;
?>
</b></td>
<td
width=
"66%"
height=
"27"
><b>
<?
php
echo
$r
[
0
]
.
" ("
.
$r
[
3
]
.
")"
;
?>
</b></td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"27"
colspan=
"2"
><div
align=
"center"
>
标签函数内容:
</div></td>
<td
height=
"27"
colspan=
"2"
><div
align=
"center"
>
标签函数内容:
</div></td>
...
...
e/admin/template/LoadOutBq.php
View file @
3afa8154
...
@@ -62,7 +62,7 @@ $empire=null;
...
@@ -62,7 +62,7 @@ $empire=null;
<td
height=
"25"
><table
width=
"100%"
border=
"0"
cellspacing=
"1"
cellpadding=
"3"
>
<td
height=
"25"
><table
width=
"100%"
border=
"0"
cellspacing=
"1"
cellpadding=
"3"
>
<tr>
<tr>
<td
width=
"37%"
><div
align=
"right"
>
标签名称:
</div></td>
<td
width=
"37%"
><div
align=
"right"
>
标签名称:
</div></td>
<td
width=
"63%"
height=
"27"
><b>
<?
echo
$r
[
bqname
]
.
" ("
.
$r
[
bq
]
.
")"
;
?>
</b></td>
<td
width=
"63%"
height=
"27"
><b>
<?
php
echo
$r
[
bqname
]
.
" ("
.
$r
[
bq
]
.
")"
;
?>
</b></td>
</tr>
</tr>
<tr>
<tr>
<td
height=
"27"
colspan=
"2"
>
<td
height=
"27"
colspan=
"2"
>
...
...
e/admin/view/ClassUrl.php
View file @
3afa8154
...
@@ -38,27 +38,27 @@ $jspath=$public_r['newsurl'].'d/js/class/class'.$classid.'_';
...
@@ -38,27 +38,27 @@ $jspath=$public_r['newsurl'].'d/js/class/class'.$classid.'_';
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
最新信息JS:
</td>
<td
height=
"25"
>
最新信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield2"
type=
"text"
value=
"
<?=
$jspath
?>
newnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield2"
type=
"text"
value=
"
<?=
$jspath
?>
newnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"newnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"newnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
热门信息JS:
</td>
<td
height=
"25"
>
热门信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield3"
type=
"text"
value=
"
<?=
$jspath
?>
hotnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield3"
type=
"text"
value=
"
<?=
$jspath
?>
hotnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"hotnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"hotnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
推荐信息JS:
</td>
<td
height=
"25"
>
推荐信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
goodnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
goodnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"goodnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"goodnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
热点评论信息JS:
</td>
<td
height=
"25"
>
热点评论信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
hotplnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
hotplnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"hotplnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"hotplnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
头条信息JS:
</td>
<td
height=
"25"
>
头条信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
firstnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
firstnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"firstnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$classid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"firstnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
</table>
</table>
e/admin/view/TtUrl.php
View file @
3afa8154
...
@@ -37,27 +37,27 @@ $jspath=$public_r['newsurl'].'d/js/class/tt'.$ttid.'_';
...
@@ -37,27 +37,27 @@ $jspath=$public_r['newsurl'].'d/js/class/tt'.$ttid.'_';
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
最新信息JS:
</td>
<td
height=
"25"
>
最新信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield2"
type=
"text"
value=
"
<?=
$jspath
?>
newnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield2"
type=
"text"
value=
"
<?=
$jspath
?>
newnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"newnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"newnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
热门信息JS:
</td>
<td
height=
"25"
>
热门信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield3"
type=
"text"
value=
"
<?=
$jspath
?>
hotnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield3"
type=
"text"
value=
"
<?=
$jspath
?>
hotnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"hotnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"hotnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
推荐信息JS:
</td>
<td
height=
"25"
>
推荐信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
goodnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
goodnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"goodnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"goodnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
热点评论信息JS:
</td>
<td
height=
"25"
>
热点评论信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
hotplnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
hotplnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"hotplnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"hotplnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
<tr
bgcolor=
"#FFFFFF"
>
<tr
bgcolor=
"#FFFFFF"
>
<td
height=
"25"
>
头条信息JS:
</td>
<td
height=
"25"
>
头条信息JS:
</td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
firstnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<input
name=
"textfield4"
type=
"text"
value=
"
<?=
$jspath
?>
firstnews.js"
size=
"35"
></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
echo
urlencode
(
$jspath
.
"firstnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
<td
height=
"25"
>
<div
align=
"center"
><a
href=
"js.php?classid=
<?=
$ttid
?>
&js=
<?
php
echo
urlencode
(
$jspath
.
"firstnews.js"
);
?><?=
$ecms_hashur
[
'ehref'
]
?>
"
target=
"_blank"
>
预览
</a></div></td>
</tr>
</tr>
</table>
</table>
e/bak_170410_install/changedata.php
View file @
3afa8154
...
@@ -73,10 +73,10 @@ if($ecms=='ChangeInstallOtherData')
...
@@ -73,10 +73,10 @@ if($ecms=='ChangeInstallOtherData')
{
{
//替换公共变量
//替换公共变量
$btemp
=
ReplaceTempvar
(
$r
[
'btemp'
]);
$btemp
=
ReplaceTempvar
(
$r
[
'btemp'
]);
$btemp
=
str_replace
(
"[!--cp.header--]"
,
"<? include(
\"
../../data/template/cp_1.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--cp.header--]"
,
"<?
php
include(
\"
../../data/template/cp_1.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--cp.footer--]"
,
"<? include(
\"
../../data/template/cp_2.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--cp.footer--]"
,
"<?
php
include(
\"
../../data/template/cp_2.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.header--]"
,
"<? include(
\"
../../template/incfile/header.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.header--]"
,
"<?
php
include(
\"
../../template/incfile/header.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.footer--]"
,
"<? include(
\"
../../template/incfile/footer.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.footer--]"
,
"<?
php
include(
\"
../../template/incfile/footer.php
\"
);?>"
,
$btemp
);
$file
=
"../tool/feedback/temp/feedback"
.
$r
[
bid
]
.
".php"
;
$file
=
"../tool/feedback/temp/feedback"
.
$r
[
bid
]
.
".php"
;
$btemp
=
"<?php
$btemp
=
"<?php
if(!defined('InEmpireCMS'))
if(!defined('InEmpireCMS'))
...
...
e/class/com_functions.php
View file @
3afa8154
...
@@ -710,10 +710,10 @@ function ReFeedbackClassFile($bid){
...
@@ -710,10 +710,10 @@ function ReFeedbackClassFile($bid){
$url
=
"<?=
\$
url?>"
;
$url
=
"<?=
\$
url?>"
;
$pagetitle
=
"<?=
\$
bname?>"
;
$pagetitle
=
"<?=
\$
bname?>"
;
$btemp
=
ReplaceSvars
(
$r
[
'btemp'
],
$url
,
0
,
$pagetitle
,
$pagetitle
,
$pagetitle
,
$add
,
1
);
$btemp
=
ReplaceSvars
(
$r
[
'btemp'
],
$url
,
0
,
$pagetitle
,
$pagetitle
,
$pagetitle
,
$add
,
1
);
$btemp
=
str_replace
(
"[!--cp.header--]"
,
"<? include(
\"
../../data/template/cp_1.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--cp.header--]"
,
"<?
php
include(
\"
../../data/template/cp_1.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--cp.footer--]"
,
"<? include(
\"
../../data/template/cp_2.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--cp.footer--]"
,
"<?
php
include(
\"
../../data/template/cp_2.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.header--]"
,
"<? include(
\"
../../template/incfile/header.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.header--]"
,
"<?
php
include(
\"
../../template/incfile/header.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.footer--]"
,
"<? include(
\"
../../template/incfile/footer.php
\"
);?>"
,
$btemp
);
$btemp
=
str_replace
(
"[!--member.footer--]"
,
"<?
php
include(
\"
../../template/incfile/footer.php
\"
);?>"
,
$btemp
);
$file
=
"../../tool/feedback/temp/feedback"
.
$bid
.
".php"
;
$file
=
"../../tool/feedback/temp/feedback"
.
$bid
.
".php"
;
$btemp
=
"<?php
$btemp
=
"<?php
if(!defined('InEmpireCMS'))
if(!defined('InEmpireCMS'))
...
...
e/class/connect.php
View file @
3afa8154
...
@@ -3918,7 +3918,7 @@ function GetTxtFieldTextUrl($pagetexturl){
...
@@ -3918,7 +3918,7 @@ function GetTxtFieldTextUrl($pagetexturl){
//修改文本字段内容
//修改文本字段内容
function
EditTxtFieldText
(
$pagetexturl
,
$pagetext
){
function
EditTxtFieldText
(
$pagetexturl
,
$pagetext
){
global
$ecms_config
;
global
$ecms_config
;
$pagetext
=
"<? exit();?>"
.
$pagetext
;
$pagetext
=
"<?
php
exit();?>"
.
$pagetext
;
$file
=
$ecms_config
[
'sets'
][
'txtpath'
]
.
$pagetexturl
.
".php"
;
$file
=
$ecms_config
[
'sets'
][
'txtpath'
]
.
$pagetexturl
.
".php"
;
WriteFiletext_n
(
$file
,
$pagetext
);
WriteFiletext_n
(
$file
,
$pagetext
);
}
}
...
...
e/class/functions.php
View file @
3afa8154
...
@@ -2409,7 +2409,7 @@ function RepBq($indextext){
...
@@ -2409,7 +2409,7 @@ function RepBq($indextext){
while
(
$r
=
$empire
->
fetch
(
$sql
))
while
(
$r
=
$empire
->
fetch
(
$sql
))
{
{
$preg_str
=
"/\["
.
$r
[
bq
]
.
"\](.+?)\[\/"
.
$r
[
bq
]
.
"\]/is"
;
$preg_str
=
"/\["
.
$r
[
bq
]
.
"\](.+?)\[\/"
.
$r
[
bq
]
.
"\]/is"
;
$indextext
=
preg_replace
(
$preg_str
,
"<? @"
.
$r
[
funname
]
.
"(
\\
1);?>"
,
$indextext
);
$indextext
=
preg_replace
(
$preg_str
,
"<?
php
@"
.
$r
[
funname
]
.
"(
\\
1);?>"
,
$indextext
);
}
}
return
$indextext
;
return
$indextext
;
}
}
...
...
e/tool/feedback/temp/feedback1.php
View file @
3afa8154
<?php
<?php
if
(
!
defined
(
'InEmpireCMS'
))
if
(
!
defined
(
'InEmpireCMS'
))
{
exit
();}
{
exit
();}
?><?
include
(
"../../data/template/cp_1.php"
);
?>
?><?
php
include
(
"../../data/template/cp_1.php"
);
?>
<table
width=
100%
align=
center
cellpadding=
3
cellspacing=
1
class=
"tableborder"
>
<table
width=
100%
align=
center
cellpadding=
3
cellspacing=
1
class=
"tableborder"
>
<form
name=
'feedback'
method=
'post'
enctype=
'multipart/form-data'
action=
'../../enews/index.php'
>
<form
name=
'feedback'
method=
'post'
enctype=
'multipart/form-data'
action=
'../../enews/index.php'
>
<input
name=
'enews'
type=
'hidden'
value=
'AddFeedback'
>
<input
name=
'enews'
type=
'hidden'
value=
'AddFeedback'
>
...
@@ -50,4 +50,4 @@ if(!defined('InEmpireCMS'))
...
@@ -50,4 +50,4 @@ if(!defined('InEmpireCMS'))
</tr>
</tr>
</form>
</form>
</table>
</table>
<?
include
(
"../../data/template/cp_2.php"
);
?>
<?php
include
(
"../../data/template/cp_2.php"
);
?>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment