<!-- INCLUDE include_header.html --> 

<!-- IF ISERROR="true" -->
<br><br>
<center>
	<div class="table_with_border_second ErrorMsg" style="width:600px">
		<div class="PriorityError">{LN_GEN_ERRORDETAILS}</div>
		<p>{ERROR_MSG}</p>
		</div>
	<br><br>
	<a href="javascript:history.back();" target="_top">{LN_GEN_ERRORRETURNPREV}</a>
</center>
<br><br>
<!-- ENDIF ISERROR="true" -->

<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="with_border">
<tr>
	<td colspan="3" class="title" nowrap><B>{LN_USER_CENTER}</B></td>
</tr>
	<tr>
		<td align="center" class="line2">
		<br><br>

<!-- IF LISTUSERS="true" -->
		<table border="0" cellpadding="2" cellspacing="1" bgcolor="#DDDDDD" width="600" class="with_border_alternate">
		<tr>
			<td align="center" width="50" class="cellmenu1"><b>{LN_USER_ID}</b></td>
			<td align="center" width="300" class="cellmenu1"><b>{LN_USER_NAME}</b></td>
			<td align="center" width="100" class="cellmenu1"><b>{LN_USER_ISADMIN}</b></td>
			<td align="center" width="100" class="cellmenu1"><b>{LN_USER_ISREADONLY}</b></td>
			<td align="center" width="200" class="cellmenu1"><b>{LN_GEN_ACTIONS}</b></td>
		</tr>
		<!-- BEGIN USERS -->
		<tr>
			<td align="center" class="{cssclass}"><b>{ID}</b></td>
			<td align="center" class="{cssclass}"><a href="{BASEPATH}admin/users.php?op=edit&id={ID}">{username}</a></td>
			<td align="center" class="{cssclass}"><a href="{BASEPATH}admin/users.php?miniop=setisadmin&id={ID}&newval={set_isadmin}"><img src="{is_isadmin_string}" width="16"></a></td>
			<td align="center" class="{cssclass}"><a href="{BASEPATH}admin/users.php?miniop=setisreadonly&id={ID}&newval={set_isreadonly}"><img src="{is_readonly_string}" width="16"></a></td>
			<td align="center" class="{cssclass}">
				&nbsp;<a href="{BASEPATH}admin/users.php?op=edit&id={ID}"><img src="{MENU_EDIT}" width="16" title="{LN_USER_EDIT}"></a>
				&nbsp;<a href="{BASEPATH}admin/users.php?op=delete&id={ID}"><img src="{MENU_DELETE}" width="16" title="{LN_USER_DELETE}"></a>
			</td>
		</tr>
		<!-- END USERS -->
		<!-- IF ALLOWADDUSERS="true" -->
		<tr>
			<td align="center" colspan="5" class="line0"><b><a href="{BASEPATH}admin/users.php?op=add"><img src="{MENU_ADDUSER}" title="{LN_USER_ADD}">&nbsp;{LN_USER_ADD}</a></b></td>
		</tr>
		<!-- ENDIF ALLOWADDUSERS="true" -->
		</table>
<!-- ENDIF LISTUSERS="true" -->

<!-- IF ISEDITORNEWUSER="true" -->
		<form action="{BASEPATH}admin/users.php" method="post">
			<table border="0" cellpadding="1" cellspacing="1" bgcolor="#DDDDDD" width="600" class="with_border_alternate">
			<tr>
				<td align="center" class="cellmenu1" colspan="2"><b>{LN_USER_ADDEDIT}</b></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" width="150" nowrap><b>{LN_USER_NAME}</b></td>
				<td align="left" class="line0" width="100%"><input type="text" name="username" size="40" maxlength="64" value="{USERNAME}"></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_USER_PASSWORD1}</b></td>
				<td align="left" class="line1"><input type="password" name="password1" size="40" maxlength="64" value=""></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_USER_PASSWORD2}</b></td>
				<td align="left" class="line0"><input type="password" name="password2" size="40" maxlength="64" value=""></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_USER_ISADMIN}</b></td>
				<td align="left" class="line1"><input type="checkbox" name="isadmin" value="yes" {CHECKED_ISADMIN}></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_USER_ISREADONLY}</b></td>
				<td align="left" class="line1"><input type="checkbox" name="isreadonly" value="yes" {CHECKED_ISREADONLY}></td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<input type="submit" value="{USER_SENDBUTTON}">
					<input type="hidden" name="op" value="{USER_FORMACTION}">
					<input type="hidden" name="id" value="{USERID}">
				</td>
			</tr>
			</table>
		</form>
<!-- ENDIF ISEDITORNEWUSER="true" -->

		<br><br>

		</td>
	</tr>
</table>

<!-- INCLUDE include_footer.html -->