방문자 스킨

This commit is contained in:
whitedot
2012-12-05 17:00:31 +09:00
parent 170182c4a7
commit 1169c81e68
2 changed files with 16 additions and 27 deletions

View File

@ -65,3 +65,4 @@ function poll_result(po_id)
win_poll("<?=$g4[bbs_path]?>/poll_result.php?po_id="+po_id+"&amp;skin_dir="+document.fpoll.skin_dir.value);
}
</script>
</section>

View File

@ -3,30 +3,18 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
global $is_admin;
?>
2
<table width="220" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="<?=$visit_skin_path?>/img/visit_top.gif" width="220" height="11"></td>
</tr>
<tr>
<td width="15" height="88" rowspan="4" bgcolor="#F4F4F4"></td>
<td width="73" height="22"><img src="<?=$visit_skin_path?>/img/visit_1.gif" width="73" height="22"></td>
<td width="132" height="22" bgcolor="#F4F4F4"><font color="#4B4B4B"><?=number_format($visit[1])?></font>
<? if ($is_admin == "super") { ?><a href="<?=$g4['admin_path']?>/visit_list.php"><img src="<?=$visit_skin_path?>/img/admin.gif" width="33" height="15" border="0" align="absmiddle"></a><?}?></td>
</tr>
<tr>
<td width="73" height="22"><img src="<?=$visit_skin_path?>/img/visit_2.gif" width="73" height="22"></td>
<td width="132" height="22" bgcolor="#F4F4F4"><font color="#4B4B4B"><?=number_format($visit[2])?></font></td>
</tr>
<tr>
<td width="73" height="22"><img src="<?=$visit_skin_path?>/img/visit_3.gif" width="73" height="22"></td>
<td width="132" height="22" bgcolor="#F4F4F4"><font color="#4B4B4B"><?=number_format($visit[3])?></font></td>
</tr>
<tr>
<td width="73" height="22"><img src="<?=$visit_skin_path?>/img/visit_4.gif" width="73" height="22"></td>
<td width="132" height="22" bgcolor="#F4F4F4"><font color="#4B4B4B"><?=number_format($visit[4])?></font></td>
</tr>
<tr>
<td colspan="3"><img src="<?=$visit_skin_path?>/img/visit_down.gif" width="220" height="11"></td>
</tr>
</table>
<section>
<h2>방문자</h2>
<dl>
<dt>오늘</dt>
<dd><?=number_format($visit[1])?></dd>
<dt>어제</dt>
<dd><?=number_format($visit[2])?></dd>
<dt>최대</dt>
<dd><?=number_format($visit[3])?></dd>
<dt>전체</dt>
<dd><?=number_format($visit[4])?></dd>
</dl>
<? if ($is_admin == "super") { ?><a href="<?=$g4['admin_path']?>/visit_list.php">상세보기</a><?}?>
</section>