<div id=header><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td>

<a href="http://<?php echo $cdb[url]; ?>"><img src=images/logo.png border=0></a>

</td><td align=right><table border=0 cellspacing=0 cellpadding=3><tr><td align=left class=small><?php

if($lg=="ok") {

echo "Вы зашли как <img src=icon/01/10/05.png width=10 height=10 align=absmiddle> <b><a href=".genURL('user-'.urlencode($usrd[user]).'/','index.php?d=user&s='.urlencode($usrd[user])).">".ucfirst($usrd[user])."</a></b></td></tr><tr><td align=left class=small><img src=icon/02/10/14.png width=10 height=10 align=absmiddle> <a href=index.php?d=logout class=small>Выйти</a>";

} else {
echo "<img src=icon/02/10/13.png width=10 height=10 align=absmiddle> <a href=box.php?box=login&d="; if($d=="logout") echo ""; elseif($d=="anmelden") echo "zentrum"; else echo $d; echo "&s="; if($d=="anmelden") echo "profil"; else echo $s; echo "&u=".$u." rel=facebox class=small>Войти</a></td></tr><tr><td align=left class=small><img src=icon/01/10/18.png width=10 height=10 align=absmiddle> <a href=".genURL('anmelden-form/','index.php?d=anmelden')." class=small>Kostenlos anmelden</a>";
}


?></td></tr></table></td></tr></table></div>