Location: PHPKode > projects > CoreAsset > coreasset/templates/manage_admin.tpl
{include file="head.tpl"}
{include file="left.tpl"}

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="21"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/corner9.gif" width="5" height="21"></td>
<td width="99%" class="header"><span class="whitetext">
Manage Administration Section
</span></td>
<td><img src="images/corner10.gif" width="5" height="21"></td>
</tr>
</table></td>
</tr>
<tr>
<td class="border3side" valign="top" height="100%"><table width="100%" height="100%" border="0" cellspacing="8" cellpadding="0">
<tr>
<td valign="top">

<!-- #######################   Paste the Table to Table from here ############## -->

<table cellSpacing="0" cellPadding="0" width="98%" align="center" border="0">
          
          <!--<tr>
            <td><img title alt src="images/blank.gif" width="1" height="1"></td>
          </tr>-->
          <!--<tr>
            <td style="border-left: 1px solid #bbbbbb; border-right: 1px solid #bbbbbb" bgColor="#bbbbbb">
            <img title height="3" alt src="images/blank.gif" width="1" valign="top"></td>
          </tr>-->
          <tr>
            <!--<td style="border-left: 1px solid #bbbbbb; border-right: 1px solid #bbbbbb; padding-left: 18px; padding-right: 23px; padding-top: 11px" vAlign="top" bgColor="#ededed" height="180">-->
			<td>
            {if $mes!=""}
            <table borderColor="#ffffff" cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
                <td class="txt" colspan="4"><font color="RED">{$mes}</font></td>
              </tr>
              <tr>
                <td class="txt"  colspan="4">&nbsp;</td>
              </tr>
            </table>
            {/if}

            <table cellSpacing="1" cellPadding="0" width="100%" border="0">

              <form name="f1" action="?act=edit" method="post">

                <tr>
                  <td class="title_heading" width="25%" ><font color="#000000">&nbsp;User Name</font></td>
                  <td class="title_heading" width="25%"><font color="#000000">&nbsp;Email ID</font></td>
                  <td class="title_heading" width="25%"><font color="#000000">&nbsp;Privillage</font></td>
                  <td class="title_heading" width="25%"><font color="#000000">&nbsp;Edit | Delete</font></td>
                </tr>
                
                {if $status==1}

		{if $num > 0}
                {section name=index loop=$user_id}
                  <tr>
                    <td class="list_item"  width="25%">&nbsp;{$user_name[index]}</td>
                    <td class="list_item"  width="25%">&nbsp;{$email[index]}</td>
                    <td class="list_item"  width="25%">&nbsp;

                      {if $priv[index]==1}
                                            Administrator
                      {elseif $priv[index]==2}
                                            Supervisor
                      {elseif $priv[index]==3}
                                            Writer
                      {else}
                                            Reader
                      {/if}

                    </td>
                    <td class="list_item"  width="25%"><a href="edit_user.php?hd83___2y8dh328f____8hhdiw___jd9={$user_id[index]}"><img src="images/edit.gif" border="0" title="Click to Edit"></a> | <a href="manage_admin.php?hd83___2y8dh328f____8hhdiw___jd9={$user_id[index]}" onClick="return conf();"><img src="images/delete.gif" border="0" title="Click to Dlete"></a></td>
                  </tr>
                {/section}
		 <tr>
				  
                  <td class="btn_bg1"  colSpan="4">
                  <a href="add_user.php"><img src="images/add_user.gif" border="0" title="Click to Add User"></a>
                  </td>
                </tr>
                {else}
                  <tr>
                    <td class="txt" colspan="4" align="center" width="25%" height="23"><font color="RED">Sorry ! No user still Added</font></td>
                  </tr>
                <tr>
                  <td class="btn_bg1" width="20%" colSpan="4">
                  <a href="add_user.php"><img src="images/add_user.gif" border="0" title="Click to Add User"></a>
                  </td>
                </tr>
     	       {/if}

                 {else}
                  <tr>
                    <td class="txt" colspan="4" align="center" width="25%" height="23"><font color="RED">Sorry ! You have no such Privillage</font></td>
                  </tr>
                {/if}
              </form>

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


<!-- ########################      End Here ##########################-->

{include file="foot.tpl"}
{literal}
<script language="Javascript">
function conf()
{
	input_box=confirm("Are you sure? The User will be Deleted !");

	if (input_box==true)
	{
		return true;
	}

	else
	{
		return false;
	}
}
</script>
{/literal}
Return current item: CoreAsset