리뉴얼 수정중
This commit is contained in:
1 parent
dd51aeb47f
commit
05a474714b
25 files changed
+180
-120
No files matched your search
+9
-8
@@ -23,35 +23,36 @@ include_once('./_head.php');
|
||||
include_once(G5_LIB_PATH.'/latest.lib.php');
|
||||
?>
|
||||
|
||||
|
||||
<!-- 메인화면 최신글 시작 -->
|
||||
<div class="latest_wrap">
|
||||
<?php
|
||||
// 최신글
|
||||
$sql = " select bo_table, bo_subject
|
||||
from {$g5[board_table]}
|
||||
from {$g5['board_table']}
|
||||
where gr_id = '{$gr_id}'
|
||||
and bo_list_level <= '{$member[mb_level]}'
|
||||
and bo_list_level <= '{$member['mb_level']}'
|
||||
and bo_device <> 'mobile' ";
|
||||
if(!$is_admin)
|
||||
$sql .= " and bo_use_cert = '' ";
|
||||
$sql .= " order by bo_order ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$lt_style = "";
|
||||
if ($i%2==1) $lt_style = "margin-left:15px";
|
||||
if ($i%2==0) $lt_style = "clear:both";
|
||||
$mod_cnt = 2;
|
||||
$lt_class = 'col-row col-gn-'.$mod_cnt;
|
||||
$lt_class .= ($i % $mod_cnt === 0) ? ' box_clear' : '';
|
||||
?>
|
||||
<div style="float:left;<?php echo $lt_style ?>">
|
||||
<div class="<?php echo $lt_class; ?>">
|
||||
<?php
|
||||
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
|
||||
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
|
||||
// 테마의 스킨을 사용하려면 theme/basic 과 같이 지정
|
||||
echo latest('basic', $row['bo_table'], 5, 17);
|
||||
echo latest('basic', $row['bo_table'], 5, 37);
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- 메인화면 최신글 끝 -->
|
||||
|
||||
<?php
|
||||
|
||||
+41
-16
@@ -44,7 +44,7 @@ border: 1px solid #558ab7 !important;
|
||||
.placeholdersjs { color: #aaa !important; }
|
||||
|
||||
/* 팝업레이어 */
|
||||
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:1200px;height:0}
|
||||
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:1080px;height:0}
|
||||
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff;}
|
||||
.hd_pops img{max-width:100%}
|
||||
@@ -56,17 +56,19 @@ border: 1px solid #558ab7 !important;
|
||||
.hd_pops_footer .hd_pops_close{background:#393939;position:absolute;top:0;right:0}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {min-width:1000px;}
|
||||
#hd {min-width:1100px;}
|
||||
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#hd_wrapper {position:relative;margin:0 auto;padding:20px 0;height:115px;width:1200px;zoom:1}
|
||||
#hd_wrapper {position:relative;margin:0 auto;padding:20px 0;height:115px;width:1080px;zoom:1}
|
||||
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
#logo {float:left;padding:25px 0 0}
|
||||
|
||||
.hd_sch_wr{position:absolute;top:35px;left:50%;width:430px;margin-left:-215px;}
|
||||
.hd_sch_wr{position:absolute;top:35px;left:50%;width:431px;margin-left:-215px;}
|
||||
/*#hd_sch {position:absolute;top:35px;left:50%;width:430px;margin-left:-215px;}*/
|
||||
#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#hd_sch form.fsearchbox {zoom:1}
|
||||
#hd_sch form.fsearchbox:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#hd_sch #sch_stx {padding-left:10px;height:45px;background:#fff;border:1px solid #000;width:370px;border-right:0;float:left;border-radius:5px 0 0 5px;font-size:1.25em}
|
||||
#hd_sch #sch_submit {height:45px;border:0;background:#fff;border:1px solid #000;border-left:0;color:#333;width:50px;float:left;cursor:pointer;border-radius:0 5px 5px 0;font-size:18px}
|
||||
|
||||
@@ -74,10 +76,10 @@ border: 1px solid #558ab7 !important;
|
||||
|
||||
#tnb {border-bottom:1px solid #e9e9e9}
|
||||
#tnb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#tnb ul {margin:0 auto;width:1200px;zoom:1}
|
||||
#tnb ul {margin:0 auto;width:1080px;zoom:1}
|
||||
#tnb ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#tnb li {float:right;border-left:1px solid #e9e9e9;margin-bottom:-1px;font-size:0.92em}
|
||||
#tnb a {display:inline-block;padding:0 10px;color:#646464;line-height:35px}
|
||||
#tnb a {display:inline-block;padding:0 10px;color:#646464;line-height:35px;border-bottom:1px solid #e9e9e9}
|
||||
#tnb a:focus, #tnb a:hover {color:#333;border-bottom:1px solid #444}
|
||||
#tnb .tnb_admin a{color:#ff0000;}
|
||||
#tnb .tnb_left{float:left}
|
||||
@@ -108,9 +110,9 @@ box-shadow: 0 0 5px rgba(100,100,100,0.2);}
|
||||
|
||||
#gnb{background:#f2f2f2;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
|
||||
#gnb h2{position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#gnb #gnb_1dul {margin:0 auto;width:1200px;font-size:1.083em;padding: 0;zoom:1}
|
||||
#gnb #gnb_1dul {margin:0 auto;width:1080px;font-size:1.083em;padding: 0;zoom:1}
|
||||
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#gnb .gnb_1dli{float:left;line-height:44px;padding:0 25px 0 0 ;position:relative;}
|
||||
#gnb .gnb_1dli{float:left;line-height:44px;padding:0 25px 0 0;position:relative;}
|
||||
.gnb_1dli:hover .gnb_1da{color :#7e85ce}
|
||||
.gnb_1dli:hover .bg{background:url(../img/gnb_bg2.gif) no-repeat 50% 50%;}
|
||||
|
||||
@@ -133,23 +135,35 @@ a.gnb_2da:hover{background:#f9f9f9;color:#000}
|
||||
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper{}
|
||||
#wrapper{min-width:1100px}
|
||||
#container_wr:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#container_wr {z-index:5;margin:0 auto;width:1200px;height:100%;;zoom:1}
|
||||
#aside {float:right;width:271px;padding:20px;border-left:1px solid #e8e8e8;margin-left:-1px;height:100%;}
|
||||
#container_wr {z-index:5;margin:0 auto;width:1080px;height:100%;zoom:1;}
|
||||
#aside {float:right;width:270px;height:100%;}
|
||||
#aside .aside_inner{padding:20px;border-left:1px solid #e8e8e8;margin-left:-1px}
|
||||
|
||||
#container {z-index:4;position:relative;float:left;padding:20px 20px 20px 0;width:930px;border-right:1px solid #e8e8e8;min-height:500px;height:auto !important;height:500px;font-size:1em;zoom:1}
|
||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#container {z-index:4;position:relative;float:left;width:810px;min-height:500px;height:auto !important;height:500px;font-size:1em}
|
||||
#container .container_inner{border-right:1px solid #e8e8e8;padding:20px 20px 20px 0}
|
||||
#container_title {font-size:1.25em;;font-weight:bold;border-bottom:1px solid #e8e8e8}
|
||||
#container_title span{margin:0 auto;display:block;width:1200px;height:60px;line-height:30px;padding:15px 0;}
|
||||
#container_title span{margin:0 auto;display:block;width:1080px;height:60px;line-height:30px;padding:15px 0;}
|
||||
|
||||
.latest_wrap {zoom:1;margin-left:-10px;margin-right:-10px;padding:0}
|
||||
.latest_wrap:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.latest_wrap .col-row{float:left}
|
||||
.latest_wrap .box_clear{clear:both}
|
||||
.latest_wrap .col-gn-0, .latest_wrap .col-gn-1{width:100%}
|
||||
.latest_wrap .col-gn-2{width:50%}
|
||||
.latest_wrap .col-gn-3{width:33.333%}
|
||||
.latest_wrap .col-gn-4{width:25%}
|
||||
.latest_wrap .col-gn-5{width:20%}
|
||||
|
||||
.lt_wr{width:49%}
|
||||
.lt_wr:nth-child(2n+0){clear:both}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {min-width:1200px;border-top:1px solid #d4d4d4;background:#eee;padding-bottom:40px}
|
||||
#ft {min-width:1100px;border-top:1px solid #d4d4d4;background:#eee;padding-bottom:40px}
|
||||
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#ft_wr {width:1200px;margin:0 auto;position:relative;}
|
||||
#ft_wr {width:1080px;margin:0 auto;position:relative;}
|
||||
#ft_link{margin:30px 0 10px}
|
||||
#ft_link a{border-left:1px solid #aaa;display:inline-block;padding:0 5px;line-height:1.083em;font-weight:bold}
|
||||
#ft_link a:first-child{border:0}
|
||||
@@ -380,3 +394,14 @@ box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);}
|
||||
/* Mobile화면으로 */
|
||||
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}
|
||||
|
||||
@media all and (min-width:1217px) {
|
||||
#hd_pop{width:1200px}
|
||||
#hd_wrapper{width:1200px}
|
||||
#tnb ul{width:1200px}
|
||||
#gnb #gnb_1dul{width:1200px}
|
||||
#container_wr{width:1200px}
|
||||
#container_title span{width:1200px}
|
||||
#ft{min-width:1200px}
|
||||
#ft_wr{width:1200px}
|
||||
#container{width:930px}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
|
||||
<div class="hd_sch_wr">
|
||||
<fieldset id="hd_sch" >
|
||||
<legend>사이트 내 전체검색</legend>
|
||||
<form name="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);">
|
||||
<form name="fsearchbox" class="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);">
|
||||
<input type="hidden" name="sfl" value="wr_subject||wr_content">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<label for="sch_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
@@ -162,17 +162,20 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
|
||||
<?php if (!defined("_INDEX_")) { ?><h2 id="container_title"><span><?php echo $g5['title'] ?></span></h2><?php } ?>
|
||||
<div id="container_wr">
|
||||
<div id="aside">
|
||||
<?php echo outlogin('basic'); // 외부 로그인, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
|
||||
<?php echo poll('basic'); // 설문조사, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
|
||||
<?php echo visit('basic'); // 접속자집계, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
|
||||
<div class="aside_inner">
|
||||
<?php echo outlogin('basic'); // 외부 로그인, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
|
||||
<?php echo poll('basic'); // 설문조사, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
|
||||
<?php echo visit('basic'); // 접속자집계, 테마의 스킨을 사용하려면 스킨을 theme/basic 과 같이 지정 ?>
|
||||
|
||||
<div id="text_size">
|
||||
<div>
|
||||
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
|
||||
<button id="size_down" onclick="font_resize('container', 'ts_up ts_up2', '');" class="select"><img src="<?php echo G5_URL; ?>/img/ts01.png" alt="기본" width="20"></button>
|
||||
<button id="size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="<?php echo G5_URL; ?>/img/ts02.png" alt="크게" width="20"></button>
|
||||
<button id="size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="<?php echo G5_URL; ?>/img/ts03.png" alt="더크게" width="20"></button>
|
||||
<div id="text_size">
|
||||
<div>
|
||||
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
|
||||
<button id="size_down" onclick="font_resize('container', 'ts_up ts_up2', '');" class="select"><img src="<?php echo G5_URL; ?>/img/ts01.png" alt="기본" width="20"></button>
|
||||
<button id="size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="<?php echo G5_URL; ?>/img/ts02.png" alt="크게" width="20"></button>
|
||||
<button id="size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="<?php echo G5_URL; ?>/img/ts03.png" alt="더크게" width="20"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="container">
|
||||
<div id="container">
|
||||
<div class="container_inner">
|
||||
@@ -19,6 +19,7 @@ include_once(G5_PATH.'/head.php');
|
||||
|
||||
<h2 class="sound_only">최신글</h2>
|
||||
<!-- 최신글 시작 { -->
|
||||
<div class="latest_wrap">
|
||||
<?php
|
||||
// 최신글
|
||||
$sql = " select bo_table
|
||||
@@ -29,10 +30,11 @@ if(!$is_admin)
|
||||
$sql .= " order by b.gr_order, a.bo_order ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
if ($i%2==1) $lt_style = "margin-left:2%";
|
||||
else $lt_style = "";
|
||||
$mod_cnt = 2;
|
||||
$lt_class = 'col-row col-gn-'.$mod_cnt;
|
||||
$lt_class .= ($i % $mod_cnt === 0) ? ' box_clear' : '';
|
||||
?>
|
||||
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr">
|
||||
<div class="<?php echo $lt_class; ?>">
|
||||
<?php
|
||||
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
|
||||
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
|
||||
@@ -43,6 +45,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- } 최신글 끝 -->
|
||||
|
||||
<?php
|
||||
|
||||
@@ -157,7 +157,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if ($is_guest) { //자동등록방지 ?>
|
||||
<?php if ($is_use_captcha) { //자동등록방지 ?>
|
||||
<div>
|
||||
<?php echo $captcha_html ?>
|
||||
</div>
|
||||
|
||||
@@ -157,7 +157,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if ($is_guest) { //자동등록방지 ?>
|
||||
<?php if ($is_use_captcha) { //자동등록방지 ?>
|
||||
<div>
|
||||
<?php echo $captcha_html ?>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 내용관리 */
|
||||
#ctt {margin:10px 0;padding:10px;border:1px solid #e9e9e9}
|
||||
#ctt {margin:10px 0;padding:10px;}
|
||||
.ctt_admin {text-align:right}
|
||||
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#ctt_con {padding:10px 0}
|
||||
#ctt_con {padding:10px 0;line-height:1.6em}
|
||||
#ctt_con img{max-width:100%;height:auto}
|
||||
.ctt_img {text-align:center}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -5,31 +5,40 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- <?php echo $bo_subject; ?> 최신글 시작 { -->
|
||||
<div class="lt">
|
||||
<h2 class="lt_title"><i class="fa fa-list-alt" aria-hidden="true"></i> <a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject; ?></a></h2>
|
||||
<div class="lat">
|
||||
<h2 class="lat_title"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><i class="fa fa-list-ul" aria-hidden="true"></i> <?php echo $bo_subject ?></a></h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
<div class="lt_left">
|
||||
<?php
|
||||
//echo $list[$i]['icon_reply']." ";
|
||||
echo "<a href=\"".$list[$i]['href']."\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<strong>".$list[$i]['subject']."</strong>";
|
||||
else
|
||||
echo $list[$i]['subject'];
|
||||
<?php
|
||||
if ($list[$i]['icon_secret']) echo "<i class=\"fa fa-lock\" aria-hidden=\"true\"></i> ";
|
||||
//echo $list[$i]['icon_reply']." ";
|
||||
echo "<a href=\"".$list[$i]['href']."\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<strong>".$list[$i]['subject']."</strong>";
|
||||
else
|
||||
echo $list[$i]['subject'];
|
||||
|
||||
echo "</a>";
|
||||
?>
|
||||
<?php if ($list[$i]['comment_cnt']) echo $list[$i]['comment_cnt']; ?>
|
||||
</div>
|
||||
<span class="lt_date"><?php echo $list[$i]['datetime2'] ?></span>
|
||||
if ($list[$i]['comment_cnt'])
|
||||
echo $list[$i]['comment_cnt'];
|
||||
|
||||
echo "</a>";
|
||||
|
||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||
|
||||
if ($list[$i]['icon_new']) echo " <span class=\"new_icon\">NEW</span>";
|
||||
if ($list[$i]['icon_file']) echo " <i class=\"fa fa-download\" aria-hidden=\"true\"></i>" ;
|
||||
if ($list[$i]['icon_link']) echo " <i class=\"fa fa-link\" aria-hidden=\"true\"></i>" ;
|
||||
if ($list[$i]['icon_hot']) echo " <i class=\"fa fa-heart\" aria-hidden=\"true\"></i>";
|
||||
?>
|
||||
<span class="lt_date"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $list[$i]['datetime2'] ?></span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<li class="empty_li">게시물이 없습니다.</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>" class="lt_more"><span class="sound_only"><?php echo $bo_subject ?></span>더보기</a>
|
||||
|
||||
</div>
|
||||
<!-- } <?php echo $bo_subject; ?> 최신글 끝 -->
|
||||
+15
-10
@@ -1,12 +1,17 @@
|
||||
@charset "utf-8";
|
||||
/* 새글 스킨 (latest) */
|
||||
.lt_pc {float:left;margin-left:20px}
|
||||
.lt {position:relative;float:left;margin-bottom:10px;width:315px;}
|
||||
.lt ul {margin:0 0 10px;padding:10px;list-style:none;border:1px solid #e8e8e8;}
|
||||
.lt li {line-height:25px;position:relative;padding:0 70px 0 10px;;background:#fff;}
|
||||
.lt li .lt_left{display:block;}
|
||||
.lt .lt_title {font-size:1.083em;position: relative;background: #eee;border-bottom:1px solid #ffa74d;height: 40px;line-height: 40px;}
|
||||
.lt .lt_title i{width:40px;background:#ffa74d;height:39px;line-height:39px;color:#fff;text-align:center;margin-right:5px}
|
||||
.lt .cnt_cmt {position:absolute;top:0px;right:45px;display:inline-block;color:#ed6478;font-weight:bold;font-size:0.92em}
|
||||
.lt .lt_date{position:absolute;top:0;right:10px;display:inline-block;color:#777;font-style:italic;font-size:0.92em}
|
||||
.lt .empty_li{padding: 0;line-height:125px ;text-align:center;color:#777}
|
||||
.lat {position:relative;margin:0 10px}
|
||||
.lat .lat_title {display:block;padding:10px 0 ;font-size:1.167em;}
|
||||
.lat ul {margin:0 0 10px;padding:0;list-style:none;border:1px solid #ddd;border-top:2px solid #000}
|
||||
.lat li {border-top:1px solid #f3f3f3;padding:10px 60px 10px 10px ;position:relative;line-height:20px}
|
||||
.lat li:first-child{border:0}
|
||||
.lat li .fa-download{width:16px;height:16px;line-height:16px;background:#ecaa30;color:#fff;text-align:center;font-size:10px;border-radius:2px}
|
||||
.lat li .fa-link{width:16px;height:16px;line-height:16px;background:#2aa974;color:#fff;text-align:center;font-size:10px;border-radius:2px}
|
||||
.lat li .fa-heart{color:#ff0000;}
|
||||
.lat li .new_icon{display:inline-block;padding: 0 3px;line-height:16px ;font-size:0.833em;color:#fff;background:#c56bed}
|
||||
.lat li .cnt_cmt{color:#ff3970}
|
||||
.lat_title {display:block;padding:10px 0 ;font-size:1.167em;}
|
||||
.lat_more {position:absolute;top:10px;right:0;}
|
||||
.lat .empty_li{line-height:160px ;color:#666;text-align:center;padding:0;background:#fafafa}
|
||||
.lat .lt_date{position:absolute;top:10px;right:10px;font-size:0.92em;color:#888}
|
||||
.lat .lt_more {position:absolute;top:10px;right:0;display:block;background:url('img/more-btn.gif') no-repeat 0 2px;padding-left:20px;height:30px}
|
||||
@@ -37,6 +37,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -33,7 +33,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
<ul id="memo_view_ul">
|
||||
<li class="memo_view_li memo_view_name">
|
||||
<span class="memo_view_subj"><?php echo $kind_str ?>사람</span>
|
||||
<strong><span class="profile_img"><img src="<?php echo G5_IMG_URL; ?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $nick ?></strong>
|
||||
<strong><span class="profile_img"><img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $nick ?></strong>
|
||||
</li>
|
||||
<li class="memo_view_li memo_view_date">
|
||||
<span class="sound_only"><?php echo $kind_date ?>시간</span>
|
||||
|
||||
@@ -10,7 +10,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
<h1 id="win_title"><?php echo $mb_nick ?>님의 프로필</h1>
|
||||
<div class="profile_name">
|
||||
<span class="profile_img">
|
||||
<img src="<?php echo G5_IMG_URL;?>/no_profile.gif" alt="프로필이미지">
|
||||
<img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지">
|
||||
</span>
|
||||
<?php echo $mb_nick ?>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
<p>회원가입약관 및 개인정보처리방침안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
<div id="fregister_chkall">
|
||||
<label for="chk_all">전체선택</label>
|
||||
<input type="checkbox" name="chk_all" id="chk_all">
|
||||
<input type="checkbox" name="chk_all" value="1" id="chk_all">
|
||||
|
||||
</div>
|
||||
<section id="fregister_term">
|
||||
@@ -80,17 +80,18 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
jQuery(function($){
|
||||
$(document).on("click", "#chk_all", function(e){
|
||||
|
||||
// 모두선택
|
||||
$("input[name=chk_all]").click(function() {
|
||||
if ($(this).prop('checked')) {
|
||||
$( "input[name^='agree']" ).prop('checked', true);
|
||||
$("input[name^=agree]").prop('checked', true);
|
||||
} else {
|
||||
$( "input[name^='agree']" ).prop('checked', false);
|
||||
$("input[name^=agree]").prop("checked", false);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</div>
|
||||
<!-- } 회원가입 약관 동의 끝 -->
|
||||
@@ -192,7 +192,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
<li>
|
||||
<label for="reg_mb_mailling" class="frm_label">메일링서비스</label>
|
||||
<input type="checkbox" name="mb_mailling" value="1" id="reg_mb_mailling" <?php echo ($w=='' || $member['mb_mailling'])?'checked':''; ?>>
|
||||
<label for="reg_mb_mailling">정보 메일을 받겠습니다.</label>
|
||||
정보 메일을 받겠습니다.
|
||||
|
||||
</li>
|
||||
|
||||
@@ -201,7 +201,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
<label for="reg_mb_sms" class="frm_label">SMS 수신여부</label>
|
||||
|
||||
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?php echo ($w=='' || $member['mb_sms'])?'checked':''; ?>>
|
||||
<label for="reg_mb_sms">휴대폰 문자메세지를 받겠습니다.</label>
|
||||
휴대폰 문자메세지를 받겠습니다.
|
||||
|
||||
</li>
|
||||
<?php } ?>
|
||||
@@ -211,7 +211,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
<label for="reg_mb_open" class="frm_label">정보공개</label>
|
||||
<input type="hidden" name="mb_open_default" value="<?php echo $member['mb_open'] ?>">
|
||||
<input type="checkbox" name="mb_open" value="1" <?php echo ($w=='' || $member['mb_open'])?'checked':''; ?> id="reg_mb_open">
|
||||
<label for="reg_mb_open">다른분들이 나의 정보를 볼 수 있도록 합니다.</label>
|
||||
다른분들이 나의 정보를 볼 수 있도록 합니다.
|
||||
<span class="frm_info">
|
||||
정보공개를 바꾸시면 앞으로 <?php echo (int)$config['cf_open_modify'] ?>일 이내에는 변경이 안됩니다.
|
||||
</span>
|
||||
@@ -224,6 +224,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
정보공개는 수정후 <?php echo (int)$config['cf_open_modify'] ?>일 이내, <?php echo date("Y년 m월 j일", isset($member['mb_open_date']) ? strtotime("{$member['mb_open_date']} 00:00:00")+$config['cf_open_modify']*86400:G5_SERVER_TIME+$config['cf_open_modify']*86400); ?> 까지는 변경이 안됩니다.<br>
|
||||
이렇게 하는 이유는 잦은 정보공개 수정으로 인하여 쪽지를 보낸 후 받지 않는 경우를 막기 위해서 입니다.
|
||||
</span>
|
||||
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
@@ -234,13 +235,6 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
//회원정보 수정인 경우 소셜 계정 출력
|
||||
if( $w == 'u' && function_exists('social_login_link_account') ){
|
||||
social_login_link_account($member['mb_id'], false, 'mb_form');
|
||||
}
|
||||
?>
|
||||
|
||||
<li class="is_captcha_use">
|
||||
자동등록방지
|
||||
<?php echo captcha_html(); ?>
|
||||
|
||||
@@ -48,7 +48,7 @@ position:absolute;z-index:-1;top:2%;bottom:0;left:10px;right:10px;
|
||||
-o-transform:skew(8deg) rotate(3deg);
|
||||
transform:skew(8deg) rotate(3deg);}
|
||||
.mbskin .frm_input{width:100%}
|
||||
.mbskin .btn_submit{width:100%;border-radius:3px;margin:10px 0 0;height:45px;font-weight:bold}
|
||||
.mbskin .btn_submit{width:100%;border-radius:3px;margin:10px 0 0;height:45px;font-weight:bold;font-size:1.25em}
|
||||
.mbskin h1{margin: 60px 0 30px;font-size: 2em;}
|
||||
|
||||
|
||||
@@ -124,9 +124,7 @@ box-shadow: 0 1px 3px #eee;
|
||||
#fregister .btn_confirm .btn_submit{height:50px;border-radius:3px;padding:0 40px;font-weight:bold;font-size:1.083em}
|
||||
|
||||
/* 회원가입 입력 */
|
||||
#register_form{
|
||||
}
|
||||
/*#fregisterform textarea {height:50px}*/
|
||||
#register_form{margin:0 auto;max-width:700px}
|
||||
#fregisterform #msg_certify {margin:5px 0 0;padding:5px;border:1px solid #dbecff;background:#eaf4ff;text-align:center}
|
||||
#fregisterform .frm_address {margin:5px 0 0}
|
||||
#fregisterform #mb_addr3 {display:inline-block;margin:5px 0 0;vertical-align:middle}
|
||||
@@ -137,6 +135,9 @@ box-shadow: 0 1px 3px #eee;
|
||||
#fregisterform .frm_info{display:block;color:#3497d9;font-size:0.92em}
|
||||
#fregisterform .form_01 div{margin: 0 0 50px}
|
||||
#fregisterform .captcha{display:block;margin:5px 0 0}
|
||||
|
||||
|
||||
|
||||
/* 회원가입 완료 */
|
||||
#reg_result {padding:100px 0 0;text-align:center}
|
||||
#reg_result h2{font-size:2em;margin:0 0 20px}
|
||||
@@ -166,6 +167,16 @@ box-shadow: 0 1px 3px #eee;
|
||||
#mb_login #login_info a{display:inline-block;width:50%;float:left}
|
||||
#login_password_lost{border-right:1px solid #ddd}
|
||||
|
||||
#mb_login_notmb{margin:30px auto;padding:20px 30px }
|
||||
#mb_login_notmb h2{font-size:1.25em;margin:20px 0 10px}
|
||||
#guest_privacy{border:1px solid #ccc;text-align:left;line-height:1.6em;color:#666;background:#fafafa;padding:10px;height:150px;margin:10px 0;overflow-y:auto}
|
||||
#mb_login_notmb .btn_submit{display:block;text-align:center;line-height:45px}
|
||||
|
||||
#mb_login_od_wr{margin:30px auto;padding:20px 30px }
|
||||
#mb_login_od_wr h2{font-size:1.25em;margin:20px 0 10px}
|
||||
#mb_login_od_wr .frm_input{margin:10px 0 0 }
|
||||
#mb_login_od_wr p{background:#f3f3f3;margin:20px 0 0 ;padding:15px 20px;line-height:1.5em}
|
||||
|
||||
/* 쪽지 */
|
||||
#memo_list .memo_name,#memo_list .memo_name .sv_wrap{font-weight:bold}
|
||||
#memo_list .memo_datetime{float:right;font-size:0.92em;color:#777;font-style:italic}
|
||||
@@ -246,4 +257,4 @@ box-shadow: 0 1px 3px #eee;
|
||||
#profile .profile_name{text-align:center;font-weight:bold}
|
||||
#profile .profile_img{display:block;margin:20px 0 5px;}
|
||||
#profile .profile_img img{border-radius:50%}
|
||||
#profile .profile_name .sv_wrap{font-weight:bold}
|
||||
#profile .profile_name .sv_wrap{font-weight:bold}
|
||||
@@ -59,11 +59,11 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
|
||||
<input type="checkbox" id="all_chk">
|
||||
</th>
|
||||
<?php } ?>
|
||||
<th scope="col"><i class="fa fa-folder-open" aria-hidden="true"></i><span class="sound_only">그룹</span></th>
|
||||
<th scope="col"><i class="fa fa-list-alt" aria-hidden="true"></i><span class="sound_only">게시판</span></th>
|
||||
<th scope="col"><i class="fa fa-list-ul" aria-hidden="true"></i><span class="sound_only">제목</span></th>
|
||||
<th scope="col"><i class="fa fa-user" aria-hidden="true"></i><span class="sound_only">이름</span></th>
|
||||
<th scope="col"><i class="fa fa-clock-o" aria-hidden="true"></i><span class="sound_only">일시</span></th>
|
||||
<th scope="col">그룹</th>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">일시</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -87,7 +87,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
|
||||
<td class="td_group"><a href="./new.php?gr_id=<?php echo $list[$i]['gr_id'] ?>"><?php echo $gr_subject ?></a></td>
|
||||
<td class="td_board"><a href="./board.php?bo_table=<?php echo $list[$i]['bo_table'] ?>"><?php echo $bo_subject ?></a></td>
|
||||
<td><a href="<?php echo $list[$i]['href'] ?>" class="new_tit"><?php echo $list[$i]['comment'] ?><?php echo $wr_subject ?></a></td>
|
||||
<td class="td_name"><span class="profile_img"><img src="<?php echo G5_IMG_URL;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $list[$i]['name'] ?></td>
|
||||
<td class="td_name"><span class="profile_img"><img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $list[$i]['name'] ?></td>
|
||||
<td class="td_date"><?php echo $list[$i]['datetime2'] ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@@ -11,10 +11,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">'
|
||||
<h2>나의 회원정보</h2>
|
||||
<span class="profile_img">
|
||||
<img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지">
|
||||
<a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=register_form.php" id="ol_after_info" title="정보수정">정보수정</a>
|
||||
<a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=register_form.php" id="ol_after_info">정보수정</a>
|
||||
</span>
|
||||
<strong><?php echo $nick ?>님</strong>
|
||||
<?php if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G5_ADMIN_URL ?>" class="btn_admin" title="관리자">관리자</a><?php } ?>
|
||||
<?php if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G5_ADMIN_URL ?>" class="btn_admin">관리자</a><?php } ?>
|
||||
</header>
|
||||
<ul id="ol_after_private">
|
||||
<li>
|
||||
|
||||
@@ -37,7 +37,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
|
||||
<article>
|
||||
<header>
|
||||
<h2><?php echo $list2[$i]['pc_name'] ?><span class="sound_only">님의 의견</span></h2>
|
||||
<span class="profile_img"><img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $list2[$i]['name'] ?>
|
||||
<span class="profile_img"><img src="<?php echo G5_THEME_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $list2[$i]['name'] ?>
|
||||
<span class="poll_datetime"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $list2[$i]['datetime'] ?> <span class="poll_cmt_del"><?php if ($list2[$i]['del']) { echo $list2[$i]['del']."<i class=\"fa fa-times-circle\" aria-hidden=\"true\"></i><span class=\"sound_only\">삭제</span></a>"; } ?></span></span>
|
||||
</header>
|
||||
<p>
|
||||
|
||||
@@ -8,10 +8,12 @@ add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">',
|
||||
<!-- 인기검색어 시작 { -->
|
||||
<section id="popular">
|
||||
<div>
|
||||
<h2><i class="fa fa-tags" aria-hidden="true"></i> 인기검색어</h2>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<a href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&sop=and&stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a>
|
||||
<?php } ?>
|
||||
<h2>인기검색어</h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li><a href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&sop=and&stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<!-- } 인기검색어 끝 -->
|
||||
@@ -1,6 +1,10 @@
|
||||
@charset "utf-8";
|
||||
/* 인기검색어 */
|
||||
#popular {border-bottom:1px solid #e8e8e9;padding:20px 0}
|
||||
#popular h2{font-size:1.083em;margin: 0 0 10px;}
|
||||
#popular a{display:inline-block;height:22px;line-height:22px;background:#bbb;color:#fff;margin:2px 0;padding: 0 5px;border-radius:3px}
|
||||
#popular a:hover{background:#47aba2}
|
||||
#popular {padding:8px 0 0;text-align:center}
|
||||
#popular h2{position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#popular ul{display:inline-block;}
|
||||
#popular ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#popular li{height:13px;line-height:13px;border-left:1px solid #ddd;padding:0 10px;float:left}
|
||||
#popular li:first-child{border-left:0}
|
||||
#popular li a{color:#565656}
|
||||
#popular li a:hover{color:#000;text-decoration:underline}
|
||||
@@ -54,11 +54,11 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
||||
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
|
||||
</th>
|
||||
<?php } ?>
|
||||
<th scope="col"><i class="fa fa-sort-numeric-asc" aria-hidden="true"></i><span class="sound_only">번호</span></th>
|
||||
<th scope="col"><i class="fa fa-th-list" aria-hidden="true"></i><span class="sound_only">제목</span></th>
|
||||
<th scope="col"><i class="fa fa-user" aria-hidden="true"></i><span class="sound_only">글쓴이</span></th>
|
||||
<th scope="col"><i class="fa fa-clock-o" aria-hidden="true"></i><span class="sound_only">등록일</span></th>
|
||||
<th scope="col"><i class="fa fa-check-circle-o" aria-hidden="true"></i><span class="sound_only">상태</span></th>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">글쓴이</th>
|
||||
<th scope="col">등록일</th>
|
||||
<th scope="col">상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -24,7 +24,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
||||
|
||||
<section id="bo_v_info">
|
||||
<h2>페이지 정보</h2>
|
||||
<span class="sound_only">작성자</span><strong><span class="profile_img"><img src="<?php echo G5_IMG_URL;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span><?php echo $view['name'] ?></strong>
|
||||
<span class="sound_only">작성자</span><strong><span class="profile_img"><img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span><?php echo $view['name'] ?></strong>
|
||||
<span class="sound_only">작성일</span><strong class="bo_date"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $view['datetime']; ?></strong>
|
||||
<?php if($view['email'] || $view['hp']) { ?>
|
||||
<?php if($view['email']) { ?>
|
||||
|
||||
@@ -130,7 +130,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
||||
</div>
|
||||
<p><?php echo $list[$idx][$i]['content'] ?></p>
|
||||
<div class="sch_info">
|
||||
<span class="profile_img"><img src="<?php echo G5_IMG_URL;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $list[$idx][$i]['name'] ?>
|
||||
<span class="profile_img"><img src="<?php echo G5_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20" height="20"></span> <?php echo $list[$idx][$i]['name'] ?>
|
||||
<span class="sch_datetime"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $list[$idx][$i]['wr_datetime'] ?></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Reference in new issue
Block a user