5.3 버전 내용 적용
This commit is contained in:
@ -5,16 +5,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$connect_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table id="current_connect_tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">위치</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<div id="current_connect">
|
||||
<ul>
|
||||
|
||||
<?php
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
$location = conv_content($list[$i]['lo_location'], 0);
|
||||
@ -23,16 +16,17 @@ add_stylesheet('<link rel="stylesheet" href="'.$connect_skin_url.'/style.css">',
|
||||
if ($list[$i]['lo_url'] && $is_admin == 'super') $display_location = "<a href=\"".$list[$i]['lo_url']."\">".$location."</a>";
|
||||
else $display_location = $location;
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $list[$i]['num'] ?></td>
|
||||
<td><?php echo $list[$i]['name'] ?></td>
|
||||
<td><?php echo $display_location ?></td>
|
||||
</tr>
|
||||
<li>
|
||||
<div class="crt_wr">
|
||||
<span class="crt_num"><?php echo $list[$i]['num'] ?></span>
|
||||
<span class="crt_name"><?php echo get_member_profile_img($list[$i]['mb_id']); ?><br><?php echo $list[$i]['name'] ?></span>
|
||||
<span class="crt_lct"><?php echo $display_location ?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=\"3\" class=\"empty_table\">현재 접속자가 없습니다.</td></tr>";
|
||||
echo "<li class=\"empty_li\">현재 접속자가 없습니다.</li>";
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</ul>
|
||||
</div>
|
||||
@ -2,8 +2,16 @@
|
||||
/* SIR 지운아빠 */
|
||||
|
||||
/* 현재접속자 */
|
||||
#current_connect_tbl {}
|
||||
#current_connect_tbl th:nth-of-type(1) {width:50px}
|
||||
#current_connect_tbl th:nth-of-type(2) {width:120px}
|
||||
|
||||
#current_connect_tbl td:nth-of-type(1) {padding:10px 0;text-align:center}
|
||||
#current_connect{margin:0;padding:5px;}
|
||||
#current_connect li {padding:5px;float:left;width:50%;text-align:center;}
|
||||
#current_connect li:nth-child(2n+1){clear:both}
|
||||
#current_connect .crt_name {padding:20px 0;display:block}
|
||||
#current_connect .crt_name img{ border-radius:50%;margin: 0 0 5px}
|
||||
#current_connect .crt_wr{background:#fff;position:relative;
|
||||
-webkit-box-shadow: 0 1px 4px #cbd1df;
|
||||
-moz-box-shadow: 0 1px 4px #cbd1df;
|
||||
box-shadow: 0 1px 4px #cbd1df;}
|
||||
#current_connect .crt_lct{display:block;text-align:center;border-top:1px solid #ddd;padding:10px 5px;line-height:1.4em}
|
||||
#current_connect .crt_lct a{color:#3ca1ff}
|
||||
#current_connect .crt_num{position:absolute;top:10px;left:10px;color:#777;font-weight:bold}
|
||||
#current_connect .empty_li{width:100%;padding:100px 0;color:#777}
|
||||
Reference in New Issue
Block a user