2022-09-17 20:50:50 +09:00
|
|
|
<?php
|
2024-09-23 11:45:33 +09:00
|
|
|
if (!defined('_GNUBOARD_'))
|
|
|
|
|
exit; // 개별 페이지 접근 불가
|
|
|
|
|
if (strstr($url, 'adm')) {
|
2024-10-05 05:51:05 +09:00
|
|
|
include_once $member_skin_path . '/login.admin.skin.php';
|
2022-09-17 20:50:50 +09:00
|
|
|
} else {
|
2024-09-23 11:45:33 +09:00
|
|
|
add_stylesheet('<link rel="stylesheet" href="' . G5_CSS_URL . '/login.css">', 0);
|
2022-09-17 20:50:50 +09:00
|
|
|
|
2024-09-23 11:45:33 +09:00
|
|
|
/*********** Logo Data ************/
|
|
|
|
|
$logo = get_logo();
|
|
|
|
|
$m_logo = get_logo();
|
2022-09-17 20:50:50 +09:00
|
|
|
|
2024-09-23 11:45:33 +09:00
|
|
|
$logo_data = "";
|
|
|
|
|
if ($logo)
|
2024-10-05 05:51:05 +09:00
|
|
|
$logo_data .= "<img src='{$logo}' />";
|
2024-09-23 11:45:33 +09:00
|
|
|
/*********************************/
|
|
|
|
|
?>
|
|
|
|
|
<div class="loginWrap">
|
|
|
|
|
<div class="login-inner">
|
|
|
|
|
<?php
|
|
|
|
|
// 등록된 로고 파일이 있을 경우에만 출력 한다.
|
|
|
|
|
if ($logo_data) { ?>
|
|
|
|
|
<div class="login-logo">
|
|
|
|
|
<?= $logo_data ?>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="padding" />
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<div class="login-form-box theme-box">
|
|
|
|
|
<div class="inner">
|
|
|
|
|
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);"
|
|
|
|
|
method="post">
|
|
|
|
|
<input type="hidden" name="url" value='<?php echo $login_url ?>'>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20"
|
|
|
|
|
placeholder="아이디">
|
|
|
|
|
</fieldset>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20"
|
|
|
|
|
maxLength="20" placeholder="비밀번호">
|
|
|
|
|
</fieldset>
|
|
|
|
|
<button type="submit" class="ui-btn point">LOGIN</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
function flogin_submit(f) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<!-- } 로그인 끝 -->
|
2024-10-05 05:51:05 +09:00
|
|
|
<?php
|
|
|
|
|
}
|