From d6c17b51b26fbf73017d7000ce84a1b1d9db46ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= Date: Thu, 20 Jun 2024 05:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=9D=A2=E5=8C=85=E5=B1=91?= =?UTF-8?q?=E6=9C=80=E5=90=8E=E9=97=B4=E9=9A=94=E7=AC=A6=E5=8F=B7=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8F=90=E7=A4=BA=E5=89=8D=E5=8F=B0=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E6=A1=86webwindow.class.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/mychannel_edit.php | 7 +- src/admin/sys_admin_user_edit.php | 1 - src/apps/jump.php | 1 - src/system/common.inc.php | 2 +- src/system/libraries/oxwindow.class.php | 16 +- src/system/libraries/webwindow.class.php | 200 +++++++++++++++++++++++ src/system/typelink/typelink.class.php | 2 +- src/theme/apps/download_links.htm | 10 +- src/theme/apps/flink_add.htm | 12 +- src/theme/apps/flink_list.htm | 10 +- src/theme/apps/list_diyform.htm | 10 +- src/theme/apps/post_diyform.htm | 12 +- src/theme/apps/recommend.htm | 10 +- src/theme/apps/showphoto.htm | 10 +- src/theme/apps/view_diyform.htm | 12 +- src/theme/apps/view_msg.htm | 10 +- src/theme/apps/view_msg_catalog.htm | 10 +- src/theme/apps/vote.htm | 10 +- src/theme/dedebiz/article_article.htm | 10 +- src/theme/dedebiz/article_default.htm | 10 +- src/theme/dedebiz/article_default_sg.htm | 10 +- src/theme/dedebiz/article_image.htm | 10 +- src/theme/dedebiz/article_infos.htm | 10 +- src/theme/dedebiz/article_soft.htm | 10 +- src/theme/dedebiz/article_spec.htm | 10 +- src/theme/dedebiz/index_article.htm | 10 +- src/theme/dedebiz/index_default.htm | 10 +- src/theme/dedebiz/index_default_sg.htm | 10 +- src/theme/dedebiz/index_image.htm | 10 +- src/theme/dedebiz/index_infos.htm | 10 +- src/theme/dedebiz/index_soft.htm | 10 +- src/theme/dedebiz/list_article.htm | 10 +- src/theme/dedebiz/list_default.htm | 10 +- src/theme/dedebiz/list_default_sg.htm | 10 +- src/theme/dedebiz/list_free.htm | 10 +- src/theme/dedebiz/list_image.htm | 10 +- src/theme/dedebiz/list_infos.htm | 10 +- src/theme/dedebiz/list_soft.htm | 10 +- src/theme/dedebiz/list_spec.htm | 10 +- src/theme/dedebiz/tag.htm | 10 +- src/theme/dedebiz/tag_list.htm | 12 +- src/user/album_add.php | 3 +- src/user/album_edit.php | 3 +- src/user/archives_add.php | 3 +- src/user/archives_edit.php | 3 +- src/user/archives_sg_add.php | 5 +- src/user/archives_sg_edit.php | 5 +- src/user/article_add.php | 3 +- src/user/article_edit.php | 3 +- src/user/buy_action.php | 16 +- src/user/inc/archives_check.php | 2 +- src/user/inc/archives_check_edit.php | 2 +- src/user/index_do.php | 21 ++- src/user/soft_add.php | 3 +- src/user/soft_edit.php | 3 +- src/user/templets/album_add.htm | 7 - src/user/templets/album_edit.htm | 7 - src/user/templets/archives_add.htm | 7 - src/user/templets/archives_edit.htm | 7 - src/user/templets/archives_sg_add.htm | 7 - src/user/templets/archives_sg_edit.htm | 7 - src/user/templets/article_add.htm | 7 - src/user/templets/article_edit.htm | 7 - src/user/templets/buy.htm | 7 - src/user/templets/buy_action_payment.htm | 8 - src/user/templets/content_list.htm | 14 +- src/user/templets/content_sg_list.htm | 14 +- src/user/templets/mypay.htm | 32 ++-- src/user/templets/mystow.htm | 18 +- src/user/templets/operation.htm | 40 ++--- src/user/templets/pm-main.htm | 24 +-- src/user/templets/soft_add.htm | 7 - src/user/templets/soft_edit.htm | 7 - src/user/templets/win_templet.htm | 7 +- 74 files changed, 456 insertions(+), 430 deletions(-) create mode 100644 src/system/libraries/webwindow.class.php diff --git a/src/admin/mychannel_edit.php b/src/admin/mychannel_edit.php index 77542e7b..e5077500 100644 --- a/src/admin/mychannel_edit.php +++ b/src/admin/mychannel_edit.php @@ -95,7 +95,6 @@ if ($dopost == "show") { $channelconfig .= "$v\r\n"; } $wintitle = "导出指定文档模型规则"; - $wecome_info = "文档模型管理 - 导出文档模型规则"; $win = new OxWindow(); $win->Init(); $win->AddTitle("导出{$row['typename']}文档模型规则"); @@ -104,7 +103,6 @@ if ($dopost == "show") { exit(); } else if ($dopost == "exportin") { $wintitle = "导入指定文档模型规则"; - $wecome_info = "文档模型管理 - 导入文档模型规则"; $win = new OxWindow(); $win->Init("mychannel_edit.php", "/static/web/js/admin.blank.js", "post"); $win->AddHidden("dopost", "exportinok"); @@ -116,9 +114,8 @@ if ($dopost == "show") { require_once(DEDEADMIN."/inc/inc_admin_channel.php"); function GotoStaMsg($msg) { - global $wintitle, $wecome_info, $winform; + global $wintitle, $winform; $wintitle = "导入指定文档模型规则"; - $wecome_info = "文档模型管理 - 导入文档模型规则"; $win = new OxWindow(); $win->Init(); $win->AddMsgItem($msg); @@ -286,7 +283,6 @@ if ($dopost == "show") { require_once(DEDEINC."/libraries/oxwindow.class.php"); $row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'"); $wintitle = "查看模型应用模板"; - $wecome_info = "文档模型管理 - 模型应用模板"; $win = new OxWindow(); $win->Init("", "/static/web/js/admin.blank.js", ""); $win->AddTitle("栏目".$row['typename']."默认模板文件说明"); @@ -325,7 +321,6 @@ if ($dopost == "show") { if ($job == "") { require_once(DEDEINC."/libraries/oxwindow.class.php"); $wintitle = "删除指定文档模型"; - $wecome_info = "文档模型管理 - 删除文档模型"; $win = new OxWindow(); $win->Init("mychannel_edit.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("job", "yes"); diff --git a/src/admin/sys_admin_user_edit.php b/src/admin/sys_admin_user_edit.php index bb4eca2b..cabc3fad 100644 --- a/src/admin/sys_admin_user_edit.php +++ b/src/admin/sys_admin_user_edit.php @@ -78,7 +78,6 @@ if ($dopost == 'saveedit') { $safecode = substr(md5($cfg_cookie_encode.$randcode), 0, 24); require_once(DEDEINC."/libraries/oxwindow.class.php"); $wintitle = "删除指定管理员"; - $wecome_info = "系统帐号管理 - 删除管理员"; $win = new OxWindow(); $win->Init("sys_admin_user_edit.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("dopost", $dopost); diff --git a/src/apps/jump.php b/src/apps/jump.php index 1c616992..56464b74 100644 --- a/src/apps/jump.php +++ b/src/apps/jump.php @@ -22,7 +22,6 @@ if (preg_match("#^http#", $url)) { //如果不是本站点的,则需要点击进行跳转 $wintitle = "将要访问"; $msg = "$url
继续访问
"; - $wecome_info = "页面跳转提示"; $win = new OxWindow(); $win->AddTitle("您将要访问的链接不属于当前站点,请留意账号安全"); $win->AddMsgItem($msg); diff --git a/src/system/common.inc.php b/src/system/common.inc.php index 153c4848..8749b22b 100755 --- a/src/system/common.inc.php +++ b/src/system/common.inc.php @@ -7,7 +7,7 @@ * @link https://www.dedebiz.com */ //系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 -define('DEDEBIZ_SAFE_MODE', TRUE); +define('DEDEBIZ_SAFE_MODE', FALSE); //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 if (!defined('DEDE_ENVIRONMENT')) { define('DEDE_ENVIRONMENT', 'production'); diff --git a/src/system/libraries/oxwindow.class.php b/src/system/libraries/oxwindow.class.php index 4a8df168..bf1b1923 100755 --- a/src/system/libraries/oxwindow.class.php +++ b/src/system/libraries/oxwindow.class.php @@ -1,13 +1,13 @@ myWin .= ""; + $this->formName = $formname; + $this->myWin .= "
"; + } + /** + * 添加隐藏域 + * + * @param string $iname 隐藏域名称 + * @param string $ivalue 隐藏域值 + * @return void + */ + function AddHidden($iname, $ivalue) + { + $this->myWin .= ""; + } + /** + * 开始窗口 + * + * @return void + */ + function StartWin() + { + $this->myWin .= "
"; + } + /** + * 添加单列信息 + * + * @access public + * @param string $ivalue 信息 + * @return void + */ + function AddMsgItem($ivalue) + { + $this->myWinItem .= $ivalue; + } + /** + * 结束窗口 + * + * @param bool $isform + * @return void + */ + function CloseWin($isform = true) + { + if (!$isform) { + $this->myWin .= "
"; + } else { + $this->myWin .= "
"; + } + } + /** + * 添加自定义脚本 + * + * @param string $scripts + * @return void + */ + function SetCheckScript($scripts) + { + $pos = strpos($this->myWin, $this->tmpCode); + if ($pos > 0) { + $this->myWin = substr_replace($this->myWin, $scripts, $pos, strlen($this->tmpCode)); + } + } + /** + * 获取窗口 + * + * @param string $wintype 菜单类型 + * @param string $msg 短消息 + * @param bool $isform 是否是表单 + * @return string + */ + function GetWindow($wintype = "save", $msg = "", $isform = true) + { + global $cfg_static_dir; + $this->StartWin(); + $this->myWin .= $this->myWinItem; + $tt = ''; + switch ($wintype) { + case 'back': + $tt = "返回"; + break; + case 'ok': + $tt = "确定"; + break; + case 'reset': + $tt = "重置"; + break; + case 'search': + $tt = "搜索"; + break; + default: + $tt = "保存"; + break; + } + if ($wintype != "") { + if ($wintype != "hand") { + $this->myWin .= "
+ + +
"; + } else { + if ($msg != "") { + $this->myWin .= "
$msg
+
+ +
"; + } else { + $this->myWin .= ''; + } + } + } + $this->CloseWin($isform); + return $this->myWin; + } + /** + * 显示页面 + * + * @access public + * @param string $modfile 模型模板 + * @return string + */ + function Display($modfile = "") + { + global $cfg_member_dir, $wintitle, $cfg_basedir; + if (empty($wintitle)) { + $wintitle = "提示对话框"; + } + $ctp = new DedeTagParse(); + if ($modfile == '') { + $ctp->LoadTemplate($cfg_basedir.$cfg_member_dir.'/templets/win_templet.htm'); + } else { + $ctp->LoadTemplate($modfile); + } + $emnum = $ctp->Count; + for ($i = 0; $i <= $emnum; $i++) { + if (isset($GLOBALS[$ctp->CTags[$i]->GetTagName()])) { + $ctp->Assign($i, $GLOBALS[$ctp->CTags[$i]->GetTagName()]); + } + } + $ctp->Display(); + $ctp->Clear(); + } +} +/** + * 显示一个不带表单的普通提示 + * + * @access public + * @param string $msg 提示信息 + * @param string $title 提示标题 + * @return string + */ +function ShowMsgWin($msg, $title) +{ + $win = new WebWindow(); + $win->Init(); + $win->mainTitle = "系统提示"; + $win->AddTitle($title); + $win->AddMsgItem($msg); + $winform = $win->GetWindow("hand"); + $win->Display(); +} +?> \ No newline at end of file diff --git a/src/system/typelink/typelink.class.php b/src/system/typelink/typelink.class.php index c53f5285..8229980a 100755 --- a/src/system/typelink/typelink.class.php +++ b/src/system/typelink/typelink.class.php @@ -102,7 +102,7 @@ class TypeLink $this->LogicGetPosition($this->TypeInfos['reid'], true); } $this->valuePosition = $indexpage.$this->SplitSymbol.$this->valuePosition; - return $this->valuePosition.$this->SplitSymbol; + return $this->valuePosition; } else { $this->valuePositionName = $this->TypeInfos['typename']; if ($this->TypeInfos['reid'] != 0) { diff --git a/src/theme/apps/download_links.htm b/src/theme/apps/download_links.htm index a5c72dfe..13bbfa15 100644 --- a/src/theme/apps/download_links.htm +++ b/src/theme/apps/download_links.htm @@ -11,12 +11,10 @@
- + diff --git a/src/theme/apps/flink_add.htm b/src/theme/apps/flink_add.htm index 30ef5391..e54e1f1d 100644 --- a/src/theme/apps/flink_add.htm +++ b/src/theme/apps/flink_add.htm @@ -11,13 +11,11 @@
- +
下载地址列表
diff --git a/src/theme/apps/flink_list.htm b/src/theme/apps/flink_list.htm index eb708f29..6a08123a 100644 --- a/src/theme/apps/flink_list.htm +++ b/src/theme/apps/flink_list.htm @@ -11,12 +11,10 @@
- + diff --git a/src/theme/apps/list_diyform.htm b/src/theme/apps/list_diyform.htm index c15e2909..4c07f960 100644 --- a/src/theme/apps/list_diyform.htm +++ b/src/theme/apps/list_diyform.htm @@ -11,12 +11,10 @@
- + diff --git a/src/theme/apps/post_diyform.htm b/src/theme/apps/post_diyform.htm index d5a8f6bf..c7b5adfb 100644 --- a/src/theme/apps/post_diyform.htm +++ b/src/theme/apps/post_diyform.htm @@ -12,13 +12,11 @@
- + diff --git a/src/theme/apps/recommend.htm b/src/theme/apps/recommend.htm index b12510a3..f57bf95f 100644 --- a/src/theme/apps/recommend.htm +++ b/src/theme/apps/recommend.htm @@ -11,12 +11,10 @@
- + diff --git a/src/theme/apps/showphoto.htm b/src/theme/apps/showphoto.htm index ec482d32..3d10f0c6 100644 --- a/src/theme/apps/showphoto.htm +++ b/src/theme/apps/showphoto.htm @@ -11,12 +11,10 @@
- +
diff --git a/src/theme/apps/view_diyform.htm b/src/theme/apps/view_diyform.htm index 1e1f4a11..c9205adc 100644 --- a/src/theme/apps/view_diyform.htm +++ b/src/theme/apps/view_diyform.htm @@ -11,13 +11,11 @@
- + diff --git a/src/theme/apps/view_msg.htm b/src/theme/apps/view_msg.htm index aa4e5ebb..60331363 100644 --- a/src/theme/apps/view_msg.htm +++ b/src/theme/apps/view_msg.htm @@ -11,12 +11,10 @@
- + diff --git a/src/theme/apps/view_msg_catalog.htm b/src/theme/apps/view_msg_catalog.htm index b06d8dab..ca32ca85 100644 --- a/src/theme/apps/view_msg_catalog.htm +++ b/src/theme/apps/view_msg_catalog.htm @@ -11,12 +11,10 @@
- +
diff --git a/src/theme/apps/vote.htm b/src/theme/apps/vote.htm index febb5903..88b1051c 100644 --- a/src/theme/apps/vote.htm +++ b/src/theme/apps/vote.htm @@ -11,12 +11,10 @@
- +

投票开始时间:

投票结束时间:

投票人数:

diff --git a/src/theme/dedebiz/article_article.htm b/src/theme/dedebiz/article_article.htm index 23367895..35d0599e 100644 --- a/src/theme/dedebiz/article_article.htm +++ b/src/theme/dedebiz/article_article.htm @@ -15,12 +15,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/article_default.htm b/src/theme/dedebiz/article_default.htm index b23c9afa..b6052587 100644 --- a/src/theme/dedebiz/article_default.htm +++ b/src/theme/dedebiz/article_default.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/article_default_sg.htm b/src/theme/dedebiz/article_default_sg.htm index f6b86437..425fb921 100644 --- a/src/theme/dedebiz/article_default_sg.htm +++ b/src/theme/dedebiz/article_default_sg.htm @@ -15,12 +15,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/article_image.htm b/src/theme/dedebiz/article_image.htm index 7d1bcfc7..085f71b3 100644 --- a/src/theme/dedebiz/article_image.htm +++ b/src/theme/dedebiz/article_image.htm @@ -62,12 +62,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/article_infos.htm b/src/theme/dedebiz/article_infos.htm index ae119051..3ce9dbab 100644 --- a/src/theme/dedebiz/article_infos.htm +++ b/src/theme/dedebiz/article_infos.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/article_soft.htm b/src/theme/dedebiz/article_soft.htm index f7950330..9ca02866 100644 --- a/src/theme/dedebiz/article_soft.htm +++ b/src/theme/dedebiz/article_soft.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/article_spec.htm b/src/theme/dedebiz/article_spec.htm index aed6b3ed..10fb1ede 100644 --- a/src/theme/dedebiz/article_spec.htm +++ b/src/theme/dedebiz/article_spec.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/index_article.htm b/src/theme/dedebiz/index_article.htm index dc422c60..1c06f37b 100644 --- a/src/theme/dedebiz/index_article.htm +++ b/src/theme/dedebiz/index_article.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/index_default.htm b/src/theme/dedebiz/index_default.htm index dc422c60..1c06f37b 100644 --- a/src/theme/dedebiz/index_default.htm +++ b/src/theme/dedebiz/index_default.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/index_default_sg.htm b/src/theme/dedebiz/index_default_sg.htm index dc422c60..1c06f37b 100644 --- a/src/theme/dedebiz/index_default_sg.htm +++ b/src/theme/dedebiz/index_default_sg.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/index_image.htm b/src/theme/dedebiz/index_image.htm index 1a14df71..3651f2ca 100644 --- a/src/theme/dedebiz/index_image.htm +++ b/src/theme/dedebiz/index_image.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
{dede:channelartlist} diff --git a/src/theme/dedebiz/index_infos.htm b/src/theme/dedebiz/index_infos.htm index 8ac85387..08b85be7 100644 --- a/src/theme/dedebiz/index_infos.htm +++ b/src/theme/dedebiz/index_infos.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/index_soft.htm b/src/theme/dedebiz/index_soft.htm index 1a14df71..3651f2ca 100644 --- a/src/theme/dedebiz/index_soft.htm +++ b/src/theme/dedebiz/index_soft.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
{dede:channelartlist} diff --git a/src/theme/dedebiz/list_article.htm b/src/theme/dedebiz/list_article.htm index 3afd6aa7..ff7ddcf9 100644 --- a/src/theme/dedebiz/list_article.htm +++ b/src/theme/dedebiz/list_article.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_default.htm b/src/theme/dedebiz/list_default.htm index 3afd6aa7..ff7ddcf9 100644 --- a/src/theme/dedebiz/list_default.htm +++ b/src/theme/dedebiz/list_default.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_default_sg.htm b/src/theme/dedebiz/list_default_sg.htm index 3afd6aa7..ff7ddcf9 100644 --- a/src/theme/dedebiz/list_default_sg.htm +++ b/src/theme/dedebiz/list_default_sg.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_free.htm b/src/theme/dedebiz/list_free.htm index 224adce1..0f08f1a1 100644 --- a/src/theme/dedebiz/list_free.htm +++ b/src/theme/dedebiz/list_free.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_image.htm b/src/theme/dedebiz/list_image.htm index 759a1961..c301f3c8 100644 --- a/src/theme/dedebiz/list_image.htm +++ b/src/theme/dedebiz/list_image.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_infos.htm b/src/theme/dedebiz/list_infos.htm index 03e2fa27..76e3bda8 100644 --- a/src/theme/dedebiz/list_infos.htm +++ b/src/theme/dedebiz/list_infos.htm @@ -15,12 +15,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_soft.htm b/src/theme/dedebiz/list_soft.htm index 759a1961..c301f3c8 100644 --- a/src/theme/dedebiz/list_soft.htm +++ b/src/theme/dedebiz/list_soft.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/list_spec.htm b/src/theme/dedebiz/list_spec.htm index 1dc62dd3..8ef2bac9 100644 --- a/src/theme/dedebiz/list_spec.htm +++ b/src/theme/dedebiz/list_spec.htm @@ -14,12 +14,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/tag.htm b/src/theme/dedebiz/tag.htm index dd0ef32a..2804a293 100644 --- a/src/theme/dedebiz/tag.htm +++ b/src/theme/dedebiz/tag.htm @@ -15,12 +15,10 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/theme/dedebiz/tag_list.htm b/src/theme/dedebiz/tag_list.htm index 36bcbdf0..65cc56d6 100644 --- a/src/theme/dedebiz/tag_list.htm +++ b/src/theme/dedebiz/tag_list.htm @@ -14,13 +14,11 @@ {dede:include filename='top.htm'/} {dede:include filename='head.htm'/}
- +
diff --git a/src/user/album_add.php b/src/user/album_add.php index 1e94ca9f..eddbc1d8 100755 --- a/src/user/album_add.php +++ b/src/user/album_add.php @@ -147,8 +147,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功发布图片文档"; - $wecome_info = "图片管理 - 发布图片文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/album_edit.php b/src/user/album_edit.php index 6c42fff3..8cc1b76a 100755 --- a/src/user/album_edit.php +++ b/src/user/album_edit.php @@ -125,8 +125,7 @@ if (empty($dopost)) { $msg = "浏览文档发布文档修改文档返回文档列表"; //提交后返回提交页面 $wintitle = "成功修改图片文档"; - $wecome_info = "图片管理 - 修改图片文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/archives_add.php b/src/user/archives_add.php index 7f927364..736e3048 100755 --- a/src/user/archives_add.php +++ b/src/user/archives_add.php @@ -124,8 +124,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功发布自定义文档"; - $wecome_info = "文档管理 - 发布自定义文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/archives_edit.php b/src/user/archives_edit.php index fdcf540b..4193f87c 100755 --- a/src/user/archives_edit.php +++ b/src/user/archives_edit.php @@ -92,8 +92,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功修改自定义文档"; - $wecome_info = "文档管理 - 修改自定义文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/archives_sg_add.php b/src/user/archives_sg_add.php index 02116a89..bea58728 100755 --- a/src/user/archives_sg_add.php +++ b/src/user/archives_sg_add.php @@ -43,7 +43,7 @@ if (empty($dopost)) { exit(); } else if ($dopost == 'save') { include_once(DEDEINC."/image.func.php"); - include_once(DEDEINC."/libraries/oxwindow.class.php"); + include_once(DEDEINC."/libraries/webwindow.class.php"); //游客需要校验验证码 if ($cfg_ml->M_ID === 0) { $svali = GetCkVdValue(); @@ -154,8 +154,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功发布分类文档"; - $wecome_info = "文档管理 - 发布分类文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/archives_sg_edit.php b/src/user/archives_sg_edit.php index 051f1827..a3594fdf 100755 --- a/src/user/archives_sg_edit.php +++ b/src/user/archives_sg_edit.php @@ -36,7 +36,7 @@ if (empty($dopost)) { exit(); } else if ($dopost == 'save') { require_once(DEDEINC."/image.func.php"); - require_once(DEDEINC."/libraries/oxwindow.class.php"); + require_once(DEDEINC."/libraries/webwindow.class.php"); $flag = ''; $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; $userip = GetIP(); @@ -108,8 +108,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功修改分类文档"; - $wecome_info = "文档管理 - 修改分类文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/article_add.php b/src/user/article_add.php index b54074be..6ba23655 100755 --- a/src/user/article_add.php +++ b/src/user/article_add.php @@ -113,8 +113,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回管理文档"; $wintitle = "成功发布文档"; - $wecome_info = "文档管理 - 发布文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/article_edit.php b/src/user/article_edit.php index eb69d857..c6d7321f 100755 --- a/src/user/article_edit.php +++ b/src/user/article_edit.php @@ -87,8 +87,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回管理文档"; $wintitle = "成功修改文档"; - $wecome_info = "文档管理 - 修改文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/buy_action.php b/src/user/buy_action.php index a0068e07..505a4ac7 100755 --- a/src/user/buy_action.php +++ b/src/user/buy_action.php @@ -178,7 +178,7 @@ if ($paytype === 0) { } if ($paytype === 1) { //微信支付 - include_once(DEDEINC.'/libraries/oxwindow.class.php'); + include_once(DEDEINC.'/libraries/webwindow.class.php'); $pInfo = $dsql->GetOne("SELECT * FROM `#@__sys_payment` WHERE id = $paytype"); $pData = (array)json_decode($pInfo['config']); $config = array( @@ -205,9 +205,8 @@ if ($paytype === 0) { height : 300, correctLevel : 3 });qrcode.makeCode("'.$payurl.'");'; - $wintitle = "使用微信支付"; - $wecome_info = "微信支付";//这个空格不要去 - $win = new OxWindow(); + $wintitle = "微信支付";//这个空格不要去 + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); @@ -216,7 +215,7 @@ if ($paytype === 0) { exit; } } elseif ($paytype === 2) { - include_once(DEDEINC.'/libraries/oxwindow.class.php'); + include_once(DEDEINC.'/libraries/webwindow.class.php'); $pInfo = $dsql->GetOne("SELECT * FROM `#@__sys_payment` WHERE id = $paytype"); $pData = (array)json_decode($pInfo['config']); $config = array( @@ -243,14 +242,13 @@ if ($paytype === 0) { exit; } } elseif ($paytype === 3) { - include_once(DEDEINC.'/libraries/oxwindow.class.php'); + include_once(DEDEINC.'/libraries/webwindow.class.php'); //银行转账 $pInfo = $dsql->GetOne("SELECT * FROM `#@__sys_payment` WHERE id = $paytype"); $pData = (array)json_decode($pInfo['config']); $msg = "

请汇款至如下账户:

账户名:{$pData['AccountName']}

账号:{$pData['AccountNO']}

开户行:{$pData['Name']}

备注:{$buyid}

如您已经完成转账,请点击下面按钮,等待管理员确认后即可完成充值

"; - $wintitle = "使用银行转账"; - $wecome_info = "银行转账";//这个空格不要去 - $win = new OxWindow(); + $wintitle = "银行转账";//这个空格不要去 + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/inc/archives_check.php b/src/user/inc/archives_check.php index 2fe5a757..ebf72009 100755 --- a/src/user/inc/archives_check.php +++ b/src/user/inc/archives_check.php @@ -10,7 +10,7 @@ if (!defined('DEDEMEMBER')) exit ('dedebiz'); * @link https://www.dedebiz.com */ include_once(DEDEINC.'/image.func.php'); -include_once(DEDEINC.'/libraries/oxwindow.class.php'); +include_once(DEDEINC.'/libraries/webwindow.class.php'); //校验CSRF CheckCSRF(); $flag = ''; diff --git a/src/user/inc/archives_check_edit.php b/src/user/inc/archives_check_edit.php index 39874a07..ec6bee07 100755 --- a/src/user/inc/archives_check_edit.php +++ b/src/user/inc/archives_check_edit.php @@ -10,7 +10,7 @@ if (!defined('DEDEMEMBER')) exit ('dedebiz'); * @link https://www.dedebiz.com */ require_once(DEDEINC."/image.func.php"); -require_once(DEDEINC."/libraries/oxwindow.class.php"); +require_once(DEDEINC."/libraries/webwindow.class.php"); $flag = ''; $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; $userip = GetIP(); diff --git a/src/user/index_do.php b/src/user/index_do.php index cb1c228d..fa183890 100755 --- a/src/user/index_do.php +++ b/src/user/index_do.php @@ -204,32 +204,32 @@ if ($fmdo == 'sendMail') { exit(); } } else if ($fmdo == 'purl'){ - require_once(DEDEINC.'/libraries/oxwindow.class.php'); + require_once(DEDEINC.'/libraries/webwindow.class.php'); CheckRank(0, 0);//禁止游客操作 $row = $dsql->GetOne("SELECT count(*) as dd FROM `#@__member` WHERE `pmid`='{$cfg_ml->M_ID}' "); $msg = "

您已经邀请了{$row['dd']}人:

- +
-
-
链接邀请
+
+

链接邀请

复制链接
复制链接分享给其他人,对方通过链接注册后双方均可获得{$cfg_userad_adds}积分{$cfg_basehost}{$cfg_memberurl}/index_do.php?fmdo=user&dopost=regnew&pid={$cfg_ml->M_LoginID}
- +
-
-
二维码邀请
+
+

二维码邀请

查看二维码
分享二维码到移动设备,通过二维码扫码注册,双方均可获得{$cfg_userad_adds}积分
-
+ "; - $wintitle = "快来邀请好友赚积分啦"; - $wecome_info = "邀请好友赚积分"; - $win = new OxWindow(); + $wintitle = "邀请好友赚积分"; + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/soft_add.php b/src/user/soft_add.php index f449fd2b..4b13d213 100755 --- a/src/user/soft_add.php +++ b/src/user/soft_add.php @@ -163,8 +163,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功发布文档文档"; - $wecome_info = "软件管理 - 发布软件文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/soft_edit.php b/src/user/soft_edit.php index b2bf26c8..5a823b92 100755 --- a/src/user/soft_edit.php +++ b/src/user/soft_edit.php @@ -167,8 +167,7 @@ if (empty($dopost)) { //返回成功信息 $msg = "浏览文档发布文档修改文档返回文档列表"; $wintitle = "成功修改软件文档"; - $wecome_info = "软件管理 - 修改软件文档"; - $win = new OxWindow(); + $win = new WebWindow(); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/templets/album_add.htm b/src/user/templets/album_add.htm index a7f76d2c..a900424e 100755 --- a/src/user/templets/album_add.htm +++ b/src/user/templets/album_add.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/album_edit.htm b/src/user/templets/album_edit.htm index 31571453..4061cd24 100755 --- a/src/user/templets/album_edit.htm +++ b/src/user/templets/album_edit.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/archives_add.htm b/src/user/templets/archives_add.htm index 16ba19b6..30e94619 100755 --- a/src/user/templets/archives_add.htm +++ b/src/user/templets/archives_add.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/archives_edit.htm b/src/user/templets/archives_edit.htm index 61b55a26..2bfec9f3 100755 --- a/src/user/templets/archives_edit.htm +++ b/src/user/templets/archives_edit.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/archives_sg_add.htm b/src/user/templets/archives_sg_add.htm index 3c912bb9..94be2f5d 100755 --- a/src/user/templets/archives_sg_add.htm +++ b/src/user/templets/archives_sg_add.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/archives_sg_edit.htm b/src/user/templets/archives_sg_edit.htm index c2beed81..fa242b51 100755 --- a/src/user/templets/archives_sg_edit.htm +++ b/src/user/templets/archives_sg_edit.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/article_add.htm b/src/user/templets/article_add.htm index 84be233f..7bf3fe64 100755 --- a/src/user/templets/article_add.htm +++ b/src/user/templets/article_add.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/article_edit.htm b/src/user/templets/article_edit.htm index 53c64dae..4dee7efb 100755 --- a/src/user/templets/article_edit.htm +++ b/src/user/templets/article_edit.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/buy.htm b/src/user/templets/buy.htm index 8ca81e0d..7932657b 100755 --- a/src/user/templets/buy.htm +++ b/src/user/templets/buy.htm @@ -15,13 +15,6 @@
-
GetSta();?>
0) {?> fields['scores'] / $cfg_money_scores);?> diff --git a/src/user/templets/buy_action_payment.htm b/src/user/templets/buy_action_payment.htm index 20e80554..7c5b2953 100755 --- a/src/user/templets/buy_action_payment.htm +++ b/src/user/templets/buy_action_payment.htm @@ -15,14 +15,6 @@
-
您申请购买的产品如下,确认无误后请点击购买并支付按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式

订单确认

diff --git a/src/user/templets/content_list.htm b/src/user/templets/content_list.htm index 2f5f0d3a..dc4a770b 100755 --- a/src/user/templets/content_list.htm +++ b/src/user/templets/content_list.htm @@ -25,15 +25,15 @@
-
+
- - - - - - + + + + + + diff --git a/src/user/templets/content_sg_list.htm b/src/user/templets/content_sg_list.htm index a9a208a5..b6d7df2a 100755 --- a/src/user/templets/content_sg_list.htm +++ b/src/user/templets/content_sg_list.htm @@ -25,15 +25,15 @@
-
#文档标题栏目状态更新时间操作#文档标题栏目状态更新时间操作
+
- - - - - - + + + + + + diff --git a/src/user/templets/mypay.htm b/src/user/templets/mypay.htm index b6b303f2..21fcd86c 100755 --- a/src/user/templets/mypay.htm +++ b/src/user/templets/mypay.htm @@ -19,19 +19,19 @@
-
-
#文档标题栏目状态更新时间操作#文档标题栏目状态更新时间操作
- - - - - - - - - - - + + +
+
#选择标题需要金币消费时间
+ + + + + + + + + {dede:datalist} @@ -49,9 +49,9 @@ - -
#选择标题需要金币消费时间
- +
+ + {dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/} diff --git a/src/user/templets/mystow.htm b/src/user/templets/mystow.htm index 6f700828..9b1883de 100755 --- a/src/user/templets/mystow.htm +++ b/src/user/templets/mystow.htm @@ -22,16 +22,16 @@ - +
+ + + + + + + + - - - - - - - - {dede:datalist} diff --git a/src/user/templets/operation.htm b/src/user/templets/operation.htm index 3cb6962a..634ea827 100755 --- a/src/user/templets/operation.htm +++ b/src/user/templets/operation.htm @@ -19,22 +19,22 @@
-
-
#标题收藏时间操作
#标题收藏时间操作
{dede:field.aid/}
- - - - - - - - - - - - - - + + +
+
#选择订单号产品信息状态时间
+ + + + + + + + + + + + {dede:datalist} @@ -52,10 +52,10 @@ - - -
#选择订单号产品信息状态时间
{dede:field.aid/}
- + + + + {dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/} diff --git a/src/user/templets/pm-main.htm b/src/user/templets/pm-main.htm index e24aa9e9..4085cf21 100755 --- a/src/user/templets/pm-main.htm +++ b/src/user/templets/pm-main.htm @@ -25,24 +25,24 @@ -
-
- + + +
- +
- - - - + + + - - + + @@ -77,8 +77,8 @@ {/dede:datalist}
#选择标题 + #选择标题 状态发布时间状态发布时间
- -
+
+ {dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/} diff --git a/src/user/templets/soft_add.htm b/src/user/templets/soft_add.htm index 55a7f371..8fc5cc88 100755 --- a/src/user/templets/soft_add.htm +++ b/src/user/templets/soft_add.htm @@ -12,13 +12,6 @@
-
diff --git a/src/user/templets/soft_edit.htm b/src/user/templets/soft_edit.htm index b4c6751e..bbaee6e3 100755 --- a/src/user/templets/soft_edit.htm +++ b/src/user/templets/soft_edit.htm @@ -12,13 +12,6 @@
- diff --git a/src/user/templets/win_templet.htm b/src/user/templets/win_templet.htm index 6efa8429..9486e29a 100644 --- a/src/user/templets/win_templet.htm +++ b/src/user/templets/win_templet.htm @@ -13,11 +13,10 @@ {dede:include filename='top.htm'/}
-
-
{dede:wecome_info/}
+
+
{dede:wintitle/}
-
{dede:wintitle/}
-
{dede:winform/}
+ {dede:winform/}