Browse Source

恢复网络返回信息网页文本

tags/6.2.1
叙述、别离 1 year ago
parent
commit
c05bd3eec2
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      src/admin/adtype_main.php
  2. +1
    -1
      src/admin/cards_make.php
  3. +1
    -1
      src/admin/cards_type.php
  4. +1
    -1
      src/admin/friendlink_type.php
  5. +1
    -1
      src/admin/makehtml_freelist_action.php
  6. +1
    -1
      src/admin/member_type.php
  7. +1
    -1
      src/system/common.inc.php

+ 1
- 1
src/admin/adtype_main.php View File

@@ -33,7 +33,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__myadtype` (typename) VALUES ('{$pname_new}');";
$dsql->ExecuteNoneQuery($query);
}
header("charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
ShowMsg("成功更新广告分类列表", 'adtype_main.php');
exit;
}


+ 1
- 1
src/admin/cards_make.php View File

@@ -24,7 +24,7 @@ elseif ($dopost == 'make') {
$ctid = $cardtype;
$startid++;
$endid = $startid + $mnum;
header("charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
for (; $startid < $endid; $startid++) {
$cardid = $snprefix.$startid.'-';
for ($p = 0; $p < $pwdgr; $p++) {


+ 1
- 1
src/admin/cards_type.php View File

@@ -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("charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "<script>alert('成功更新点卡产品分类表');</script>";
}
require_once(DEDEADMIN."/templets/cards_type.htm");

+ 1
- 1
src/admin/friendlink_type.php View File

@@ -34,7 +34,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__flinktype` (typename) VALUES ('{$pname_new}');";
$dsql->ExecuteNoneQuery($query);
}
header("charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "<script> alert('成功更新友情链接网站分类表'); </script>";
}
include DedeInclude('templets/friendlink_type.htm');

+ 1
- 1
src/admin/makehtml_freelist_action.php View File

@@ -16,7 +16,7 @@ $ci = " aid >= $startid ";
if (!empty($endid) && $endid >= $startid) {
$ci .= " And aid <= $endid ";
}
header("charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
$dsql->SetQuery("SELECT aid FROM `#@__freelist` WHERE $ci");
$dsql->Execute();
while ($row = $dsql->GetArray()) {


+ 1
- 1
src/admin/member_type.php View File

@@ -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("charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "<script> alert('成功更新会员产品分类表'); </script>";
}
$arcranks = array();


+ 1
- 1
src/system/common.inc.php View File

@@ -226,7 +226,7 @@ if (isset($GLOBALS['TotalResult'])) {
}
if (!isset($cfg_NotPrintHead)) {
if (PHP_SAPI != 'cli') {
header("Content-Type: text/html; charset={$cfg_soft_lang}");
header("Content-Type:text/html; charset={$cfg_soft_lang}");
}
}
//自动加载类库处理


Loading…
Cancel
Save