<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
 <meta http-equiv="content-type" content="text/html;charset=windows-1251">
 <link type="text/css" rel="StyleSheet" href="/new_shab/css/main.css" />
<link rel="stylesheet" href="http://usocial.ru/new_shab/css/tabs.css" />
<link rel="stylesheet" href="http://usocial.ru/new_shab/css/games.css" />
<script src="http://usocial.ru/js/lib.js"></script>
<link type="text/css" rel="StyleSheet" href="/css/bt.css" />
<title>
 uSocial
 </title>
<style>
.blogs{background:#FFF;border-top:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2;}
.stt{background:#FFF;border-top:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2;}
</style>
 </head>
 <body>
 <div class="main">
 <div class="top">
 $GLOBAL_AHEADER$
 <div class="cont">
 <table width="100%" class="collapse">
 <tr>
 <td class="rightb" valign="top">
<div id="bgpay"><br><div style="float:left;"><div style="padding-left:10px;"><div style="color: rgb(38, 88, 134);font-size: 12px;font-weight:bold;">$ENTRY_TITLE$<?if($USER_LOGGED_IN$)?> | <a href="javascript://" onclick="umuser();"><u>Пригласить друзей</u></a><?endif?></div> </div>
</div><ul class="flatTabs"><span class="flatTab" style="float:right;"><a href="http://usocial.ru/stuff/0-0-0-0-1">Добавить приложение</a></span></ul>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">

<?if($FILE_DIRECT_URL$)?>
<div style="text-align:center;padding-top:15px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash6/cabs/swflash.cab#version=6.0.0.0" width="100" height="100"> <param name="movie" value="ываываыва"> <param name="play" value="true"> <param name="loop" value="true"> <param name="WMode" value="Opaque"> <param name="quality" value="high"> <param name="bgcolor" value=""> <param name="align" value=""> <embed src="$FILE_DIRECT_URL$" play="true" loop="true" wmode="Opaque" quality="high" bgcolor="" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" align="" height="<?if($PLAYZONE_H$)?>$PLAYZONE_H$<?else?>400<?endif?>" width="<?if($PLAYZONE_W$)?>$PLAYZONE_W$<?else?>500<?endif?>"></object></div>
<?else?>
<?if($LINK_PC$)?><div style="text-align:center;padding-top:15px;"><iframe src="$LINK_PC$" height="<?if($PLAYZONE_H$)?>$PLAYZONE_H$<?else?>450<?endif?>" width="<?if($PLAYZONE_W$)?>$PLAYZONE_W$<?else?>580<?endif?>" id="playerswf" name="playerswf" frameborder="0" scrolling="no"></iframe></div><?endif?>
<?endif?>
<br><br><div style="padding-left:8px;padding-right:8px;background:#ffffff;padding-top:10px;padding-bottom:10px;border-top:1px solid #dae1e8;border-bottom:1px solid #dae1e8;">$BRIEF$</div><br>
<br>$COM_BODY$
<br><div style="padding-left:10px;padding-right:8px;padding-bottom:17px;">$COM_ADD_FORM$</div>
</td>

</tr>
</table>
</td>
</tr>
</table>
</td>
 </tr>
 </table>
 </div>
 </div>
 </div>
 $GLOBAL_BFOOTER$
<div class="addmessageuser" id="najax" style="top:150px;width:550px;margin-right:50%;display:none;"><div class="najaxtopa"><div class="najaxtop"><span id="najaxtopt">Пригласить друзей</span><span id="najaxtopshadow">Пригласить друзей</span></div></div><div class="najaxopt" id="najaxoptId"><div id="messageuserload" style="padding:10px 0;display:block;" align="center"><img src="/img/load.gif"/></div><div id="messageuserTxt" style="padding:10px;overflow-y:scroll;max-height:250px;display:none;">
<span class="friendsget"></span>
<div id="nofriends"></div>
</div></div><div class="najaxbottom"><div class="najaxbuttons"><a href="javascript://" onclick="najaxclose();$('.addmessageuser').hide();"><div class="btnNa"><div class="btnN" onmouseout="chNMover();" onmouseover="chNHover();">Отмена</div></div></a> </div></div></div>
<script>

function umuser() {
 $('.addmessageuser').show();
 setTimeout('ge("messageuserload").style.display="none";ge("messageuserTxt").style.display="block";', 400);
 return false;
};

$.get('/news/0-0-0-0-17', function (data) {
 $('.friendsout', data).each(function () {
 $('.friendsget').after($(this).html());
 });
});
 function invite(nickname,class) {
 if(class.indexOf('sfak')!=-1){
 hrf = window.location.href;
 $.post('/index/', {
 s: nickname,
 subject: 'Приглашение в приложение',
 message: 'Я приглашаю тебя в приложения [url=$ENTRY_URL$][b]$ENTRY_TITLE$[/b][/url].',
 a: 18
 },
 function (data) {
 var rs = $('cmd[t="eMessage"][p="innerHTML"]', data).text().indexOf('Сообщение успешно отправлено')!=-1?'<font color="blue">Приглашение отправлено</font>':$('cmd[t="eMessage"][p="innerHTML"]', data).text();
 });
 }
 }
</script>
<script>
$('#nofriends').load('/index/8 #nofriends1');
</script>
<style>
.friends2 {
 width: auto;
 height: auto;
 display: inline-block;
 border: 1px solid #FFF;
 cursor: pointer;
 padding-right: 45px;
 padding-top: 3px;
 padding-left: 3px;
 padding-bottom: 5px;
margin-bottom:2px;
 color: black;
}

.sfak {
 background: url(http://ucooz.ucoz.ru/dsf500.png) !important;
 border: 1px solid #3b6798 !important;
 padding-right: 45px !important;
 padding-top: 3px !important;
 padding-left: 3px !important;
 padding-bottom: 5px !important;
margin-bottom:2px !important;
 color: white !important;
 display: inline-block !important;
 width: auto !important;
 height: auto !important;
}

#friends1:hover {
 background: url(http://ucooz.ucoz.ru/bapp.png);
 border: 1px solid #c3c8cc;
padding-right:45px;
padding-top:3px;
padding-left:3px;
padding-bottom:5px;
margin-bottom:2px;
 color: black;
 display: inline-block;
 width: auto;
 height: auto;
}

.qwa {
 border: 1px solid #a2adb5;
 padding-top: 2px;
 padding-left: 2px;
 padding-right: 2px;
 padding-bottom: 2px;
}
</style>
 </body>

</html>