관리자: 컨텐츠별 리스트 완료

This commit is contained in:
whitedot
2012-12-12 11:39:26 +09:00
parent 27f48a1a2a
commit 6c1f11e123
10 changed files with 95 additions and 97 deletions

View File

@ -31,16 +31,16 @@ while ($row=sql_fetch_array($result)) {
<tr>
<th scope="col">순위</th>
<th scope="col">브라우저</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><?=$sum_count?></td>
<td colspan="2"></td>
<td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -63,20 +63,18 @@ if (count($arr)) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><?=$no?></td>
<td><?=$key?></td>
<td><?=$count?></td>
<td><?=$s_rate?></td>
<td class="td_num"><?=$no?></td>
<td class="td_category"><?=$key?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$bar?>"></span>
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?

View File

@ -31,16 +31,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<thead>
<tr>
<th scope="col">년-월-일</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td>합계</td>
<td><?=number_format($sum_count)?></td>
<td colspan="2"></td>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -55,19 +55,17 @@ if (count($arr)) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><a href="./visit_list.php?fr_date=<?=$key?>&amp;to_date=<?=$key?>"><?=$key?></a></td>
<td><?=number_format($value)?></td>
<td><?=$s_rate?></td>
<td class="td_category"><a href="./visit_list.php?fr_date=<?=$key?>&amp;to_date=<?=$key?>"><?=$key?></a></td>
<td>
<div class="visit_graph">
<span style="width:<?=$bar?>%"></span>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($value)?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?

View File

@ -34,16 +34,16 @@ while ($row=sql_fetch_array($result)) {
<tr>
<th scope="col">순위</th>
<th scope="col">접속 도메인</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><?=$sum_count?></td>
<td colspan="2"></td>
<td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -75,19 +75,17 @@ if (count($arr)) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><?=$no?></td>
<td><?=$link?><?=$key?><?=$link2?></td>
<td><?=$count?></td>
<td><?=$s_rate?></td>
<td class="td_num"><?=$no?></td>
<td class="td_category"><?=$link?><?=$key?><?=$link2?></td>
<td>
<div class="visit_graph">
<span style="width:<?=$bar?>%"></span>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?
}

View File

@ -32,16 +32,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<thead>
<tr>
<th scope="col">시간</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td>합계</td>
<td><?=number_format($sum_count)?></td>
<td colspan="2"></td>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -54,18 +54,16 @@ if ($i) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><?=$hour?></td>
<td><?=number_format($count)?></td>
<td><?=$s_rate?></td>
<td class="td_category"><?=$hour?></td>
<td>
<div class="visit_graph">
<span style="width:<?=$bar?>%"></span>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($count)?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?
}

View File

@ -91,11 +91,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td><?=$ip?></td>
<td class="td_category"><?=$ip?></td>
<td><?=$link?><?=$title?><?=$link2?></td>
<td><?=$brow?></td>
<td><?=$os?></td>
<td><?=$row['vi_date']?> <?=$row['vi_time']?></td>
<td class="td_category"><?=$brow?></td>
<td class="td_category"><?=$os?></td>
<td class="td_time"><?=$row['vi_date']?> <?=$row['vi_time']?></td>
</tr>
<?

View File

@ -32,16 +32,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<thead>
<tr>
<th scope="col">년-월</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td>합계</td>
<td><?=number_format($sum_count)?></td>
<td colspan="2"></td>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -56,19 +56,17 @@ if (count($arr)) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><a href="./visit_date.php?fr_date=<?=$key?>-01&amp;to_date=<?=$key?>-31"><?=$key?></a></td>
<td><?=number_format($value)?></td>
<td><?=$s_rate?></td>
<td class="td_category"><a href="./visit_date.php?fr_date=<?=$key?>-01&amp;to_date=<?=$key?>-31"><?=$key?></a></td>
<td>
<div class="visit_graph">
<span style="width:<?=$bar?>%"></span>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($value)?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?

View File

@ -32,16 +32,16 @@ while ($row=sql_fetch_array($result)) {
<tr>
<th scope="col">순위</th>
<th scope="col">OS</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><?=$sum_count?></td>
<td colspan="2"></td>
<td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -68,16 +68,18 @@ if (count($arr)) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><?=$no?></td>
<td><?=$key?></td>
<td><?=$count?></td>
<td><?=$s_rate?></td>
<td><?=$graph?></td>
<td class="td_num"><?=$no?></td>
<td class="td_category"><?=$key?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?

View File

@ -30,16 +30,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<thead>
<tr>
<th scope="col">요일</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td>합계</td>
<td><?=$sum_count?></td>
<td colspan="2"></td>
<td colspan="2">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -54,10 +54,14 @@ if ($i) {
?>
<tr>
<td><?=$weekday[$i]?></td>
<td><?=$count?></td>
<td><?=$s_rate?></td>
<td><?=$graph?></td>
<td class="td_category"><?=$weekday[$i]?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?

View File

@ -32,16 +32,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<thead>
<tr>
<th scope="col">년</th>
<th scope="col">그래프</th>
<th scope="col">접속자수</th>
<th scope="col">비율(%)</th>
<th scope="col">그래프</th>
</tr>
</thead>
<tfoot>
<tr>
<td>합계</td>
<td><?=number_format($sum_count)?></td>
<td colspan="2"></td>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td></td>
</tr>
</tfoot>
<tbody>
@ -56,15 +56,17 @@ if (count($arr)) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$bar = (int)($count / $max * 100);
?>
<tr>
<td><a href="./visit_month.php?fr_date=<?=$key?>-01-01&amp;to_date=<?=$key?>-12-31"><?=$key?></a></td>
<td><?=number_format($value)?></td>
<td><?=$s_rate?></td>
<td><?=$graph?></td>
<td class="td_category"><a href="./visit_month.php?fr_date=<?=$key?>-01-01&amp;to_date=<?=$key?>-12-31"><?=$key?></a></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($value)?></td>
<td class="td_num"><?=$s_rate?></td>
</tr>
<?

View File

@ -1,17 +1,12 @@
/* SIR SOFT 지운아빠 Dec 2012 */
/* 초기화 */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dt, dd, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, header, article, aside, canvas, details, figcaption, figure, hgroup, menu, nav, section, summary, footer, time, mark, audio, video {margin:0;padding:0}
html, body, h1, h2, h3, h4, h5, h6 {margin:0;padding:0}
article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section {display:block}
header ul, nav ul {margin:0;padding:0;list-style:none}
table {border-collapse:collapse;border-spacing:0} tfoot td {text-align:center}
form, img {border:0}
p {margin:10px 0}
blockquote, q {quotes:none} blockquote:before, blockquote:after, q:before, q:after {content:'';content:none}
ins {background-color:#fff;color:#000;text-decoration:none}
mark {background-color:#fff;color:#000;font-style:italic;font-weight:bold}
del {text-decoration: line-through}
abbr[title], dfn[title] {border-bottom:1px dotted;cursor:help}
table {border-collapse:collapse;border-spacing:0}
img {border:0}
/* 내용 건너띄기 */
#skip_to_main {display:block;position:absolute;top:0;left:0;margin:5px;height:0;text-decoration:none;overflow:hidden}
@ -102,6 +97,11 @@ td {padding:10px}
.tbl_gr_list td {text-align:center}
/* 인기검색어 관련 목록 */
.tbl_pop_list td {text-align:center}
/* 접속자집계 목록 */
.tbl_visit_list td {text-align:center}
.td_category {width:120px;text-align:center}
.visit_bar {position:relative}
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#ddd}
/* pagination */
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}