diff --git a/src/dede/templets/login.htm b/src/dede/templets/login.htm
index 16228ff0..21ee2052 100755
--- a/src/dede/templets/login.htm
+++ b/src/dede/templets/login.htm
@@ -14,7 +14,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
@@ -39,7 +39,7 @@ function changeAuthCode() {
{
?>
+
看不清?
-
+
diff --git a/src/member/templets/album_edit.htm b/src/member/templets/album_edit.htm
index 5d975b6e..e5c96fbc 100755
--- a/src/member/templets/album_edit.htm
+++ b/src/member/templets/album_edit.htm
@@ -156,7 +156,7 @@ startNum = ;
-
+
-
+
diff --git a/src/member/templets/archives_edit.htm b/src/member/templets/archives_edit.htm
index 54014442..cab5e3d0 100755
--- a/src/member/templets/archives_edit.htm
+++ b/src/member/templets/archives_edit.htm
@@ -102,7 +102,7 @@
-
+
diff --git a/src/member/templets/archives_sg_add.htm b/src/member/templets/archives_sg_add.htm
index 5285f41f..25715ae8 100755
--- a/src/member/templets/archives_sg_add.htm
+++ b/src/member/templets/archives_sg_add.htm
@@ -75,7 +75,7 @@
'>
-
+
diff --git a/src/member/templets/archives_sg_edit.htm b/src/member/templets/archives_sg_edit.htm
index 1e66db65..7669e8b0 100755
--- a/src/member/templets/archives_sg_edit.htm
+++ b/src/member/templets/archives_sg_edit.htm
@@ -67,7 +67,7 @@
'>
-
+
diff --git a/src/member/templets/article_add.htm b/src/member/templets/article_add.htm
index ec721ac7..f0b7a9f9 100755
--- a/src/member/templets/article_add.htm
+++ b/src/member/templets/article_add.htm
@@ -97,7 +97,7 @@
-
+
diff --git a/src/member/templets/article_edit.htm b/src/member/templets/article_edit.htm
index fd59ce16..6eb2db85 100755
--- a/src/member/templets/article_edit.htm
+++ b/src/member/templets/article_edit.htm
@@ -97,7 +97,7 @@
-
+
diff --git a/src/member/templets/buy.htm b/src/member/templets/buy.htm
index 91fca723..38cc2b6d 100755
--- a/src/member/templets/buy.htm
+++ b/src/member/templets/buy.htm
@@ -62,7 +62,7 @@
验证码: |
-
+
|
diff --git a/src/member/templets/edit_baseinfo.htm b/src/member/templets/edit_baseinfo.htm
index c01229fa..d9184a4f 100755
--- a/src/member/templets/edit_baseinfo.htm
+++ b/src/member/templets/edit_baseinfo.htm
@@ -129,7 +129,7 @@
-
+
diff --git a/src/member/templets/index-notlogin.htm b/src/member/templets/index-notlogin.htm
index d64ba041..c1eba814 100755
--- a/src/member/templets/index-notlogin.htm
+++ b/src/member/templets/index-notlogin.htm
@@ -13,7 +13,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
@@ -66,7 +66,7 @@ document.write("午夜好,");
验证码:
-
+
看不清? 点击更换
有效期:
diff --git a/src/member/templets/js/changeAuthCode.js b/src/member/templets/js/changeAuthCode.js
index aab1593a..038bf7f6 100755
--- a/src/member/templets/js/changeAuthCode.js
+++ b/src/member/templets/js/changeAuthCode.js
@@ -9,7 +9,7 @@ function changeAuthCode() {
$('#ver_code').css('top', toppos+'px');
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
diff --git a/src/member/templets/js/reg_new.js b/src/member/templets/js/reg_new.js
index 9d95634c..447af2d8 100755
--- a/src/member/templets/js/reg_new.js
+++ b/src/member/templets/js/reg_new.js
@@ -119,7 +119,7 @@ $(document).ready(function()
});
$("a[href*='#vdcode'],#vdimgck").bind("click", function(){
- $("#vdimgck").attr("src","../include/vdimgck.php?tag="+Math.random());
+ $("#vdimgck").attr("src","../plus/vdimgck.php?tag="+Math.random());
return false;
});
});
diff --git a/src/member/templets/login.htm b/src/member/templets/login.htm
index e02b5590..691c0d59 100755
--- a/src/member/templets/login.htm
+++ b/src/member/templets/login.htm
@@ -12,7 +12,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
@@ -75,7 +75,7 @@ document.write("午夜好,");
验证码:
-
+
看不清? 点击更换
有效期:
diff --git a/src/member/templets/pm-send.htm b/src/member/templets/pm-send.htm
index 9cdb3bbc..54b7e7c3 100755
--- a/src/member/templets/pm-send.htm
+++ b/src/member/templets/pm-send.htm
@@ -93,7 +93,7 @@
?>
-
+
看不清? 点击更换
diff --git a/src/member/templets/reg-new.htm b/src/member/templets/reg-new.htm
index 2a236f5a..35940542 100755
--- a/src/member/templets/reg-new.htm
+++ b/src/member/templets/reg-new.htm
@@ -18,7 +18,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
@@ -173,7 +173,7 @@ document.write("午夜好,");
if(preg_match("/1/",$safe_gdopen)){
?>
验证码:
-
+
看不清? 点击更换
diff --git a/src/member/templets/reg-new2.htm b/src/member/templets/reg-new2.htm
index 35119ffd..5209f38b 100755
--- a/src/member/templets/reg-new2.htm
+++ b/src/member/templets/reg-new2.htm
@@ -18,7 +18,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
diff --git a/src/member/templets/resetpassword.htm b/src/member/templets/resetpassword.htm
index d1c880a9..4dc4d6b0 100755
--- a/src/member/templets/resetpassword.htm
+++ b/src/member/templets/resetpassword.htm
@@ -12,7 +12,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
@@ -102,7 +102,7 @@ document.write("午夜好,");
验证码:
-
+
看不清? 点击更换
取回方式:
diff --git a/src/member/templets/resetpassword2.htm b/src/member/templets/resetpassword2.htm
index 712a4f14..d69c9bff 100755
--- a/src/member/templets/resetpassword2.htm
+++ b/src/member/templets/resetpassword2.htm
@@ -12,7 +12,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
diff --git a/src/member/templets/resetpassword3.htm b/src/member/templets/resetpassword3.htm
index 145b9ea6..e7ee0381 100755
--- a/src/member/templets/resetpassword3.htm
+++ b/src/member/templets/resetpassword3.htm
@@ -12,7 +12,7 @@ function changeAuthCode() {
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")[0]) {
- $("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
+ $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
}
return false;
}
@@ -106,7 +106,7 @@ document.write("午夜好,");
验证码:
-
+
看不清? 点击更换
diff --git a/src/member/templets/soft_add.htm b/src/member/templets/soft_add.htm
index 065c9e8a..f6687c5e 100755
--- a/src/member/templets/soft_add.htm
+++ b/src/member/templets/soft_add.htm
@@ -216,7 +216,7 @@ function ShowHideAddr()
-
+
diff --git a/src/member/templets/soft_edit.htm b/src/member/templets/soft_edit.htm
index 49015956..a9c885f0 100755
--- a/src/member/templets/soft_edit.htm
+++ b/src/member/templets/soft_edit.htm
@@ -230,7 +230,7 @@ function ShowHideAddr()
-
+
diff --git a/src/include/vdimgck.php b/src/plus/vdimgck.php
similarity index 93%
rename from src/include/vdimgck.php
rename to src/plus/vdimgck.php
index 2ef9f329..88f14de7 100755
--- a/src/include/vdimgck.php
+++ b/src/plus/vdimgck.php
@@ -8,7 +8,7 @@
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
-require_once (dirname(__FILE__).'/common.inc.php');
+require_once (dirname(__FILE__).'/../include/common.inc.php');
require_once (DEDEDATA.'/safe/inc_safe_config.php');
require_once (DEDEDATA.'/config.cache.inc.php');
$config = array(
@@ -17,8 +17,8 @@ $config = array(
'word_type' => (int)$safe_codetype, // 1:数字 2:英文 3:单词
'img_width' => $safe_wwidth,
'use_boder' => TRUE,
- 'font_file' => dirname(__FILE__).'/data/fonts/'.mt_rand(1,3).'.ttf',
- 'wordlist_file' => dirname(__FILE__).'/data/words/words.txt',
+ 'font_file' => DEDEINC.'/data/fonts/'.mt_rand(1,3).'.ttf',
+ 'wordlist_file' => DEDEINC.'/data/words/words.txt',
'filter_type' => 5);
$enkey = substr(md5(substr($cfg_cookie_encode,0,5)),0,10);