<html>
<head>
<title>Role Management</title>
<link href="http://{$site}/css/style.css" rel="stylesheet">
{literal}
<script language="javascript">
</script>
{/literal}
</head>
<body>
<form name="frmRoles" method="post" action="">
<TR>
<TD>
<table border="0" width="35%" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="first"><a href="javascript:void(0)" onclick="fnc_loadUsermanagement()">Profiles</a></td>
<td class="line">
<span >|</span></td>
<td class="first"><a href="javascript:void(0)" onclick="fnc_loadCallCentermanagement()">Call Centers</a></td>
<td class="line">
<span >|</span></td>
<td class="first"><a href="javascript:void(0)" onclick="fnc_loadRoleManagement()">Roles</a></td>
<td class="line">
<span >|</span></td>
<td class="first"><a href="javascript:void(0)" onclick="fnc_loadUsers()">Users</a></td>
</tr>
</table>
</TD>
</TR><br><br><br>
<input type="text" name="NumRows" value="{$NumRows}">
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="first" align="left">Role Name</td>
<td class="second" align="right"><input type="text" name="txtRoleName" value=""></td>
</tr>
<tr>
<td class="first" align="left">Profile Name</td>
<td class="first" align="right">Select Profiles</td>
</tr>
{if $NumRows gt 0}
{foreach item=row from=$dataRow name=data}
<tr>
<td class="second" align="left">{$row.ProfileName|stripslashes}</td>
<td class="second" align="right"><input type="checkbox" name={$row.ProfileName|stripslashes}{$row.ProfileID} value="1"></td>
{/foreach}
{else}
<tr bgcolor="#FFFFFF">
<td colspan="2" class="star" align="center"><strong>No Profiles Found</strong></td>
</tr>
{/if}
<tr>
<td class="first" colspan="2" align="center"><input type="button" name="save" value="save" onclick="fnc_saveRoles()"></td>
</tr>
</table>
</form>
</body>
</html>