<? $this->title->create($this->Language('Header data')); ?>

<?

$row = $this->settings->Data;

?>

<?

while($row2 = $this->language_menus->Assoc()){

	$selected = $_GET['get_language'] == $row2['key'] ? 'background:lightgrey;' : '';
	$selected = !$_GET['get_language'] && $_SESSION['language'] == $row2['key'] ? 'background:lightgrey;' : $selected;

	echo '<a href="'.$this->appendLink('?get_language='.$row2['key']).'" style="padding-right:15px;'.$selected.'">'.$row2['language'].'</a>';
}
echo '<br/><br/>';

?>
<form method="post">
<table class="header">
<tr>
	<th><?=$this->Language('Title', true);?></th>
	<td><input type="text" name="title" value="<?=$row['title'];?>"/></td>
</tr>
<tr>
	<th><?=$this->Language('Meta description', true);?></th>
	<td><textarea name="meta_description"><?=$row['meta_description'];?></textarea></td>
</tr>
<tr>
	<th><?=$this->Language('Meta keywords', true);?></th>
	<td><textarea name="meta_keywords"><?=$row['meta_keywords'];?></textarea></td>
</tr>
<tr>
	<th></th>
	<td><input type="submit" name="update" value="<?=$this->Language('Update');?>"/></td>
</tr>

</table>
</form>