diff --git a/src/admin/adtype_main.php b/src/admin/adtype_main.php index a8035f3b..c4ea372f 100644 --- a/src/admin/adtype_main.php +++ b/src/admin/adtype_main.php @@ -33,7 +33,7 @@ if ($dopost == "save") { $query = "INSERT INTO `#@__myadtype` (typename) VALUES ('{$pname_new}');"; $dsql->ExecuteNoneQuery($query); } - header("Content-Type: text/html; charset={$cfg_soft_lang}"); + header("charset={$cfg_soft_lang}"); ShowMsg("成功更新广告分类列表", 'adtype_main.php'); exit; } diff --git a/src/admin/article_test_same.php b/src/admin/article_test_same.php index e182cfe7..5621a5b6 100644 --- a/src/admin/article_test_same.php +++ b/src/admin/article_test_same.php @@ -32,7 +32,7 @@ else if ($dopost == 'delsel') { require_once(dirname(__FILE__)."/inc/inc_batchup.php"); if (empty($titles)) { header("Content-Type: text/html; charset={$cfg_ver_lang}"); - echo "\r\n"; + echo "\r\n"; echo "没有指定删除的文档"; exit(); } diff --git a/src/admin/cards_make.php b/src/admin/cards_make.php index 2b8cd0af..ef55b3ed 100644 --- a/src/admin/cards_make.php +++ b/src/admin/cards_make.php @@ -24,7 +24,7 @@ elseif ($dopost == 'make') { $ctid = $cardtype; $startid++; $endid = $startid + $mnum; - header("Content-Type: text/html; charset={$cfg_soft_lang}"); + header("charset={$cfg_soft_lang}"); for (; $startid < $endid; $startid++) { $cardid = $snprefix.$startid.'-'; for ($p = 0; $p < $pwdgr; $p++) { diff --git a/src/admin/cards_type.php b/src/admin/cards_type.php index 3befe772..46a41b49 100644 --- a/src/admin/cards_type.php +++ b/src/admin/cards_type.php @@ -42,7 +42,7 @@ if ($dopost == "save") { $query = "INSERT INTO `#@__moneycard_type` (num,pname,money) VALUES ('{$num_new}','{$pname_new}','{$money_new}');"; $dsql->ExecuteNoneQuery($query); } - header("Content-Type: text/html; charset={$cfg_soft_lang}"); + header("charset={$cfg_soft_lang}"); echo ""; } require_once(DEDEADMIN."/templets/cards_type.htm"); diff --git a/src/admin/friendlink_type.php b/src/admin/friendlink_type.php index 852e3bd6..b655bcdf 100644 --- a/src/admin/friendlink_type.php +++ b/src/admin/friendlink_type.php @@ -34,7 +34,7 @@ if ($dopost == "save") { $query = "INSERT INTO `#@__flinktype` (typename) VALUES ('{$pname_new}');"; $dsql->ExecuteNoneQuery($query); } - header("Content-Type: text/html; charset={$cfg_soft_lang}"); + header("charset={$cfg_soft_lang}"); echo ""; } include DedeInclude('templets/friendlink_type.htm'); diff --git a/src/admin/makehtml_freelist_action.php b/src/admin/makehtml_freelist_action.php index 5f090d67..44ddd856 100644 --- a/src/admin/makehtml_freelist_action.php +++ b/src/admin/makehtml_freelist_action.php @@ -16,7 +16,7 @@ $ci = " aid >= $startid "; if (!empty($endid) && $endid >= $startid) { $ci .= " And aid <= $endid "; } -header("Content-Type: text/html; charset={$cfg_soft_lang}"); +header("charset={$cfg_soft_lang}"); $dsql->SetQuery("SELECT aid FROM `#@__freelist` WHERE $ci"); $dsql->Execute(); while ($row = $dsql->GetArray()) { diff --git a/src/admin/member_type.php b/src/admin/member_type.php index 3167bbd5..30e5af24 100644 --- a/src/admin/member_type.php +++ b/src/admin/member_type.php @@ -38,7 +38,7 @@ if ($dopost == "save") { $query = "INSERT INTO `#@__member_type` (`rank`,pname,money,exptime) VALUES ('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');"; $dsql->ExecuteNoneQuery($query); } - header("Content-Type: text/html; charset={$cfg_soft_lang}"); + header("charset={$cfg_soft_lang}"); echo ""; } $arcranks = array(); diff --git a/src/apps/qrcode.php b/src/apps/qrcode.php index d1983c63..ded9b1fc 100755 --- a/src/apps/qrcode.php +++ b/src/apps/qrcode.php @@ -30,7 +30,7 @@ if ($action == 'get_qrcode') { $qrcode = new DedeQrcode; $qrcode->generate($params); } else { - header("Content-Type: text/html; charset={$cfg_soft_lang}"); + header("charset={$cfg_soft_lang}"); $dtp = new DedeTemplate(); $tplfile = DEDETEMPLATE.'/plus/qrcode.htm'; $dtp->LoadTemplate($tplfile); diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index b00f705e..be0db62f 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -488,7 +488,7 @@ class Archives $this->Fields['flag'] = empty($this->Fields['flag']) ? "" : $this->Fields['flag']; if (preg_match("#j#", $this->Fields['flag']) && $this->Fields['redirecturl'] != '') { if ($GLOBALS['cfg_jump_once'] == 'N') { - $pageHtml = "\r\n
\r\n\r\n