사용자: neo -> basic
This commit is contained in:
@ -1,15 +1,6 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// 회원수는 $row['mb_cnt'];
|
||||
?>
|
||||
|
||||
<table width="220" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="220" height="40" background="<?=$connect_skin_path?>/img/visit_bg.gif">
|
||||
<table width="220" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="30" align="right"><img src="<?=$connect_skin_path?>/img/icon.gif" width="14" height="14"></td>
|
||||
<td width="190"> <a href='<?=$g4['bbs_path']?>/current_connect.php'><strong>현재접속자</strong> : <?=$row['total_cnt']?> (회원 <?=$row['mb_cnt']?>)</a></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
<strong><?=$row['total_cnt']?></strong>
|
||||
|
||||
@ -2,49 +2,33 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<style>
|
||||
.n_title1 { font-family:돋움; font-size:9pt; color:#FFFFFF; }
|
||||
.n_title2 { font-family:돋움; font-size:9pt; color:#5E5E5E; }
|
||||
</style>
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<table id="current_connect_tbl" class="basic_tbl">
|
||||
<caption>현재접속자 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width="4" height="33" bgcolor="#7BB2D6"><img src="<?=$connect_skin_path?>/img/list_top_01.gif" width="4" height="33"></td>
|
||||
<td width="60" align="center" bgcolor="#7BB2D6"><font class=n_title1><strong>번호</strong></font></td>
|
||||
<td width="5" align="center" valign="middle" bgcolor="#7BB2D6"><img src="<?=$connect_skin_path?>/img/list_top_02.gif" width="5" height="33"></td>
|
||||
<td width="5" align="center" valign="middle" bgcolor="#EEEEEE"><img src="<?=$connect_skin_path?>/img/list_top_03.gif" width="5" height="33"></td>
|
||||
<td width="" align="center" bgcolor="#EEEEEE"><font class=n_title2><strong>이름</strong></font></td>
|
||||
<td width="500" align="center" bgcolor="#EEEEEE"><font class=n_title2><strong>링크</strong></font></td>
|
||||
<td width="4" bgcolor="#EEEEEE"><img src="<?=$connect_skin_path?>/img/list_top_04.gif" width="4" height="33"></td>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">위치</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++)
|
||||
{
|
||||
echo <<<HEREDOC
|
||||
<tr>
|
||||
<td colspan=3 align='center' height='30'>{$list[$i]['num']}</td>
|
||||
<td colspan=2 align='center'>{$list[$i]['name']}</td>
|
||||
HEREDOC;
|
||||
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
$location = conv_content($list[$i]['lo_location'], 0);
|
||||
|
||||
// 최고관리자에게만 허용
|
||||
// 이 조건문은 가능한 변경하지 마십시오.
|
||||
if ($list[$i]['lo_url'] && $is_admin == 'super')
|
||||
echo "<td colspan=2> <a href='{$list[$i]['lo_url']}'>{$location}</a></td>";
|
||||
else
|
||||
echo "<td colspan=2> {$location}</td>";
|
||||
|
||||
echo <<<HEREDOC
|
||||
</tr>
|
||||
<tr><td colspan='7' height='1' background='{$connect_skin_path}/img/dot_bg.gif'></td></tr>
|
||||
HEREDOC;
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=7 height=50 align=center>현재 접속자가 없습니다.</td></tr>";
|
||||
if ($list[$i]['lo_url'] && $is_admin == 'super') $display_location = "<a href=\"".$list[$i]['lo_url']."\">".$location."</a>";
|
||||
else $display_location = $location;
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="7" height="30" align="center"><?=$write_pages;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="td_num"><?=$list[$i]['num']?></td>
|
||||
<td class="td_name"><?=$list[$i]['name']?></td>
|
||||
<td><?=$display_location?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=\"3\" class=\"empty_table\">현재 접속자가 없습니다.</td></tr>";
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user