<table cellpadding="4" cellspacing="1" border="0" width="100%" class="forumline">
<colgroup>
<col width="48%">
<col width="48%">
<col width="4%">
</colgroup>
<tr>
<th class="thCornerL"><?php $this->_echo($d['.'][0]['L_DESCRIPTION']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_SIZE']); ?></th>
<th class="thCornerR"><?php $this->_echo($d['.'][0]['L_ACTION']); ?></th>
</tr>
<?php if($_limit_row_count = count($d['limit_row'])) {for ($_limit_row_i = 0; $_limit_row_i < $_limit_row_count; $_limit_row_i++){ ?>
<tr>
<td class="row1" align="center" valign="middle">
<input type="text" size="20" maxlength="25" name="quota_desc_list[]" class="post" value="<?php $this->_echo($d['limit_row'][$_limit_row_i]['QUOTA_NAME']); ?>" />
</td>
<td class="row2" align="center" valign="middle"><input type="text" size="8" maxlength="15" name="max_filesize_list[]" class="post" value="<?php $this->_echo($d['limit_row'][$_limit_row_i]['MAX_FILESIZE']); ?>" />
<select name="unit_list[]"><?php if($_unit_count = count($d['limit_row'][$_limit_row_i]['unit'])) {for ($_unit_i = 0; $_unit_i < $_unit_count; $_unit_i++){ ?><option value="<?php $this->_echo($d['limit_row'][$_limit_row_i]['unit'][$_unit_i]['UNIT_ID']); ?>"<?php if($_selected_count = count($d['limit_row'][$_limit_row_i]['unit'][$_unit_i]['selected'])) {for ($_selected_i = 0; $_selected_i < $_selected_count; $_selected_i++){ ?> selected="selected"<?php }} ?>><?php $this->_echo($d['limit_row'][$_limit_row_i]['unit'][$_unit_i]['UNIT_DESC']); ?></option><?php }} ?></select>
</td>
<td class="row1" align="center" valign="middle" nowrap="nowrap"><input type="hidden" name="quota_ids[]" value="<?php $this->_echo($d['limit_row'][$_limit_row_i]['QUOTA_ID']); ?>" />&nbsp;
<a href="<?php $this->_echo($d['limit_row'][$_limit_row_i]['U_VIEW']); ?>" title="<?php $this->_echo($d['.'][0]['L_VIEW']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_VIEW']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_VIEW']); ?>" /></a>&nbsp;
<a href="<?php $this->_echo($d['limit_row'][$_limit_row_i]['U_DELETE']); ?>" title="<?php $this->_echo($d['.'][0]['L_DELETE']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_DELETE']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_DELETE']); ?>" /></a>&nbsp;
</td>
</tr>
<?php }} ?>
<tr>
<td class="catBottom" colspan="3" align="center">
<input type="image" name="update" src="<?php $this->_echo($d['.'][0]['I_UPDATE']); ?>" alt="<?php $this->_echo($d['.'][0]['L_UPDATE']); ?>" title="<?php $this->_echo($d['.'][0]['L_UPDATE']); ?>"<?php if($_accesskey_update_count = count($d['accesskey_update'])) {for ($_accesskey_update_i = 0; $_accesskey_update_i < $_accesskey_update_count; $_accesskey_update_i++){ ?> accesskey="<?php $this->_echo($d['.'][0]['S_UPDATE']); ?>"<?php }} ?> />
</td>
</tr>
</table>
<br style="font-size: 2px" />

<table cellpadding="4" cellspacing="1" border="0" width="100%" class="forumline">
<colgroup>
<col width="40%">
<col width="60%">
</colgroup>
<tr>
<th class="thHead" colspan="2"><?php $this->_echo($d['.'][0]['L_ADD_NEW']); ?></th>
</tr>
<tr>
<td class="row1"><span class="gen"><?php $this->_echo($d['.'][0]['L_DESCRIPTION']); ?>:&nbsp;</span></td>
<td class="row2"><span class="gen"><input type="text" size="20" maxlength="25" name="add_quota_desc" class="post" value=""/></span></td>
</tr>
<tr>
<td class="row1"><span class="gen"><?php $this->_echo($d['.'][0]['L_SIZE']); ?>:&nbsp;</span></td>
<td class="row2"><span class="gen">
<input type="text" size="8" maxlength="15" name="add_max_filesize" class="post" value="<?php $this->_echo($d['.'][0]['MAX_FILESIZE']); ?>" />
<select name="add_unit"><?php if($_unit_count = count($d['unit'])) {for ($_unit_i = 0; $_unit_i < $_unit_count; $_unit_i++){ ?><option value="<?php $this->_echo($d['unit'][$_unit_i]['UNIT_ID']); ?>"<?php if($_selected_count = count($d['unit'][$_unit_i]['selected'])) {for ($_selected_i = 0; $_selected_i < $_selected_count; $_selected_i++){ ?> selected="selected"<?php }} ?>><?php $this->_echo($d['unit'][$_unit_i]['UNIT_DESC']); ?></option><?php }} ?></select>
</span></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center"><?php $this->_echo($d['.'][0]['S_HIDDEN_FIELDS']); ?><span class="genmed">
<input type="image" name="create" src="<?php $this->_echo($d['.'][0]['I_CREATE']); ?>" alt="<?php $this->_echo($d['.'][0]['L_CREATE']); ?>" title="<?php $this->_echo($d['.'][0]['L_CREATE']); ?>"<?php if($_accesskey_create_count = count($d['accesskey_create'])) {for ($_accesskey_create_i = 0; $_accesskey_create_i < $_accesskey_create_count; $_accesskey_create_i++){ ?> accesskey="<?php $this->_echo($d['.'][0]['S_CREATE']); ?>"<?php }} ?> />
</span></td>
</tr>
</table>

<?php if($_switch_quota_limit_desc_count = count($d['switch_quota_limit_desc'])) {for ($_switch_quota_limit_desc_i = 0; $_switch_quota_limit_desc_i < $_switch_quota_limit_desc_count; $_switch_quota_limit_desc_i++){ ?>
<div align="center"><h1><?php $this->_echo($d['.'][0]['L_QUOTA_LIMIT_DESC']); ?></h1></div>

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="left" width="49%"><table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="left">
<tr>
<th class="thHead"><?php $this->_echo($d['.'][0]['L_ASSIGNED_USERS']); ?> - <?php $this->_echo($d['.'][0]['L_UPLOAD_QUOTA']); ?></th>
</tr>
<tr>
<td class="row1" align="center"><select style="width:99%" name="entries[]" multiple="multiple" size="5"><?php if($_users_upload_row_count = count($d['users_upload_row'])) {for ($_users_upload_row_i = 0; $_users_upload_row_i < $_users_upload_row_count; $_users_upload_row_i++){ ?><option value="<?php $this->_echo($d['users_upload_row'][$_users_upload_row_i]['USER_ID']); ?>"><?php $this->_echo($d['users_upload_row'][$_users_upload_row_i]['USERNAME']); ?></option><?php }} ?></select></td>
</tr>
</table></td>
<td width="2%">&nbsp;&nbsp;&nbsp;</td>
<td align="right" width="49%"><table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="right">
<tr>
<th class="thHead"><?php $this->_echo($d['.'][0]['L_ASSIGNED_GROUPS']); ?> - <?php $this->_echo($d['.'][0]['L_UPLOAD_QUOTA']); ?></th>
</tr>
<tr>
<td class="row1" align="center"><select style="width:99%" name="entries[]" multiple="multiple" size="5"><?php if($_groups_upload_row_count = count($d['groups_upload_row'])) {for ($_groups_upload_row_i = 0; $_groups_upload_row_i < $_groups_upload_row_count; $_groups_upload_row_i++){ ?><option value="<?php $this->_echo($d['groups_upload_row'][$_groups_upload_row_i]['GROUP_ID']); ?>"><?php $this->_echo($d['groups_upload_row'][$_groups_upload_row_i]['GROUPNAME']); ?></option><?php }} ?></select></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3">&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr>
<td align="left" width="49%"><table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="left">
<tr>
<th class="thHead"><?php $this->_echo($d['.'][0]['L_ASSIGNED_USERS']); ?> - <?php $this->_echo($d['.'][0]['L_PM_QUOTA']); ?></th>
</tr>
<tr>
<td class="row1" align="center"><select style="width:99%" name="entries[]" multiple="multiple" size="5"><?php if($_users_pm_row_count = count($d['users_pm_row'])) {for ($_users_pm_row_i = 0; $_users_pm_row_i < $_users_pm_row_count; $_users_pm_row_i++){ ?><option value="<?php $this->_echo($d['users_pm_row'][$_users_pm_row_i]['USER_ID']); ?>"><?php $this->_echo($d['users_pm_row'][$_users_pm_row_i]['USERNAME']); ?></option><?php }} ?></select></td>
</tr>
</table></td>
<td width="2%">&nbsp;&nbsp;&nbsp;</td>
<td align="right" width="49%"><table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="right">
<tr>
<th class="thHead"><?php $this->_echo($d['.'][0]['L_ASSIGNED_GROUPS']); ?> - <?php $this->_echo($d['.'][0]['L_PM_QUOTA']); ?></th>
</tr>
<tr>
<td class="row1" align="center"><select style="width:99%" name="entries[]" multiple="multiple" size="5"><?php if($_groups_pm_row_count = count($d['groups_pm_row'])) {for ($_groups_pm_row_i = 0; $_groups_pm_row_i < $_groups_pm_row_count; $_groups_pm_row_i++){ ?><option value="<?php $this->_echo($d['groups_pm_row'][$_groups_pm_row_i]['GROUP_ID']); ?>"><?php $this->_echo($d['groups_pm_row'][$_groups_pm_row_i]['GROUPNAME']); ?></option><?php }} ?></select></td>
</tr>
</table></td>
</tr>
</table>
<?php }} ?>