annotate logViewer.php @ 147:fadae5e39857

fix: ¥¹¥¿¡¼¥Á¥ã¥ó¥Í¥ëÄɲÃ
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Mon, 22 Mar 2010 22:43:11 +0900
parents 481e789605e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
142
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
1 <?php
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
2 include_once('config.php');
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
3 include_once( INSTALL_PATH . '/DBRecord.class.php' );
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
4 include_once( INSTALL_PATH . '/Smarty/Smarty.class.php' );
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
5
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
6
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
7 $arr = DBRecord::createRecords( LOG_TBL, " ORDER BY logtime DESC" );
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
8
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
9 $smarty = new Smarty();
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
10
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
11 $smarty->assign( "sitetitle" , "epgrec動作ログ" );
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
12 $smarty->assign( "logs", $arr );
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
13
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
14 $smarty->display( "logTable.html" );
481e789605e3 mod: EPG¤Î¹¹¿·¤ÈƱ»þ¤ËͽÌó¾ðÊó¤ò¹¹¿·¤¹¤ë¤è¤¦¤ËÊѹ¹¡¢¥í¥°¥Ó¥å¡¼¥¢¤ÎÄɲÃ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents:
diff changeset
15 ?>