일부 미사용 변수 정리

대문 css 정리
This commit is contained in:
2018-03-22 02:40:32 +09:00
parent 683138457f
commit e9672c98ef
6 changed files with 26 additions and 54 deletions
+8
View File
@@ -65,3 +65,11 @@ input::-webkit-input-placeholder {
.terms{
max-height: 200px; overflow: auto;
}
.vertical-center {
min-height: 100%; /* Fallback for browsers do NOT support vh unit */
min-height: 100vh; /* These two lines are counted as one :-) */
display: flex;
align-items: center;
}
+1 -1
View File
@@ -105,4 +105,4 @@ button {
.font2 { font-size: 15px; }
.font3 { font-size: 20px; }
.font4 { font-size: 30px; }
.font5 { font-size: 50px; }
.font5 { font-size: 50px; }
-34
View File
@@ -3,41 +3,7 @@ require(__dir__.'/../vendor/autoload.php');
define('__LINE__',__FILE__." ".__FUNCTION__." ".__LINE__." : ");
ob_start();
// 주요 환경변수들
define('W', '/');
define('IMAGE', '../../image');
define('IMAGES', '../../images');
//define('IMAGE', 'http://115.68.28.99/image');
//define('IMAGES', 'http://115.68.28.99/images');
define('JQUERY', 'jquery-3.2.1.min.js');
define('MD5', 'md5-min.js');
define('D', 'd_');
define('E', 'e_');
define('F', 'f_');
define('I', 'i_');
define('D_SESSION', 'd_session');
define('D_SETTING', 'd_setting');
define('D_CHAT', 'd_chat');
define('D_LOG', 'd_log');
define('E_LIB', 'e_lib');
define('F_CONFIG', 'f_config');
define('F_FUNC', 'f_func');
define('JS', '.js');
define('CSS', '.css');
define('APP', 'app');
define('FUNC', 'func');
define('DB', 'DB');
define('SESSION', 'SESSION');
define('CONFIG', 'config');
define('SETTING', 'SETTING');
define('INSTALL', 'install');
define('SLEEP', 'sleep');
define('BLOCKBODY', '');
+2 -2
View File
@@ -34,7 +34,7 @@ function doServerModeSet($server, $action, &$response){
$serverDir = $settingObj->getShortName();
$serverPath = $settingObj->getBasePath();
$realServerPath = realpath(dirname(__FILE__)).W.$serverPath;
$realServerPath = realpath(dirname(__FILE__)).'/'.$serverPath;
if($action == 'close') { //폐쇄
$templates = new League\Plates\Engine('templates');
@@ -59,7 +59,7 @@ function doServerModeSet($server, $action, &$response){
@unlink($serverPath.'/d_setting/conf.php');
}
$response['installURL'] = $serverDir.W."install.php";
$response['installURL'] = $serverDir."/install.php";
} elseif($action == 'open') {//오픈
if(file_exists($serverPath.'/.htaccess')){
@unlink($serverPath.'/.htaccess');
+2 -2
View File
@@ -18,7 +18,7 @@ $db = getRootDB();
$member = $db->queryFirstRow('SELECT `id`, `name`, `grade`, `picture` FROM `MEMBER` WHERE `NO` = %i', $SESSION->NoMember());
if(!$member['picture']){
$picture = IMAGE.W.'default.jpg';
$picture = IMAGE.'/default.jpg';
}
else{
$picture = $member['picture'];
@@ -27,7 +27,7 @@ else{
}
$picture = '../d_pic/'.$picture;
if(!file_exists($picture)){
$picture = IMAGE.W.$picture;
$picture = IMAGE.'/'.$picture;
}
}
+13 -15
View File
@@ -20,12 +20,7 @@ if($SESSION->isLoggedIn()){
die();
}
$access_token = $SESSION->get('access_token');
?>
<!DOCTYPE html>
<html lang="ko">
<head>
@@ -113,10 +108,11 @@ function postOAuthResult(result){
</script>
</head>
<body>
<div class="vertical-center">
<div class="container">
<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" style="max-width:450px;">
<div class="card">
<h3 class="card-header">
로그인
@@ -128,39 +124,41 @@ function postOAuthResult(result){
<div class="form-group row">
<label for="username" class="col-sm-3 col-form-label">계정명</label>
<div class="col-sm-9">
<label for="username" class="col-sm-4 col-form-label">계정명</label>
<div class="col-sm-8">
<input autocomplete="username" type="text" class="form-control" name="username" id="username" placeholder="계정명"/>
</div>
</div>
<div class="form-group row">
<label for="password" class="col-sm-3 col-form-label">비밀번호</label>
<div class="col-sm-9">
<label for="password" class="col-sm-4 col-form-label">비밀번호</label>
<div class="col-sm-8">
<input autocomplete="current-password" type="password" class="form-control" name="password" id="password" placeholder="비밀번호"/>
</div>
</div>
<input type="hidden" id="global_salt" name="global_salt" value="<?=getGlobalSalt()?>">
<div class="form-group row">
<div class="col-sm-3" style="position:relative;"><a href="javascript:doLoginUsingOAuth(true);"><img style="height:46px;margin-top:6px;" src="oauth_kakao/kakao_btn.png"></a></div>
<div class="col-sm-9">
<div class="col-sm-4" style="position:relative;"><a href="javascript:doLoginUsingOAuth(true);"><img style="height:46px;margin-top:6px;" src="oauth_kakao/kakao_btn.png"></a></div>
<div class="col-sm-8">
<button type="submit" class="btn btn-primary btn-lg btn-block login-button">로그인</button>
</div>
</div>
</form>
<!--
<div class="form-group row">
<div class="col-sm-3"><!--<a href="javascript:sendTempPasswordToKakaoTalk(true);">비밀번호 찾기<img src="oauth_kakao/kakao_to_me.png"></a>--></div>
<div class="col-sm-9">
<div class="col-sm-4"><a href="javascript:sendTempPasswordToKakaoTalk(true);">비밀번호 찾기<img src="oauth_kakao/kakao_to_me.png"></a></div>
<div class="col-sm-8">
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>