php-pagebuilder Code
Brought to you by:
stwerff
<?php session_start(); $user_ID=$HTTP_SESSION_VARS[user_ID]; if (!$user_ID || $user_ID='0') { header('location: index.php'); die('Login failed'); } require("util.php"); $sql = new MySQL_class; $sql->Create("generator"); $esql = new MySQL_class; $esql->Create("generator"); if ($_GET[screen]) { $HTTP_SESSION_VARS[screen] = $_GET[screen]; } if ($_GET[DatabaseID]) { $HTTP_SESSION_VARS[DatabaseID] = $_GET[DatabaseID]; } if ($_GET[part]) { $HTTP_SESSION_VARS[part] = $_GET[part]; } $screen=$HTTP_SESSION_VARS[screen]; $DatabaseID=$HTTP_SESSION_VARS[DatabaseID]; $part=$HTTP_SESSION_VARS[part]; ?> <html> <head> <link href="list.css" type="text/css" rel=stylesheet> <meta content="text/css" http-equiv="Content-Style-Type"> <title>Screen generator Scherm: Screen</title> </head> <script> var tempColor; function ChangeColor(ThisRow) { tempColor = ThisRow.style.backgroundColor; ThisRow.style.backgroundColor="#81A4D5"; } function ChangeColorBack(ThisRow) { ThisRow.style.backgroundColor=tempColor; } </script> <body> <?php ?> <table class=record> <tr><th>Name</th> <td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=446&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </td> </tr> <tr><th>Title</th> <td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=447&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </td> </tr> <tr><th>Class</th> <td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=511&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </td> </tr> </table> <p><input type=button value="Screengegevens wijzigen" onClick="javascript: window.open('editscreen.php','','width=500,height=500,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> <p class=filter> <?php Records: # Pagina: # <input type=button value="listall" onClick="javascript: window.open('part_rights.php?part=18&right=listall','Part listall','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> <input type=button value="filter" onClick="javascript: window.open('part_rights.php?part=18&right=filter','Part filter','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> <input type=text name="zoekitem62" size=25> <input type=submit value="Zoek"> </p> <table class=list> <tr> <th width=150px>Type</th> <th width=150px>Table</th> <th width=150px>Link</th> <th width=150px>Title</th> <th width=150px>Code</th> <th width=25px>Order</th> </tr> <tr> <th><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=452&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </th> <th><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=453&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </th> <th><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=454&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </th> <th><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=456&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </th> <th><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=457&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </th> <th><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=515&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </th> </tr> <tr onMouseOver=\"ChangeColor(this)\" onMouseOut=\"ChangeColorBack(this)\" onClick=\"window.open('rightseditpart.php?part=$part','wijzigen','width=500,height=500,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes')\"> <td>records</td><td><input type=button value="show" onClick="javascript: window.open('part_rights.php?part=18&right=show','Part show','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </td><td><input type=button value="edit" onClick="javascript: window.open('part_rights.php?part=18&right=edit','Part edit','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </td><td><input type=button value="add" onClick="javascript: window.open('part_rights.php?part=18&right=add','Part add','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;"> </td></tr></table> </body> </html>