Location: PHPKode > projects > ChurchCMS > churchcms/theme/templates/cp.admin.tpl
<center>
{include file="sub_header.tpl" width="95%" title=$lang.cp.cp}

{if $SES.user.uname == "Administrator" && $SES.user.id == "1"}
	{* 
	 *Special "the Administrator" only features 
	 *}
	{*Module Manager *}
	<h2>
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td>{$lang.cp.mod_man}</td>
			<td align="right"><font size=1>[Close]</font></td>
		</tr>
	</table>
	</h2>
	<div style="margin-left: 15px;">
	<p>{$lang.cp.mod_man_blurb}</p>
	<h3>{$lang.cp.curr_mod}</h3>
	<ul>
		{section name=i loop=$modules}
		<li>{$modules[i]|capitalize}&nbsp;&nbsp; [{$lang.cp.delete}]</li>
		{/section}
	</ul>
	
	{* Add Module form *}
	<h3>{$lang.cp.add_mod}</h3>
	<form action="admin.php?op=add_mod" method="post" enctype="multipart/form-data">
	<table border="0">
		<tr>
			<td class="field-title">{$lang.cp.mod_file}</td>
			<td><input type="file" name="new_mod_file"></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="{$lang.cp.add_mod}"></td>
		</tr>
	</table>
	</form>
	</div>
	
	<h2>{$lang.cp.user_man}</h2>
	<table cellpadding="0" cellspacing="0" border="0" width="100%" class="data" style="margin-left: 15px;">
		<tr><th>{$lang.cp.name}</th><th>{$lang.cp.login}</th><th>{$lang.cp.email}</th><th>{$lang.cp.admin}</th><tr>
		
		{section name=i2 loop=$users}
		<tr>
			<td>{$users[i2].name}</td>
			<td>{$users[i2].login}</td>
			<td>{$users[i2].email}</td>
			<td>
			{if $users[i2].admin}
				Y
			{else}
				N
			{/if}
			</td>
		</tr>
		{/section}
	</table>
{/if}

<h2>Something for everyone</h2>

{include file="sub_footer.tpl"}
</center>
Return current item: ChurchCMS