<?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[project]) { $_SESSION[var_project] = $_GET[project]; }
if ($_GET[table]) { $_SESSION[var_table] = $_GET[table]; }
if ($_GET[field]) { $_SESSION[var_field] = $_GET[field]; }
if ($_GET[action]) { $_SESSION[var_action] = $_GET[action]; }
if ($_GET[table_order]) { $_SESSION[var_table_order] = $_GET[table_order]; }
$project=$_SESSION[var_project];
$table=$_SESSION[var_table];
$field=$_SESSION[var_field];
$action=$_SESSION[var_action];
$table_order=$_SESSION[var_table_order];
?>
<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>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>Name</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=801&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>Title</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>
</tr>
<tr><th>ID field</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>
</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>
<tr><th>edit_where</th>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=826&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('edittable.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=175px>SQLName</th>
<th width=175px>Title</th>
<th width=175px>Name</th>
<th width=175px>SessionVar</th>
<th width=35px>Width</th>
<th width=0px>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=700,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>Ordering</td></tr></table>
<p class=filter>
Records: #
Pagina: #
<input type=button value="listall" onClick="javascript: window.open('part_rights.php?part=178&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=178&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>Ordering</th>
<th width=35px>Order</th>
</tr>
<tr>
<td><input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=795&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=796&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="location='rights_order.php'">
<td>data</td>
<td>data</td>
<tr><td><input type=button value="hide" onClick="javascript: window.open('part_rights.php?part=178&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=178&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=178&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=0px>Action</th>
<th width=0px>Part</th>
<th width=280px>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>