Файл: core/cuctema/function/logo_nick2.php
Строк: 98
<?
function logo2()
{
global $user;
if ($user['sand']==1){
if (isset($user))
{
?>
<style>
#logo_panel {
background: #FFFFFF;
border-top: 1px solid #CCCACA;
border-right: 1px solid #CCCACA;
border-left: 1px solid #CCCACA;
padding: 7px 10px;
}
.overfl_hid, #logo_panel, .pre_content_wrap, .preview_widget div, .preview_widget, .bookmark_block, #mads {
overflow: hidden;
}
.lh150, #logo_panel {
line-height: 150%;
}
.left2, #logo_link, .edit_bokkmark_item, .item_pic img {
float: left;
}
.middle, a.icolink, a.iconized, img.icon {
vertical-align: middle;
}
.right2, .authors_comment, .file_size, .service_information, .comment_date, .percentage, div.date {
float: right;
}
.service_links_block {
color: #B3B3B3;
}
a.service_link, a.service_link span, .service_item {
color: #006666;
}
.loool1 {
background: -o-linear-gradient(top, #7C9AD6, #52668E) transparent;
padding:4px 2px;
display: block;
padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px;
}
</style>
<?if ($user['id']==6){?>
<div style="
background: -o-linear-gradient(top, #7C9AD6, #52668E) transparent;
color: yellow;
padding:0px 0px 0px 0px;
margin: 0px;
line-height: 19px;
"> <div class="menu_icon">
<table style="width:100%" cellspacing="0" cellpadding="0"><tr>
<td style="vertical-align:top;width:24%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/"style="text-align:center;display:block;padding:5px;font-size: small;">7emka</a></td>
<td style="vertical-align:top;width:24%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/mysite/?name=<?echo $user['nick']?>"style="text-align:center;display:block;padding:5px;font-size: small;"><?echo $user['nick']?></a></td></tr></table></div>
<?/*?>
<table style='width:100%' cellspacing='0' cellpadding='0'><tr>
<td style="vertical-align:top;width:19%;border-right:solid; border-width:1px">
<a href="http://7emka.ru?sid=&" class="loool1"><center>7emka.ru<center></a>
</td>
<td style="vertical-align:top;width:19%;border-right:solid; border-width:1px">
<a href="/mysite/?name=<?echo $user['nick']?>" class="loool1"><center><?echo $user['nick']?><center></a>
</td>
</tr></table>
<?*/?>
<?}else{?>
<div id="logo_panel" style="line-height:normal;" >
<span class="left2">
<a href="http://7emka.ru?sid=&"><img id="site_logo" src="/index/include/logo.png" alt="7emka" class="middle" style="margin-top:-2px;" /></a>
</span>
<span class="right2 top_user_links service_links_block" style="margin-top:7px;">
<a href="/mysite/?name=<?echo $user['nick']?>&" class="user_link ">
<span style="color:#79358c"><?echo $user['nick']?></span></a>
<?
if ($_SERVER['PHP_SELF']=='/index.php') {
?>
| <a href="/exit.php"><span style="color: #006666;">Выход</span></a>
<?}?>
</span>
</div>
<?}?>
<?
}
}
}
?>