<?php require('style/layout/header.php'); ?>
<div class="content_left">
<ul id="breadcrumbs">
<li><a href="index.php"><?php echo $lang['main_page']; ?></a></li>
<li><a href="myprofile.php" class="actual"><?php echo $lang['user_area']; ?></a></li>
</ul>
</div>
<div class="content_right"><form method="post" id="search" action="search.php?search">
<input type="text" name="search" placeholder="<?php echo $lang['enter_search_term']; ?>..." class="searchfield">
<input type="hidden" name="submit" value="<?php echo $lang['search']; ?>" alt="<?php echo $lang['search']; ?>">
</form>
</div>
<div class="clear"></div>
<div id="headline"> </div>
<?php
if(!isset($_SESSION['signed_in'])) {
echo '<p class="false">' . $lang['only_for_registered'] . '</p>
<p>' . $lang['you_have_to'] . ' <a href="signin.php">' . $lang['small_signin'] . '</a>. ' . $lang['not_yet'] . ' <a href="signup.php">' . $lang['registered'] . '</a>?</p>';
}else{
echo '<h1 align="center">' . $lang['user_area'] . '</h1>';
echo '<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="150" height="150" align="center" valign="middle"><a href="edit_profile.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/myprofile.png" alt="Mein Profil" vspace="5" border="0"><br>' . $lang['my_profile'] . '</div></a></td>
<td width="150" height="150" align="center" valign="middle"><a href="password.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/password.png" alt="Passwort verwalten" vspace="5" border="0"><br>' . $lang['password'] . '</div></a></td>
<td width="150" height="150" align="center" valign="middle"><a href="myposts.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/myposts.png" alt="Meine Beiträge" vspace="5" border="0"><br>' . $lang['my_posts'] . '</div></a></td>
<td width="150" height="150" align="center" valign="middle"><a href="userlist.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/userlist.png" alt="User Liste" vspace="5" border="0"><br>' . $lang['user_list'] . '</div></a></td>
</tr>
<tr>
<td width="150" height="150" align="center" valign="middle"><a href="inbox.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/inbox.png" alt="Posteingang" vspace="5" border="0"><br>' . $lang['inbox'] . '</div></a></td>
<td width="150" height="150" align="center" valign="middle"><a href="outbox.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/outbox.png" alt="Postausgang" vspace="5" border="0"><br>' . $lang['outbox'] . '</div></a></td>
<td width="150" height="150" align="center" valign="middle"><a href="create_pm.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/create_pm.png" alt="Neue PM" vspace="5" border="0"><br>' . $lang['new_pm'] . '</div></a></td>
<td width="150" height="150" align="center" valign="middle"><a href="statistic.php" class="myprofile_links"><div class="myprofile"><img src="style/images/profiles/statistic.png" alt="Statistik" vspace="5" border="0"><br>' . $lang['statistic'] . '</div></a></td>
</tr>
</table>';
}
?>
<?php require('style/layout/footer.php'); ?>