Mercurial > epgrec.yaz
diff logViewer.php @ 142:481e789605e3
mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sun, 21 Mar 2010 16:42:58 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logViewer.php Sun Mar 21 16:42:58 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