Mercurial > epgrec.yaz
diff logViewer.php @ 146:4afd353b4507
merged with upstream
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 23 Mar 2010 02:37:31 +0900 |
parents | 481e789605e3 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logViewer.php Tue Mar 23 02:37:31 2010 +0900 @@ -0,0 +1,15 @@ +<?php +include_once('config.php'); +include_once( INSTALL_PATH . '/DBRecord.class.php' ); +include_once( INSTALL_PATH . '/Smarty/Smarty.class.php' ); + + +$arr = DBRecord::createRecords( LOG_TBL, " ORDER BY logtime DESC" ); + +$smarty = new Smarty(); + +$smarty->assign( "sitetitle" , "epgrec動作ログ" ); +$smarty->assign( "logs", $arr ); + +$smarty->display( "logTable.html" ); +?> \ No newline at end of file