설치: 2단계 스타일
This commit is contained in:
@ -4,12 +4,12 @@ include_once ('../config.php');
|
|||||||
include_once ('./install.inc.php');
|
include_once ('./install.inc.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<strong class="st_strong">라이센스(License) 내용을 반드시 확인하십시오.</strong><br>
|
<strong class="st_strong">라이센스(License) 내용을 반드시 확인하십시오.</strong><br>
|
||||||
라이센스에 동의하시는 경우에만 설치가 진행됩니다.
|
라이센스에 동의하시는 경우에만 설치가 진행됩니다.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<textarea name="textarea" id="idx_license" readonly><?=implode('', file('../LICENSE.txt'));?></textarea>
|
<textarea name="textarea" id="idx_license" readonly><?=implode('', file('../LICENSE.txt'));?></textarea>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,9 @@ if (!$title) $title = "그누보드4S 설치";
|
|||||||
body {margin:0;padding:0;background:#f7f7f7}
|
body {margin:0;padding:0;background:#f7f7f7}
|
||||||
h1 {margin:50px auto 30px;width:540px;font-size:1.4em}
|
h1 {margin:50px auto 30px;width:540px;font-size:1.4em}
|
||||||
p {line-height:1.5em}
|
p {line-height:1.5em}
|
||||||
|
table {width:100%;border-collapse:collapse;border-spacing:0}
|
||||||
|
th,td {padding:5px;border:1px solid #ddd}
|
||||||
|
th {text-align:left}
|
||||||
|
|
||||||
#wrapper {margin:0 auto;padding:20px;width:500px;border:1px solid #eee;background:#fff}
|
#wrapper {margin:0 auto;padding:20px;width:500px;border:1px solid #eee;background:#fff}
|
||||||
|
|
||||||
@ -22,6 +25,7 @@ p {line-height:1.5em}
|
|||||||
|
|
||||||
#btn_confirm {text-align:center}
|
#btn_confirm {text-align:center}
|
||||||
|
|
||||||
|
.outside {margin:0 auto;padding:20px 0;width:542px}
|
||||||
.st_strong {color:#ff3061;font-weight:normal}
|
.st_strong {color:#ff3061;font-weight:normal}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
|
$title = "그누보드4S 설치 3단계 중 2단계 설정";
|
||||||
include_once ('../config.php');
|
include_once ('../config.php');
|
||||||
include_once ('./install.inc.php');
|
include_once ('./install.inc.php');
|
||||||
|
|
||||||
@ -16,88 +17,90 @@ if ($_POST['agree'] != '동의함') {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
||||||
<title>그누보드4 설치 (2/3) - 설정</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<form id="frm_install" method="post" action="./install_db.php" onsubmit="return frm_install_submit(this)">
|
<form id="frm_install" method="post" action="./install_db.php" onsubmit="return frm_install_submit(this)">
|
||||||
<table border>
|
<table border>
|
||||||
<caption>MySQL 정보입력</caption>
|
<caption>MySQL 정보입력</caption>
|
||||||
<tr>
|
<tbody>
|
||||||
<td width=100>Host</td>
|
<tr>
|
||||||
<td width=200>
|
<th scope="row"><label for="">Host</label></th>
|
||||||
<input name="mysql_host" type="text" value="localhost">
|
<td>
|
||||||
</td>
|
<input name="mysql_host" type="text" value="localhost" id="mysql_host">
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>User</td>
|
<tr>
|
||||||
<td>
|
<th scope="row"><label for="">User</label></th>
|
||||||
<input name="mysql_user" type="text">
|
<td>
|
||||||
</td>
|
<input name="mysql_user" type="text" id="mysql_user">
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Password</td>
|
<tr>
|
||||||
<td>
|
<th scope="row"><label for="">Password</label></th>
|
||||||
<input name="mysql_pass" type="text">
|
<td>
|
||||||
</td>
|
<input name="mysql_pass" type="text" id="mysql_pass">
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>DB</td>
|
<tr>
|
||||||
<td>
|
<th scope="row"><label for="">DB</label></th>
|
||||||
<input name="mysql_db" type="text">
|
<td>
|
||||||
</td>
|
<input name="mysql_db" type="text" id="mysql_db">
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Port</td>
|
<tr>
|
||||||
<td>
|
<th scope="row"><label for="">Port</label></th>
|
||||||
<input name="mysql_port" type="text" value="3306">
|
<td>
|
||||||
<br>가능한 변경하지 마십시오.
|
<input name="mysql_port" type="text" value="3306" id="mysql_port">
|
||||||
</td>
|
<br>가능한 변경하지 마십시오.
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>TABLE명 접두사</td>
|
<tr>
|
||||||
<td>
|
<th scope="row"><label for="">TABLE명 접두사</label></th>
|
||||||
<input name="table_prefix" type="text" value="g4s_">
|
<td>
|
||||||
<br>가능한 변경하지 마십시오.
|
<input name="table_prefix" type="text" value="g4s_" id="table_prefix">
|
||||||
</td>
|
<br>가능한 변경하지 마십시오.
|
||||||
</tr>
|
</td>
|
||||||
</table>
|
</tr>
|
||||||
<br>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
<table border>
|
<table border>
|
||||||
<caption>최고관리자 정보입력</caption>
|
<caption>최고관리자 정보입력</caption>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=100>회원 ID</td>
|
<th scope="row"><label for="">회원 ID</label></th>
|
||||||
<td width=200>
|
<td>
|
||||||
<input name="admin_id" type="text" value="admin">
|
<input name="admin_id" type="text" value="admin" id="admin_id">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>패스워드</td>
|
<th scope="row"><label for="">패스워드</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="admin_pass" type="text">
|
<input name="admin_pass" type="text" id="admin_pass">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>이름</td>
|
<th scope="row"><label for="">이름</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="admin_name" type="text" value="최고관리자">
|
<input name="admin_name" type="text" value="최고관리자" id="admin_name">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>E-mail</td>
|
<th scope="row"><label for="">E-mail</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="admin_email" type="text" value="admin@domain.com">
|
<input name="admin_email" type="text" value="admin@domain.com" id="admin_email">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h4>이미 그누보드4가 존재한다면 DB 자료가 망실되므로 주의하십시오.</h4>
|
</div>
|
||||||
|
|
||||||
<input type="submit" value="다음">
|
<p class="outside">
|
||||||
|
<strong class="st_strong">주의! 이미 그누보드4S가 존재한다면 DB 자료가 망실되므로 주의하십시오.</strong><br>
|
||||||
|
주의사항을 읽으셨다면 다음을 눌러 설치를 계속하십시오.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div id="btn_confirm">
|
||||||
|
<input type="submit" value="다음">
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function frm_install_submit(f)
|
function frm_install_submit(f)
|
||||||
|
|||||||
Reference in New Issue
Block a user