[Dda-cvs] htdocs db_table_select.php,1.1,1.2
Status: Beta
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2006-06-09 04:22:16
|
Update of /cvsroot/dda/htdocs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28004 Modified Files: db_table_select.php Log Message: Added table presentation. Index: db_table_select.php =================================================================== RCS file: /cvsroot/dda/htdocs/db_table_select.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_table_select.php 9 Jun 2006 04:04:23 -0000 1.1 --- db_table_select.php 9 Jun 2006 04:22:14 -0000 1.2 *************** *** 19,38 **** <body> - <?php - include("nav_footer.php"); - ?> <hr /> - <p> - Sensor data last updated: - <?php - echo date ("l dS F Y h:i:s A"); - ?> - </p> <?php //if (!isset($HTTP_SESSION_VARS["tblname"])) { if ($HTTP_POST_VARS["tbl1"]!=Null){ $HTTP_SESSION_VARS["tblname"] = $HTTP_POST_VARS["tbl1"]; --- 19,30 ---- <body> <hr /> <?php //if (!isset($HTTP_SESSION_VARS["tblname"])) { + /* if ($HTTP_POST_VARS["tbl1"]!=Null){ $HTTP_SESSION_VARS["tblname"] = $HTTP_POST_VARS["tbl1"]; *************** *** 42,54 **** $dbname = $HTTP_SESSION_VARS["dbname"]; $tblname = $HTTP_SESSION_VARS["tblname"]; print("<h1>Mote activity: Database $dbname, table $tblname</h1>"); ?> - <?php - include("db_table_buttons.php"); - ?> - <center> --- 34,45 ---- $dbname = $HTTP_SESSION_VARS["dbname"]; $tblname = $HTTP_SESSION_VARS["tblname"]; + */ + $dbname = "d76533_dda"; + $tblname = "authors"; print("<h1>Mote activity: Database $dbname, table $tblname</h1>"); ?> <center> *************** *** 118,135 **** <hr /> - <?php - include("nav_footer.php"); - ?> - <hr /> - <p> - Sensor data last updated: - <?php - echo date ("l dS F Y h:i:s A"); - ?> - </p> </body> --- 109,116 ---- |