 |
³ª¾ß³ª ½Ã¸®Áî Ä«¿îÅÍ ¼³Ä¡ |
|
¸ÞÀÎÆäÀÌÁöÀÇ index.html ÆÄÀÏ¿¡ ¾Æ·¡¿Í °°Àº ±¸Á¶ »ðÀÔÇÏ¸é µË´Ï´Ù.
ÇÁ·¹ÀÓÀ» »ç¿ëÇÏ¿© index.html¸¦ »ç¿ëÇÑ´Ù¸é ÇÁ·¹ÀÓ¿¡ »ðÀÔ ÇÏÁö ¸»°í, ¸µÅ©µÇ¾î ÀÖ´Â ¸ÞÀÎÆäÀÌÁö¿¡ ¹Ýµå½Ã »ðÀÔÇÏ¿© ÁÖ¼¼¿ä
index.html/index.htm/index.php
<?
$table_idx = "=$table_idx?>"; //»ý¼ºÇÑ Å×À̺í¸í ¼±¾ð
include "nayacount/nayacount.php"; //³ª¾ßÄ«¿îÆ®ÀÇ °æ·Î¿Í ÆÄÀÏ ¼±¾ð
?>
<html>
<body>
<table border=0>
<tr>
<td>
¿À´Ã : <?=$today_text?>
¾îÁ¦ : <?=$yesterday_text?>
ÃÑ ¹æ¹®ÀÚ : <?=$total_text?>
ÇöÀç Á¢¼ÓÀÚ : <?=$now_text?>
ÃÖ´ë µ¿½Ã Á¢¼ÓÀÚ : <?=$peak_text?>
</td>
<td>
¿À´Ã : <?=$today_image?>
¾îÁ¦ : <?=$yesterday_image?>
ÃÑ ¹æ¹®ÀÚ : <?=$total_image?>
ÇöÀç Á¢¼ÓÀÚ : <?=$now_image?>
ÃÖ´ë µ¿½Ã Á¢¼ÓÀÚ : <?=$peak_image?>
</td>
</tr>
<tr>
<td colspan=2>
<?=$skin_image?>
</td>
</tr>
</table>
</body>
</html>
|
|
Áï, ÇÙ½ÉÀûÀÎ ºÎºÐÀº À̺κÐÀÇ »ó´Ü ù ÁÙ ºÎºÐ°ú
<?
$table_idx = "=$table_idx?>";
include "nayacount/nayacount.php";
?>
Ä«¿îÅ͸¦ º¸¿©ÁÙ À§Ä¡¿¡ ÅØ½ºÆ®À» ¿øÇÑ´Ù¸é
¿À´Ã : <?=$today_text?>
¾îÁ¦ : <?=$yesterday_text?>
ÃÑ ¹æ¹®ÀÚ : <?=$total_text?>
ÇöÀç Á¢¼ÓÀÚ : <?=$now_text?>
ÃÖ´ë µ¿½Ã Á¢¼ÓÀÚ : <?=$peak_text?>
Ä«¿îÅ͸¦ º¸¿©ÁÙ À§Ä¡¿¡ À̹ÌÁöÀ» ¿øÇÑ´Ù¸é
¿À´Ã : <?=$today_image?>
¾îÁ¦ : <?=$yesterday_image?>
ÃÑ ¹æ¹®ÀÚ : <?=$total_image?>
ÇöÀç Á¢¼ÓÀÚ : <?=$now_image?>
ÃÖ´ë µ¿½Ã Á¢¼ÓÀÚ : <?=$peak_image?>
Ä«¿îÅ͸¦ º¸¿©ÁÙ À§Ä¡¿¡ ½ºÅ² Çü½ÄÀ» ¿øÇÑ´Ù¸é
<?=$skin_image?>
¿¡ Àß »ðÀÔÇÏ¸é µË´Ï´Ù.
|
¡Ø ¹Ì¸® º¸±â
|
|
|
| TOP |
}if($mode == "hour"){?>
|
½Ã°£º° : =$today_title?>, ÃÑ : =number_format($today_hit)?>¸íÀÇ ¹æ¹®
|
|
for($i=0;$i<=23;$i++){?>
| >=$mark_hour[$i]?>½Ã |
>=number_format($hit[$i])?>¸í |
=$percent[$i]?>% |
} // for¹®?>
|
|
|
|
| TOP |
}if($mode == "day"){ ?>
|
ÀÏÂ¥º° : =$day_title?>, ÃÑ : =number_format($day_hit)?>¸íÀÇ ¹æ¹®
|
|
for($i=1;$i<=31;$i++){if($i<=$last_day){?>
| >=$i?>ÀÏ |
>=number_format($hit[$i])?>¸í |
=$percent[$i]?>% |
}} // for¹®?>
|
|
|
|
| TOP |
}if($mode == "week"){ ?>
|
¿äÀϺ° : =$week_title?>, ÃÑ : =number_format($week_hit)?>¸íÀÇ ¹æ¹®
|
|
for($i=0;$i<=6;$i++){ ?>
| >=$week_name[$i]?> |
>=number_format($hit[$i])?>¸í |
=$percent[$i]?>% |
} // for¹®?>
|
|
|
|
| TOP |
}if($mode == "month"){ ?>
|
¿ùº° : =$month_title?>, ÃÑ : =number_format($month_hit)?>¸íÀÇ ¹æ¹®ÀÚ
|
|
for($i=1;$i<=12;$i++){ ?>
| >=$i?>¿ù |
>=number_format($hit[$i])?>¸í |
=$percent[$i]?>% |
} // for¹®?>
|
|