?> 제거

replace 코드 디버깅 용도로 제거
This commit is contained in:
2018-01-14 02:31:25 +09:00
parent 1efe3a750b
commit 7e0940d57d
231 changed files with 5683 additions and 326 deletions
-1
View File
@@ -38,4 +38,3 @@ function MYDB_close($connect) {
return mysqli_close($connect);
}
?>
+2 -2
View File
@@ -53,5 +53,5 @@ case "락풀기":
break;
}
echo "<script>location.replace('_119.php');</script>";
?>
//echo "<script>location.replace('_119.php');</script>";
echo '_119.php';//TODO:replace
+2 -2
View File
@@ -175,6 +175,6 @@ switch($btn) {
break;
}
echo "<script>location.replace('_admin1.php');</script>";
?>
//echo "<script>location.replace('_admin1.php');</script>";
echo '_admin1.php';//TODO:replace
+2 -2
View File
@@ -427,6 +427,6 @@ switch($btn) {
break;
}
echo "<script>location.replace('_admin2.php');</script>";
?>
//echo "<script>location.replace('_admin2.php');</script>";
echo '_admin2.php';//TODO:replace
+2 -2
View File
@@ -129,6 +129,6 @@ switch($btn) {
break;
}
echo "<script>location.replace('_admin3.php');</script>";
?>
//echo "<script>location.replace('_admin3.php');</script>";
echo '_admin3.php';//TODO:replace
+2 -2
View File
@@ -102,6 +102,6 @@ switch($btn) {
break;
}
echo "<script>location.replace('_admin4.php');</script>";
?>
//echo "<script>location.replace('_admin4.php');</script>";
echo '_admin4.php'; //TODO:replace
+3 -2
View File
@@ -25,6 +25,7 @@ switch($btn) {
break;
}
echo "<script>location.replace('_admin5.php');</script>";
?>
//echo "<script>location.replace('_admin5.php');</script>";
echo '_admin5.php';//TODO:replace
+1 -1
View File
@@ -1559,4 +1559,4 @@ function printSimul($game, $i) {
</tr>";
}
?>
+1 -1
View File
@@ -254,4 +254,4 @@ function getHexCode($hex) {
case 12: return "C"; case 13: return "D"; case 14: return "E"; case 15: return "F";
}
}
?>
+1 -1
View File
@@ -335,4 +335,4 @@ function getNewColor($type) {
return $color;
}
?>
+2 -1
View File
@@ -1,4 +1,4 @@
<script type="text/javascript">
<!--<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '']);
@@ -11,3 +11,4 @@
})();
</script>
-->
+1 -1
View File
@@ -213,4 +213,4 @@ if($btn == "판매") {
}
Submit("b_auction.php", $msg, $msg2);
?>
+2 -1
View File
@@ -38,4 +38,5 @@ for($i=0; $i < 16; $i++) {
?>
<script>location.replace('b_betting.php');</script>
<!--<script>location.replace('b_betting.php');</script>//TODO:replace-->
b_betting.php
+2 -2
View File
@@ -42,8 +42,8 @@ if(CheckBlock($connect) != 1 && CheckBlock($connect) != 3) {
}
}
echo "<script>location.replace('b_chiefboard.php');</script>";
//echo "<script>location.replace('b_chiefboard.php');</script>";
echo 'b_chiefboard.php';//TODO:replace
?>
</body>
+2 -2
View File
@@ -56,7 +56,7 @@ if($btn == "국가방침") {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
echo "<script>location.replace('b_dipcenter.php');</script>";
//echo "<script>location.replace('b_dipcenter.php');</script>";
echo 'b_dipcenter.php';//TODO:replace
?>
-1
View File
@@ -124,5 +124,4 @@ if($command == 46) {
echo "<script>location.replace('main.php');</script>";
}
?>
+2 -3
View File
@@ -113,7 +113,6 @@ if($genlist == 9999 && str_replace(" ", "", $msg) != "") {
fclose($fp);
}
echo "<script>location.replace('msglist.php');</script>";
?>
//echo "<script>location.replace('msglist.php');</script>";
echo 'msglist.php';//TODO:replace
+2 -2
View File
@@ -250,7 +250,7 @@ if($btn == "추방") {
}
}
echo "<script>location.replace('b_myBossInfo.php');</script>";
//echo "<script>location.replace('b_myBossInfo.php');</script>";
echo 'b_myBossInfo.php'//TODO:replace
?>
+2 -1
View File
@@ -42,7 +42,8 @@ if(CheckBlock($connect) != 1 && CheckBlock($connect) != 3) {
}
}
echo "<script>location.replace('b_nationboard.php');</script>";
//echo "<script>location.replace('b_nationboard.php');</script>";
echo 'b_nationboard.php';//TODO:replace
?>
+2 -3
View File
@@ -16,7 +16,6 @@ $msg = addslashes(SQ2DQ($msg));
$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 "<script>location.replace('b_nationrule.php');</script>";
echo 'b_nationrule.php';//TODO:replace
+2 -1
View File
@@ -202,4 +202,5 @@ if($btn == "자동개최설정" && $me[userlevel] >= 5) {
}
?>
<script>location.replace('b_tournament.php');</script>
<!--<script>location.replace('b_tournament.php');</script> //TODO:replace -->
b_tournament.php
-2
View File
@@ -54,5 +54,3 @@ if($btn == "부 대 창 설" && $name != "" && $me[troop] == 0) {
echo "<script>location.replace('b_troop.php');</script>";
MYDB_close($connect);
?>
+2 -3
View File
@@ -14,7 +14,6 @@ $admin[killturn] *= 3;
$query = "update general set killturn='$admin[killturn]' where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>location.replace('b_myPage.php');</script>";
?>
//echo "<script>location.replace('b_myPage.php');</script>";
echo 'b_myPage.php'; //TODO:replace
+2 -1
View File
@@ -73,4 +73,5 @@ if($btn == "수정" && $me[userlevel] >= 5) {
}
?>
<script>location.replace('a_vote.php');</script>
<!--<script>location.replace('a_vote.php');</script> //TODO:replace -->
a_vote.php
-2
View File
@@ -116,5 +116,3 @@ pushGenLog($you, $youlog);
echo "<script>location.replace('msglist.php');</script>";
?>
-2
View File
@@ -95,5 +95,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('msglist.php');</script>";
?>
-2
View File
@@ -100,5 +100,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('msglist.php');</script>";
?>
-2
View File
@@ -134,5 +134,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('msglist.php');</script>";
?>
-2
View File
@@ -160,5 +160,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('msglist.php');</script>";
?>
-1
View File
@@ -7,4 +7,3 @@ require_once(ROOT.W.F_CONFIG.W.APP.PHP);
require_once(ROOT.W.F_FUNC.W.FUNC.PHP);
CustomHeader();
?>
-2
View File
@@ -124,5 +124,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('msglist.php');</script>";
?>
+1 -1
View File
@@ -1 +1 @@
<?php/*jwh1807:유기체:13:127.0.0.1:1320151557*/?>
<?php/*jwh1807:유기체:13:127.0.0.1:1320151557*/
@@ -1 +1 @@
p_ip|s:12:"192.168.0.26";p_time|i:1515678740;
p_ip|s:12:"192.168.0.26";p_time|i:1515845555;
-2
View File
@@ -244,5 +244,3 @@ function RegGeneral3($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$
) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-2
View File
@@ -253,5 +253,3 @@ function RegGeneral3($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$
) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-2
View File
@@ -114,5 +114,3 @@ function RegGeneral3($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$
) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-2
View File
@@ -143,5 +143,3 @@ function RegGeneral4($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$
) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-1
View File
@@ -7416,4 +7416,3 @@ function Submit($url, $msg="", $msg2="") {
";
}
?>
-1
View File
@@ -345,4 +345,3 @@ function processAuction($connect) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-1
View File
@@ -128,4 +128,3 @@ function LogHistory($connect, $isFirst=0) {
if(STEP_LOG) pushStepLog(date('Y-m-d H:i:s').', LogHistory Finish');
return true;
}
?>
-1
View File
@@ -285,4 +285,3 @@ class HTTP{
}
}
}
?>
-1
View File
@@ -1861,4 +1861,3 @@ function RiceBillRate($connect, $nation, $rate, $rice_rate, $type, $rice) {
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-1
View File
@@ -6145,4 +6145,3 @@ function process_99($connect, &$general) {
pushGenLog($general, $log);
}
?>
-1
View File
@@ -301,4 +301,3 @@ class _String {
}
}
?>
+1 -1
View File
@@ -74,7 +74,7 @@ if(!$check) {
<tr>
<form method=post action=install1.php onsubmit='return check_submit()'>
<td align=center height=30>
<input type=button text='inst_b_1' border=0 align=absmiddle>
<input type=submit text='inst_b_1' border=0 align=absmiddle>
</td>
</form>
</tr>
-1
View File
@@ -345,4 +345,3 @@ function insertCity($connect, $name, $level, $pop2, $agri2, $comm2, $secu2, $def
) or Error(__LINE__.MYDB_error($connect),"");
}
?>
+2 -2
View File
@@ -6,5 +6,5 @@ $connect=dbConn();
LogHistory($connect, 1);
echo "<script>location.replace('index.php');</script>";
?>
//echo "<script>location.replace('index.php');</script>";
echo 'index.php'; //TODO:replace
+3 -2
View File
@@ -5,6 +5,8 @@ include "func.php";
if(file_exists("d_setting/set.php")) error("이미 set.php가 생성되어 있습니다.<br><br>재설치하려면 해당 파일을 지우세요");
// 호스트네임, 아이디, DB네임, 비밀번호의 공백여부 검사
if(isBlank($hostname)) Error("HostName을 입력하세요","");
if(isBlank($user_id)) Error("User ID 를 입력하세요","");
@@ -83,7 +85,7 @@ if(!isTable($connect, "history",$dbname)) @MYDB_query($history_schema, $connect)
// 파일로 DB 정보 저장
$file=@fopen("d_setting/set.php","w") or Error("set.php 파일 생성 실패<br><br>디렉토리의 퍼미션을 707로 주십시요","");
@fwrite($file,"<?php /*\n$hostname\n$user_id\n$password\n$dbname\n */?>\n") or Error("set.php 파일 생성 실패<br><br>디렉토리의 퍼미션을 707로 주십시요","");
@fwrite($file,"<?php /*\n$hostname\n$user_id\n$password\n$dbname\n */\n") or Error("set.php 파일 생성 실패<br><br>디렉토리의 퍼미션을 707로 주십시요","");
@fclose($file);
@mkdir("data",0707);
@chmod("data",0707);
@@ -94,4 +96,3 @@ $temp=MYDB_fetch_array(MYDB_query("select count(*) from general where level = '1
MYDB_close($connect);
echo "<script>location.replace('install2.php');</script>";
?>
-1
View File
@@ -272,4 +272,3 @@ if($id_num) {
echo("<script>location.replace('index.php');</script>");
}
?>
-1
View File
@@ -272,4 +272,3 @@ if($id_num) {
echo("<script>location.replace('index.php');</script>");
}
?>
-1
View File
@@ -55,4 +55,3 @@ $response['intel'] = $abil['intel'];
usleep(100*1000);
echo json_encode($response);
?>
+1 -2
View File
@@ -7,7 +7,7 @@
// @header ("P3P : CP=\"ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC\"");
//디버그용 매크로
define(__OLINE__,__LINE__);
define('__OLINE__',__LINE__);
define(__LINE__,__FILE__." ".__FUNCTION__." ".__LINE__." : ");
ini_set("session.cache_expire", 10080); // minutes
ini_set("session.gc_maxlifetime", 604800); // seconds
@@ -167,4 +167,3 @@ function PrintElapsedTime() {
$_endTime = round(getMicroTime() - $_startTime, 3);
echo "<table width=1000 align=center style=font-size:10;><tr><td align=right>경과시간 : {$_endTime}초</td></tr></table>";
}
?>
+1 -36
View File
@@ -1,36 +1 @@
ZeroBoard에 대한 라이센스 명시입니다.
아래 라이센스에 동의하시는 분만 제로보드를 사용할수 있습니다.
프로그램명 : Zeroboard
배포버젼 : 4.1 pl 8 (2006. 3. 15)
개발자 : zero
Homepage : http://zeroboard.com
1. 제로보드의 배포권은 ZEROBOARD.COM에서 허용한 곳에만 있습니다.
(허락 맡지 않은 재배포는 허용하지 않습니다.)
2. 제로보드는 저작권을 아래 3번항목에 의해 표기하는 한도내에서
개인홈페이지 및 학교나 교회등의 비영리단체, 기업이나 기타 영리단체에서 사용할수 있습니다.
(반국가 단체나 불법 싸이트에서의 사용은 금지합니다)
3. 제로보드 사용시 저작권 명시부분을 훼손하면 안됩니다.
프로그램 소스, html소스상의 라이센스 및 웹상 출력물 하단에 있는 카피라이트와 링크를 수정하지 마십시요.
(저작권 표시는 게시판 배포시 작성된 형식만을 허용합니다. 임의 수정은 금지합니다)
4. 단, 정식 등록버젼은 저작권 표시를 삭제할수 있습니다.
정식 등록버젼에 대한 문의는 http://zeroboard.com 에서 문의 방법을 찾아주시기 바랍니다.
5. 링크서비스등의 기본 용도에 맞지 않는 사용은 금지합니다.
6. 제로보드의 사용으로 인한 데이타 손실 및 기타 손해등 어떠한 사고나 문제에 대해서 ZEROBOARD.COM은 절대 책임을 지지 않습니다.
7. 제로보드에 대해 ZEROBOARD.COM은 유지/ 보수의 의무가 없습니다.
8. 제로보드 소스는 개인적으로 사용시 수정하여 사용할수 있지만 수정된 프로그램의 재배포는 금지합니다.
(저작권 관련 부분은 수정금지입니다)
9. 제로보드에 쓰인 스킨의 저작권은 스킨 제작자에게 있으며 제작자의 동의하에 수정배포가 가능합니다.
10. 기타 의문사항은 http://zeroboard.com 을 이용해 주시기 바랍니다.
(질문등에 대한 내용은 메일로 받지 않습니다)
Ok Go!
-1
View File
@@ -78,4 +78,3 @@ function DeleteSession() {
}
MYDB_close($connect);
?>
+3 -3
View File
@@ -16,10 +16,11 @@ $id = $me[user_id];
$pw = $me[password];
$conmsg = $me[conmsg];
//¼¼¼Çº¯¼ö Á¦°Å
//Ǻ
session_destroy();
echo "<script>location.replace('start.php');</script>";
//echo "<script>location.replace('start.php');</script>";
echo 'start.php';//TODO:replace
/*
<html>
@@ -33,4 +34,3 @@ a
</html>
*/
?>
-2
View File
@@ -334,5 +334,3 @@ banner();
if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); }
if($me[newmsg] == 1) { MessageBox("개인 서신이 도착했습니다!"); }
if($me[newvote] == 1) { $develcost = $admin[develcost]*5; MessageBox("설문조사에 참여하시면 금{$develcost}과 유니크템을 드립니다! (우측 상단 설문조사 메뉴)"); }
?>
-1
View File
@@ -432,4 +432,3 @@ function getCityLevel($region, $level) {
return $str;
}
?>
-1
View File
@@ -31,4 +31,3 @@ $map = str_replace('<_quot_>', "'", $map);
$map = str_replace('<_dquot_>', '"', $map);
echo $map;
?>
-1
View File
@@ -73,4 +73,3 @@ function DeleteSession() {
}
MYDB_close($connect);
?>
-3
View File
@@ -1,3 +0,0 @@
<?php
phpinfo();
?>
-2
View File
@@ -120,5 +120,3 @@ switch($commandtype) {
default: command_Other($connect, $turn, $commandtype); break;
}
?>
-1
View File
@@ -5,4 +5,3 @@ include "func.php";
$connect = dbConn();
increaseRefresh($connect, "자동", 2);
checkTurn($connect);
?>
-1
View File
@@ -1845,4 +1845,3 @@ function ConquerCity($connect, $game, $general, $city, $nation, $destnation) {
pushHistory($connect, $history);
}
?>
-2
View File
@@ -3125,5 +3125,3 @@ function command_81($connect, $turn, $command) {
";
ender(1);
}
?>
-1
View File
@@ -38,4 +38,3 @@ class Queue {
return $value;
}
}
?>
+1 -2
View File
@@ -67,7 +67,7 @@ if(!isTable($connect, "history",$dbname)) @MYDB_query($history_schema, $connect)
// 파일로 DB 정보 저장
$file=@fopen("d_setting/set.php","w") or Error("set.php 파일 생성 실패<br><br>디렉토리의 퍼미션을 707로 주십시요","");
@fwrite($file,"<?php /*\n$hostname\n$user_id\n$password\n$dbname\n */?>\n") or Error("set.php 파일 생성 실패<br><br>디렉토리의 퍼미션을 707로 주십시요","");
@fwrite($file,"<?php /*\n$hostname\n$user_id\n$password\n$dbname\n */\n") or Error("set.php 파일 생성 실패<br><br>디렉토리의 퍼미션을 707로 주십시요","");
@fclose($file);
@mkdir("data",0707);
@chmod("data",0707);
@@ -78,4 +78,3 @@ $temp=MYDB_fetch_array(MYDB_query("select count(*) from general where level = '1
MYDB_close($connect);
echo "<script>location.replace('install2.php');</script>";
?>
-1
View File
@@ -792,4 +792,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -898,4 +898,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -897,4 +897,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -1181,4 +1181,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -1711,4 +1711,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -746,4 +746,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -774,4 +774,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -194,4 +194,3 @@ function RegGeneral2($connect,$turnterm,$gencount,$name,$leader,$power,$intel,$p
}
}
?>
-1
View File
@@ -750,4 +750,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -325,4 +325,3 @@ function RegGeneral3($connect,$turnterm,$gencount,$nation,$level,$name,$leader,$
) or Error(__LINE__.MYDB_error($connect),"");
}
?>
-1
View File
@@ -316,4 +316,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -313,4 +313,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -591,4 +591,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -420,4 +420,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -1752,4 +1752,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -1289,4 +1289,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -995,4 +995,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -1041,4 +1041,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -1093,4 +1093,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -945,4 +945,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-1
View File
@@ -869,4 +869,3 @@ pushHistory($connect, $history);
echo "<script>location.replace('install3_ok.php');</script>";
?>
-2
View File
@@ -617,5 +617,3 @@ $history_schema = "
";
?>
-2
View File
@@ -617,5 +617,3 @@ $history_schema = "
";
?>
-1
View File
@@ -124,4 +124,3 @@ if($admin[npcmode] != 1) {
echo("<script>location.replace('index.php');</script>");
}
?>
-3
View File
@@ -85,6 +85,3 @@ case 2:
}
echo "<script>location.replace('commandlist.php');</script>";
?>
-3
View File
@@ -12,6 +12,3 @@ $me = MYDB_fetch_array($result);
updateCommand($connect, $me[no], 2);
echo "<script>location.replace('b_chiefcenter.php');</script>";
?>
-2
View File
@@ -13,5 +13,3 @@ backupdateCommand($connect, $me[no], 2);
echo "<script>location.replace('b_chiefcenter.php');</script>";
?>