리뉴얼 수정 중
This commit is contained in:
+1
-1
@@ -386,7 +386,7 @@ else
|
||||
|
||||
$captcha_html = '';
|
||||
$captcha_js = '';
|
||||
$is_use_captcha = (!empty($board['bo_use_captcha']) || $is_guest) ? 1 : 0;
|
||||
$is_use_captcha = ((!empty($board['bo_use_captcha']) || $is_guest) && !$is_admin) ? 1 : 0;
|
||||
|
||||
if ($is_use_captcha) {
|
||||
$captcha_html = captcha_html();
|
||||
|
||||
@@ -188,7 +188,7 @@ if ($w == '' || $w == 'u') {
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
}
|
||||
|
||||
$is_use_captcha = (!empty($board['bo_use_captcha']) || $is_guest) ? 1 : 0;
|
||||
$is_use_captcha = ((!empty($board['bo_use_captcha']) || $is_guest) && !$is_admin) ? 1 : 0;
|
||||
|
||||
if ($is_use_captcha && !chk_captcha()) {
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
|
||||
@@ -118,8 +118,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
@@ -154,8 +154,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['link']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['link']); $i++) {
|
||||
if (isset($view['link'][$i]['source']) && $view['link'][$i]['source'] && !$view['link'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
@@ -11,6 +11,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
<?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']."\" class=\"lt_tit\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
@@ -21,11 +22,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||
|
||||
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
|
||||
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
|
||||
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
|
||||
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
||||
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
||||
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>";
|
||||
|
||||
echo "</a>";
|
||||
|
||||
|
||||
@@ -6,11 +6,14 @@
|
||||
.lt .lt_title {display:inline-block;background: #4162ff;color: #fff;border-radius: 13px;line-height: 24px;padding: 0 10px;border-bottom:1px solid #ccc;}
|
||||
.lt .lt_more {position:absolute;top:5px;right:10px}
|
||||
.lt .cnt_cmt {display:inline-block;margin:0 5px 0 3px;}
|
||||
.lt .lt_info{border-top: 1px solid #eee;margin: 10px 0 0;line-height: 28px;color: #666;position: relative;padding-top: 3px;}
|
||||
.lt .profile_img img{border-radius:50%}
|
||||
.lt .lt_info{border-top: 1px solid #eee;margin: 10px 0 0;line-height: 20px;color: #666;position: relative;padding-top: 10px;vertical-align:top}
|
||||
.lt .profile_img img{border-radius:50%;vertical-align:top}
|
||||
.lt .lt_tit{display: block;font-size: 1.083em;font-weight: bold;margin: 5px 0;}
|
||||
.lt .lt_tit i{font-size:12px;color:#8d96c2}
|
||||
.lt li .fa-download{width:16px;height:16px;line-height:16px;background:#ecaa30;color:#fff;text-align:center;font-size:10px;border-radius:2px}
|
||||
.lt li .fa-link{width:16px;height:16px;line-height:16px;background:#2aa974;color:#fff;text-align:center;font-size:10px;border-radius:2px}
|
||||
.lt li .fa-heart{color:#ff0000;}
|
||||
.lt li .new_icon{display:inline-block;padding: 0 3px;line-height:16px ;font-size:0.833em;color:#fff;background:#c56bed}
|
||||
.lt .lt_tit .fa-heart{color: #fe4560;}
|
||||
.lt .lt_date{position:absolute;top:3px;right:0;color:#666;font-style:italic}
|
||||
.lt .lt_date{position:absolute;top:10px;right:0;color:#666;font-style:italic}
|
||||
.lt .comment_icon{background:url(./img/icon_comment.png) no-repeat 50% 50% ;display:inline-block;width:20px;height:28px;text-indent:-999px;overflow:hidden;vertical-align:top;background-size:70%;margin:0 0px 0 5px}
|
||||
.lt .empty_li{text-align:center;padding:40px 0;color:#777}
|
||||
|
||||
@@ -99,8 +99,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
@@ -137,8 +137,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['link']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['link']); $i++) {
|
||||
if (isset($view['link'][$i]['source']) && $view['link'][$i]['source'] && !$view['link'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
@@ -99,8 +99,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
@@ -137,8 +137,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['link']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['link']); $i++) {
|
||||
if (isset($view['link'][$i]['source']) && $view['link'][$i]['source'] && !$view['link'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
@@ -11,6 +11,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
<?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']."\" class=\"lt_tit\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
@@ -21,11 +22,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||
|
||||
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
|
||||
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
|
||||
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
|
||||
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
||||
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
||||
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>";
|
||||
|
||||
echo "</a>";
|
||||
|
||||
|
||||
@@ -6,11 +6,14 @@
|
||||
.lt .lt_title {display:inline-block;background: #4162ff;color: #fff;border-radius: 13px;line-height: 24px;padding: 0 10px;border-bottom:1px solid #ccc;}
|
||||
.lt .lt_more {position:absolute;top:5px;right:10px}
|
||||
.lt .cnt_cmt {display:inline-block;margin:0 5px 0 3px;}
|
||||
.lt .lt_info{border-top: 1px solid #eee;margin: 10px 0 0;line-height: 28px;color: #666;position: relative;padding-top: 3px;}
|
||||
.lt .profile_img img{border-radius:50%}
|
||||
.lt .lt_info{border-top: 1px solid #eee;margin: 10px 0 0;line-height: 20px;color: #666;position: relative;padding-top: 10px;vertical-align:top}
|
||||
.lt .profile_img img{border-radius:50%;vertical-align:top}
|
||||
.lt .lt_tit{display: block;font-size: 1.083em;font-weight: bold;margin: 5px 0;}
|
||||
.lt .lt_tit i{font-size:12px;color:#8d96c2}
|
||||
.lt li .fa-download{width:16px;height:16px;line-height:16px;background:#ecaa30;color:#fff;text-align:center;font-size:10px;border-radius:2px}
|
||||
.lt li .fa-link{width:16px;height:16px;line-height:16px;background:#2aa974;color:#fff;text-align:center;font-size:10px;border-radius:2px}
|
||||
.lt li .fa-heart{color:#ff0000;}
|
||||
.lt li .new_icon{display:inline-block;padding: 0 3px;line-height:16px ;font-size:0.833em;color:#fff;background:#c56bed}
|
||||
.lt .lt_tit .fa-heart{color: #fe4560;}
|
||||
.lt .lt_date{position:absolute;top:3px;right:0;color:#666;font-style:italic}
|
||||
.lt .lt_date{position:absolute;top:10px;right:0;color:#666;font-style:italic}
|
||||
.lt .comment_icon{background:url(./img/icon_comment.png) no-repeat 50% 50% ;display:inline-block;width:20px;height:28px;text-indent:-999px;overflow:hidden;vertical-align:top;background-size:70%;margin:0 0px 0 5px}
|
||||
.lt .empty_li{text-align:center;padding:40px 0;color:#777}
|
||||
|
||||
@@ -99,8 +99,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
@@ -137,8 +137,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['link']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['link']); $i++) {
|
||||
if (isset($view['link'][$i]['source']) && $view['link'][$i]['source'] && !$view['link'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
@@ -99,8 +99,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
@@ -137,8 +137,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['link']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['link']); $i++) {
|
||||
if (isset($view['link'][$i]['source']) && $view['link'][$i]['source'] && !$view['link'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
Reference in New Issue
Block a user