Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
88
views/install/css/common.css
Normal file
88
views/install/css/common.css
Normal file
@@ -0,0 +1,88 @@
|
||||
@charset "UTF-8";
|
||||
/* CSS Document */
|
||||
|
||||
/* reset */
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,textarea,p,blockquote,th,td,input,select,textarea,button {margin:0;padding:0}
|
||||
fieldset,img {border:0 none}
|
||||
dl,ul,ol,menu,li {list-style:none}
|
||||
blockquote, q {quotes: none}
|
||||
blockquote:before, blockquote:after,q:before, q:after {content:'';content:none}
|
||||
input,select,textarea,button {vertical-align:middle}
|
||||
button {border:0 none;background-color:transparent;cursor:pointer}
|
||||
body {background:#e6e6e6; }
|
||||
body,th,td,input,select,textarea,button {line-height:1.5;font-family: 'Nanum Gothic',나눔고딕,NanumGothic,돋움,Dotum,Arial,Helvetica,sans-serif;font-size: 12px; color:#333}
|
||||
a {color:#5b5b5b;text-decoration: none;}
|
||||
a:active, a:hover {color:#6491ba; text-decoration:none}
|
||||
|
||||
h1{position: absolute; color: #fff;margin-left: 20px; margin-top: 10px;font-size:30px;}
|
||||
h2{color: #4a78a1; font-size: 18px; padding-bottom: 20px;}
|
||||
.title{font-size: 14px; padding-left:5px;}
|
||||
.stitle{font-size: 13px; padding-left:5px;}
|
||||
.bold {font-weight:bold;}
|
||||
|
||||
.color_red{
|
||||
color: #ff5e5e;
|
||||
}
|
||||
.color_blue{
|
||||
color: #6491ba;
|
||||
}
|
||||
.color_grey{
|
||||
color: #c0c0c0;
|
||||
}
|
||||
.glyphicon-star{color: #ff5e5e; font-size: 12px;
|
||||
|
||||
}
|
||||
.bg-info{
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
.wrapper{width: 800px; margin: 120px auto 0;}
|
||||
|
||||
.header{background:#314f6b; height: 54px; line-height:54px;position: relative;}
|
||||
|
||||
.header .version{position:absolute; color: #fff; font-size: 14px; right: 0; margin-right: 20px;
|
||||
}
|
||||
.header .v_no{color: #ff9999;}
|
||||
|
||||
.main{clear: both;}
|
||||
.main .menu{float: left;width: 220px;}
|
||||
.main .menu li{float: left; width: 220px;
|
||||
border-bottom: 1px solid #fff;background-color: #6390b9; color: #fff; background-image: url(../images/icon_off.png); padding: 10px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 10px 15px;
|
||||
text-indent: 20px;}
|
||||
|
||||
.main .menu .active{color: #fff;background-color: #4977a0;
|
||||
background-image: url(../images/icon_on.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 10px 15px;
|
||||
|
||||
}
|
||||
|
||||
.main .contents{float: right;background: #f5f5f5; width: 580px; padding: 20px 40px;
|
||||
}
|
||||
|
||||
.main .contents ul{
|
||||
padding: 10px 0 10px 30px;
|
||||
}
|
||||
.main .contents ul li{
|
||||
padding: 2px 0;
|
||||
list-style: disc;
|
||||
}
|
||||
.main .contents ul li a{color: #6491ba;}
|
||||
.main .contents .language li{
|
||||
list-style: none !important;
|
||||
}
|
||||
.main .contents ul li:hover{
|
||||
color:#6491ba; }
|
||||
.main .contents ul li.active{
|
||||
color:#6491ba; margin-left: -15px;
|
||||
}
|
||||
.main .contents .cont{
|
||||
border-bottom: 1px dotted #ccc;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.footer{background:#444444; height:40px; line-height: 40px; float: right; width: 580px; padding:10px 20px}
|
||||
|
||||
4
views/install/footer.php
Normal file
4
views/install/footer.php
Normal file
@@ -0,0 +1,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
37
views/install/header.php
Normal file
37
views/install/header.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>CIBOARD INSTALL</title>
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
|
||||
<link href="<?php echo base_url(VIEW_DIR . 'install/css/common.css'); ?>" rel="stylesheet" type="text/css">
|
||||
<link href="//fonts.googleapis.com/earlyaccess/nanumgothic.css">
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="<?php echo base_url('assets/js/html5shiv.min.js'); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo base_url('assets/js/respond.min.js'); ?>"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!-- header start -->
|
||||
<div class="header">
|
||||
<h1>CIBOARD</h1>
|
||||
<span class="version">Version <?php echo CB_VERSION; ?> CIBoard Installation</span>
|
||||
</div>
|
||||
<!-- header end -->
|
||||
<!-- main start -->
|
||||
<div class="main">
|
||||
<ul class="menu">
|
||||
<li <?php echo ($install_step === 1) ? 'class="active"' : '';?>>약관동의</li>
|
||||
<li <?php echo ($install_step === 2) ? 'class="active"' : '';?>>기본환경체크</li>
|
||||
<li <?php echo ($install_step === 3) ? 'class="active"' : '';?>>CONFIG 설정파일체크</li>
|
||||
<li <?php echo ($install_step === 4) ? 'class="active"' : '';?>>디비설정체크</li>
|
||||
<li <?php echo ($install_step === 5) ? 'class="active"' : '';?>>관리자정보입력</li>
|
||||
<li <?php echo ($install_step === 6) ? 'class="active"' : '';?>>설치</li>
|
||||
</ul>
|
||||
32
views/install/header_upgrade.php
Normal file
32
views/install/header_upgrade.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>CIBOARD INSTALL</title>
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
|
||||
<link href="<?php echo base_url(VIEW_DIR . 'install/css/common.css'); ?>" rel="stylesheet" type="text/css">
|
||||
<link href="//fonts.googleapis.com/earlyaccess/nanumgothic.css">
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="<?php echo base_url('assets/js/html5shiv.min.js'); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo base_url('assets/js/respond.min.js'); ?>"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!-- header start -->
|
||||
<div class="header">
|
||||
<h1>CIBOARD</h1>
|
||||
<span class="version">Version <?php echo CB_VERSION; ?> CIBoard Upgrade</span>
|
||||
</div>
|
||||
<!-- header end -->
|
||||
<!-- main start -->
|
||||
<div class="main">
|
||||
<ul class="menu">
|
||||
<li class="active">업그레이드</li>
|
||||
</ul>
|
||||
BIN
views/install/images/icon.png
Normal file
BIN
views/install/images/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
BIN
views/install/images/icon_off.png
Normal file
BIN
views/install/images/icon_off.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 964 B |
BIN
views/install/images/icon_on.png
Normal file
BIN
views/install/images/icon_on.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 993 B |
20
views/install/step0.php
Normal file
20
views/install/step0.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="contents">
|
||||
<h2>설치 준비</h2>
|
||||
<div class="cont">
|
||||
<p style="font-size:14px;height:200px;">
|
||||
설치를 진행하기 위해서는 현재 접속하고 계신 IP를 application/config/cb_config.php 파일에 $config['install_ip'] 변수에 등록해주십시오. <br />
|
||||
현재 접속하고 계신 IP는 <strong><?php echo $this->input->ip_address(); ?></strong> 로 확인되고 있습니다.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
echo form_open(site_url('install'));
|
||||
?>
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Check Again <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php
|
||||
echo form_close();
|
||||
?>
|
||||
33
views/install/step1.php
Normal file
33
views/install/step1.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
$attributes = array('name' => 'finstall', 'id' => 'finstall', 'onSubmit' => 'return fsubmit(this);');
|
||||
echo form_open(site_url('install/step2'), $attributes);
|
||||
?>
|
||||
|
||||
<div class="contents">
|
||||
<h2>약관동의</h2>
|
||||
<textarea class="form-control" style="height:500px;">
|
||||
<?php echo implode('', file('./CIBOARD_LICENSE')); ?>
|
||||
</textarea>
|
||||
<label for="agree"><input type="checkbox" id="agree" name="agree" value="1" /> 위 약관에 동의합니다</label>
|
||||
</div>
|
||||
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Next <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function fsubmit(f)
|
||||
{
|
||||
if ( ! f.agree.checked) {
|
||||
alert('라이센스 내용에 동의하셔야 설치가 가능합니다.');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
69
views/install/step2.php
Normal file
69
views/install/step2.php
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
$attributes = array('name' => 'finstall', 'id' => 'finstall');
|
||||
echo form_open(site_url('install/step3'), $attributes);
|
||||
?>
|
||||
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<div class="contents">
|
||||
<h2>기본환경설정체크</h2>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title1;?></span> : <?php echo $content1;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title2;?></span> : <?php echo $content2;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title3;?></span> : <?php echo $content3;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title4;?></span> : <?php echo $content4;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title5;?></span> : <?php echo $content5;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title6;?></span> : <?php echo $content6;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title7;?></span> : <?php echo $content7;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title8;?></span> : <?php echo $content8;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title9;?></span> : <?php echo $content9;?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ($message) {
|
||||
echo '<div class="alert alert-danger">' . $message . '</div>';
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ( ! $message) {?>
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Next <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php } ?>
|
||||
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<?php
|
||||
if ($message) {
|
||||
$attributes = array('name' => 'fcheck', 'id' => 'fcheck');
|
||||
echo form_open(site_url('install/step2'), $attributes);
|
||||
?>
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Check Again <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php
|
||||
echo form_close();
|
||||
}
|
||||
?>
|
||||
46
views/install/step3.php
Normal file
46
views/install/step3.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
$attributes = array('name' => 'finstall', 'id' => 'finstall');
|
||||
echo form_open(site_url('install/step4'), $attributes);
|
||||
?>
|
||||
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<div class="contents">
|
||||
<h2>Config 파일설정체크</h2>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title1;?></span> : <?php echo $content1;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title2;?></span> : <?php echo $content2;?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ($message) {
|
||||
echo '<div class="alert alert-danger">' . $message . '</div>';
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ( ! $message) {?>
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Next <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php } ?>
|
||||
<?php echo form_close(); ?>
|
||||
<?php
|
||||
if ($message) {
|
||||
$attributes = array('name' => 'fcheck', 'id' => 'fcheck');
|
||||
echo form_open(site_url('install/step3'), $attributes);
|
||||
?>
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Check Again <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php
|
||||
echo form_close();
|
||||
}
|
||||
?>
|
||||
50
views/install/step4.php
Normal file
50
views/install/step4.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
$attributes = array('name' => 'finstall', 'id' => 'finstall');
|
||||
echo form_open(site_url('install/step5'), $attributes);
|
||||
?>
|
||||
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<div class="contents">
|
||||
<h2>디비설정체크</h2>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title2;?></span> : <?php echo $content2;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title3;?></span> : <?php echo $content3;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title4;?></span> : <?php echo $content4;?></p>
|
||||
</div>
|
||||
<div class="cont">
|
||||
<p><i class="glyphicon glyphicon-record"></i><span class="title"><?php echo $title5;?></span> : <?php echo $content5;?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ($message) {
|
||||
echo '<div class="alert alert-danger">' . $message . '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ( ! $message) {?>
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Next <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php } ?>
|
||||
<?php echo form_close(); ?>
|
||||
<?php
|
||||
if ($message) {
|
||||
$attributes = array('name' => 'fcheck', 'id' => 'fcheck');
|
||||
echo form_open(site_url('install/step4'), $attributes);
|
||||
?>
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Check Again <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
<?php
|
||||
echo form_close();
|
||||
}
|
||||
91
views/install/step5.php
Normal file
91
views/install/step5.php
Normal file
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
$attributes = array('name' => 'finstall', 'class' => 'form-horizontal', 'id' => 'finstall', 'autocomplete' => 'off');
|
||||
echo form_open(site_url('install/step5'), $attributes);
|
||||
?>
|
||||
|
||||
<input type="hidden" name="agree" value="<?php echo $this->input->post('agree'); ?>" />
|
||||
<div class="contents">
|
||||
<h2>관리자 정보 입력</h2>
|
||||
<?php echo validation_errors('<div class="alert alert-warning" role="alert">', '</div>'); ?>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> Email</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="email" class="form-control" name="mem_email" placeholder="Email Address" value="<?php echo set_value('mem_email'); ?>" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> 패스워드</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="password" class="form-control" name="mem_password" id="mem_password" placeholder="Password" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> 패스워드 재입력</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="password" class="form-control" name="mem_password_re" placeholder="Password" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> User ID</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" name="mem_userid" placeholder="User ID" value="admin" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> 닉네임</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" name="mem_nickname" placeholder="닉네임" value="관리자" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>설치 테마</h2>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> 스킨설정</label>
|
||||
<div class="col-sm-9">
|
||||
<label class="radio-inline" for="skin_bootstrap">
|
||||
<input type="radio" name="skin" id="skin_bootstrap" value="bootstrap" checked="checked" /> Bootstrap Theme
|
||||
</label>
|
||||
<label class="radio-inline" for="skin_basic">
|
||||
<input type="radio" name="skin" id="skin_basic" value="basic" /> Basic Theme
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>기본 게시판및 메뉴 자동생성</h2>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"><i class="glyphicon glyphicon-star"></i> 자동생성</label>
|
||||
<div class="col-sm-9">
|
||||
<label class="radio-inline" for="autocreate">
|
||||
<input type="checkbox" name="autocreate" id="autocreate" value="1" checked="checked" /> 체크하시면 그룹, 게시판, 메뉴 등을 기본으로 자동생성합니다
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- footer start -->
|
||||
<div class="footer">
|
||||
<button type="submit" class="btn btn-default btn-xs pull-right">Next <i class="glyphicon glyphicon-chevron-right"></i></button>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url('assets/js/jquery.validate.min.js'); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo base_url('assets/js/jquery.validate.extension.js'); ?>"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(function() {
|
||||
$('#finstall').validate({
|
||||
rules: {
|
||||
mem_email: {required :true, email:true},
|
||||
mem_password: {required :true, minlength:4},
|
||||
mem_password_re : {required: true, equalTo : '#mem_password' },
|
||||
mem_userid: {required :true, minlength:3, maxlength:20},
|
||||
mem_nickname: {required :true}
|
||||
}
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
Reference in New Issue
Block a user