<?php
session_start();
$user_ID=$_SESSION[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[DatabaseID]) { $_SESSION[var_DatabaseID] = $_GET[DatabaseID]; }
if ($_GET[TableID]) { $_SESSION[var_TableID] = $_GET[TableID]; }
if ($_GET[FieldID]) { $_SESSION[var_FieldID] = $_GET[FieldID]; }
if ($_GET[ActionID]) { $_SESSION[var_ActionID] = $_GET[ActionID]; }
$DatabaseID=$_SESSION[var_DatabaseID];
$TableID=$_SESSION[var_TableID];
$FieldID=$_SESSION[var_FieldID];
$ActionID=$_SESSION[var_ActionID];
?>
<html>
<head>
<link href="list.css" type="text/css" rel=stylesheet>
<meta content="text/css" http-equiv="Content-Style-Type">
<title>Screen generator Scherm: Table</title>
</head>
<script type="text/javascript" src="handlers.js" language="JavaScript">
alert ("no code");
</script>
<body>
<table class=record><tr><th>SQL name</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=441&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<th>OrderBy</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=491&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=445&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<th>Asc/Desc</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=492&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
</tr>
<tr><th>Name</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=444&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<th>Width</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=490&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
</tr>
<tr><th>IDfield</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=487&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<th>Height</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=488&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
</tr>
<tr><th>Where</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=555&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="Edit Table" onClick="javascript: window.open('edittables.php','','width=500,height=450,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<br><br><br><table class=ruler><tr><td>Fields</td></tr></table>
<p class=filter>
Records: #
Pagina: #
<input type=button value="listall" onClick="javascript: window.open('part_rights.php?part=20&right=listall','Part listall','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<input type=button value="nofilter" onClick="javascript: window.open('part_rights.php?part=20&right=nofilter','Part nofilter','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</p>
<table class=list>
<tr>
<th width=210px>SQLName</th>
<th width=210px>Title</th>
<th width=210px>Name</th>
<th width=210px>SessionVar</th>
<th width=70px>Width</th>
<th width=70px>Order</th>
</tr>
<tr>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=465&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=466&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=533&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=475&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=477&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=483&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
</tr>
<tr onMouseOver="ChangeColor(this)" onMouseOut="ChangeColorBack(this)" onClick="window.open('rightseditfield.php','wijzigen','width=500,height=660,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes')">
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
<tr><td><input type=button value="hide" onClick="javascript: window.open('part_rights.php?part=20&right=hide','Part hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td><td><input type=button value="noedit" onClick="javascript: window.open('part_rights.php?part=20&right=noedit','Part noedit','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td><td><input type=button value="noadd" onClick="javascript: window.open('part_rights.php?part=20&right=noadd','Part noadd','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td></tr></table>
<br><br><br><table class=ruler><tr><td>Actions</td></tr></table>
<p class=filter>
Records: #
Pagina: #
<input type=button value="listall" onClick="javascript: window.open('part_rights.php?part=21&right=listall','Part listall','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<input type=button value="nofilter" onClick="javascript: window.open('part_rights.php?part=21&right=nofilter','Part nofilter','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</p>
<table class=list>
<tr>
<th width=210px>Action</th>
<th width=210px>Part</th>
<th width=350px>Code</th>
</tr>
<tr>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=461&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=462&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=463&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td>
</tr>
<tr onMouseOver="ChangeColor(this)" onMouseOut="ChangeColorBack(this)" onClick="window.open('rightseditaction.php','wijzigen','width=500,height=500,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes')">
<td>data</td>
<td>data</td>
<td>data</td>
<tr><td><input type=button value="hide" onClick="javascript: window.open('part_rights.php?part=21&right=hide','Part hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td><td><input type=button value="noedit" onClick="javascript: window.open('part_rights.php?part=21&right=noedit','Part noedit','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td><td><input type=button value="noadd" onClick="javascript: window.open('part_rights.php?part=21&right=noadd','Part noadd','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</td></tr></table>
</body>
</html>