warning 확인을 위해 가능한 모든 replace 태그를 무효화함

index.php에 대한 iframe 일부 삭제
This commit is contained in:
2018-01-20 04:00:59 +09:00
parent 8bf5433300
commit 8fa3af0fb8
63 changed files with 180 additions and 104 deletions
+3 -1
View File
@@ -6,8 +6,10 @@ $SESSION = new _Session();
if($SESSION->IsLoggedIn() == false) {
// echo('<script>window.top.entrance.location.replace("'.ROOT.W.'indexLogin.php");</script>');
echo('<script>window.top.entrance.location.replace("'.ROOT.W.'i_login/login.php");</script>');
header ("Location: ".ROOT.W.'i_login/login.php');
exit(1);
//echo('<script>window.top.entrance.location.replace("'.ROOT.W.'i_login/login.php");</script>');
//exit(1);
}
+4 -2
View File
@@ -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) {
+3
View File
@@ -72,8 +72,11 @@ if(!is_uploaded_file($image['tmp_name'])) {
sleep(1);
/*
echo "<script type='text/javascript'>
alert('{$response['msg']}');
location.replace('".ROOT.W.I.ENTRANCE.W.ENTRANCE.PHP."');
</script>";
*/
echo ROOT.W.I.ENTRANCE.W.ENTRANCE.PHP;//TODO:debug all and replace
+1 -1
View File
@@ -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);
+6
View File
@@ -1,3 +1,8 @@
<?php
header ("Location:i_entrance/entrance.php");
/*
<!DOCTYPE html>
<html>
@@ -12,3 +17,4 @@
<noframes></noframes>
</html>
*/
+3 -2
View File
@@ -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 "<script>location.replace('_119.php');</script>";
//echo "<script>location.replace('_119.php');</script>";
echo '_119.php';//TODO:debug all and replace
}
switch($btn) {
@@ -54,4 +55,4 @@ case "락풀기":
}
//echo "<script>location.replace('_119.php');</script>";
echo '_119.php';//TODO:replace
echo '_119.php';//TODO:debug all and replace
+3 -2
View File
@@ -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 "<script>location.replace('_admin1.php');</script>";
//echo "<script>location.replace('_admin1.php');</script>";
echo '_admin1.php';//TODO:debug all and replace
}
switch($btn) {
@@ -176,5 +177,5 @@ switch($btn) {
}
//echo "<script>location.replace('_admin1.php');</script>";
echo '_admin1.php';//TODO:replace
echo '_admin1.php';//TODO:debug all and replace
+3 -2
View File
@@ -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 "<script>location.replace('_admin2.php');</script>";
//echo "<script>location.replace('_admin2.php');</script>";
echo '_admin2.php';//TODO:debug all and replace
}
switch($btn) {
@@ -428,5 +429,5 @@ switch($btn) {
}
//echo "<script>location.replace('_admin2.php');</script>";
echo '_admin2.php';//TODO:replace
echo '_admin2.php';//TODO:debug all and replace
+3 -2
View File
@@ -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 "<script>location.replace('_admin3.php');</script>";
//echo "<script>location.replace('_admin3.php');</script>";
echo '_admin3.php';//TODO:debug all and replace
}
switch($btn) {
@@ -130,5 +131,5 @@ switch($btn) {
}
//echo "<script>location.replace('_admin3.php');</script>";
echo '_admin3.php';//TODO:replace
echo '_admin3.php';//TODO:debug all and replace
+3 -2
View File
@@ -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 "<script>location.replace('_admin4.php');</script>";
//echo "<script>location.replace('_admin4.php');</script>";
echo '_admin4.php';//TODO:debug all and replace
}
switch($btn) {
@@ -103,5 +104,5 @@ switch($btn) {
}
//echo "<script>location.replace('_admin4.php');</script>";
echo '_admin4.php'; //TODO:replace
echo '_admin4.php'; //TODO:debug all and replace
+3 -2
View File
@@ -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 "<script>location.replace('_admin5.php');</script>";
//echo "<script>location.replace('_admin5.php');</script>";
echo '_admin5.php';//TODO:debug all and replace
}
switch($btn) {
@@ -26,6 +27,6 @@ switch($btn) {
}
//echo "<script>location.replace('_admin5.php');</script>";
echo '_admin5.php';//TODO:replace
echo '_admin5.php';//TODO:debug all and replace
+4 -1
View File
@@ -43,7 +43,10 @@ if($me['skin'] < 1) {
<link rel=stylesheet href=stylesheet.php?<?=$me['skin'];?> type=text/css>
<script type="text/javascript">
function go(type) {
if(type == 0) location.replace('c_vacation.php');
if(type == 0){
//location.replace('c_vacation.php');
console.log('c_vacation.php');//TODO:debug all and replace
}
}
</script>
<?php require('analytics.php'); ?>
+3 -2
View File
@@ -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 "<script>location.replace('b_betting.php');</script>";
//echo "<script>location.replace('b_betting.php');</script>";
echo 'b_betting.php';//TODO:debug all and replace
exit();
}
@@ -38,5 +39,5 @@ for($i=0; $i < 16; $i++) {
?>
<!--<script>location.replace('b_betting.php');</script>//TODO:replace-->
<!--<script>location.replace('b_betting.php');</script>//TODO:debug all and replace-->
b_betting.php
+1 -1
View File
@@ -43,7 +43,7 @@ if(CheckBlock($connect) != 1 && CheckBlock($connect) != 3) {
}
//echo "<script>location.replace('b_chiefboard.php');</script>";
echo 'b_chiefboard.php';//TODO:replace
echo 'b_chiefboard.php';//TODO:debug all and replace
?>
</body>
+3 -2
View File
@@ -15,7 +15,8 @@ $btn = $_POST['btn'];
//내가 수뇌부이어야함
if($me['level'] < 5) {
echo "<script>location.replace('b_myBossInfo.php');</script>";
//echo "<script>location.replace('b_myBossInfo.php');</script>";
echo 'b_myBossInfo.php';//TODO:debug all and replace
exit();
}
@@ -57,6 +58,6 @@ if($btn == "국가방침") {
}
//echo "<script>location.replace('b_dipcenter.php');</script>";
echo 'b_dipcenter.php';//TODO:replace
echo 'b_dipcenter.php';//TODO:debug all and replace
+10 -5
View File
@@ -40,7 +40,8 @@ if($command == 46) {
}
$query = "update general set {$str} where user_id='{$_SESSION['p_id']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>location.replace('main.php');</script>";
//echo "<script>location.replace('main.php');</script>";
echo 'main.php';//TODO:debug all and replace
//통합제의
} elseif($command == 53) {
$query = "select nation,level from general where user_id='{$_SESSION['p_id']}'";
@@ -66,7 +67,8 @@ if($command == 46) {
$query = "update nation set {$str} where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace
//불가침
} elseif($command == 61) {
$query = "select nation,level from general where user_id='{$_SESSION['p_id']}'";
@@ -91,7 +93,8 @@ if($command == 46) {
$query = "update nation set {$str} where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace
//포상, 몰수, 발령, 항복권고, 원조
//선전포고, 종전, 파기, 초토화, 천도, 증축, 감축
//백성동원, 수몰, 허보, 피장파장, 의병모집, 이호경식, 급습
@@ -112,7 +115,8 @@ if($command == 46) {
$query = "update nation set {$str} where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace
} else {
$count = sizeof($turn);
$str = "con=con";
@@ -121,7 +125,8 @@ if($command == 46) {
}
$query = "update general set {$str} where user_id='{$_SESSION['p_id']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>location.replace('main.php');</script>";
//echo "<script>location.replace('main.php');</script>";
echo 'main.php';//TODO:debug all and replace
}
+6 -3
View File
@@ -22,7 +22,10 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
$con = checkLimit($me['userlevel'], $me['con'], $admin['conlimit']);
if($con >= 2) { echo "<script>window.top.main.location.replace('main.php');</script>"; exit(); }
if($con >= 2) {
//echo "<script>window.top.main.location.replace('main.php');</script>"; exit();
echo 'main.php';//TODO:debug all and replace
}
$msg = str_replace("|", "", $msg);
$msg = trim($msg);
@@ -124,6 +127,6 @@ if($genlist == 9999 && str_replace(" ", "", $msg) != "") {
fclose($fp);
}
echo "<script>location.replace('msglist.php');</script>";
//echo 'msglist.php';//TODO:replace
//echo "<script>location.replace('msglist.php');</script>";
echo 'msglist.php';//TODO:debug all and replace
+5 -3
View File
@@ -27,7 +27,8 @@ if($btn == "임명") {
//임명할사람이 군주이면 불가, 내가 수뇌부이어야함, 공석아닌때는 국가가 같아야함
if($general['level'] == 12 || $meLevel < 5 || ($general['nation'] != $me['nation'] && $genlist != 0)) {
echo "<script>location.replace('b_myBossInfo.php');</script>";
//echo "<script>location.replace('b_myBossInfo.php');</script>";
echo 'b_myBossInfo.php';//TODO:debug all and replace
exit();
}
} elseif($btn == "추방") {
@@ -37,7 +38,8 @@ if($btn == "임명") {
//추방할사람이 군주이면 불가, 내가 수뇌부이어야함, 공석아닌때는 국가가 같아야함
if($general['level'] == 12 || $meLevel < 5 || ($general['nation'] != $me['nation'] && $outlist != 0)) {
echo "<script>location.replace('b_myBossInfo.php');</script>";
//echo "<script>location.replace('b_myBossInfo.php');</script>";
echo 'b_myBossInfo.php';//TODO:debug all and replace
exit();
}
}
@@ -251,6 +253,6 @@ if($btn == "추방") {
}
//echo "<script>location.replace('b_myBossInfo.php');</script>";
echo 'b_myBossInfo.php';//TODO:replace
echo 'b_myBossInfo.php';//TODO:debug all and replace
+1 -1
View File
@@ -43,7 +43,7 @@ if(CheckBlock($connect) != 1 && CheckBlock($connect) != 3) {
}
//echo "<script>location.replace('b_nationboard.php');</script>";
echo 'b_nationboard.php';//TODO:replace
echo 'b_nationboard.php';//TODO:debug all and replace
?>
+1 -1
View File
@@ -17,5 +17,5 @@ $query = "update nation set rule='$msg' where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
//echo "<script>location.replace('b_nationrule.php');</script>";
echo 'b_nationrule.php';//TODO:replace
echo 'b_nationrule.php';//TODO:debug all and replace
+1 -1
View File
@@ -202,5 +202,5 @@ if($btn == "자동개최설정" && $me['userlevel'] >= 5) {
}
?>
<!--<script>location.replace('b_tournament.php');</script> //TODO:replace -->
<!--<script>location.replace('b_tournament.php');</script> //TODO:debug all and replace -->
b_tournament.php
+1 -1
View File
@@ -15,5 +15,5 @@ $query = "update general set killturn='{$admin['killturn']}' where user_id='{$_S
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
//echo "<script>location.replace('b_myPage.php');</script>";
echo 'b_myPage.php'; //TODO:replace
echo 'b_myPage.php'; //TODO:debug all and replace
+1 -1
View File
@@ -73,5 +73,5 @@ if($btn == "수정" && $me['userlevel'] >= 5) {
}
?>
<!--<script>location.replace('a_vote.php');</script> //TODO:replace -->
<!--<script>location.replace('a_vote.php');</script> //TODO:debug all and replace -->
a_vote.php
+2 -1
View File
@@ -92,7 +92,8 @@ pushAllLog($log);
$history[count($history)] = "<C>●</>{$admin['year']}{$admin['month']}월:<L><b>【이벤트】</b></>NPC 유기체가 등장합니다. 의병장과 NPC들의 지능 개선을 위해 NPC 두뇌를 체험합니다. 크게 신경쓰진 마세요.";
pushHistory($connect, $history);
echo "<script>location.replace('./');</script>";
//echo "<script>location.replace('./');</script>";
echo './';//TODO:debug all and replace
function RegGeneral4($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$power,$intel,$personal,$specage,$specage2,$msg="") {
$name = "".$name;
+12 -4
View File
@@ -112,8 +112,14 @@ function GetImageURL($imgsvr) {
function CheckLogin($type=0) {
if($_SESSION['p_id'] == "") {
if($type == 0) { echo "<script>location.replace('start.php');</script>"; }
else { echo "<script>window.top.main.location.replace('main.php');</script>"; }
if($type == 0) {
//echo "<script>location.replace('start.php');</script>";
echo 'start.php';//TODO:debug all and replace
}
else {
echo 'main.php';//TODO:debug all and replace
//echo "<script>window.top.main.location.replace('main.php');</script>";
}
exit();
}
}
@@ -7390,7 +7396,8 @@ function command_Single($connect, $turn, $command) {
}
$query = "update general set {$str} where user_id='{$_SESSION['p_id']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>location.replace('commandlist.php');</script>";
//echo "<script>location.replace('commandlist.php');</script>";
echo 'commandlist.php';//TODO:debug all and replace
}
@@ -7410,7 +7417,8 @@ function command_Chief($connect, $turn, $command) {
$query = "update nation set {$str} where nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace
}
function command_Other($connect, $turn, $commandtype) {
+4
View File
@@ -1,3 +1,6 @@
<?php
header ("Location:main.php", true, 301);
/*
<html>
<head>
<title>삼국지 모의전투 유기체서버</title>
@@ -7,3 +10,4 @@
<frame src=main.php id=main name=main>
</frameset>
</html>
*/
+1 -1
View File
@@ -302,7 +302,7 @@ insertCity($connect, "파양", 1, 103700, 2000, 2200, 2000, 3800, 3800, 7,
insertCity($connect, "탐라", 1, 113000, 2200, 2100, 2000, 4300, 4100, 8, "31|33|34|62"); // 93 : 탐라
insertCity($connect, "유구", 1, 92100, 1700, 1800, 2000, 3700, 3700, 8, "59|69"); // 94 : 유구
//TODO:replace
//TODO:debug all and replace
switch($scenario) {
case 0: echo "index.php"; break;
case 1: echo "scenario_1.php"; break;
+1 -1
View File
@@ -7,4 +7,4 @@ $connect=dbConn();
LogHistory($connect, 1);
//echo "<script>location.replace('index.php');</script>";
echo 'index.php'; //TODO:replace
echo 'index.php'; //TODO:debug all and replace
+2 -1
View File
@@ -99,4 +99,5 @@ $temp=MYDB_fetch_array(MYDB_query("select count(*) from general where level = '1
MYDB_close($connect);
echo "<script>location.replace('install2.php');</script>";
//echo "<script>location.replace('install2.php');</script>";
echo 'install2.php';//TODO:debug all and replace
+4 -2
View File
@@ -67,7 +67,8 @@ function updateToken(type) {
console.log(data);
if(data.result != "rand" && data.result != "leadpow" && data.result != "leadint" && data.result != "powint") {
alert(jqXHR.status+", "+jqXHR.statusText+", "+jqXHR.responseText);
location.replace("index.php");
//location.replace("index.php");
echo 'index.php';//TODO:debug all and replace
} else {
$("#leader").text(data.leader);
$("#power").text(data.power);
@@ -77,7 +78,8 @@ function updateToken(type) {
dataType: 'json',
error: function(jqXHR, textStatus, errorThrown) {
alert(jqXHR.status+", "+jqXHR.statusText+", "+jqXHR.responseText);
location.replace("index.php");
//location.replace("index.php");
echo 'index.php';//TODO:debug all and replace
}
});
}
+2 -1
View File
@@ -269,6 +269,7 @@ if($id_num) {
echo("<script>
window.alert('정상적으로 회원 가입되었습니다. ID : $id \n튜토리얼을 꼭 읽어보세요!');
</script>");
echo("<script>location.replace('index.php');</script>");
//echo("<script>location.replace('index.php');</script>");
echo 'index.php';//TODO:debug all and replace
}
+6 -3
View File
@@ -26,10 +26,12 @@ $me = MYDB_fetch_array($result);
if(!$member) {
MessageBox("아이디나 암호가 올바르지 않습니다!!!");
echo "<script>location.replace('index.php');</script>";
//echo "<script>location.replace('index.php');</script>";
echo 'index.php';//TODO:debug all and replace
} elseif(!$me) {
MessageBox("캐릭터가 없습니다!!!");
echo "<script>location.replace('index.php');</script>";
//echo "<script>location.replace('index.php');</script>";
echo 'index.php';//TODO:debug all and replace
} else {
switch($me['block']) {
case 1:
@@ -52,7 +54,8 @@ if(!$member) {
$query="update general set logcnt=logcnt+1,ip='{$_SESSION['p_ip']}',lastconnect='$date',conmsg='$conmsg' where user_id='{$_SESSION['p_id']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>window.top.location.replace('./');</script>";
//echo "<script>window.top.location.replace('./');</script>";
echo './';//TODO:debug all and replace
$date = date('Y_m_d H:i:s');
$date2 = substr($date, 0, 10);
+1 -1
View File
@@ -20,7 +20,7 @@ $conmsg = $me['conmsg'];
session_destroy();
//echo "<script>location.replace('start.php');</script>";
echo 'start.php';//TODO:replace
echo 'start.php';//TODO:debug all and replace
/*
<html>
+6 -3
View File
@@ -21,10 +21,12 @@ $me = MYDB_fetch_array($result);
if(!$me2) {
MessageBox("캐릭터가 없습니다!!!");
echo "<script>location.replace('index.php');</script>";
//echo "<script>location.replace('index.php');</script>";
echo 'index.php';//TODO:debug all and replace
} elseif(!$me) {
MessageBox("아이디나 암호가 올바르지 않습니다!!!");
echo "<script>location.replace('index.php');</script>";
//echo "<script>location.replace('index.php');</script>";
echo 'index.php';//TODO:debug all and replace
} else {
switch($me['block']) {
case 1:
@@ -47,7 +49,8 @@ if(!$me2) {
$query="update general set logcnt=logcnt+1,ip='{$_SESSION['p_ip']}',lastconnect='$date',conmsg='$conmsg' where user_id='{$_SESSION['p_id']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>window.top.location.replace('./');</script>";
//echo "<script>window.top.location.replace('./');</script>";
echo './';//TODO:debug all and replace
$date2 = substr($date, 0, 10);
$fp = fopen("logs/_{$date2}-login.txt", "a");
+5 -1
View File
@@ -15,7 +15,11 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
$con = checkLimit($me['userlevel'], $me['con'], $admin['conlimit']);
if($con >= 2) { echo "<script>window.top.main.location.replace('main.php');</script>"; exit(); }
if($con >= 2) {
//echo "<script>window.top.main.location.replace('main.php');</script>";
echo 'main.php';//TODO:debug all and replace
exit();
}
$count = sizeof($turn);
for($i=0; $i < $count; $i++) {
+2 -1
View File
@@ -155,7 +155,8 @@ function command_99($connect, $turn) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
}
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace
}
function GetExplain() {
+2 -1
View File
@@ -77,4 +77,5 @@ $temp=MYDB_fetch_array(MYDB_query("select count(*) from general where level = '1
MYDB_close($connect);
echo "<script>location.replace('install2.php');</script>";
//echo "<script>location.replace('install2.php');</script>";
echo 'install2.php';//TODO:debug all and replace
+2 -2
View File
@@ -790,5 +790,5 @@ $history[count($history)] = "<C>●</>184년 1월:<L><b>【역사모드1】</b><
$history[count($history)] = "<C>●</>184년 1월:<Y><b>【황건적】</b></>전국 각지에서 황건적이 들고 일어서고 있습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -896,5 +896,5 @@ $history[count($history)] = "<C>●</>225년 1월:<L><b>【이벤트】</b></><G
$history[count($history)] = "<C>●</>225년 1월:<L><b>【이벤트】</b></><G><b>촉</b></>의 <Y>제갈량</>은 남만을 정벌하기 위해 출정합니다!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -895,5 +895,5 @@ $history[count($history)] = "<C>●</>228년 1월:<L><b>【이벤트】</b></><G
$history[count($history)] = "<C>●</>228년 1월:<L><b>【이벤트】</b></><G><b>위</b></>의 <Y>조예</>는 이에 맞서 <Y>사마의</>를 보냅니다!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -1179,5 +1179,5 @@ $history[count($history)] = "<C>●</>191년 1월:<L><b>【시나리오】</b></
$history[count($history)] = "<C>●</>191년 1월:<L><b>【시나리오】</b></><G><b>병주</b></>에는 <Y>유비</>가 합세한 <Y>공손찬</>이 위용을 뽐냅니다!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -1709,5 +1709,5 @@ $history[count($history)] = "<C>●</>190년 1월:<G><b>【연합】</b></><G><b
$history[count($history)] = "<C>●</>190년 1월:<G><b>【연합】</b></><G><b>초</b></>의 <Y>공주</>가 연합에 참가했습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -744,5 +744,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드1】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>당대의 대표 세력들이 등장합니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -772,5 +772,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드1】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>당대의 대표 세력들이 등장합니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -1
View File
@@ -113,7 +113,8 @@ $history[count($history)] = "<C>●</>179년 1월:<L><b>【가상모드2】</b>
$history[count($history)] = "<C>●</>179년 1월:<L><b>【이벤트】</b></>삼모전 역대 훼신들이 등장합니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
function RegGeneral2($connect,$turnterm,$gencount,$name,$leader,$power,$intel,$personal,$special,$msg="") {
$name = "".$name;
+2 -2
View File
@@ -748,5 +748,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드3】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>출연 가능한 모든 장수들이 재야로 등장하는 가상 시나리오.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -1
View File
@@ -245,7 +245,8 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드4】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>오랑캐에 맞서 버텨내야 합니다!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
function RegGeneral2($connect,$turnterm,$gencount,$name,$leader,$power,$intel,$personal,$special,$msg="") {
$name = "".$name;
+2 -2
View File
@@ -314,5 +314,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드5】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>진정한 영웅들만이 재야로 등장하는 가상 시나리오.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -311,5 +311,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드6】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>영웅은 없다! 오직 내가 영웅일 뿐이다!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -589,5 +589,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드7】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>올해의 가요대상은!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -418,5 +418,5 @@ $history[count($history)] = "<C>●</>180년 1월:<L><b>【가상모드8】</b>
$history[count($history)] = "<C>●</>180년 1월:<L><b>【이벤트】</b></>삼모전에 확밀아가 빙의됩니다!";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -1750,5 +1750,5 @@ $history[count($history)] = "<C>●</>194년 1월:<L><b>【이벤트】</b></>
$history[count($history)] = "<C>●</>194년 1월:<L><b>【이벤트】</b></><G><b>강동</b></>에서는 <Y>손책</>이 웅크리고 있습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -1287,5 +1287,5 @@ $history[count($history)] = "<C>●</>196년 1월:<L><b>【이벤트】</b></><G
$history[count($history)] = "<C>●</>196년 1월:<L><b>【이벤트】</b></><G><b>회남</b></>의 <Y>원술</>은 황제가 될 기회를 노리고 있습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -993,5 +993,5 @@ $history[count($history)] = "<C>●</>200년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>200년 1월:<L><b>【이벤트】</b></><G><b>관도</b></>에는 전운이 감돌고 있습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -1039,5 +1039,5 @@ $history[count($history)] = "<C>●</>202년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>202년 1월:<L><b>【이벤트】</b></>남쪽으로 피신한 <Y>유비</>는 <Y>유표</>에게 의지해 신야에 머무릅니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -1091,5 +1091,5 @@ $history[count($history)] = "<C>●</>207년 1월:<L><b>【이벤트】</b></><Y
$history[count($history)] = "<C>●</>207년 1월:<L><b>【이벤트】</b></>대군을 몰고 온 <Y>조조</>, 이에 맞서는 <Y>손권</>과 <Y>유비</>. 적벽은 피로 물들려 하고 있습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -2
View File
@@ -943,5 +943,5 @@ $history[count($history)] = "<C>●</>213년 1월:<L><b>【이벤트】</b></>
$history[count($history)] = "<C>●</>213년 1월:<L><b>【이벤트】</b></>형주에 일었던 피바람은 <G><b>익주</b></>에서 다시 불어오고 있습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -1
View File
@@ -867,5 +867,6 @@ $history[count($history)] = "<C>●</>219년 1월:<L><b>【이벤트】</b></><G
$history[count($history)] = "<C>●</>219년 1월:<L><b>【이벤트】</b></><Y>위</>, <Y>오</>, <Y>촉</>의 본격적인 삼국시대가 되었습니다.";
pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
//echo "<script>location.replace('install3_ok.php');</script>";
echo 'install3_ok.php';//TODO:debug all and replace
+2 -1
View File
@@ -121,6 +121,7 @@ if($admin['npcmode'] != 1) {
window.alert('정상적으로 회원 가입되었습니다. ID : $id');
</script>");
echo("<script>window.open('../i_other/help.php');</script>");
echo("<script>location.replace('index.php');</script>");
//echo("<script>location.replace('index.php');</script>");
echo 'index.php';//TODO:debug all and replace
}
+3 -1
View File
@@ -1,3 +1,5 @@
<html>
<script>window.top.location.replace('../');</script>
<script>/*window.top.location.replace('../');*///TODO:debug all and replace
</script>
../
</html>
+7 -2
View File
@@ -15,7 +15,11 @@ $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""
$me = MYDB_fetch_array($result);
$con = checkLimit($me['userlevel'], $me['con'], $admin['conlimit']);
if($con >= 2) { echo "<script>window.top.main.location.replace('main.php');</script>"; exit(); }
if($con >= 2) {
//echo "<script>window.top.main.location.replace('main.php');</script>";
echo 'main.php';//TODO:debug all and replace
exit();
}
switch($type) {
case 0:
@@ -84,4 +88,5 @@ case 2:
break;
}
echo "<script>location.replace('commandlist.php');</script>";
//echo "<script>location.replace('commandlist.php');</script>";
echo 'commandlist.php';//TODO:debug all and replace
+2 -1
View File
@@ -11,4 +11,5 @@ $me = MYDB_fetch_array($result);
updateCommand($connect, $me['no'], 2);
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace
+2 -1
View File
@@ -11,5 +11,6 @@ $me = MYDB_fetch_array($result);
backupdateCommand($connect, $me['no'], 2);
echo "<script>location.replace('b_chiefcenter.php');</script>";
//echo "<script>location.replace('b_chiefcenter.php');</script>";
echo 'b_chiefcenter.php';//TODO:debug all and replace