html5 비호환 border=1, border=0 제거. bar 태그를 div로 변경

This commit is contained in:
2018-05-11 03:16:24 +09:00
parent beea13ff4b
commit aa46fc9668
53 changed files with 612 additions and 723 deletions
+55 -56
View File
@@ -54,6 +54,28 @@ if ($con >= 2) {
}
$scenario = $admin['scenario_text'];
$valid = 0;
if ($admin['extended_general'] == 0) {
$extend = "표준";
} else {
$extend = "확장";
$valid = 1;
}
if ($admin['fiction'] == 0) {
$fiction = "사실";
} else {
$fiction = "가상";
$valid = 1;
}
if ($admin['npcmode'] == 0) {
$npcmode = "불가능";
} else {
$npcmode = "가능";
$valid = 1;
}
$color = "cyan";
?>
<!DOCTYPE html>
<html>
@@ -82,10 +104,10 @@ $(function(){
</script>
<link href="css/normalize.css" rel="stylesheet">
<link href="../d_shared/common.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/common.css?180511" rel="stylesheet">
<link href="css/main.css?180511" rel="stylesheet">
<link href="css/map.css" rel="stylesheet">
<link href="css/msg.css" rel="stylesheet">
<link href="css/msg.css?180511" rel="stylesheet">
</head>
@@ -93,50 +115,27 @@ $(function(){
<div id="container">
<div><?=allButton()?></div>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13px;word-break:break-all; id=bg0>
<table class="tb_layout bg0" style="width:1000px;">
<tr height=50>
<td colspan=5 align=center><font size=4>삼국지 모의전투 HiDCHe (<font color=cyan><?=$scenario?></font>)</font></td>
</tr>
<?php
$valid = 0;
if ($admin['extended_general'] == 0) {
$extend = "표준";
} else {
$extend = "확장";
$valid = 1;
}
if ($admin['fiction'] == 0) {
$fiction = "사실";
} else {
$fiction = "가상";
$valid = 1;
}
if ($admin['npcmode'] == 0) {
$npcmode = "불가능";
} else {
$npcmode = "가능";
$valid = 1;
}
$color = "cyan";
if ($valid == 1) {
echo "
<?php if ($valid == 1): ?>
<tr height=30>
<td width=398 colspan=2 align=center><font color={$color}>{$scenario}</font></td>
<td width=198 align=center><font color={$color}>NPC수 : {$extend}</font></td>
<td width=198 align=center><font color={$color}>NPC상성 : {$fiction}</font></td>
<td width=198 align=center><font color={$color}>NPC선택 : {$npcmode}</font></td>
</tr>";
}
?>
<td width=398 colspan=2 align=center><font color=<?=$color?>><?=$scenario?></font></td>
<td width=198 align=center><font color=<?=$color?>>NPC수 : <?=$extend?></font></td>
<td width=198 align=center><font color=<?=$color?>>NPC상성 : <?=$fiction?></font></td>
<td width=198 align=center><font color=<?=$color?>>NPC선택 : <?=$npcmode?></font></td>
</tr>
<?php endif; ?>
<tr height=30>
<td width=198 align=center><?=info(2)?></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(3)?></td>
<td width=198><?=info(2)?></td>
<td width=198>전체 접속자 수 : <?=$admin['online']?> 명</td>
<td width=198>턴당 갱신횟수 : <?=$admin['conlimit']?>회</td>
<td width=398 colspan=2><?=info(3)?></td>
</tr>
<tr height=30>
<td align=center>
<td>
<?php
if ($plock['plock'] == 0) {
echo "<marquee scrollamount=2><font color=cyan>서버 가동중</font></marquee>";
@@ -195,10 +194,10 @@ echo "
</td>
</tr>";
?>
<tr><td colspan=5>접속중인 국가: <?=onlinenation()?></td></tr>
<tr><td colspan=5><?php adminMsg(); ?></td></tr>
<tr><td colspan=5>【 국가방침 】<?php nationMsg(); ?></td></tr>
<tr><td colspan=5>【 접속자 】<?=onlinegen()?></td></tr>
<tr><td colspan=5 style="text-align:left;">접속중인 국가: <?=onlinenation()?></td></tr>
<tr><td colspan=5 style="text-align:left;"><?php adminMsg(); ?></td></tr>
<tr><td colspan=5 style="text-align:left;">【 국가방침 】<?php nationMsg(); ?></td></tr>
<tr><td colspan=5 style="text-align:left;">【 접속자 】<?=onlinegen()?></td></tr>
<?php
if ($session->userGrade >= 5) {
echo "
@@ -227,7 +226,7 @@ else if($session->userGrade == 4){
?>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13px;word-break:break-all; id=bg0>
<table class="tb_layout bg0" style="width:1000px;">
<tr>
<td width=698 height=520 colspan=2>
<?=getMapHtml()?>
@@ -237,7 +236,7 @@ else if($session->userGrade == 4){
<form name=form2 action=preprocessing.php method=post target=commandlist>
<tr>
<td rowspan=3 width=50 valign=top><?=turnTable()?></td>
<td width=646><?php cityInfo(); ?></td>
<td width=646 style="border:none;text-align:center;"><?php cityInfo(); ?></td>
</tr>
<tr>
<td width=646 align=right>
@@ -259,31 +258,31 @@ else if($session->userGrade == 4){
</td>
</tr>
<tr>
<td width=646 align=right>
<td width=646 align=right style="border:none;">
<?php commandTable(); ?>
<input id="mainBtnSubmit" type=button style=background-color:<?=GameConst::$basecolor2?>;color:white;width:110px;font-size:13px; value='실 행' onclick='refreshing(this, 3,form2)'><input type=button style=background-color:<?=GameConst::$basecolor2?>;color:white;width:110px;font-size:13px; value='갱 신' onclick='refreshing(this, 0,0)'><input type=button style=background-color:<?=GameConst::$basecolor2?>;color:white;width:160px;font-size:13px; value='로비로' onclick=location.replace('../')><br>
</td>
</tr>
</form>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13px;word-break:break-all; id=bg0>
<table class="tb_layout bg0" style="width:1000px;">
<tr>
<td width=498><?php myNationInfo(); ?></td>
<td width=498><?php myInfo(); ?></td>
<td width=498 style="border:none;"><?php myNationInfo(); ?></td>
<td width=498 style="border:none;"><?php myInfo(); ?></td>
</tr>
<tr><td colspan=2><?=commandButton()?></td></tr>
</table>
<table align=center width=1000 border=1 cellspacing=0 cellpadding=0 style=font-size:13px;word-break:break-all; id=bg0>
<table class="tb_layout bg0">
<tr>
<td width=498 align=center id=bg1><b>장수 동향</b></td>
<td width=498 align=center id=bg1><b>개인 기록</b></td>
<td width=498 class='bg1 center'><b>장수 동향</b></td>
<td width=498 class='bg1 center'><b>개인 기록</b></td>
</tr>
<tr>
<td width=498 ><?=getGeneralPublicRecordRecent(15)?></td>
<td width=498 ><?=getGenLogRecent($me['no'], 15)?></td>
<td width=498 style="text-align:left;"><?=getGeneralPublicRecordRecent(15)?></td>
<td width=498 style="text-align:left;"><?=getGenLogRecent($me['no'], 15)?></td>
</tr>
<tr><td width=998 colspan=2 align=center id=bg1><b>중원 정세</b></td></tr>
<tr><td width=998 colspan=2><?=getWorldHistoryRecent(15)?></td></tr>
<tr><td width=998 colspan=2 class='bg1 center'><b>중원 정세</b></td></tr>
<tr><td width=998 colspan=2 style="text-align:left;"><?=getWorldHistoryRecent(15)?></td></tr>
</table>
<div class="message_input_form bg0">
<select id="mailbox_list" size="1">