서버 관리 폼 수정
부운영자, 운영자 권한 표기
This commit is contained in:
+23
-18
@@ -4,6 +4,9 @@ namespace sammo;
|
||||
include "lib.php";
|
||||
include "func.php";
|
||||
|
||||
if(!class_exists('\sammo\DB')){
|
||||
header('Location:install_db.php');
|
||||
}
|
||||
if(Session::getUserGrade(true) < 5){
|
||||
die('관리자 아님');
|
||||
}
|
||||
@@ -25,11 +28,11 @@ if(Session::getUserGrade(true) < 5){
|
||||
<link rel="stylesheet" href="css/install.css" >
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="container" style="min-width:720px;">
|
||||
<h1 class="row justify-content-md-center">삼국지 모의전투 HiD 리셋</h1>
|
||||
<div class="row justify-content-md-center">
|
||||
|
||||
<div class="col col-12 col-md-10 col-lg-7">
|
||||
<div class="col col-lg-8" >
|
||||
<div class="card" id="db_form_card" style="display:none">
|
||||
<h3 class="card-header">
|
||||
설치(DB 설정)
|
||||
@@ -151,20 +154,7 @@ if(Session::getUserGrade(true) < 5){
|
||||
<option value="1">황건적의 난</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
<table class="table table-sm table-striped">
|
||||
<colgroup><col style="width:100px;"><col></colgroup>
|
||||
<thead><tr><th>설정</th><th>값</th></thead>
|
||||
<tbody>
|
||||
<tr><th>일자</th><td ><span id="scenario_begin">180년 1월</span><small id="scenario_begin_with_sync"></small></td></tr>
|
||||
<tr><th>NPC 수</th><td><span id="scenario_npc"></span><span id="scenario_npc_extend"></span></td></tr>
|
||||
<tr><th>국가 수</th><td><span id="scenario_nation"></span></td></tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr><td colspan="2">
|
||||
|
||||
</td></tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -238,10 +228,25 @@ if(Session::getUserGrade(true) < 5){
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<h4 class="card-header">시나리오 정보</h4>
|
||||
<table class="table table-striped">
|
||||
<colgroup><col style="width:100px;"><col></colgroup>
|
||||
<thead>
|
||||
<tr><th>설정</th><th>값</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><th>일자</th><td ><span id="scenario_begin">180년 1월</span><small id="scenario_begin_with_sync"></small></td></tr>
|
||||
<tr><th>NPC 수</th><td><span id="scenario_npc"></span><span id="scenario_npc_extend"></span></td></tr>
|
||||
<tr><th>국가 수</th><td><span id="scenario_nation"></span></td></tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr><td colspan="2">
|
||||
|
||||
</td></tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div><!--ADMIN 폼 끝-->
|
||||
|
||||
<!-- TODO: conf_kakao.php -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user