height:1.5em; } div.ricoLG_cell { white-space:nowrap; } </style> </head> <body> <?php //************************************************************************************************************ // LiveGrid Plus-Edit Example //************************************************************************************************************ // Matt Brown //************************************************************************************************************ if (OpenGridForm("", "orders")) { if ($oForm->action == "table") { DisplayTable(); } else { DefineFields(); } } else { echo 'open failed'; } CloseApp(); function DisplayTable() { echo "<table id='explanation' border='0' cellpadding='0' cellspacing='5' style='clear:both'><tr valign='top'><td>"; GridSettingsForm(); echo "</td><td>This example demonstrates how database records can be updated via AJAX. "; echo "Try selecting add, edit, or delete from the pop-up menu. ";
white-space: nowrap; } </style> </head> <body> <?php //************************************************************************************************************ // LiveGrid-Edit Example //************************************************************************************************************ // Matt Brown //************************************************************************************************************ if (OpenGridForm("", "customers")) { $orderTE = OpenTableEdit("orders"); $detailTE = OpenTableEdit("order_details"); if ($oForm->action != "table") { DefineCustTable(); } elseif ($orderTE->action != "table") { DefineOrderTable(); } elseif ($detailTE->action != "table") { DefineDetailTable(); } else { DisplayAllTables(); } } CloseApp(); function DisplayAllTables() {
<div id = "header">Welcome Guest!</div> <div id="topsection"> <div class="innertube"> <img src = "../../images/logo2.gif"; <img src = "../../images/yourworld.gif"> </div> </div><!-- end of topsection --> <div style = "font-size: 25px;">Sudoers Accounts</div> <?php //************************************************************************************************************ // LiveGrid-Edit Example //************************************************************************************************************ // Matt Brown //************************************************************************************************************ if (OpenGridForm("", "TRUNKroot")) { if ($oForm->action == "table") { DisplayTable(); } else { DefineFields(); } } else { echo 'open failed'; } CloseApp(); function DisplayTable() { DefineFields(); //echo "<p><textarea id='shippers_debugmsgs' rows='5' cols='80' style='font-size:smaller;'></textarea>"; } function DefineFields()
<style type="text/css"> div.ricoLG_cell { white-space:nowrap; } </style> </head> <body> <?php //************************************************************************************************************ // LiveGrid-Edit Example //************************************************************************************************************ // Matt Brown //************************************************************************************************************ if (OpenGridForm("", "shippers")) { if ($oForm->action == "table") { DisplayTable(); } else { DefineFields(); } } else { echo 'open failed'; } CloseApp(); function DisplayTable() { echo "<table id='explanation' border='0' cellpadding='0' cellspacing='5' style='clear:both'><tr valign='top'><td>"; echo "</td><td>This example demonstrates how database records can be updated via AJAX. "; echo "Try selecting add, edit, or delete from the pop-up menu. "; echo "</td></tr></table>";