$GLOBAL_TOP$
 <html>
<head><script type="text/javascript">
function getlinkurl(siteurl, user){
//* Copyright forucoz.com/ *//
user=user+"="; 
var ddl=""; 
if (siteurl!='') {
if (siteurl.indexOf (user, 0)!=-1){
var startpos=siteurl.indexOf(user, 0)+user.length; 
var endpos=siteurl.indexOf("&",startpos); 
if (endpos<startpos) {
endpos=siteurl.length;} 
var ddl=p.substring(startpos,endpos);} 
else {ddl=""; }}
else {ddl="";} return ddl;} 
var p=window.location.search; 
var ddl=getlinkurl(p, "user"); 
if (ddl=="") {}
</script>
$GLOBAL_PH$
<title>KR-Arts | Друзья пользователя</title>
<script>
var friend_tabs = ['friends_all_tab', 'friends_online_tab'];
</script>
</head>
<style type="text/css">@import url('http://kr-arts.3dn.ru/css/ajax_16.css') all; </style>
<body>
 
 <style type="text/css">
 .avatar img {width:80px;}
 </style>
 
<style type="text/css">
.groupAdmin {color:#FF0000;}
.groupFriends {color:#008000;}
.groupOther2 {color:#000;}
.groupBanned {text-decoration:line-through;}
 
 .add_menu a {display:block; padding:4px 10px; color:#000; width:150px; }
 .add_menu a:hover {color:#000; background:#FFF2D6;}
</style>
<style type="text/css">
#puzadpn {position:absolute; left:100px !important; z-index:80 !important; }
#uzadmp {padding-left:100px !important; background:url('/style/adminbar.png') repeat-x !important;}
 </style>
<style type="text/css">
 .left_menu a {display:block; text-align:right; padding:5px 20px 0 0px; color:#000; width:110px; height:21px; background:url('/style/personal_page/left-menu_li.png'); margin-bottom:2px;}
 .left_menu a:hover {color:#000; background-position:0 -26px;}
 .left_menu a:active, .left_menu a.current {color:#000; background-position:0 -52px;}
 .site_logo {position:absolute; top:1px; left:10px;}
 .mini_page {width:710px; position:relative; padding:0;}
 .page_header {background:url('/style/personal_page/top.png') no-repeat; width:800px; height:48px; position:relative;}
 .page_title {background:url('/style/personal_page/title.png') no-repeat; width:800px; height:24px; padding:5px 0 0 160px;}
 .page_content {background:url('/style/personal_page/right_block.png') repeat-y; width:800px; padding-left:150px;}
 .page_bottom {background:url('/style/personal_page/right_block-bottom.png'); width:800px; height:16px;}
 a.user_menu_button {color:#000; display:block; width:150px; height:21px; background:url('/style/personal_page/user_menu.png'); font-size:8pt; font-family:"tahoma", arial; font-weight:normal; padding-top:5px; margin-bottom:-1px;}
 a.user_menu_button:hover { text-decoration:none; color:#000; background-color:#fff; background-position:0px -52px;}
 a.user_menu_button:active { text-decoration:none; color:#000; background-color:#fff; background-position:0px -26px;}
 a.u_block-title {display:block; width:97%; padding:4px 5px 0 6px; height:18px; background:url('/style/personal_page/u_block-title.png'); color:#fff; margin-top:1px; margin-left:5px;}
 a.q_block-title {display:block; width:165px; padding:4px 5px 0 6px; height:18px; background:url('/style/personal_page/u_block-title.png'); color:#fff; margin-top:1px; margin-left:0px;}
 a.u_block-title:hover {background-position:0 -22px;}
 a.q_block-title:hover {background-position:0 -22px;}
 .u_block-content {border-bottom:1px solid #F2F2F2; width:97%; border-left:1px solid #F2F2F2; border-right:1px solid #F2F2F2; padding:5px 5px 5px 5px; margin-bottom:3px; margin-left:5px;}
 .u_title {color:#696969; width:110px;}
 .g_block-content {border-bottom:1px solid #F2F2F2; width:97%; border-left:1px solid #F2F2F2; border-right:1px solid #F2F2F2; padding:1px 1px 1px 1px; margin-bottom:1px; margin-left:1px;}
 .user_avatar img {max-width:180px;}
 .u_block-content img {max-width:430px;}
 .q_block-content img {max-width:430px;}
 
 .f_user_form {margin:0; padding:0; width:150px; height:26px; background:url('/style/personal_page/search_form.png'); position:absolute; top:10px; right:10px;}
 .search_user {border:0px; background:#fff; width:124px; height:22px; position:absolute; top:2px; left:2px; padding:2px 3px 2px 3px; color:#868686;}
 .search_user:focus {color:#000;}
 .search_btn {width:22px; height:22px; border:0px; cursor:pointer; background:url('/style/personal_page/search_button.png'); position:absolute; top:2px; right:2px;}
 .search_btn:hover {background-position:0 -22px;}
 .search_btn:active {background-position:0 -44px;}
 .menu5 {padding:0 0px 0 0; margin:0; list-style:none; height:48px;}
 .menu5 li {float:left;}
 .menu5 li a {background: url('/style/personal_page/li5.png');outline:none;display:block; float:left; height:48px; line-height:47px; color:#fff; text-transform: uppercase; text-decoration:none; font-family:tahoma, verdana, sans-serif; text-align:center; padding:0px 0px 0 11px; font-size:7pt; font-weight:bold;}
 .menu5 li a span {background:url('/style/personal_page/li5.png') no-repeat right top;float:left; display:block; padding:0px 18px 0 3px; }
 .menu5 li a:visited { background: url('/style/personal_page/li5.png');outline:none;display:block; float:left; height:48px; line-height:47px; color:#fff; text-decoration:none; font-family:tahoma, verdana, sans-serif; text-align:center; padding:0px 0px 0 11px;}
 .menu5 li a:visited span {background:url('/style/personal_page/li5.png') no-repeat right top;float:left; display:block; padding:0px 18px 0 3px; }
 .menu5 li a:hover {color:#fff; background: url('/style/personal_page/li5.png');background-position: 0% -48px;}
 .menu5 li a:hover span {background:url('/style/personal_page/li5.png') no-repeat ;background-position: 100% -48px;}
 .menu5 li a:active {outline:none;color:#fff; background: url('/style/personal_page/li5.png')left;background-position: 0% -48px;}
 .menu5 li a:active span {background:url('/style/personal_page/li5.png') no-repeat;background-position: 100% -48px;}
 
 #puzadpn {display:none;}
 </style>
 <center>
 <div class="mini_page">
<style type="text/css">#puzadpn {display:none;}</style>

<div class="page_header">
<div class="site_logo"><a href="/index/8"><img src="/style/logo.png" width="155" height="35" alt="KR-Arts" /></a></div>
<!-- Верхнее меню -->
<div style="position:absolute; right:165px; top:0;">
<ul class="menu5">
<li><a href="/"><span>Главная сайта</span></a></li>
<li><a href="/index/15-1"><span>Пользователи</span></a></li>
<li><a href="javascript://" onclick="if (confirm('Выйти?')) {location.href='/index/10'};"><span>Выход</span></a></li>
</ul>
<img src="/style/personal_page/menu_sep.png" alt="" style="position:absolute; right:0px; top:0; z-index:5;" />
</div>
<div class="f_user_form"><form method="post" action="/index/" name="fuser1" style="margin:0px"><input type="text" class="search_user" name="user" size="20" value="Введите логин..." onclick="if (this.value=='Введите логин...') {this.value='';}" onblur="if (this.value=='') {this.value='Введите логин...';}" maxlength="30" /> <input type="submit" class="search_btn" value="" /><input type="hidden" name="a" value="15" /></form></div>
</div>

<div class="left_menu" style="position:absolute; left:14px; top:55px; z-index:5;">
<a class="" href="/index/8">Моя страница</a>
<a class="current" href="http://kr-arts.3dn.ru/blog/0-0-0-0-17-$USER_ID$/?user=$USERNAME$">Мои друзья</a>
<a href="index/14">Мои Сообщения <?if($IS_NEW_PM$)?>($IS_NEW_PM$)<?endif?></a>
<a href="/index/15">Пользователи</a>
<a href="/index/11">Настройки</a>

</div>
 
 <table border="0" cellpadding="0" cellspacing="0" width="800">
 <tr><td valign="top" class="page_title"><b><script type="text/javascript">
//Script by Andrey
if (''+ddl+'' == '$USERNAME$') {
document.write('Мои друзья')
}
else {
document.write('<a href="http://kr-arts.3dn.ru/index/8-0-'+ddl+'">'+ddl+'</a> » Друзья')
}
</script></b></td></tr>
 <tr><td class="page_content">
<!--СТРАНИЦА-->
<div style="width:640px; margin-top:5px;" class="css_input">
$BODY$
<div class="catPages1" align="center" id="pagesBlock1" style="clear:both;"></div>
</div>
<!-------->
 </td></tr>
 <tr><td class="page_bottom"></td></tr>
 </table>
<!--УВАЖАЙ ЧУЖОЙ ТРУД! ИЛИ ТЫ НАГЛЫЙ ВОР. ДИЗАЙН САЙТА KR-Arts.3dn.ru!-->
<div style="margin:5px 0 8px 220px"><font color="#a9a9a9">Design by <a href="http://kr-arts.3dn.ru/" target="_blank">kr-master</a> |</font> <b><font color="red">Копирование/рип дизайна запрещено!</font></b><br>$POWERED_BY$<div>
 </div>
</center>
$GLOBAL_BODY$
 <script language="JavaScript"> 
 if('add' == 'add'){ 
 document.getElementById('blF11').value = parent.document.getElementById('idUser').innerHTML; 
 document.getElementById('doSmbBt').click();
parent.document.getElementById('freeEvent').innerHTML='';
 
 } 
 </script>



<script type="text/javascript">
function getlinkurl(siteurl, user){
//* Copyright forucoz.com/ *//
user=user+"="; 
var ddl=""; 
if (siteurl!='') {
if (siteurl.indexOf (user, 0)!=-1){
var startpos=siteurl.indexOf(user, 0)+user.length; 
var endpos=siteurl.indexOf("&",startpos); 
if (endpos<startpos) {
endpos=siteurl.length;} 
var ddl=p.substring(startpos,endpos);} 
else {ddl=""; }}
else {ddl="";} return ddl;} 
var p=window.location.search; 
var ddl=getlinkurl(p, "user"); 
if (ddl=="") {}
</script>
<script type='text/javascript'>
function openery(){
try {var tr=checksubmit();if(!tr){return false;}}catch(e){}
document.getElementById('blF7').disabled=true;
new _uWnd('addEnt','Добавление материала',-310,-100,{autosize:0,modal:1,closeonesc:1,resize:0},{form:'addEntForm'});
}
function addImgF(){
var num=parseInt(document.getElementById('numi').value);
if (num<5){if (num<1){num+=2;}else {num+=1;}var nnum=num-1;document.getElementById('imblock'+nnum).innerHTML+='<span style="padding:0 7px 0 0;">['+num+']</span> <input type="file" id="fln'+num+'" name="file'+num+'" size="20" onchange="getimage('+num+');"><span id="iCode'+num+'"></span><div id="imblock'+num+'"></div>'; document.getElementById('numi').value=num;}
if (num>=5) {document.getElementById('iplus').innerHTML='<span style="padding:0 7px 0 0;">[1]</span> ';}
}

function getimage(n){
var t = document.getElementById('fln'+n);
if (t.value){
ext = new Array('png','jpg','gif','jpeg','jpe');
var img = t.value.replace(/\\/g,'/');
var pic = img.toLowerCase();
var ok=0;
for (i=0;i<ext.length;i++){m = pic.indexOf('.' + ext[i]);if (m != -1) {ok=1;break;}}
if (ok==1){var code='$IMAGE'+n+'$'; document.getElementById('iCode'+n).innerHTML='&nbsp;<input type="text" readonly onClick="select(this)" name="h1" value="'+code+'" title="Вставьте этот код в любое место сообщения" size="'+(code.length)+'" style="font-family:\'courier new\';direction:ltr;text-align:center;background:#F0F0F0;color:#0000FF;border:1px inset"> ';}
else {document.getElementById('iCode'+n).innerHTML='';_uWnd.alert('Недопустимый формат изображения','',{w:230,h:80,tm:3000});}}
else {document.getElementById('iCode'+n).innerHTML='';}
}

</script>
<script type="text/javascript">
 var a = document.getElementsByTagName('a');
 for (var i = 0; i < a.length; i++) {
 if (a[i].title == 'Нажмите, для просмотра в полном размере...') {
 with (a[i]) removeAttribute('target'), rel = 'lightbox';
 };
 };
</script>
<script type="text/javascript">
 // Replase Code
 jQuery('div.bbCodeName').each(function(){
 jQuery(this).html(jQuery(this).html().replace('Code','Код'))
 });
 </script>
<script type="text/javascript">
<!--
document.getElementById('nav_loading').style.display='none'; document.getElementById('nav_iconka').style.display='';
//-->
</script><script type="text/javascript">
document.getElementById('blF1').value = 'User: '+ddl+''
document.getElementById('blF11').value = ''+ddl+''
document.getElementById('doSmbBt').click();
</script>

<script type="text/javascript">
 if (''+ddl+'' == '$USERNAME$') {document.getElementById('friends').id = 'current' ; }
</script>

 

 
 
<script type="text/javascript">
 jQuery('div.noEntry').each(function(){
 jQuery(this).html(jQuery(this).html().replace('Не найдено материалов доступных для просмотра','<h2>Добро пожаловать</h2><hr>Чтобы добавить друга, кликните ссылку "Добавить в друзья" под его аватаром.<br><br><br><br>'))
 });

</script>
 </body>
 </html>