diff --git a/f_config/SESSION.php b/f_config/SESSION.php
index 2a50f81f..c619ac35 100644
--- a/f_config/SESSION.php
+++ b/f_config/SESSION.php
@@ -6,8 +6,10 @@ $SESSION = new _Session();
if($SESSION->IsLoggedIn() == false) {
// echo('');
- echo('');
+ header ("Location: ".ROOT.W.'i_login/login.php');
exit(1);
+ //echo('');
+ //exit(1);
}
diff --git a/f_func/func.js b/f_func/func.js
index 3139228f..d5c2b1f1 100644
--- a/f_func/func.js
+++ b/f_func/func.js
@@ -7,11 +7,13 @@ function Open(url) {
}
function Replace(url) {
- location.replace(url);
+ //location.replace(url);
+ console.log('this',url);
}
function ReplaceFrame(url) {
- window.top.location.replace(url);
+ //window.top.location.replace(url);
+ console.log('top',url);
}
function ImportStyle(href) {
diff --git a/i_entrance/manage/iconPost.php b/i_entrance/manage/iconPost.php
index a77e3e20..56769534 100644
--- a/i_entrance/manage/iconPost.php
+++ b/i_entrance/manage/iconPost.php
@@ -72,8 +72,11 @@ if(!is_uploaded_file($image['tmp_name'])) {
sleep(1);
+/*
echo "";
+*/
+echo ROOT.W.I.ENTRANCE.W.ENTRANCE.PHP;//TODO:debug all and replace
diff --git a/i_entrance/member/Get.php b/i_entrance/member/Get.php
index 48347bd3..69200ba6 100644
--- a/i_entrance/member/Get.php
+++ b/i_entrance/member/Get.php
@@ -7,7 +7,7 @@ require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
-require_once(ROOT.W.E_LIB.W.UTIL.PHP);
+require_once(ROOT.W.E_LIB.W.'util.php');
$rs = $DB->Select('GRADE', 'MEMBER', "NO='{$SESSION->NoMember()}'");
$member = $DB->Get($rs);
diff --git a/index.php b/index.php
index 4173b042..a59956f6 100644
--- a/index.php
+++ b/index.php
@@ -1,3 +1,8 @@
+
@@ -12,3 +17,4 @@
+*/
\ No newline at end of file
diff --git a/twe/_119_b.php b/twe/_119_b.php
index eb8e746e..dbf7ab7f 100644
--- a/twe/_119_b.php
+++ b/twe/_119_b.php
@@ -9,7 +9,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
if($me['userlevel'] < 5) {
- echo "";
+ //echo "";
+ echo '_119.php';//TODO:debug all and replace
}
switch($btn) {
@@ -54,4 +55,4 @@ case "락풀기":
}
//echo "";
-echo '_119.php';//TODO:replace
+echo '_119.php';//TODO:debug all and replace
diff --git a/twe/_admin1_submit.php b/twe/_admin1_submit.php
index 8f032a9a..c88de998 100644
--- a/twe/_admin1_submit.php
+++ b/twe/_admin1_submit.php
@@ -12,7 +12,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
if($me['userlevel'] < 5) {
- echo "";
+ //echo "";
+ echo '_admin1.php';//TODO:debug all and replace
}
switch($btn) {
@@ -176,5 +177,5 @@ switch($btn) {
}
//echo "";
-echo '_admin1.php';//TODO:replace
+echo '_admin1.php';//TODO:debug all and replace
diff --git a/twe/_admin2_submit.php b/twe/_admin2_submit.php
index 354f26bf..99d56b30 100644
--- a/twe/_admin2_submit.php
+++ b/twe/_admin2_submit.php
@@ -10,7 +10,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
if($me['userlevel'] < 5) {
- echo "";
+ //echo "";
+ echo '_admin2.php';//TODO:debug all and replace
}
switch($btn) {
@@ -428,5 +429,5 @@ switch($btn) {
}
//echo "";
-echo '_admin2.php';//TODO:replace
+echo '_admin2.php';//TODO:debug all and replace
diff --git a/twe/_admin3_submit.php b/twe/_admin3_submit.php
index 5b2da323..0ba212e1 100644
--- a/twe/_admin3_submit.php
+++ b/twe/_admin3_submit.php
@@ -12,7 +12,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
if($me['userlevel'] < 4) {
- echo "";
+ //echo "";
+ echo '_admin3.php';//TODO:debug all and replace
}
switch($btn) {
@@ -130,5 +131,5 @@ switch($btn) {
}
//echo "";
-echo '_admin3.php';//TODO:replace
+echo '_admin3.php';//TODO:debug all and replace
diff --git a/twe/_admin4_submit.php b/twe/_admin4_submit.php
index ef8b543f..d70b8da2 100644
--- a/twe/_admin4_submit.php
+++ b/twe/_admin4_submit.php
@@ -10,7 +10,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
if($me['userlevel'] < 5) {
- echo "";
+ //echo "";
+ echo '_admin4.php';//TODO:debug all and replace
}
switch($btn) {
@@ -103,5 +104,5 @@ switch($btn) {
}
//echo "";
-echo '_admin4.php'; //TODO:replace
+echo '_admin4.php'; //TODO:debug all and replace
diff --git a/twe/_admin5_submit.php b/twe/_admin5_submit.php
index c99f6fce..cfbda22e 100644
--- a/twe/_admin5_submit.php
+++ b/twe/_admin5_submit.php
@@ -10,7 +10,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
if($me['userlevel'] < 5) {
- echo "";
+ //echo "";
+ echo '_admin5.php';//TODO:debug all and replace
}
switch($btn) {
@@ -26,6 +27,6 @@ switch($btn) {
}
//echo "";
-echo '_admin5.php';//TODO:replace
+echo '_admin5.php';//TODO:debug all and replace
diff --git a/twe/b_myPage.php b/twe/b_myPage.php
index 3099287d..77da7517 100644
--- a/twe/b_myPage.php
+++ b/twe/b_myPage.php
@@ -43,7 +43,10 @@ if($me['skin'] < 1) {
type=text/css>
diff --git a/twe/c_betting.php b/twe/c_betting.php
index 06a4e4e0..01d7c7d4 100644
--- a/twe/c_betting.php
+++ b/twe/c_betting.php
@@ -13,7 +13,8 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$admin = MYDB_fetch_array($result);
if($admin['tournament'] != 6) {
- echo "";
+ //echo "";
+ echo 'b_betting.php';//TODO:debug all and replace
exit();
}
@@ -38,5 +39,5 @@ for($i=0; $i < 16; $i++) {
?>
-
+
b_betting.php
diff --git a/twe/c_chiefboard.php b/twe/c_chiefboard.php
index 2615e896..cc493a2d 100644
--- a/twe/c_chiefboard.php
+++ b/twe/c_chiefboard.php
@@ -43,7 +43,7 @@ if(CheckBlock($connect) != 1 && CheckBlock($connect) != 3) {
}
//echo "";
-echo 'b_chiefboard.php';//TODO:replace
+echo 'b_chiefboard.php';//TODO:debug all and replace
?>