관리자: 컨텐츠별 리스트 완료
This commit is contained in:
@ -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>
|
||||
|
||||
<?
|
||||
|
||||
Reference in New Issue
Block a user