<html>
<head>
	<meta http-equiv="Content-Language" content="{$form.lang}">
	<meta http-equiv="Content-Type" content="text/html; charset={$form.charset}">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="pragma" content="no-cache">
	<meta name="revisit-after" content="3 days">
	<meta name="robot" content="All">
	<title>{$lang.admin_title_main}{$lang.language_spr.subtitle}</title>
	<link href="{$site_root}{$template_root}/css/style.css" rel="stylesheet" type="text/css">
</head>
{if $form.close eq '1'}
<script>
	parent.window.close();
	parent.opener.focus();
</script>
{/if}
{literal}
<style>
body{
	scrollbar-3dlight-color: #ffffff;
	scrollbar-arrow-color: #ffffff;
	scrollbar-darkshadow-color: #ffffff;
	scrollbar-face-color: #EDEDE6;
	scrollbar-highlight-color: #ffffff;
	scrollbar-shadow-color: #ffffff;
	scrollbar-track-color: #ffffff;
}
</style>
{/literal}
<body>
	<center>
		<table width="98%" height="100%" cellspacing="0" cellpadding="0">
			<tr><td width="100%" height="100%" class="white_block">

				<table width="100%" border=0 cellspacing="3px" cellpadding="10px" height=100%>
				<tr>
					<td width="100%" class="blue_block" valign="top"><font class="text">
						<table width="100%">
							<tr><td width="14%"><img src="{$site_root}{$template_root}/images/icon_yf.gif" border="0"></td><td align="left" width="86%" class=red_sub_header>{$form.language}</td></tr>
							<tr>
								<td colspan="2" style="padding-top: 9px">
									<div align="center">
									<form name=lang_save action="{$form.action}" method=post>
										<input type="hidden" name="sel" value="saveAction">
										<input type="hidden" name="save_lang_code" value="{$save_lang_code}">

										<table class="table_main" cellspacing=1 cellpadding=5 width="100%">
											{foreach from=$meta name=metatags item=item}
											<tr>
												<td class="forumbodytext" align="right" width="10">{counter}</td>
												<td class="forumlittletext">
													<table width="100%" cellpadding="3" cellspacing="1" border="0">
														<tr>
															<td colspan="2" id="metatag_{$key}" style="padding-top: 10px; padding-bottom: 10px;"><b>{$item.page_name}</b></td>
														</tr>
														{if $use_global_seo && $item.page != 'main' && $item.page != 'location_city' && $item.page != 'location_region' && $item.page != 'location_country' && $item.page != 'viewprofile' && $item.page != 'news'}
														<tr>
															<td valign="top">{$lang.seo.seo_link}:</td>
															<td>
																<input name="seo_link[]" class="main_content_text" value="{$item.seo_link}">
															</td>
														</tr>
														{/if}
														<tr>
															<td width="5%" valign="top">{$lang.settings.meta_title}:</td>
															<td>
																{if $item.page == 'main' || $item.page == 'location_city' || $item.page == 'location_region' || $item.page == 'location_country' || $item.page == 'viewprofile' || $item.page == 'news'}
																	<input type="hidden" name="seo_link[]" class="main_content_text" value="{$item.seo_link}">
																{/if}

																<input type="hidden" name="pages[]" value="{$item.page}">
																{strip}
																<textarea name="title[]" rows="1" cols="45" class="main_content_text">
																	{if $item.page == 'main' && $item.title == ""}
																		{$lang.main_title}
																	{else}
																		{$item.title}
																	{/if}
																</textarea>
																{/strip}
															</td>
														</tr>
														<tr>
															<td valign="top">{$lang.settings.meta_description}:</td>
															<td>
																<textarea name="description[]" rows="1" cols="45" class="main_content_text">{$item.description}</textarea>
															</td>
														</tr>
														<tr>
															<td valign="top">{$lang.settings.meta_keywords}:</td>
															<td>
																<textarea name="keywords[]" rows="1" cols="45" class="main_content_text">{$item.keywords}</textarea>
															</td>
														</tr>
														{if $item.page == 'main_location' && $use_global_seo}
														<tr>
															<td valign="top">&nbsp;</td>
															<td>
																<input type="checkbox" name="settings_main_location" value="1" {if $location_type}checked{/if}> {$lang.seo.locations_links}<br />
																{$lang.seo.text} <input type="text" name="location_text" value="{$location_text}">&nbsp;
																<select name="location_type">
																	<option {if !$location_type}selected{/if} value="0">--</option>
																	<option {if $location_type==1}selected{/if} value="1">{$lang.country.country}</option>
																	<option {if $location_type==2}selected{/if} value="2">{$lang.country.region}</option>
																	<option {if $location_type==3}selected{/if} value="3">{$lang.country.city}</option>
																</select>
															</td>
														</tr>
														{/if}
													</table>
												</td>
											</tr>
											{/foreach}
										</table>
									</form>
									</div>
								</td>
							</tr>
						</table>
					</font></td>
				</tr>
				</table>
			</td></tr>
		</table>
	</center>
</body>
</html>