설치: 1단계 스타일
This commit is contained in:
@ -1,25 +1,28 @@
|
||||
<?
|
||||
$title = "그누보드4S 설치 3단계 중 1단계 라이센스 확인";
|
||||
include_once ('../config.php');
|
||||
include_once ('./install.inc.php');
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>그누보드4 설치 (1/3) - 라이센스(License)</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h4>라이센스(License) 내용을 반드시 확인하십시오.</h4>
|
||||
<textarea name="textarea" style='width:100%;height:300px;' readonly>
|
||||
<?=implode('', file('../LICENSE.txt'));?>
|
||||
</textarea>
|
||||
<form method="post" action="./install_config.php" onsubmit="return frm_submit(this);">
|
||||
<div>
|
||||
<input type="checkbox" id="agree" name="agree" value="동의함">
|
||||
<label for="agree">설치를 원하시면 위 내용에 동의하셔야 합니다.</label><br>
|
||||
동의에 선택하신 후 <다음> 버튼을 클릭해 주세요.
|
||||
<p>
|
||||
<strong class="st_strong">라이센스(License) 내용을 반드시 확인하십시오.</strong><br>
|
||||
라이센스에 동의하시는 경우에만 설치가 진행됩니다.
|
||||
</p>
|
||||
|
||||
<textarea name="textarea" id="idx_license" readonly><?=implode('', file('../LICENSE.txt'));?></textarea>
|
||||
|
||||
</div>
|
||||
<input type="submit" value="다음">
|
||||
|
||||
<form action="./install_config.php" method="post" onsubmit="return frm_submit(this);">
|
||||
<div id="idx_agree">
|
||||
<label for="agree">동의합니다.</label>
|
||||
<input type="checkbox" id="agree" name="agree" value="동의함">
|
||||
</div>
|
||||
|
||||
<div id="btn_confirm">
|
||||
<input type="submit" value="다음">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@ -1,19 +1,36 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
$data_path = '../'.G4_DATA_DIR;
|
||||
|
||||
if (!$title) $title = "그누보드4S 설치";
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>그누보드4S 설치 준비</title>
|
||||
<title><?=$title?></title>
|
||||
<style>
|
||||
html {background:#f7f7f7}
|
||||
body {margin:0;padding:0;background:#f7f7f7}
|
||||
h1 {margin:50px auto 30px;width:540px;font-size:1.4em}
|
||||
p {line-height:1.5em}
|
||||
|
||||
#wrapper {margin:0 auto;padding:20px;width:500px;border:1px solid #eee;background:#fff}
|
||||
|
||||
#idx_license {padding:10px;width:480px;height:300px;border:1px solid #ccc;background:#000;color:#fff}
|
||||
#idx_agree {padding:20px;font-weight:bold;text-align:center}
|
||||
|
||||
#btn_confirm {text-align:center}
|
||||
|
||||
.st_strong {color:#ff3061;font-weight:normal}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1><?=$title?></h1>
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
<?
|
||||
// 파일이 존재한다면 설치할 수 없다.
|
||||
$dbconfig_file = $data_path.'/'.G4_DBCONFIG_FILE;
|
||||
@ -45,7 +62,4 @@ if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data
|
||||
<?
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
?>
|
||||
Reference in New Issue
Block a user