HTML-верх
Код:
<div style="position: absolute;top: 502px;left: 35px;width:290px;height:150px; font-family: arial; font-size: 11px; line-height: 11px; margin: 1px; position: absolute; "><B>СПРАВОЧНАЯ ИНФОРМАЦИЯ</B> <BR><BR>
<B>Жанр:</B> Реал-лайв, Голливуд<BR>
<B>Место действия:</B> Лос Анджелес<BR>
<B>Время в игре:</B> сентябрь, 2013 год<BR>
<B>Тип игры:</B> смешанный<BR>
<B>Рейтинг игры:</B> 18+<BR>
<B>Основан:</B> 20 января, 2010 г.<BR>
<B>Возрожден:</B> 2 сентября, 2013 г.<BR>
<BR>
<!-- Top.Roleplay.Ru -->
<script type="text/javascript" language="javascript">
var topRPGc="<img src='http://top.roleplay.ru/cgi-bin/iv.cgi?a=ins&id=21300&rnd=" + Math.random();
topRPGc += "&r="+escape(document.referrer)+"' width='1' height='1' border='0'><a href='http://top.roleplay.ru/21300' title='Рейтинг Ролевых Ресурсов - RPG TOP' target='top_'>"+
"<img src='http://img.rpgtop.su/rpgtop2.gif' alt='Рейтинг Ролевых Ресурсов - RPG TOP' border='0' width='88' height='31'></a> ";
document.write(topRPGc);
</script>
<noscript>
<img src='http://top.roleplay.ru/cgi-bin/iv.cgi?a=ins&id=21300' width='1' height='1' border='0'><a href='http://top.roleplay.ru/21300' target='_top'><img src='http://img.rpgtop.su/rpgtop2.gif' alt='Рейтинг Ролевых Ресурсов - RPG TOP' border='0' width='88' height='31'></a>
</noscript>
<!-- /Top.Roleplay.Ru -->
</div>
<style type="text/css">
li#navawards {display: none;}
</style>
<div style="position: absolute;
top: 10px;
left: 50px;
width:900px;
height:80px;">
</div>
<div style="position: absolute;
top: 673px;
left: 90px;
width:80px;
height:80px;">
</div>
<div style="position: absolute;
top: 673px;
left: 150px;
width:80px;
height:80px;">
</div>
<div style="position: absolute;
top: 210px;
left: 783px;
width:289px;
height:100px;">
</div>
<style type="text/css">
#pun-ulinks .container {
text-align: center;
position: absolute;
top: 735px;
left: 110px}</style>
<script type="text/javascript">
$(document).ready(function() {
$('.Hoverbuttons').each(function () {
var $span = $(this).css('opacity', 0.3);
$(this).hover(function () {
$span.stop().fadeTo(600, 1);
}, function () {
$span.stop().fadeTo(600, 0.3);
});
});
});
</script>
<style>#slideshow {
margin:440px;
width:590px;
height: 185px;
margin-left: -140px;
position:relative;
line-height: 10px;
}
#slideshow #slidesContainer {
margin:0 auto;
width:560px;
height: 185px;
overflow:auto; /* allow scrollbar */
position:relative;
}
#slideshow #slidesContainer .slide {
margin:0 auto;
width:560px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
height:100px;
}
/**
* Slideshow controls style rules.
*/
.control {
display:block;
width: 100px;
height: 163px;
text-indent:-10000px;
position:absolute;
cursor: pointer;
}
#leftControl {
top: 75px;
left: -15px;
background:transparent url(http://s5.uploads.ru/AmLqK.png) no-repeat 0 0;
}
#rightControl {
top: 75px;
right: -93px;
background:transparent url(http://s4.uploads.ru/DtjuY.png) no-repeat 0 0;
}
/*Style rules for Demo page */
* {
margin:0;
padding:0;
}
.slide h2, .slide p {
margin:15px;
}
.slide h2 {
letter-spacing:-1px;
}
.slide img {
float: center;
margin:0 2px;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
var currentPosition = 0;
var slideWidth = 560;
var slides = $('.slide');
var numberOfSlides = slides.length;
// Remove scrollbar in JS
$('#slidesContainer').css('overflow', 'hidden');
// Wrap all .slides with #slideInner div
slides
.wrapAll('<div id="slideInner"></div>')
// Float left to display horizontally, readjust .slides width
.css({
'float' : 'right',
'width' : slideWidth
});
// Set #slideInner width equal to total width of all slides
$('#slideInner').css('width', slideWidth * numberOfSlides);
// Insert controls in the DOM
$('#slideshow')
.prepend('<span class="control" id="leftControl">Clicking moves left</span>')
.append('<span class="control" id="rightControl">Clicking moves right</span>');
// Hide left arrow control on first load
manageControls(currentPosition);
// Create event listeners for .controls clicks
$('.control')
.bind('click', function(){
// Determine new position
currentPosition = ($(this).attr('id')=='rightControl') ? currentPosition+1 : currentPosition-1;
// Hide / show controls
manageControls(currentPosition);
// Move slideInner using margin-left
$('#slideInner').animate({
'marginLeft' : slideWidth*(-currentPosition)
});
});
// manageControls: Hides and Shows controls depending on currentPosition
function manageControls(position){
// Hide left arrow if position is first slide
if(position==0){ $('#leftControl').hide() } else{ $('#leftControl').show() }
// Hide right arrow if position is last slide
if(position==numberOfSlides-1){ $('#rightControl').hide() } else{ $('#rightControl').show() }
}
});
</script>
<div style="width: 560px; height:168px; text-align: ; border: none; font-family: arial; font-size: 11px; line-height: 2px; margin: 1px; position: absolute; margin-right: 30px;top: 40px; margin-left: 360px;">
<div id="pageContainer">
<!-- Slideshow HTML -->
<div id="slideshow">
<div id="slidesContainer">
<div class="slide">
<p>
<table width=100%><tr><td witdh=49%>
<center><B>5 ВЕЧЕРОВ С [ Джессикой Альбой ]</B> <BR><BR>
<a href="http://celebrityfrpg.ru/viewtopic.php?id=478" title="5 вечеров с Джессикой Альбой "><img src='http://s5.uploads.ru/Y8ZAD.png'" border=0 class="Hoverbuttons"></a>
<BR><BR>
<a href="http://celebrityfrpg.rusff.me/viewtopic.php?id=152#p1063" title="выбираем активистов недели">Голосование продолжается, успей оставить свой голос и повлиять на результаты голосования!</a></center>
</td><td width=2% margin: 1px;></td><td width=49%>
Soon
</td></tr></table>
</p>
</div>
<div class="slide">
<p>
<table width=100%><tr><td witdh=49%>
<center><B>ШИКАРНЕЙШИЕ ИГРОКИ НЕДЕЛИ</B> <BR> <BR>
<a href="http://celebrityfrpg.rusff.me/" title="Darren Criss"><img src='http://s5.uploads.ru/Hf4pI.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Doutzen Kroes"><img src='http://s5.uploads.ru/Qa5Lp.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Nathaniel Buzolic"><img src='http://s4.uploads.ru/bU3NS.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Naya Rivera"><img src='http://s4.uploads.ru/LiQrS.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Nina Dobrev"><img src='http://s5.uploads.ru/1GHk2.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a></center>
<BR> <BR>
<center><B>ОФИГЕННЫЕ ФЛУДЕРАСТЫ ДНЯ</B> <BR> <BR>
<a href="http://celebrityfrpg.rusff.me/" title="Darren Criss"><img src='http://s5.uploads.ru/zenN5.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Heather Morris"><img src='http://s5.uploads.ru/XRGWI.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Naya Rivera"><img src='http://s5.uploads.ru/eUnmZ.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Claire Holt-Morgan "><img src='http://s4.uploads.ru/shuQX.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a>
<a href="http://celebrityfrpg.rusff.me/" title="Arielle Kebbel"><img src='http://s4.uploads.ru/35Yfp.jpg'" border=0 class="Hoverbuttons" width="40px" height="40px"></a></center> <BR>
<center><a href="http://celebrityfrpg.rusff.me/viewtopic.php?id=287#p9501" title="выбираем активистов дня">голосование на выбор активистов дня</a></center>
</td><td width=2% margin: 1px;></td><td width=49%>
<center><B>ЛУЧШИЙ ПОСТ ДНЯ НАПИСАЛ</B> <BR>
<a href="http://celebrityfrpg.ru/viewtopic.php?id=528#p29235" title=" Heather Morris"><img src='http://s4.uploads.ru/asnbq.jpg'" border=0 class="Hoverbuttons" width="190px" height="86px"></a>
<BR>
<I>" Жизнь – штука переменчивая. Порой она дарит нам позитивные, добрые прекрасные моменты, которые хочется и хочется вспоминать. " (q) Heather Morris</I>
</center>
</td></tr></table>
</p>
</div>
<div class="slide">
<p>
<table width=100%><tr><td witdh=49% margin: 1px;>
<center><B>НЕМНОГО О ГОЛЛИВУДЕ</B> <BR></center>
<br> Голливуд – мир грез, сбывшихся мечт, фантазий, мир сказки и чудес, мир постоянного веселья и нескончаемого праздника, в котором стоит только что-то пожелать и… Закатайте губу. Голливуд – это в первую очередь тяжелая работа, постоянный недосып, жесткая диета, нервные срывы, измены, алкоголь, наркотики, папарацци, клуб 27. Еще не сбежали? <B>So, Celebrity Gossip - welcome to hell! </B> И не говорите потом, что мы вас не предупреждали.
<BR><BR>
<CENTER>
<a href="http://celebrityfrpg.ru/viewtopic.php?id=17#p17">Занятые</a>;
<a href="http://celebrityfrpg.ru/viewforum.php?id=4">Нужные</a>;
<a href="http://celebrityfrpg.ru/viewtopic.php?id=16">Правила</a>;
<a href="http://celebrityfrpg.ru/viewtopic.php?id=103" >Сюжет</a>;
<a href="http://celebrityfrpg.ru/viewtopic.php?id=22#p23" >Гостевая</a>
<BR><BR>
<a href="http://celebrityfrpg.ru/viewtopic.php?id=10#p24418"><font size="2" ><B><I>ВАЖНОЕ ОБЪЯВЛЕНИЕ</i></B></font></a></CENTER>
</td><td width=2% margin: 1px;></td><td width=49% margin: 1px;>
<center><B>ЖИЗНЬ НАШЕГО ФОРУМА</B> <BR></center>
<br>
<B> - 29/09/2013</B> - приобщаемся к общественной деятельности, дорогие. Совсем скоро будут приятные обновления, ну а пока - новое объявление!<a href="http://celebrityfrpg.ru/viewtopic.php?id=10#p22895" title="Блог администрации"><B>"Блог администрации""</B></a>
<br><BR>
<B> - 13/09/2013</B> - в пятницу 13-ого золотая осень добралась и до нас! Новый дизайн, новая атмосфера, всё в духе осени!<a href="http://celebrityfrpg.ru/viewtopic.php?id=322#p12183" title="Комментируем дизайн!"><B>"Новый дизайн "осень""</B></a>
<br><BR>
<HR>
<a href="http://celebrityfrpg.rusff.me/viewtopic.php?id=265"> • Поиск модераторов</a>
<BR>
<a href="http://celebrityfrpg.ru/viewtopic.php?id=425"> • Конкурс "Танцевальная лихорадка" [ голосование ]</a>
<BR>
</td></tr></table>
</p>
</div>
</div>
</div>
<!-- Slideshow HTML -->
</div></div>
<style type="text/css">
#pun_wrap #pun #pun-index #pun-status.section .container {display: none; }
#pun_wrap #pun #pun-index #pun-crumbs1.section .crumbs {display: none; }
</style>Код:
<script type="text/javascript">
var no=document.getElementById("pun-main");
if (document.URL.indexOf("profile.php")!=-1 && (GroupID == 6 || GroupID == 3 || GroupID == 3)){
no.innerHTML="<div id=\"pun-main\" class=\"main\"><h1><span>Информация</span></h1><div class=\"info\"><div class=\"container\">Страница доступна только принятым в игру участникам.</div></div></div>";
}
</script>
<script type="text/javascript">
var nrisunok="http://upforme.ru/uploads/0000/0a/f2/68797-1.gif";
if( (document.getElementById("navpm").innerHTML.indexOf("(") != -1))
{
document.getElementById("navpm").innerHTML="<img src='"+nrisunok+"'> "+document.getElementById("navpm").innerHTML;
};
</script>
<script type="text/javascript">
function select_text(elem) {
if(window.getSelection) {
var s=window.getSelection();
if(s.setBaseAndExtent){
s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1);
}
else {
var r=document.createRange();
r.selectNodeContents(elem);
s.removeAllRanges();
s.addRange(r);
}
}
else if(document.getSelection){
var s=document.getSelection();
var r=document.createRange();
r.selectNodeContents(elem);
s.removeAllRanges();
s.addRange(r);
}
else if(document.selection){
var r=document.body.createTextRange();
r.moveToElementText(elem);
r.select();
}
}
</script>
<script type="text/javascript">
var div = document.getElementById('pun-main').getElementsByTagName('div');
for(x in div){
if(div[x].className=='code-box'){
div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">Выделить код</a>';
}
}
</script>
<script>
var oldIMG="<td id=\"button-image\" title=\"Вставить картинку\"><img onclick=\"bbcode('[img]','[/img]')\" src=\"/i/blank.gif\"/><b><p style=\"z-index:20;position:absolute;height14px;margin:-15px 0 0 22px;\">2</p></b></td>"
$("#button-image").after(oldIMG);
</script>
<style>.Myimge {position:absolute;margin-top:0px;}</style>
<script type="text/javascript">
PiarNik="PR";
PiarPas="1111";
var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\
<form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\
<fieldset>\
<input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\
<input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\
<input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\
<input type=\"submit\" class=\"button\" name=\"login\"/>\
</fieldset>\
</form>\
</div>\
<span id=spMyimg><img class=\"Myimge\" title=\"Быстрый вход для 'Пиарщиков'\" onclick=\"PiarIn()\" src=\"http://s5.uploads.ru/ln78Y.png\" onmouseover=\"this.src='http://s5.uploads.ru/ln78Y.png' \" onmouseout=\"this.src='http://s5.uploads.ru/ln78Y.png'\" /></span>";
if($("#navlogin").html()!=null){
$("#navlogin").append(L) //navlogin
$("#PR_loginDiv #fld1").val(PiarNik)
$("#PR_loginDiv #fld2").val(PiarPas)
function PiarIn () {$("#PR_loginDiv input[type='submit']").click();}
}
</script>
<!--Кнопки вверх вниз-->
<div style="position:fixed; right
:0.5%; bottom: 45%;">
<a href=#top onClick="scrollTo(0,0); return false;" title="Вверх страницы">
<img src="http://s4.uploads.ru/TRJiE.png" alt="Вверх страницы" ></a>
<br/>
<a href=#top onClick="scrollTo(0, document.body.scrollHeight); return false;" title="Вниз страницы">
<img src="http://s5.uploads.ru/tp6dS.png" alt="Вниз страницы" ></a>
</div>
<!-- спойлер наград на Rusff в Профиле, в Топике -->
<style>
.post-author-Sp{
/*background-color:#!important;*/
}
img.aw{
background-color:#!important;
}
ul.wrapper{
margin-left:-15px;
width:167px!important;
margin-bottom:-15px;
margin-top:-15px;
display:none;
}
ul.wrapper,
ul.wrapper li.pa-awards{
border-color:transparent;
}
</style>
<script>
// кнопка - ссылка на Картинку
var Img="http://s5.uploads.ru/05by1.png";
wrapp1="<li class='post-author-Sp'><img class=aw style='cursor:pointer' src='";
wrappEnd="'><ul class=wrapper></ul></li>";
wrapp1=wrapp1+Img+wrappEnd;
$(window).load(function () {
$(".post .post-author .pa-awards").each(function() {
if($(this).css("display")!="none"){
$(this).before(wrapp1);a=$(this).parents('.post').find('.post-author-Sp ul')
$(this).appendTo(a)
}
});});
$(".post .post-author-Sp ").live("click", function(){
$(this).find('ul:first').toggle('slow')
});</script>
<!--Конец//=спойлер наград в Профиле, в Топике-->
<style>
.lastedit {display:none;}
</style>
<script type="text/javascript"><!--Своя картинка в каждую категорию -->
$(document).ready(function(){
myarray=new Array(
"Организация игры", "http://s4.uploads.ru/AXczZ.png",
"Твоя игра", "http://s5.uploads.ru/YR8NB.png",
"Лос-Анджелес", "http://s4.uploads.ru/0rmzk.png",
"Личные вещи", "http://s5.uploads.ru/lDnV0.png",
"Эпизоды и флэшбеки", "http://s5.uploads.ru/9ghH2.png",
"Творения умов", "http://s5.uploads.ru/kNHfS.png",
"Флуд", "http://s5.uploads.ru/M6ih2.png",
"Рекламный стенд", "http://s5.uploads.ru/WuzjG.png",
"Архив", "http://s5.uploads.ru/IPzVx.png"
)
$("#pun-index div.category h2,#pun-index #pun-stats h2").each(function (i) {
for(q=0;q<myarray.length;q++){
var cssObj = {
"height":"130px",
"background-color": "transparent",
"background-image":"url("+myarray[q+1]+")",
"background-position":"50% 50%",
"background-repeat":"no-repeat"
}
if($(this).children("span").text()==myarray[q])$(this).css(cssObj);
q++}
});
});
</script>
<script><!--Свои картинки в панель навигации со сменой картинки по наведению курсора" -->
navlinks=new Array(
"navindex", // Форум
"http://s5.uploads.ru/oDmtb.png","http://s5.uploads.ru/oDmtb.png",
"navuserlist", // Участники
"http://s5.uploads.ru/iME2d.png","http://s5.uploads.ru/iME2d.png",
"navsearch", // Поиск
"http://s4.uploads.ru/Nm61o.png","http://s4.uploads.ru/Nm61o.png",
"navprofile", // Профиль
"http://s5.uploads.ru/uP9BD.png","http://s5.uploads.ru/uP9BD.png",
"navpm", // Сообщения
"http://s5.uploads.ru/WEG2v.png","http://s5.uploads.ru/WEG2v.png",
"navadmin", // Администрирование
"http://s4.uploads.ru/x47h3.png","http://s4.uploads.ru/x47h3.png",
"navregister", // Регистрация
"http://s5.uploads.ru/DBqW5.png","http://s5.uploads.ru/DBqW5.png",
"navlogin", // Войти
"http://s4.uploads.ru/lkI19.png","http://s4.uploads.ru/lkI19.png",
"navlogout", // Выход
"http://s4.uploads.ru/xKErz.png","http://s4.uploads.ru/xKErz.png"
// !ПОСЛЕДНИЙ элемент без запятой
)
var s0,s1,s2,s3,i; for (i=0; i < navlinks.length; i++){s0=navlinks[i+1];s1="onmouseover=\"this.src='"+navlinks[i+2]+"'\""; s2="onmouseout=\"this.src='"+s0+"'\"";s3='<img class="navlinks" src="'+s0+'" '+s1+' '+s2+' border="0" />';$("#"+navlinks[i]+" a").html("<span>"+s3+"</span>");i++;i++; }
</script>
<script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld1")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>
<script>
var supermod = new Array("Ciara","Claire Holt-Morgan","Justin Bieber","Phoebe Tonkin","Darren Criss")
var mod=document.getElementsByTagName("span")
var str
for(x in mod) if(mod[x].className=="modlist"){
for(y in supermod)
if((pos=mod[x].innerHTML.indexOf(supermod[y]))!=-1)
mod[x].innerHTML=remName(mod[x].innerHTML,pos)
}
function remName(str,pos){
var pos1=str.indexOf("<A href"),pos2=str.indexOf("<A href",pos1+1)
if(pos2==-1) return("")
while(pos>pos2 && pos2!=-1){
pos1=pos2
pos2=str.indexOf("<A href",pos1+1)
}
if(pos2==-1){
pos2=str.length-1
pos1-=2
}
return (str.substring(0,pos1)+str.substring(pos2,str.length))
}
</script>















