叙述、别离 pirms 2 gadiem
vecāks
revīzija
8038043dea
10 mainītis faili ar 10 papildinājumiem un 10 dzēšanām
  1. +1
    -1
      src/admin/adtype_main.php
  2. +1
    -1
      src/admin/article_test_same.php
  3. +1
    -1
      src/admin/cards_make.php
  4. +1
    -1
      src/admin/cards_type.php
  5. +1
    -1
      src/admin/friendlink_type.php
  6. +1
    -1
      src/admin/makehtml_freelist_action.php
  7. +1
    -1
      src/admin/member_type.php
  8. +1
    -1
      src/apps/qrcode.php
  9. +1
    -1
      src/system/archive/archives.class.php
  10. +1
    -1
      src/system/common.inc.php

+ 1
- 1
src/admin/adtype_main.php Parādīt failu

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


+ 1
- 1
src/admin/article_test_same.php Parādīt failu

@@ -32,7 +32,7 @@ else if ($dopost == 'delsel') {
require_once(dirname(__FILE__)."/inc/inc_batchup.php"); require_once(dirname(__FILE__)."/inc/inc_batchup.php");
if (empty($titles)) { if (empty($titles)) {
header("Content-Type: text/html; charset={$cfg_ver_lang}"); header("Content-Type: text/html; charset={$cfg_ver_lang}");
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$cfg_ver_lang}\">\r\n";
echo "<meta charset={$cfg_ver_lang}\">\r\n";
echo "没有指定删除的文档"; echo "没有指定删除的文档";
exit(); exit();
} }


+ 1
- 1
src/admin/cards_make.php Parādīt failu

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


+ 1
- 1
src/admin/cards_type.php Parādīt failu

@@ -42,7 +42,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__moneycard_type` (num,pname,money) VALUES ('{$num_new}','{$pname_new}','{$money_new}');"; $query = "INSERT INTO `#@__moneycard_type` (num,pname,money) VALUES ('{$num_new}','{$pname_new}','{$money_new}');";
$dsql->ExecuteNoneQuery($query); $dsql->ExecuteNoneQuery($query);
} }
header("Content-Type: text/html; charset={$cfg_soft_lang}");
header("charset={$cfg_soft_lang}");
echo "<script>alert('成功更新点卡产品分类表');</script>"; echo "<script>alert('成功更新点卡产品分类表');</script>";
} }
require_once(DEDEADMIN."/templets/cards_type.htm"); require_once(DEDEADMIN."/templets/cards_type.htm");

+ 1
- 1
src/admin/friendlink_type.php Parādīt failu

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

+ 1
- 1
src/admin/makehtml_freelist_action.php Parādīt failu

@@ -16,7 +16,7 @@ $ci = " aid >= $startid ";
if (!empty($endid) && $endid >= $startid) { if (!empty($endid) && $endid >= $startid) {
$ci .= " And aid <= $endid "; $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->SetQuery("SELECT aid FROM `#@__freelist` WHERE $ci");
$dsql->Execute(); $dsql->Execute();
while ($row = $dsql->GetArray()) { while ($row = $dsql->GetArray()) {


+ 1
- 1
src/admin/member_type.php Parādīt failu

@@ -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}');"; $query = "INSERT INTO `#@__member_type` (`rank`,pname,money,exptime) VALUES ('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');";
$dsql->ExecuteNoneQuery($query); $dsql->ExecuteNoneQuery($query);
} }
header("Content-Type: text/html; charset={$cfg_soft_lang}");
header("charset={$cfg_soft_lang}");
echo "<script> alert('成功更新会员产品分类表'); </script>"; echo "<script> alert('成功更新会员产品分类表'); </script>";
} }
$arcranks = array(); $arcranks = array();


+ 1
- 1
src/apps/qrcode.php Parādīt failu

@@ -30,7 +30,7 @@ if ($action == 'get_qrcode') {
$qrcode = new DedeQrcode; $qrcode = new DedeQrcode;
$qrcode->generate($params); $qrcode->generate($params);
} else { } else {
header("Content-Type: text/html; charset={$cfg_soft_lang}");
header("charset={$cfg_soft_lang}");
$dtp = new DedeTemplate(); $dtp = new DedeTemplate();
$tplfile = DEDETEMPLATE.'/plus/qrcode.htm'; $tplfile = DEDETEMPLATE.'/plus/qrcode.htm';
$dtp->LoadTemplate($tplfile); $dtp->LoadTemplate($tplfile);


+ 1
- 1
src/system/archive/archives.class.php Parādīt failu

@@ -488,7 +488,7 @@ class Archives
$this->Fields['flag'] = empty($this->Fields['flag']) ? "" : $this->Fields['flag']; $this->Fields['flag'] = empty($this->Fields['flag']) ? "" : $this->Fields['flag'];
if (preg_match("#j#", $this->Fields['flag']) && $this->Fields['redirecturl'] != '') { if (preg_match("#j#", $this->Fields['flag']) && $this->Fields['redirecturl'] != '') {
if ($GLOBALS['cfg_jump_once'] == 'N') { if ($GLOBALS['cfg_jump_once'] == 'N') {
$pageHtml = "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=".$GLOBALS['cfg_soft_lang']."\">\r\n<title>".$this->Fields['title']."</title>\r\n";
$pageHtml = "<html>\r\n<head>\r\n<meta charset=".$GLOBALS['cfg_soft_lang']."\">\r\n<title>".$this->Fields['title']."</title>\r\n";
$pageHtml .= "<meta http-equiv=\"refresh\" content=\"3;URL=".$this->Fields['redirecturl']."\">\r\n</head>\r\n<body>\r\n"; $pageHtml .= "<meta http-equiv=\"refresh\" content=\"3;URL=".$this->Fields['redirecturl']."\">\r\n</head>\r\n<body>\r\n";
$pageHtml .= "现在正在转向:".$this->Fields['title'].",请稍候<br><br>\r\n转向文档简介:".$this->Fields['description']."\r\n</body>\r\n</html>\r\n"; $pageHtml .= "现在正在转向:".$this->Fields['title'].",请稍候<br><br>\r\n转向文档简介:".$this->Fields['description']."\r\n</body>\r\n</html>\r\n";
echo $pageHtml; echo $pageHtml;


+ 1
- 1
src/system/common.inc.php Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt