{include file="$admingentemplates/admin_top.tpl"}
<div class="back">
    <a href="{$site_url}{$site_root}/admin/admin_club.php">{$lang.button.back}</a>
</div>
<div class="cr"></div>
<div class="show_help" style="display: none;">&nbsp;</div>
<div class="red_header">{$lang.club.admin.razdel_name}</div>
<div class="cr">&nbsp;</div>
<div class="cr">&nbsp;</div>
<div class="help_text" style="display:block;">
    <div class="close_help">
        <img src="{$site_root}{$template_root}/images/close_help.png" alt="">
    </div>
    <div class="help_body">
        <span class="help_title">{$lang.help}:</span>{if $form.par eq 'edit'}{$lang.admin_help.club_save_category}{else}{$lang.admin_help.club_add_category}{/if}
    </div>
</div>
<div class="cr">&nbsp;</div>
<ul class="tabs">
    <li>
        <a href="admin_club.php?sel=categories">{$lang.admin_menu.groups_categories_list}</a>
    </li>
{*    <li>
        <a class="current">{$lang.admin_menu.groups_categories_add}</a>
    </li>*}
    <li>
        <a href="admin_club.php?sel=my_club">{$lang.admin_menu.my_groups}</a>
    </li>
{*    <li>
        <a href="admin_club.php?sel=create">{$lang.admin_menu.add_group}</a>
    </li>*}
</ul>
		<div class="user_operation_line">

		</div>
		<div class="cr"></div>
<div>
<form method="post" action="{$form.action}" name="category_form" id="category_form" enctype="multipart/form-data">
<table border=0 cellspacing=0 cellpadding=0 width="100%">
	<input type="hidden" name="par" value="{$form.par}">
	{if $form.par eq 'edit'}
	<input type="hidden" name="id" value="{$data.id}">
	{/if}
	<tr bgcolor="#ffffff">
		<td align="left" width="200" class="main_header_text">{$lang.club.admin.category_name} <font class=main_error_text>*</font>:&nbsp;</td>
		<td align="left"><input type="text" name="category_name" value="{$data.category_name}" style="width: 195px;"></td>
	</tr>
	<tr bgcolor="#ffffff">
		<td colspan="2">
		<table cellpadding="3" cellspacing="0">
			<tr height="40">
				{if $form.par eq 'edit'}
				<td>
					<a class="admin_button_major" onclick="javascript: document.category_form.submit();">{$lang.button.save}<span>&nbsp;</span></a>
				</td>
				{else}
				<td>
					<a class="admin_button_major" onclick="javascript: document.category_form.submit();">{$lang.button.add}<span>&nbsp;</span></a>
				</td>
				{/if}
{*				<td>
					<a class="admin_button" onclick="javascript: document.location.href='{$form.back}'">{$lang.button.back}<span>&nbsp;</span></a>
				</td>*}
			</tr>
		</table>
		</td>
	</tr>
</table>
</form>
</div>
{include file="$admingentemplates/admin_bottom.tpl"}