<br />

<div class="address_bar">{$lang['Control_Panel']} &raquo;
<a href="admin.php?page=options&amp;index=1">{$lang['mange_forum']}</a> &raquo;
 <a href="admin.php?page=options&amp;pbb_seo=1&amp;main=1">{$lang['Settings_Seo']}</a></div>

<br />

<form action="admin.php?page=options&amp;pbb_seo=1&amp;update=1" method="post">
<table cellpadding="3" cellspacing="1" width="90%" class="t_style_b" border="0" align="center">
		<tr align="center">
			<td class="main1" colspan="2">
{$lang['Settings_Seo']}
			</td>
		</tr>
		<tr>
			<td class="row1">
{$lang['rewriterule']}
			</td>
			<td class="row1">
				<select name="rewriterule" id="select_rewriterule">
					{if {$_CONF['info_row']['rewriterule']}}
					<option value="1" selected="selected">{$lang['yes']}</option>
					<option value="0">{$lang['no']}</option>
					{else}
					<option value="1">{$lang['yes']}</option>
					<option value="0" selected="selected">{$lang['no']}</option>
					{/if}
				</select>
			</td>
		</tr>
				<tr>
			<td class="row1" colspan="2" align="center">
<input type="submit" value="{$lang['acceptable']}" name="submit" /></td>
		</tr>
	</table>
{if {$_CONF['info_row']['rewriterule']} == '1'}
	<br />
<table cellpadding="3" cellspacing="1" width="90%" class="t_style_b" border="0" align="center">
		<tr align="center">
			<td class="main1" colspan="2">
Rewrite Engine
			</td>
				<tr>
			<td class="row1" valign="top">
{$lang['Rewrite_Engine']}
<br />
{$lang['RewriteEnginetextarea']}
<br />
			</td>
			<td class="row1">
<textarea name="context" id="textarea_context" rows="22" cols="95" dir="ltr">
RewriteEngine On

RewriteRule ^t(.*).html index.php?page=topic&show=1&id=$1 [L]
RewriteRule ^t(.*) index.php?page=topic&show=1&id=$1 [L]
RewriteRule ^f(.*).html index.php?page=forum&show=1&id=$1 [L]
RewriteRule ^u(.*).html index.php?page=profile&show=1&id=$1 [L]
RewriteRule ^p(.*).html index.php?page=print&show=1&id=$1 [L]
RewriteRule ^archive(.*).html index.php?page=archive [L]
RewriteRule ^Af(.*).html index.php?page=forum_archive&show=1&id=$1 [L]
RewriteRule ^At(.*).html index.php?page=topic_archive&show=1&id=$1 [L]
RewriteRule ^search(.*).html index.php?page=search&index=1 [L]
RewriteRule ^sitemap.xml  index.php?page=sitemap&subject=1
RewriteRule ^sitemap(.*).htm index.php?page=sitemap&sitemaps=1 [L]
RewriteRule ^name-(.*).html$ index.php?page=profile&show=1&username=$1 [L]
</textarea>
			</td>
		</tr>
		<tr>
			<td class="row1" colspan="2" align="center">
<input type="submit" value="{$lang['acceptable']}" name="submit" /></td>
		</tr>
	</table>
{/if}
	<br />
	</form>
<form action="admin.php?page=options&amp;pbb_seo=1&amp;update_sitemap=1" method="post">
<table cellpadding="3" cellspacing="1" width="90%" class="t_style_b" border="0" align="center">
		<tr align="center">
			<td class="main1" colspan="2">
{$lang['SiteMap']}
			</td>
				<tr>
			<td class="row1">
{$lang['activate_sitemap']}
			</td>
			<td class="row1">
				<select name="sitemap" id="select_sitemap">
					{if {$_CONF['info_row']['sitemap']}}
					<option value="1" selected="selected">{$lang['yes']}</option>
					<option value="0">{$lang['no']}</option>
					{else}
					<option value="1">{$lang['yes']}</option>
					<option value="0" selected="selected">{$lang['no']}</option>
					{/if}
				</select>
			</td>
		</tr>
		<tr>
			<td class="row1" colspan="2" align="center">
<input type="submit" value="{$lang['acceptable']}" name="submit" /></td>
		</tr>
	</table>
	<br />

	</form>
<br />