adodb 최신버전으로 변경

<? 를 <?php 로 변경
This commit is contained in:
2018-01-11 19:28:35 +09:00
parent feff33715f
commit 7b3b674dee
450 changed files with 19425 additions and 32248 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
define(ROOT, '.');
require_once(ROOT.'/f_config/config.php');
require_once(ROOT.W.F_CONFIG.W.APP.PHP);
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
function MYDB_connect($host, $id, $pw) {
$conn = mysqli_connect($host, $id, $pw);
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+5 -5
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -38,7 +38,7 @@ $admin = getAdmin($connect);
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>게 임 관 리<br><? backButton(); ?></td></tr>
<tr><td>게 임 관 리<br><?php backButton(); ?></td></tr>
</table>
<form name=form1 method=post action=_admin1_submit.php>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
@@ -91,7 +91,7 @@ $admin = getAdmin($connect);
<td align=center>군량</td>
</tr>
<?
<?php
for($i=0; $i <= 5; $i++) {
$att = $admin["att{$i}"];
$def = $admin["def{$i}"];
@@ -216,8 +216,8 @@ $admin = getAdmin($connect);
</table>
</form>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+5 -5
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -40,7 +40,7 @@ $admin = MYDB_fetch_array($result);
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>회 원 관 리<br><? backButton(); ?></td></tr>
<tr><td>회 원 관 리<br><?php backButton(); ?></td></tr>
</table>
<form name=form1 method=post action=_admin2_submit.php>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
@@ -60,7 +60,7 @@ $admin = MYDB_fetch_array($result);
<tr>
<td width=80 align=center rowspan=12>회원선택<br><br><font color=cyan>NPC</font><br><font color=skyblue>NPC유저</font><br><font color=blue>특별회원</font><br><font color=red>접속제한</font><br><b style=background-color:red;>블럭회원</b></td>
<td width=105 rowspan=12>
<?
<?php
echo "
<select name=genlist[] size=20 multiple style=color:white;background-color:black;font-size:13>";
@@ -142,8 +142,8 @@ for($i=0; $i < 27; $i++) {
</table>
</form>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+5 -5
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -37,14 +37,14 @@ if($me[userlevel] < 5) {
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>특 별 회 원<br><? backButton(); ?></td></tr>
<tr><td>특 별 회 원<br><?php backButton(); ?></td></tr>
</table>
<form name=form1 method=post action=_admin3_submit.php>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr>
<td width=80 align=center rowspan=5>회원선택<br><br><font color=orange>무장</font><br><font color=skyblue>지장</font></td>
<td width=105 rowspan=5>
<?
<?php
echo "
<select name=genlist[] size=20 multiple style=color:white;background-color:black;font-size:13>";
@@ -93,8 +93,8 @@ for($i=0; $i < 27; $i++) {
</table>
</form>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -40,14 +40,14 @@ $admin = MYDB_fetch_array($result);
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>멀 티 관 리<br><? backButton(); ?></td></tr>
<tr><td>멀 티 관 리<br><?php backButton(); ?></td></tr>
</table>
<form name=form1 method=post action=_admin4_submit.php>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr>
<td width=80 align=center rowspan=3>회원선택<br><br><font color=cyan>NPC</font><br><font color=skyblue>NPC유저</font><br><font color=blue>특별회원</font><br><font color=red>접속제한</font><br><b style=background-color:red;>블럭회원</b></td>
<td width=105 rowspan=3>
<?
<?php
echo "
<select name=genlist[] size=20 multiple style=color:white;background-color:black;font-size:13>";
@@ -97,7 +97,7 @@ echo "
<td align=center width=278>-</td>
</tr>
<tr>
<?
<?php
$query = "select substring_index(ip,'.',3) as ip2 from general where ip!='' and npc<2 group by ip2 having count(*)>1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$ipCount = MYDB_num_rows($result);
@@ -145,7 +145,7 @@ echo "
<td align=center width=278>-</td>
</tr>
<tr>
<?
<?php
$query = "select password from general where npc<2 group by password having count(*)>1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$ipCount = MYDB_num_rows($result);
@@ -186,8 +186,8 @@ echo "
</table>
</form>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+9 -9
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -49,7 +49,7 @@ $admin = MYDB_fetch_array($result);
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>일 제 정 보<br><? closeButton(); ?></td></tr>
<tr><td>일 제 정 보<br><?php closeButton(); ?></td></tr>
<tr><td>
<form name=form1 method=post>정렬순서 :
<select name=type size=1>
@@ -86,7 +86,7 @@ $admin = MYDB_fetch_array($result);
<form name=form2 method=post action=_admin5_submit.php>
<select name=nation size=1 style=color:white;background-color:black>";
<option value=0>재야</option>";
<?
<?php
$query = "select nation,name,color,scout,scoutmsg,gennum from nation order by power";
$result = MYDB_query($query, $connect) or Error("aaa_processing.php ".MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -137,7 +137,7 @@ for($i=1; $i <= $count; $i++) {
<td align=center>수비</td>
<td align=center>국명</td>
</tr>
<?
<?php
$query = "
SELECT
A.nation,
@@ -251,7 +251,7 @@ for($i=0; $i < $nationCount; $i++) {
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? TrickLog(20, $me[skin]); ?></td></tr>
<tr><td><?php TrickLog(20, $me[skin]); ?></td></tr>
</table>
<table align=center width=1760 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13; id=bg0>
@@ -260,7 +260,7 @@ for($i=0; $i < $nationCount; $i++) {
<td width=30 align=center>월</td>
<td width=50 align=center>국가수</td>
<td width=50 align=center>장수수</td>
<?
<?php
switch($type2) {
default:
case 0: echo "<td width=1600>국력(국력,장수수,도시수,인구/100,최대인구/100,국가자원/100,장수자원/100,능력치,숙련/1000,경험공헌/100)</td>"; break;
@@ -273,7 +273,7 @@ case 6: echo "<td width=1600>기타</td>"; break;
}
?>
</tr>
<?
<?php
$query = "select * from statistic where month=1 or no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -306,8 +306,8 @@ for($i=0; $i < $count; $i++) {
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+5 -5
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -42,7 +42,7 @@ $sel[$type] = "selected";
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>접 속 정 보<br><? closeButton(); ?></td></tr>
<tr><td>접 속 정 보<br><?php closeButton(); ?></td></tr>
<tr><td><form name=form1 method=post>정렬순서 :
<select name=type size=1>
<option <?=$sel[0];?> value=0>접속률</option>
@@ -65,7 +65,7 @@ $sel[$type] = "selected";
<td align=center width=80>총로그인</td>
<td align=center width=100>갱신/로그인</td>
</tr>
<?
<?php
switch($type) {
case 0: $query = "select name,connect,startage,age,refcnt,logcnt,refcnt/(age-startage+1)/12 as ref,refcnt/logcnt as log from general order by connect desc limit 0,30"; break;
case 1: $query = "select name,connect,startage,age,refcnt,logcnt,refcnt/(age-startage+1)/12 as ref,refcnt/logcnt as log from general order by refcnt desc limit 0,30"; break;
@@ -94,8 +94,8 @@ for($i=0; $i < $gencount; $i++) {
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+10 -10
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -45,7 +45,7 @@ $sel[$type] = "selected";
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>로 그 정 보<br><? closeButton(); ?></td></tr>
<tr><td>로 그 정 보<br><?php closeButton(); ?></td></tr>
<tr><td>
<form name=form1 method=post>
정렬순서 :
@@ -58,7 +58,7 @@ $sel[$type] = "selected";
<input type=submit name=btn value='정렬하기'>
대상장수 :
<select name=gen size=1>
<?
<?php
switch($type) {
case 0: $query = "select no,name from general order by turntime desc"; break;
case 1: $query = "select no,name from general order by recwar desc"; break;
@@ -95,7 +95,7 @@ for($i=0; $i < $gencount; $i++) {
</tr>
<tr>
<td valign=top>
<? generalInfo($connect, $gen, $me[skin]); generalInfo2($connect, $gen, $me[skin]); ?>
<?php generalInfo($connect, $gen, $me[skin]); generalInfo2($connect, $gen, $me[skin]); ?>
</td>
<td valign=top>&nbsp;
</td>
@@ -106,10 +106,10 @@ for($i=0; $i < $gencount; $i++) {
</tr>
<tr>
<td valign=top>
<? MyLog($gen, 24, $me[skin]); ?>
<?php MyLog($gen, 24, $me[skin]); ?>
</td>
<td valign=top>
<? MyBatLog($gen, 24, $me[skin]); ?>
<?php MyBatLog($gen, 24, $me[skin]); ?>
</td>
</tr>
<tr>
@@ -118,16 +118,16 @@ for($i=0; $i < $gencount; $i++) {
</tr>
<tr>
<td valign=top>
<? MyHistory($connect, $gen, $me[skin]); ?>
<?php MyHistory($connect, $gen, $me[skin]); ?>
</td>
<td valign=top>
<? MyBatRes($gen, 24, $me[skin]); ?>
<?php MyBatRes($gen, 24, $me[skin]); ?>
</td>
</tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+5 -5
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -45,7 +45,7 @@ $sel[$type] = "selected";
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>외 교 정 보<br><? closeButton(); ?></td></tr>
<tr><td>외 교 정 보<br><?php closeButton(); ?></td></tr>
<tr><td>
<form name=form1 method=post>
정렬순서 :
@@ -65,7 +65,7 @@ $sel[$type] = "selected";
<td width=60 align=center id=bg1>기 간</td>
<td align=center id=bg1>비 고</td>
</tr>
<?
<?php
$query = "select nation,name,color from nation";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$nationcount = MYDB_num_rows($result);
@@ -149,8 +149,8 @@ for($i=0; $i < $dipcount; $i++) {
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+6 -6
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -1051,7 +1051,7 @@ select { background-color:black;color:white; }
input { background-color:black;color:white; }
-->
</style>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
@@ -1480,7 +1480,7 @@ input { background-color:black;color:white; }
</td>
</tr>
<tr><td colspan=3>
<?
<?php
if($isgen == "장수공격" || $isgen == "성벽공격") {
echo $msg;
} elseif($isgen == "장수평균" || $isgen == "성벽평균") {
@@ -1501,7 +1501,7 @@ if($isgen == "장수공격" || $isgen == "성벽공격") {
<td width=500 align=center>-</td>
</tr>
<?
<?php
for($i=0; $i <= 5; $i++) {
printSimul($game, $i);
}
@@ -1535,9 +1535,9 @@ if($isgen == "장수공격" || $isgen == "성벽공격") {
</table>
</form>
</body>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</html>
<?
<?php
function printSimul($game, $i) {
$att = $game["att{$i}"];
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -23,12 +23,12 @@ if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>명장일람</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>명 장 일 람<br><? closeButton(); ?></td></tr>
<tr><td>명 장 일 람<br><?php closeButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<form name=form1 action=a_bestGeneral.php method=post>
@@ -39,7 +39,7 @@ if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
</form>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<?
<?php
if($btn == "NPC 보기") { $sel = "npc>=2"; }
else { $sel = "npc<2"; }
@@ -270,10 +270,10 @@ for($i=0; $i < 4; $i++) {
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+6 -6
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn();
@@ -11,7 +11,7 @@ increaseRefresh($connect, "왕조일람", 2);
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>왕조일람</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
@@ -21,7 +21,7 @@ increaseRefresh($connect, "왕조일람", 2);
</td></tr>
</table>
<?
<?php
if($select == 0) {
$query = "select * from emperior order by no desc";
@@ -190,10 +190,10 @@ if($select == 0) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all;color:white; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+6 -6
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn();
@@ -11,7 +11,7 @@ increaseRefresh($connect, "왕조일람", 2);
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>왕조일람</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
@@ -21,7 +21,7 @@ increaseRefresh($connect, "왕조일람", 2);
</td></tr>
</table>
<?
<?php
if($select == 0) {
$query = "select * from emperior_table order by no desc";
@@ -191,10 +191,10 @@ if($select == 0) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -29,12 +29,12 @@ $sel[$type] = "selected";
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>장수일람</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>장 수 일 람<br><? closeButton(); ?></td></tr>
<tr><td>장 수 일 람<br><?php closeButton(); ?></td></tr>
<tr><td><form name=form1 method=post>정렬순서 :
<select name=type size=1>
<option <?=$sel[1];?> value=1>국가</option>
@@ -57,7 +57,7 @@ $sel[$type] = "selected";
<input type=submit value='정렬하기'></form>
</td></tr>
</table>
<?
<?php
$query = "select nation,name,level from nation";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -173,10 +173,10 @@ MYDB_close($connect);
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn();
@@ -10,15 +10,15 @@ increaseRefresh($connect, "명예의전당", 2);
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>명예의 전당</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=Font-size:13;word-break:break-all; id=bg0>
<tr><td>명 예 의 전 당<br><? closeButton(); ?></td></tr>
<tr><td>명 예 의 전 당<br><?php closeButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<?
<?php
$type = array(
"명 성",
"계 급",
@@ -94,10 +94,10 @@ for($i=0; $i < 21; $i++) {
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=Font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
$yearmonth = $_POST['yearmonth'];
include "lib.php";
@@ -65,18 +65,18 @@ if($me[skin] < 1) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>연감</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>연 감<br><? closeButton(); ?></td></tr>
<tr><td>연 감<br><?php closeButton(); ?></td></tr>
<tr><td>
<form name=form1 method=post>
년월 선택 :
<input type=submit name=btn value="◀◀ 이전달">
<select name=yearmonth size=1>
<?
<?php
$query = "select year,month from history";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$histCount = MYDB_num_rows($result);
@@ -128,10 +128,10 @@ $history = MYDB_fetch_array($result);
</tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -23,14 +23,14 @@ if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>세력일람</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>세 력 일 람<br><? closeButton(); ?></td></tr>
<tr><td>세 력 일 람<br><?php closeButton(); ?></td></tr>
</table>
<?
<?php
$query = "select nation,name,color,level,type,power,gennum,capital from nation order by power desc";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -237,10 +237,10 @@ echo"
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn();
@@ -16,12 +16,12 @@ $sel[$type] = "selected";
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>빙의일람</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>빙 의 일 람<br><? closeButton(); ?></td></tr>
<tr><td>빙 의 일 람<br><?php closeButton(); ?></td></tr>
<tr><td><form name=form1 method=post>정렬순서 :
<select name=type size=1>
<option <?=$sel[1];?> value=1>이름</option>
@@ -36,7 +36,7 @@ $sel[$type] = "selected";
<input type=submit value='정렬하기'></form>
</td></tr>
</table>
<?
<?php
$query = "select nation,name from nation";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -108,10 +108,10 @@ MYDB_close($connect);
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+8 -8
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -24,17 +24,17 @@ if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>세력도</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1200 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>세 력 도<br><? closeButton(); ?></td></tr>
<tr><td>세 력 도<br><?php closeButton(); ?></td></tr>
</table>
<table align=center width=1200 height=520 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr height=520>
<td width=498 valign=top>
<? AllLog(34, $me[skin]); ?>
<?php AllLog(34, $me[skin]); ?>
</td>
<td width=698>
<iframe src='map.php?type=2&graphic=<?=$me[map];?>' width=698 height=520 frameborder=0 marginwidth=0 marginheight=0 topmargin=0 scrolling=no>
@@ -43,15 +43,15 @@ if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
</tr>
<tr>
<td colspan=2 valign=top>
<? History(34, $me[skin]); ?>
<?php History(34, $me[skin]); ?>
</td>
</tr>
</table>
<table align=center width=1200 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+10 -10
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn();
@@ -36,18 +36,18 @@ if($game[maxonline] < $curonline) { $game[maxonline] = $curonline; }
<title>트래픽정보</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>트 래 픽 정 보<br><? closeButton(); ?></td></tr>
<tr><td>트 래 픽 정 보<br><?php closeButton(); ?></td></tr>
</table>
<br>
<table align=center width=1016 border=0 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all;>
<tr><td align=left>
<table align=center border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=4 align=center id=bg2><font size=5>접 속 량</font></td></tr>
<?
<?php
for($i=0; $i < 11; $i++) {
$w = round($refresh[$i] / $game[maxrefresh] * 100, 1);
if($w >= 100) { $w -= 0.1; }
@@ -106,7 +106,7 @@ echo "
<td align=right>
<table align=center border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=4 align=center id=bg2><font size=5>접 속 자</font></td></tr>
<?
<?php
for($i=0; $i < 11; $i++) {
$w = round($online[$i] / $game[maxonline] * 100, 1);
if($w >= 100) { $w -= 0.1; }
@@ -166,7 +166,7 @@ echo "
<br>
<table align=center border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=3 align=center id=bg2><font size=5>주 의 대 상 자 (순간과도갱신)</font></td></tr>
<?
<?php
$query = "select sum(refresh) as refresh,sum(connect) as connect from general";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$user = MYDB_fetch_array($result);
@@ -224,14 +224,14 @@ for($i=0; $i < $count; $i++) {
</table>
<br>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
<?
<?php
function getColor($per) {
$r = getHex($per);
$b = getHex(100 - $per);
+9 -9
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn();
@@ -32,16 +32,16 @@ function captureKey(e) {
}
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>설 문 조 사<br><? closeButton(); ?></td></tr>
<tr><td>설 문 조 사<br><?php closeButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<form name=form1 action=c_vote.php method=post>
<tr><td colspan=3 align=center id=bg2><font size=5>설 문 조 사 (<?=$admin[develcost]*5;?>금과 추첨으로 유니크템 증정!)</font></td></tr>
<?
<?php
if($me[userlevel] >= 5) {
echo "
@@ -169,7 +169,7 @@ if($me[no] > 0) {
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=3 align=center id=bg2><font size=5>
전 체 통 계
<?
<?php
if($me[userlevel] >= 5) {
echo "
<input type=submit name=btn value='숨김'>
@@ -294,14 +294,14 @@ if($admin[voteopen] >= 2 || $me[userlevel] >= 5) {
</form>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
<?
<?php
function getColor($type) {
if($type > 0) {
$type = (($type - 1) % 7) + 1;
+8 -8
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -46,11 +46,11 @@ if($msg2 == "") $msg2 = "-";
<title>거래장</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>거 래 장<br><? closeButton(); ?></td></tr>
<tr><td>거 래 장<br><?php closeButton(); ?></td></tr>
<tr><td align=center id=bg2><font color=orange size=6><b>거 래 장</b></font><input type=button value='갱신' onclick=location.replace('b_auction.php')></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
@@ -69,7 +69,7 @@ if($msg2 == "") $msg2 = "-";
<td width=98>구매 예정자</td>
<td width=148>거래종료</td>
</tr>
<?
<?php
$query = "select * from auction where type=0 order by expire";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -153,7 +153,7 @@ for($i=0; $i < $count; $i++) {
<td width=98>판매 예정자</td>
<td width=148>거래종료</td>
</tr>
<?
<?php
$query = "select * from auction where type=1 order by expire";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$count = MYDB_num_rows($result);
@@ -252,9 +252,9 @@ for($i=0; $i < $count; $i++) {
ㆍ즐거운 거래!
</font>
</td></tr>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+11 -11
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -59,12 +59,12 @@ if($me[skin] < 1) {
<title>감찰부</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>감 찰 부<br><? closeButton(); ?></td></tr>
<tr><td>감 찰 부<br><?php closeButton(); ?></td></tr>
<tr><td>
<form name=form1 method=post>
정렬순서 :
@@ -77,7 +77,7 @@ if($me[skin] < 1) {
<input type=submit name=btn value='정렬하기'>
대상장수 :
<select name=gen size=1>
<?
<?php
switch($type) {
case 0: $query = "select no,name from general where nation='{$me[nation]}' order by turntime desc"; break;
case 1: $query = "select no,name from general where nation='{$me[nation]}' order by recwar desc"; break;
@@ -114,10 +114,10 @@ for($i=0; $i < $gencount; $i++) {
</tr>
<tr>
<td valign=top>
<? generalInfo($connect, $gen, $me[skin]); generalInfo2($connect, $gen, $me[skin]); ?>
<?php generalInfo($connect, $gen, $me[skin]); generalInfo2($connect, $gen, $me[skin]); ?>
</td>
<td valign=top>
<? MyHistory($connect, $gen, $me[skin]); ?>
<?php MyHistory($connect, $gen, $me[skin]); ?>
</td>
</tr>
<tr>
@@ -126,17 +126,17 @@ for($i=0; $i < $gencount; $i++) {
</tr>
<tr>
<td valign=top>
<? MyBatLog($gen, 24, $me[skin]); ?>
<?php MyBatLog($gen, 24, $me[skin]); ?>
</td>
<td valign=top>
<? MyBatRes($gen, 24, $me[skin]); ?>
<?php MyBatRes($gen, 24, $me[skin]); ?>
</td>
</tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+12 -12
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -31,7 +31,7 @@ $str3 = getTournamentTerm($connect);
?>
<html>
<? if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); } ?>
<?php if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); } ?>
<head>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>베팅장</title>
@@ -45,12 +45,12 @@ select { font-family:'굴림'; line-height:100%; }
#bg1 { background-image:url(<?=$images;?>/back_green.jpg); }
#bg2 { background-image:url(<?=$images;?>/back_blue.jpg); }
</style>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1120 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>베 팅 장<br><? closeButton(); ?></td></tr>
<tr><td>베 팅 장<br><?php closeButton(); ?></td></tr>
</table>
<table align=center width=1120 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:10;word-break:break-all; id=bg0>
<tr><td colspan=16><input type=button value='갱신' onclick='location.reload()'></td></tr>
@@ -60,7 +60,7 @@ select { font-family:'굴림'; line-height:100%; }
<table align=center width=1120 border=0 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:10;word-break:break-all; id=bg0>
<tr align=center><td height=10 colspan=16></td></tr>
<tr align=center>
<?
<?php
$query = "select npc,name,win from tournament where grp>=60 order by grp, grp_no";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
for($i=0; $i < 1; $i++) {
@@ -211,7 +211,7 @@ for($i=0; $i < 16; $i++) {
</table>
<table align=center width=1120 border=0 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr align=center><td height=10 colspan=16></td></tr>
<?
<?php
echo "
<tr align=center>";
@@ -225,7 +225,7 @@ for($i=0; $i < 16; $i++) {
<td>×</td><td>×</td><td>×</td><td>×</td><td>×</td><td>×</td><td>×</td><td>×</td>
</tr>
<tr align=center>
<?
<?php
for($i=0; $i < 16; $i++) {
echo "<td><font color=orange>{$myBet[$i]}</font></td>";
}
@@ -236,7 +236,7 @@ for($i=0; $i < 16; $i++) {
<td>∥</td><td>∥</td><td>∥</td><td>∥</td><td>∥</td><td>∥</td><td>∥</td><td>∥</td>
</tr>
<tr align=center>
<?
<?php
for($i=0; $i < 16; $i++) {
echo "<td><font color=cyan>{$gold[$i]}</font></td>";
}
@@ -292,7 +292,7 @@ if($admin[tournament] == 6) {
<tr align=center><td height=50 colspan=4 id=bg2><font color=yellow size=6>토너먼트 랭킹</font></td></tr>
<tr align=center><td colspan=4 id=bg2><font color=skyblue size=3>순위 / 장수명 / 능력치 / 경기수 / 승리 / 무승부 / 패배 / 집계점수 / 우승횟수</font></td></tr>
<tr align=center>
<?
<?php
$type1 = Array("전 력 전", "통 솔 전", "일 기 토", "설 전");
$type2 = Array("종합", "통솔", "무력", "지력");
@@ -331,9 +331,9 @@ for($i=0; $i < 4; $i++) {
</tr>
</table>
<table align=center width=1120 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -25,12 +25,12 @@ if($me[skin] < 1) {
<title>기밀실</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>기 밀 실<br><? backButton(); ?></td></tr>
<tr><td>기 밀 실<br><?php backButton(); ?></td></tr>
<form name=form1 method=post action=c_chiefboard.php>
<tr><td align=center>
제목 <input type=textarea maxlength=50 name=title style=color:white;background-color:black;width:830;>
@@ -44,7 +44,7 @@ if($me[skin] < 1) {
</form>
</table>
<br>
<?
<?php
$nation = getNation($connect, $me[nation]);
//20개 메세지
@@ -62,10 +62,10 @@ for($i=0; $i < 20; $i++) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -76,17 +76,17 @@ function turn(type) {
else if(type == 1) location.replace('turn_pop_core.php');
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>사 령 부<input type=button value='갱신' onclick=location.replace('b_chiefcenter.php')><br><? backButton(); ?></td></tr>
<tr><td>사 령 부<input type=button value='갱신' onclick=location.replace('b_chiefcenter.php')><br><?php backButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=10 align=center bgcolor=skyblue>수뇌부 일정</td></tr>
<tr><td colspan=10 align=center>
<?
<?php
$year = $admin[year];
$month = $admin[month];
$date = substr(date('Y-m-d H:i:s'), 14);
@@ -166,10 +166,10 @@ for($k=0; $k < 2; $k++) {
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+9 -9
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -25,12 +25,12 @@ if($me[skin] < 1) {
<title>도시정보</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>도 시 정 보<br><? backButton(); ?></td></tr>
<tr><td>도 시 정 보<br><?php backButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
@@ -38,7 +38,7 @@ if($me[skin] < 1) {
<td width=998>
<form name=cityselect method=post>도시선택 :
<select name=citylist size=1 style=color:white;background-color:black;width:798;>
<?
<?php
if($_POST[citylist] == '') { $_POST[citylist] = $me[city]; }
// 재야일때는 현재 도시만
@@ -159,10 +159,10 @@ if($city[trade] == 0) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
</table>
<?
<?php
echo "
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg2>
<tr>
@@ -343,10 +343,10 @@ for($j=0; $j < $gencount; $j++) {
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+9 -9
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -39,12 +39,12 @@ if($me[skin] < 1) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>내무부</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>내 무 부<br><? backButton(); ?></td></tr>
<tr><td>내 무 부<br><?php backButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=9 align=center bgcolor=blue>외 교 관 계</td></tr>
@@ -58,7 +58,7 @@ if($me[skin] < 1) {
<td width=100 align=center id=bg1>종 료 시 점</td>
<td align=center id=bg1>비 고</td>
</tr>
<?
<?php
$query = "select year,month from game where no='1'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
@@ -212,7 +212,7 @@ else { $budgetricediff = "$budgetricediff"; }
<tr>
<td colspan=2>
<table width=998 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<?
<?php
echo "
<tr>
<td colspan=2 align=center id=bg1>자금 예산</td>
@@ -263,7 +263,7 @@ echo "
</tr>
<tr>
<td colspan=4 align=center>
<?
<?php
if($nation[myset] > 0) {
if($nation[scout] == 0) {
echo "
@@ -290,9 +290,9 @@ if($nation[myset] > 0) {
</form>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+8 -8
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -47,17 +47,17 @@ if($me[skin] < 1) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>중원정보</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>중 원 정 보<br><? backButton(); ?></td></tr>
<tr><td>중 원 정 보<br><?php backButton(); ?></td></tr>
</table>
<br>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=<?=$nationcount+1;?> align=center bgcolor=blue>외 교 현 황</td></tr>
<?
<?php
echo "
<tr>
<td align=center width=108 style=background-color:$_basecolor2;>&nbsp;</td>";
@@ -122,7 +122,7 @@ for($i=0; $i < $nationcount; $i++) {
?>
<tr><td colspan=<?=$nationcount+1;?> align=center>불가침 : <font color=limegreen>@</font>, 통합 : <font color=cyan>○</font>, 합병 : <font color=skyblue>◎</font>, 통상 : ㆍ, 선포 : <font color=magenta>▲</font>, 교전 : <font color=red>★</font></td></tr>
</table>
<?
<?php
$query = "select city,name,conflict,conflict2 from city where conflict like '%|%'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$citycount = MYDB_num_rows($result);
@@ -214,9 +214,9 @@ echo "
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+8 -8
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -37,17 +37,17 @@ if($me[skin] < 1) {
}
?>
<html>
<? if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); } ?>
<?php if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); } ?>
<head>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>암행부</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>암 행 부<br><? closeButton(); ?></td></tr>
<tr><td>암 행 부<br><?php closeButton(); ?></td></tr>
<tr><td><form name=form1 method=post>정렬순서 :
<select name=type size=1>
<option <?=$sel[1];?> value=1>자금</option>
@@ -62,7 +62,7 @@ if($me[skin] < 1) {
<input type=submit value='정렬하기'></form>
</td></tr>
</table>
<?
<?php
$query = "select troop,name from troop where nation='$me[nation]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$troopCount = MYDB_num_rows($result);
@@ -191,9 +191,9 @@ MYDB_close($connect);
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -34,16 +34,16 @@ function out() {
return confirm('정말 추방하시겠습니까?');
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>인 사 부<br><? backButton(); ?></td></tr>
<tr><td>인 사 부<br><?php backButton(); ?></td></tr>
</table>
<br>
<?
<?php
$cityNames = CityNameArray();
$query = "select nation,name,level,color,l12set,l11set,l10set,l9set,l8set,l7set,l6set,l5set from nation where nation='$me[nation]'";
@@ -495,9 +495,9 @@ for($j=0; $j < $citycount; $j++) {
</table>
<br>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -31,12 +31,12 @@ if($me[skin] < 1) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>세력도시</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>세 력 도 시<br><? backButton(); ?></td></tr>
<tr><td>세 력 도 시<br><?php backButton(); ?></td></tr>
<tr><td><form name=form1 method=post>정렬순서 :
<select name=type size=1>
<option <?=$sel[1];?> value=1>기본</option>
@@ -55,7 +55,7 @@ if($me[skin] < 1) {
<input type=submit value='정렬하기'></form>
</td></tr>
</table>
<?
<?php
$query = "select nation from general where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -163,10 +163,10 @@ for($j=0; $j < $citycount; $j++) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -32,12 +32,12 @@ if($me[skin] < 1) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>세력장수</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>세 력 장 수<br><? backButton(); ?></td></tr>
<tr><td>세 력 장 수<br><?php backButton(); ?></td></tr>
<tr><td><form name=form1 method=post>정렬순서 :
<select name=type size=1>
<option <?=$sel[1];?> value=1>관직</option>
@@ -59,7 +59,7 @@ if($me[skin] < 1) {
<input type=submit value='정렬하기'></form>
</td></tr>
</table>
<?
<?php
$query = "select level from nation where nation='$me[nation]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$nation = MYDB_fetch_array($result);
@@ -163,10 +163,10 @@ for($j=0; $j < $gencount; $j++) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -21,15 +21,15 @@ if($me[level] == 0) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>세력정보</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>세 력 정 보<br><? backButton(); ?></td></tr>
<tr><td>세 력 정 보<br><?php backButton(); ?></td></tr>
</table>
<br>
<?
<?php
$query = "select nation,skin from general where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -146,10 +146,10 @@ echo"
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+12 -12
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -46,18 +46,18 @@ function go(type) {
if(type == 0) location.replace('c_vacation.php');
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>내 정 보<br><? backButton(); ?></td></tr>
<tr><td>내 정 보<br><?php backButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr>
<td width=50%>
<? myInfo($connect); ?>
<? myInfo2($connect); ?>
<?php myInfo($connect); ?>
<?php myInfo2($connect); ?>
</td>
<td width=50% valign=top>
<form name=form1 action=b_myPage.php method=post>
@@ -110,10 +110,10 @@ function go(type) {
</tr>
<tr>
<td valign=top>
<? MyLog($me[no], 24, $me[skin]); ?>
<?php MyLog($me[no], 24, $me[skin]); ?>
</td>
<td valign=top>
<? MyBatLog($me[no], 24, $me[skin]); ?>
<?php MyBatLog($me[no], 24, $me[skin]); ?>
</td>
</tr>
<tr>
@@ -122,18 +122,18 @@ function go(type) {
</tr>
<tr>
<td valign=top>
<? MyHistory($connect, $me[no], $me[skin]); ?>
<?php MyHistory($connect, $me[no], $me[skin]); ?>
</td>
<td valign=top>
<? MyBatRes($me[no], 24, $me[skin]); ?>
<?php MyBatRes($me[no], 24, $me[skin]); ?>
</td>
</tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?></td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?></td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -20,12 +20,12 @@ if($me[skin] < 1) {
<title>회의실</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>회 의 실<br><? backButton(); ?></td></tr>
<tr><td>회 의 실<br><?php backButton(); ?></td></tr>
<form name=form1 method=post action=c_nationboard.php>
<tr><td align=center>
제목 <input type=textarea maxlength=50 name=title style=color:white;background-color:black;width:830;>
@@ -39,7 +39,7 @@ if($me[skin] < 1) {
</form>
</table>
<br>
<?
<?php
$nation = getNation($connect, $me[nation]);
//20개 메세지
@@ -57,10 +57,10 @@ for($i=0; $i < 20; $i++) {
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -11,15 +11,15 @@ increaseRefresh($connect, "국법", 1);
<title>국법</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>국 법<br><? backButton(); ?></td></tr>
<tr><td>국 법<br><?php backButton(); ?></td></tr>
<tr><td>
<?
<?php
$query = "select no,nation,level from general where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -41,10 +41,10 @@ if($me[level] >= 5) {
?>
</td></tr>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+9 -9
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -27,7 +27,7 @@ case 3: $tnmt_type = "<font color=cyan>설전</font>"; $tp = "itl"; $tp2 = "
?>
<html>
<? if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); } ?>
<?php if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); } ?>
<head>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>토너먼트</title>
@@ -41,15 +41,15 @@ select { font-family:'굴림'; line-height:100%; }
#bg1 { background-image:url(<?=$images;?>/back_green.jpg); }
#bg2 { background-image:url(<?=$images;?>/back_blue.jpg); }
</style>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=2000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>삼모전 토너먼트<br><? closeButton(); ?></td></tr>
<tr><td>삼모전 토너먼트<br><?php closeButton(); ?></td></tr>
</table>
<table align=center border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<?
<?php
if($me[userlevel] >= 5) {
echo "
<form method=post action=c_tournament.php>
@@ -162,7 +162,7 @@ $str3 = getTournamentTerm($connect);
<tr><td colspan=8 align=center><font color=white size=6><?=$tnmt_type;?> (<?=$str1.", ".$str2.", ".$str3;?>)</font></td></tr>
<tr><td colspan=8 align=center id=bg2><font color=magenta size=5>16강 승자전</font></td></tr>
<tr><td height=10 colspan=8 align=center></td></tr>
<?
<?php
echo "
<tr>
@@ -397,9 +397,9 @@ if($admin[tournament] == 2 || $admin[tournament] == 3) { printFighting($admin[to
</td></tr>
</table>
<table align=center width=2000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? closeButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php closeButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -24,12 +24,12 @@ if($me[skin] < 1) {
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>부대편성</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>부 대 편 성<br><? backButton(); ?></td></tr>
<tr><td>부 대 편 성<br><?php backButton(); ?></td></tr>
</table>
<form name=form1 method=post action=c_troop.php>
<table align=center border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
@@ -40,7 +40,7 @@ if($me[skin] < 1) {
<td align=center width=662 id=bg1 style=table-layout:fixed;word-break:break-all;>장 수</td>
<td align=center width=98 id=bg1 style=table-layout:fixed;word-break:break-all;>부대장행동</td>
</tr>
<?
<?php
for($i=0; $i < $troopcount; $i++) {
$troop = MYDB_fetch_array($result);
@@ -151,11 +151,11 @@ echo "
MYDB_close($connect);
?>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</form>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $btn0~15, $gold0~15
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $title, $msg, $num
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $btn, $msg, $scoutmsg, $rate, $bill, $secretlimit
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $turn, $command, $cost, $name, $nationname, $note, $double, $third, $fourth
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $msg, $genlist
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $btn, $level, $genlist, $outlist
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $title, $msg, $num
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $msg
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $btn, $msg
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
// $btn, $name, $troop
include "lib.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+3 -3
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -49,10 +49,10 @@ function myclock() {
window.setTimeout("myclock();", 1000);
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body OnLoad='myclock()' oncontextmenu='return false'>
<?
<?php
myCommandList($connect);
function myCommandList($connect) {
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
localhost
root
root
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
define(ROOT, '..');
require_once(ROOT.'/f_config/config.php');
require_once(ROOT.W.F_CONFIG.W.APP.PHP);
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
+1 -1
View File
@@ -1 +1 @@
<?/*jwh1807:유기체:13:127.0.0.1:1320151557*/?>
<?php/*jwh1807:유기체:13:127.0.0.1:1320151557*/?>
+2 -2
View File
@@ -1,4 +1,4 @@
<?
<?php
$fp = fopen("logs/_db_bug.txt", "a");
fwrite($fp, $message."\r\n");
fclose($fp);
@@ -9,7 +9,7 @@ fclose($fp);
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<title>에러</title>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body>
<br><br><br><br><br>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
//////////////////////////장수성격//////////////////////////////////////////////
//은둔 안전 유지 재간 출세 할거 정복 패권 의협 대의 왕좌
////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
//////////////////////////장수성격//////////////////////////////////////////////
//은둔 안전 유지 재간 출세 할거 정복 패권 의협 대의 왕좌
////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
//////////////////////////장수성격//////////////////////////////////////////////
//은둔 안전 유지 재간 출세 할거 정복 패권 의협 대의 왕좌
////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
//////////////////////////장수성격//////////////////////////////////////////////
//은둔 안전 유지 재간 출세 할거 정복 패권 의협 대의 왕좌
////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "process_war.php";
include "func_process.php";
include "func_npc.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
function GetStuffName($stuff) {
$type1 = $stuff % 10;
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "func_http.php";
function getHistory($count, $year, $month, $isFirst=0) {
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
class HTTP{
var $Socket, $Server, $Port, $Timeout, $HttpVersion = "1.0", $Url, $Length, $ResponseTime, $ErrNum, $ErrMsg;
var $headers = array();
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
function RegNPC($connect) {
$query = "select startyear,year,turnterm,scenario,extend,fiction,img from game where no='1'";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
function CriticalRatio($leader, $power, $intel, $type=0) {
$avg = ($leader+$power+$intel) / 3;
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
function getFont($str) {
if(strlen($str) >= 22) { $str = "<font size=1>{$str}</font>"; }
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
function processTournament($connect) {
$query = "select tournament,phase,tnmt_type,tnmt_auto,tnmt_time,now() as now,TIMESTAMPDIFF(SECOND,tnmt_time,now()) as offset from game where no=1";
+1 -1
View File
@@ -1,7 +1,7 @@
<html>
<head>
<title>삼국지 모의전투 유기체서버</title>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<frameset id=index name=index cols=100% frameborder=0 border=0>
<frame src=main.php id=main name=main>
+3 -3
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
if(file_exists("d_setting/set.php")) error("이미 set.php가 생성되어 있습니다.<br><br>재설치하려면 해당 파일을 지우세요");
@@ -40,7 +40,7 @@ function check_view() {
<td>
<br>
<img src=<?=$images;?>/inst_step1.gif>
<textarea cols=90 rows=15 readonly><? include "license.txt"; ?></textarea>
<textarea cols=90 rows=15 readonly><?php include "license.txt"; ?></textarea>
<br>
<input type=checkbox name=accept value=1 onclick="return check_view()"> 위의 라이센스를 모두 읽었으며 동의합니다
</td>
@@ -49,7 +49,7 @@ function check_view() {
<tr>
<td><br>
<img src=<?=$images;?>/inst_step1-2.gif><br><br><br><div align=center>
<?
<?php
if(fileperms(".")==16839||fileperms(".")==16895) $check="1";
if(!$check) {
echo "
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
if(file_exists("d_setting/set.php")) error("이미 set.php가 생성되어 있습니다.<br><br>재설치하려면 해당 파일을 지우세요");
?>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
require "lib.php";
?>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+2 -2
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "schema.php";
include "func.php";
@@ -83,7 +83,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,"<?\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);
+9 -9
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
@@ -98,16 +98,16 @@ function abilityPowint() {
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td>장 수 생 성<br><? backButton(); ?></td></tr>
<tr><td>장 수 생 성<br><?php backButton(); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td align=center><? info($connect, 0, 1); ?></td></tr>
<tr><td align=center><?php info($connect, 0, 1); ?></td></tr>
</table>
<?
<?php
$query = "select img,maxgeneral from game where no='1'";
$result = MYDB_query($query, $connect) or Error("join ".MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
@@ -125,7 +125,7 @@ if($gencount >= $admin[maxgeneral]) {
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td align=center colspan=2 id=bg1>임관 권유 메세지</td></tr>
<?
<?php
$query = "select name,scoutmsg,color from nation";
$nationresult = MYDB_query($query, $connect) or Error("join ".MYDB_error($connect),"");
$nationcount = MYDB_num_rows($nationresult);
@@ -156,7 +156,7 @@ for($i=0; $i < $nationcount; $i++) {
<input type=text name=name maxlength=6 size=12 style=color:white;background-color:black; value=<?=$member[name]?>>(6글자 이내)
</td>
</tr>
<?
<?php
if($admin[img] >= 1 && $member[grade] >= 1 && $member[picture] != "") {
$imageTemp = GetImageURL($member[imgsvr]);
echo "
@@ -238,8 +238,8 @@ if($admin[img] >= 1 && $member[grade] >= 1 && $member[picture] != "") {
</table>
</form>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
<tr><td><? backButton(); ?></td></tr>
<tr><td><? banner(); ?> </td></tr>
<tr><td><?php backButton(); ?></td></tr>
<tr><td><?php banner(); ?> </td></tr>
</table>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
/******************************************************************************
체섭용 인클루드 파일
******************************************************************************/
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
$connect = dbConn("sammo");
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
+29 -29
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -118,31 +118,31 @@ function turn(type) {
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<div style="position:absolute; top:15px; left:50%; margin-left: -567px; width: 52px; height: 52px; border: 1px solid white;">심의</div>
<? $banner_id = $_SESSION[p_id]; ?>
<?php $banner_id = $_SESSION[p_id]; ?>
<div style="position:absolute; top:77px; left:50%; margin-left: -675px; width: 160px; height: 600px; border: 1px solid white;">
<? include('../i_banner/banner.php'); ?>
<?php include('../i_banner/banner.php'); ?>
</div>
<div style="position:absolute; top:77px; left:50%; margin-left: 515px; width: 160px; height: 600px; border: 1px solid white;">
<? include('../i_banner/banner.php'); ?>
<?php include('../i_banner/banner.php'); ?>
</div>
<div style="position:absolute; top:1720px; left:50%; margin-left: -675px; width: 160px; height: 600px; border: 1px solid white;">
<? include('../i_banner/banner.php'); ?>
<?php include('../i_banner/banner.php'); ?>
</div>
<div style="position:absolute; top:1720px; left:50%; margin-left: 515px; width: 160px; height: 600px; border: 1px solid white;">
<? include('../i_banner/banner.php'); ?>
<?php include('../i_banner/banner.php'); ?>
</div>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13;word-break:break-all; id=bg0>
<tr><td colspan=5><? allButton($connect); ?></td></tr>
<tr><td colspan=5><?php allButton($connect); ?></td></tr>
<tr height=50>
<td colspan=5 align=center><font size=4>삼국지 모의전투 PHP 유기체서버 (<font color=<?=$me[skin]>0?"cyan":"white";?>><?=$scenario;?></font>)</font></td>
</tr>
<?
<?php
$valid = 0;
if($admin[extend] == 0) { $extend = "표준"; }
else { $extend = "확장"; $valid = 1; }
@@ -164,14 +164,14 @@ if($valid == 1) {
?>
<tr height=30>
<td width=198 align=center><? info($connect, 2, $me[skin]); ?></td>
<td width=198 align=center><?php info($connect, 2, $me[skin]); ?></td>
<td width=198 align=center>전체 접속자 : <?=$admin[online];?> 명</td>
<td width=198 align=center>턴당 갱신횟수 : <?=$admin[conlimit];?>회</td>
<td width=398 colspan=2 align=center><? info($connect, 3, $me[skin]); ?></td>
<td width=398 colspan=2 align=center><?php info($connect, 3, $me[skin]); ?></td>
</tr>
<tr height=30>
<td align=center>
<?
<?php
if ($onlineNumber > $thr3) { $state = "(긴급모드)"; }
elseif($onlineNumber > $thr2) { $state = "(안전모드)"; }
elseif($onlineNumber > $thr1) { $state = "(절약모드)"; }
@@ -222,10 +222,10 @@ echo "
</tr>";
?>
<tr><td colspan=5>접속중인 국가: <?=onlinenation($connect);?></td></tr>
<tr><td colspan=5><? adminMsg($connect, $me[skin]); ?></td></tr>
<tr><td colspan=5> 국가방침 <? nationMsg($connect, $me[skin]); ?></td></tr>
<tr><td colspan=5><?php adminMsg($connect, $me[skin]); ?></td></tr>
<tr><td colspan=5> 국가방침 <?php nationMsg($connect, $me[skin]); ?></td></tr>
<tr><td colspan=5> 접속자 <?=onlinegen($connect);?></td></tr>
<?
<?php
if($me[userlevel] >= 5) {
echo "
<tr><td colspan=5>
@@ -253,8 +253,8 @@ if($me[userlevel] >= 5) {
</tr>
<form name=form2 action=preprocessing.php method=post target=commandlist>
<tr>
<td rowspan=3 width=50 valign=top><? turnTable(); ?></td>
<td width=646><? cityInfo($connect); ?></td>
<td rowspan=3 width=50 valign=top><?php turnTable(); ?></td>
<td width=646><?php cityInfo($connect); ?></td>
</tr>
<tr>
<td width=646 align=right>
@@ -277,7 +277,7 @@ if($me[userlevel] >= 5) {
</tr>
<tr>
<td width=646 align=right>
<? commandTable($connect); ?>
<?php commandTable($connect); ?>
<input type=button style=background-color:<?=$_basecolor2;?>;color:white;width:110;font-size:13; value='실 행' onclick='refreshing(3,form2)'><input type=button style=background-color:<?=$_basecolor2;?>;color:white;width:110;font-size:13; value='갱 신' onclick='refreshing(0,0)'><input type=button style=background-color:<?=$_basecolor2;?>;color:white;width:160;font-size:13; value='로그아웃' onclick=location.replace('logout_process.php')><br>
</td>
</tr>
@@ -285,10 +285,10 @@ if($me[userlevel] >= 5) {
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13;word-break:break-all; id=bg0>
<tr>
<td width=498><? myNationInfo($connect); ?></td>
<td width=498><? myInfo($connect); ?></td>
<td width=498><?php myNationInfo($connect); ?></td>
<td width=498><?php myInfo($connect); ?></td>
</tr>
<tr><td colspan=2><? commandButton($connect); ?></td></tr>
<tr><td colspan=2><?php commandButton($connect); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13;word-break:break-all; id=bg0>
<tr>
@@ -296,41 +296,41 @@ if($me[userlevel] >= 5) {
<td width=498 align=center id=bg1><b>개인 기록</b></td>
</tr>
<tr>
<td width=498 ><? AllLog(15, $me[skin]); ?></td>
<td width=498 ><? MyLog($me[no], 15, $me[skin]); ?></td>
<td width=498 ><?php AllLog(15, $me[skin]); ?></td>
<td width=498 ><?php MyLog($me[no], 15, $me[skin]); ?></td>
</tr>
<tr><td width=998 colspan=2 align=center id=bg1><b>중원 정세</b></td></tr>
<tr><td width=998 colspan=2><? History(15, $me[skin]); ?></td></tr>
<tr><td width=998 colspan=2><?php History(15, $me[skin]); ?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13;word-break:break-all; id=bg0>
<tr>
<td colspan=2>
<form id=message name=message method=post action=c_msgsubmit.php target=msglist>
<? genList($connect); ?>
<?php genList($connect); ?>
<input type=textarea id=msg name=msg maxlength=99 style=color:white;background-color:black;font-size:13;width:720px;>
<input type=button style=background-color:<?=$_basecolor2;?>;color:white;font-size:13;width:100px; value='서신전달&갱신' onclick='refreshing(4,message)'>
<br>내용 없이 '서신전달&갱신' 누르면 메세지창이 갱신됩니다.
</form>
</td>
</tr>
<tr><td colspan=2><? allButton($connect); ?></td></tr>
<tr><td colspan=2><?php allButton($connect); ?></td></tr>
<tr><td colspan=2>
<iframe name=msglist src='msglist.php' width=1000 height=1375 frameborder=0 marginwidth=0 marginheight=0 topmargin=0 scrolling=no>
</iframe>
</td></tr>
<tr><td colspan=2>
<?
<?php
allButton($connect);
banner();
?>
</td></tr>
</table>
<? PrintElapsedTime(); ?>
<?php PrintElapsedTime(); ?>
</body>
</html>
<?
<?php
if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다! 제한량이 모자라다면 참여를 해보세요^^"); }
if($me[newmsg] == 1) { MessageBox("개인 서신이 도착했습니다!"); }
if($me[newvote] == 1) { $develcost = $admin[develcost]*5; MessageBox("설문조사에 참여하시면 금{$develcost}과 유니크템을 드립니다! (우측 상단 설문조사 메뉴)"); }
+4 -4
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
if($graphic == 2) {
@@ -63,7 +63,7 @@ function hideLayer() {
layerObj2.style.visibility = "hidden";
}
</script>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body bgcolor=black leftmargin=0 marginwidth=0 topmargin=0 marginheight=0 oncontextmenu='return false'>
<div id=city_name class=balloon style=background-color:1EA4FF;position:absolute;visibility:hidden;z-index:6;>
@@ -80,11 +80,11 @@ function hideLayer() {
</form>
</table>
</div>
<? showMap($connect, $type, $graphic); ?>
<?php showMap($connect, $type, $graphic); ?>
</body>
</html>
<?
<?php
function showMap($connect, $type, $graphic) {
global $images;
+1 -1
View File
@@ -1,4 +1,4 @@
<?
<?php
$year = $_GET['year'];
$month = $_GET['month'];
+7 -7
View File
@@ -1,4 +1,4 @@
<?
<?php
include "lib.php";
include "func.php";
//로그인 검사
@@ -12,11 +12,11 @@ $connect = dbconn();
<title>메시지리스트</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<link rel=stylesheet href=stylesheet.php type=text/css>
<? require('analytics.php'); ?>
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>
<?
<?php
$query = "select no,nation,skin from general where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -26,15 +26,15 @@ $me = MYDB_fetch_array($result);
<tr>
<td valign=top width=500>
전체 메세지(최고75자)<br>
<? MsgFile($me[skin], 1); ?>
<?php MsgFile($me[skin], 1); ?>
<br>
개인 메세지(최고75자)<br>
<? MsgMe($connect, 2); ?>
<?php MsgMe($connect, 2); ?>
</td>
<td valign=top width=500>
<? MsgDip($connect, 4); ?>
<?php MsgDip($connect, 4); ?>
국가 메세지(최고75자)<br>
<? MsgFile($me[skin], 3, $me[nation]); ?>
<?php MsgFile($me[skin], 3, $me[nation]); ?>
</td>
</tr>
</table>

Some files were not shown because too many files have changed in this diff Show More