<?php if ($my_id):?>
	<ul class="list-group" style="margin-bottom:0px;">
		<a href="/<?php echo $link[0]; ?>"><li class="list-group-item" style="padding-left:35px; font-size:12px; line-height:1.5;"><span id="id_u_news" class="badge" style="display:none;"></span><span class="icon-newspaper" style="position:absolute; margin-left:-28px; font-size:17px; color:#b3c0ca;"></span> <span class="user_top_menu"><?php echo $lang[8]; ?></span><span class="user_top_menu2">&nbsp;</span></li></a>
		<a onClick="page=1; more=false; token='<?php echo md5($my_id.'_otvety_'.$secret); ?>'; otvety();"><li class="list-group-item" style="padding-left:35px; font-size:12px; line-height:1.5; margin-top:5px;"><span id="id_u_otvety" class="badge" style="display:none;"></span><span class="icon-lightning" style="position:absolute; margin-left:-28px; font-size:17px; color:#b3c0ca;"></span> <span class="user_top_menu"><?php echo $lang[9]; ?></span><span class="user_top_menu2">&nbsp;</span></li></a>
		<a href="/<?php echo $link[1]; ?>"><li class="list-group-item" style="padding-left:35px; font-size:12px; line-height:1.5; margin-top:5px;"><span id="id_u_friends" class="badge" style="display:none;"></span><span class="icon-user2" style="position:absolute; margin-left:-28px; font-size:17px; color:#b3c0ca;"></span> <span class="user_top_menu"><?php echo $lang[10]; ?></span><span class="user_top_menu2">&nbsp;</span></li></a>
		<a onClick="page=1; more=false; token='<?php echo md5($my_id.'_visits_'.$secret); ?>'; visits();"><li class="list-group-item" style="padding-left:35px; font-size:12px; line-height:1.5; margin-top:5px;"><span id="id_u_visits" class="badge" style="display:none;"></span><span class="icon-star" style="position:absolute; margin-left:-28px; font-size:17px; color:#b3c0ca;"></span> <span class="user_top_menu"><?php echo $lang[11]; ?></span><span class="user_top_menu2">&nbsp;</span></li></a>
		<a href="/<?php echo $link[2]; ?>"><li class="list-group-item" style="padding-left:35px; font-size:12px; line-height:1.5; margin-top:5px;"><span id="id_u_dialogs" class="badge" style="display:none;"></span><span class="icon-envelope2" style="position:absolute; margin-left:-28px; margin-top:-1px; font-size:17px; color:#b3c0ca;"></span> <span class="user_top_menu"><?php echo $lang[12]; ?></span><span class="user_top_menu2">&nbsp;</span></li></a>
	</ul>	
	<?php endif;?>
	<?php if (!$my_id):?>
	<div class="form-group">
		<label style="font-size:11px;"><?php echo $lang[13]; ?>:</label>
		<input id="id_login" placeholder="<?php echo $lang[13]; ?>" class="form-control" data-toggle="tooltip" data-placement="top" style="margin-bottom:10px;" onkeydown="if(event.keyCode==13){log_in();}">
		<label style="font-size:11px;"><?php echo $lang[14]; ?>:</label>
		<input id="id_password" placeholder="<?php echo $lang[14]; ?>" class="form-control" data-toggle="tooltip" data-placement="top" type="password" style="margin-bottom:10px;" onkeydown="if(event.keyCode==13){log_in();}">
		<button type="button" class="btn btn-primary" style="width:100%; margin-bottom:10px;" onClick="log_in();"><?php echo $lang[15]; ?></button>
		<a href="/<?php echo $link[3]; ?>"><button type="button" class="btn btn-primary" style="width:100%; margin-bottom:10px;"><?php echo $lang[16]; ?></button></a>
		<p style="text-align:center;"><a href="/<?php echo $link[4]; ?>"><?php echo $lang[17]; ?></a></p>
	</div>
<?php endif;?>