<?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[part]) { $_SESSION[var_part] = $_GET[part]; }
if ($_GET[right]) { $_SESSION[var_right] = $_GET[right]; }
$part=$_SESSION[var_part];
$right=$_SESSION[var_right];
?>
<?php
?>
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
<TITLE>User part rechten</TITLE>
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=1>
<THEAD>
<TR>
<TD COLSPAN=2 WIDTH=100% VALIGN=TOP BGCOLOR="#000080">
<P><FONT COLOR="#ffffff"><FONT FACE="Verdana, sans-serif"><FONT SIZE=1 STYLE="font-size: 8pt"><B>User part rechten
</B></FONT></FONT></FONT></P>
</TD>
</TR>
</THEAD>
<TBODY>
<TR VALIGN=TOP>
<TD WIDTH=20% BGCOLOR="#e6e6ff">
<FONT COLOR="#000080" FACE="Verdana, sans-serif" STYLE="font-size: 8pt">
</FONT>
</TD>
<TD WIDTH=80%>
<input type=button value="readonly" onClick="javascript: window.open('field_rights.php?field=506&right=readonly','Field readonly','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=506&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</TD>
<TR VALIGN=TOP>
<TD WIDTH=20% BGCOLOR="#e6e6ff">
<FONT COLOR="#000080" FACE="Verdana, sans-serif" STYLE="font-size: 8pt">
</FONT>
</TD>
<TD WIDTH=80%>
<input type=button value="readonly" onClick="javascript: window.open('field_rights.php?field=507&right=readonly','Field readonly','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=507&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</TD>
<TR VALIGN=TOP>
<TD WIDTH=20% BGCOLOR="#e6e6ff">
<FONT COLOR="#000080" FACE="Verdana, sans-serif" STYLE="font-size: 8pt">
User
</FONT>
</TD>
<TD WIDTH=80%>
<input type=button value="readonly" onClick="javascript: window.open('field_rights.php?field=508&right=readonly','Field readonly','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<input type=button value="hide" onClick="javascript: window.open('field_rights.php?field=508&right=hide','Field hide','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
</TD>
</FONT></FONT></FONT></P>
</TD>
</TR>
</TBODY>
</TABLE>
<P ALIGN=RIGHT>
<INPUT TYPE="submit" VALUE="Change" onClick="window.close()">
<INPUT TYPE=BUTTON VALUE="Delete" onClick="window.close()">
<input type=button value="nodelete" onClick="javascript: window.open('part_rights.php?part=32&right=nodelete','Part nodelete','width=660,height=680,location=no,menubar=no,scrollbars=yes,status=no,resizable=yes'); return false;">
<INPUT TYPE=BUTTON VALUE="Cancel" onClick="window.close()">
</P>
</FORM>
</BODY>
</HTML>