function content1(){ /*==123==;
<style>
#pun-main >div> h1,
#pun-pages >*:not(#pun-main){
display:none!important;
}
#pun {
display:none;
}
</style>
<ul class="main">
<li id="menu_portal"></li>
<li id="menu_forum">
<ul class="sub" id="sub_forum"></ul>
</li>
<li id="menu_user"><a id="menu_user_naz" href="/userlist.php"></a>
<ul id="users" class="sub"></ul>
</li>
<li><a id="navprofile1" href="#"></a>
<ul class="sub">
<li><a id="navprofile2" href="#"></a>
<li><a id="navprofile3" href="#"></a>
<li><a id="navprofile4" href="#"></a>
<li><a id="navprofile5" href="#"></a>
<li><a id="navprofile6" href="#"></a>
<li><a id="navprofile7" href="#"></a>
<li><a id="navprofile8" href="#"></a>
<li><a id="navprofile9" href="#"></a>
</ul>
</li>
<li class="fr"><a href="#">Цвет меню</a>
<ul class="sub_rt">
<li><a href="#" alt="st_red" onclick="setColor(this);return false">Красный</a></li>
<li><a href="#" alt="st_blue" onclick="setColor(this);return false">Голубой</a></li>
<li><a href="#" alt="st_chocolate" onclick="setColor(this);return false">Шоколодный</a></li>
<li><a href="#" alt="st_gray" onclick="setColor(this);return false">Серый</a></li>
<li><a href="#" alt="st_green" onclick="setColor(this);return false">Зеленый</a></li>
<li><a href="#" alt="st_orange" onclick="setColor(this);return false">Оранжевый</a></li>
<li><a href="#" alt="st_violet" onclick="setColor(this);return false">Фиолетовый</a></li>
</ul>
</li>
<li class="fr"><a id="log" href="#"></a>
<ul class="sub_rt">
<li id="formal" class="form">
</li>
</ul>
<li class="fr"><a id="vyhod" href="#"></a></li>
</li>
<li class="fr"><a href="#">Поиск</a>
<ul class="sub_rt">
<li class="form">
<form id="punbbsearch" class="container" method="get" action="/search.php">
<input type="hidden" name="action" value="search">
<input class="search" type="text" id="fld1" name="keywords" placeholder="Search..."/>
<button class="searchbtn" type="submit" name="search" accesskey="s" title="Найти">Search</button>
</form>
</li>
<li style="width: 180px;"><a href="/search.php">Подробный поиск</a></li>
</ul>
</li>
<li class="fr"><a id="navpmA" href="#"></a>
<ul class="sub_rt">
<li><a href="#">Папки</a><span class="leftarrow"></span>
<ul class="sub_2nd_rt">
<li><a id="navpm0" href="#"></a></li>
<li><a id="navpm1" href="#"></a></li>
</ul>
</li>
<li><a href="#">Действия</a><span class="leftarrow"></span>
<ul class="sub_2nd_rt">
<li><a id="navpm2" href="#"></a></li>
<li><a id="navpm3" href="#"></a></li>
</ul>
</li>
</li>
</ul>
==123==;*/
} content1 = content1.toString().split('==123==;')[1];
$(content1).appendTo('#nav');content1=null;
//End - Вставка Навигации
function content2(){ /*==123==;
<center>
<div style='width:100%'>
<div class='nov' id='name_ob'></div><br>
<div id='ob_nov' style='text-align:left;'></div>
<div class='nov'>Новости</div>
</div>
</center>
<div id='paging_container1' class='container'>
<div class='page_navigation'></div>
<div class='content'>
<div id="bib1"></div>
<div id="bib2"></div>
<div id="bib3"></div>
<div id="bib4"></div>
<div id="bib5"></div>
<div id="bib6"></div>
<div id="bib7"></div>
<div id="bib8"></div>
<div id="bib9"></div>
<div id="bib10"></div>
</div>
<div class='page_navigation'></div>
</div>
<!--Конец Новости с Пагинатором-->
==123==;*/
} content2 = content2.toString().split('==123==;')[1];
$(content2).appendTo('#news-and-pag');content2=null;
//End - Вставка Новости с Пагинатором
function content(){ /*==123==;
<style type="text/css">
/¤¤ Стиль HTML5 menu. ¤¤/
ul, li, p, h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
list-style-type: none;
}
div#wrapper {
width: 100%;
margin: 0 auto;
}
div#nav ul.main li.fr {
float: right;
}
div#nav {
width: 100%;
clear: both;
}
div#nav ul.main li {
float: left;
position: relative;
}
div#nav ul.main li:hover {
-webkit-box-shadow: inset 0 4px 10px #222;
-moz-box-shadow: inset 0 4px 10px #222;
box-shadow: inset 0 4px 10px #222;
}
div#nav ul.main li:first-child {
}
div#nav ul.main li a {
display: block;
color: #F4F4F4;
font: normal 12px/50px Arial, sans-serif;
text-decoration: none;
padding: 0 15px;
position: relative;
}
div#nav ul.main {
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, rgb(45,56,58)), color-stop(100%, rgb(21,30,33)));
background: -webkit-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: -moz-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: -o-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: -ms-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d383a', endColorstr='#151e21',GradientType=0 );
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
-o-border-radius: 4px 4px 0 0;
-ms-border-radius: 4px 4px 0 0;
-khtml-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
float: left;
height: 50px;
width: 100%;
padding: 0;
background: rgb(45,56,58);
}
div#nav ul.main li:hover:after {
content: '';
position: absolute;
bottom: 0;
left: 44%;
border-style: solid;
border-width: 6px;
width: 0;
height: 0;
}
div#nav ul.main li ul.sub, div#nav ul.main li ul.sub_rt {
display: none;
}
div#nav ul.main li:hover ul.sub {
display: block;
position: absolute;
top: 50px;
left: 0;
}
div#nav ul.main li:hover ul.sub_rt {
display: block;
position: absolute;
top: 50px;
right: 0;
}
div#nav ul.main li ul.sub li, div#nav ul.main li ul.sub_rt li {
width: 140px;
position: relative;
}
div#nav ul.main li ul.sub li:first-child, div#nav ul.main li ul.sub_rt li:first-child {
margin-left: 0;
}
div#nav ul.main li ul.sub li:last-child, div#nav ul.main li ul.sub_rt li:last-child {
border-bottom: none;
}
div#nav ul.main li ul.sub li:hover, div#nav ul.main li ul.sub_rt li:hover {
-webkit-box-shadow: 0 0 0 #000;
-moz-box-shadow: 0 0 0 #000;
box-shadow: 0 0 0 #000;
}
div#nav ul.main li ul.sub li:hover:after, div#nav ul.main li ul.sub_rt li:hover:after {
content: '';
position: absolute;
border: 0;
}
div#nav ul.main li ul.sub li a, div#nav ul.main li ul.sub_rt li a {
display: block;
color: #F4F4F4;
font: normal 11px/30px Arial, sans-serif;
}
div#nav ul.main li ul.sub li span.rightarrow {
position: absolute;
z-index: 500;
right: 0px;
top: 10px;
border-style: solid;
border-width: 6px;
width: 0;
height: 0;
}
div#nav ul.main li ul.sub_rt li span.leftarrow {
position: absolute;
z-index: 500;
right: 6px;
top: 10px;
border-style: solid;
border-width: 6px;
width: 0;
height: 0;
}
div#nav ul.main li ul.sub li ul.sub_2nd, div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
display: none;
}
div#nav ul.main li ul.sub li:hover ul.sub_2nd {
display: block;
position: absolute;
z-index: 55;
top: -3px;
left: 140px;
}
div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
display: block;
position: absolute;
z-index: 777;
top: -3px;
right: 140px;
}
div#nav ul.main li ul.sub_rt li.form {
padding: 0 15px;
width: 150px;
font: normal 11px/24px Arial, sans-serif;
}
li.form input[type=text], li.form input[type=password] {
width: 138px;
height: 20px;
padding: 0 5px;
color: #000;
font: normal 11px Arial, sans-serif;
font-style: italic;
margin: 0;
-webkit-box-shadow: inset 3px 3px 3px #CCCCCC;
-moz-box-shadow: inset 3px 3px 3px #CCCCCC;
box-shadow: inset 3px 3px 3px #CCCCCC;
}
li.form input[type=text]:focus, li.form input[type=password]:focus {
outline: none;
}
li.form button {
padding: 3px 9px;
border: 1px solid #222;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-o-border-radius: 3px;
-ms-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
margin-top: 7px;
margin-bottom: 10px;
color: #F4F4F4;
font: normal 11px Arial, sans-serif;
position: relative;
cursor: pointer;
outline: none;
background: rgb(45,56,58);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, rgb(45,56,58)), color-stop(100%, rgb(21,30,33)));
background: -webkit-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: -moz-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: -o-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: -ms-linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
background: linear-gradient(top, rgb(45,56,58) 1%, rgb(21,30,33) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d383a', endColorstr='#151e21',GradientType=0 );
}
li.form button:after {
content: '\00a0';
position: absolute;
display: block;
background: transparent;
top: 0;
left: 0;
width: 100%;
z-index: 999;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-o-border-radius: 3px;
-ms-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
border-top: 1px solid #555555;
}
li.form button:after {
content: '\00a0';
position: absolute;
display: block;
background: transparent;
top: 0;
left: 0;
width: 100%;
z-index: 999;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-o-border-radius: 3px;
-ms-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
border-top: 1px solid #555555;
}
li.form input[type=checkbox] {
position: relative;
top: 3px;
}
li.form {
width: 200px;
}
li.form input.search {
width: 83px;
float: left;
margin-top: 7px;
}
li.form button.searchbtn {
float: left;
border-left: 0;
-webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0;
-o-border-radius: 0 3px 3px 0;
-ms-border-radius: 0 3px 3px 0;
-khtml-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
margin-left: -1px;
}
li.form label {
color: #F4F4F4;
}
.st_red div#nav ul.main, .st_red div#nav ul.main li ul.sub,
.st_red div#nav ul.main li ul.sub_rt,
.st_red div#nav ul.main li ul.sub li ul.sub_2nd,
.st_red div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #D30E14;
}
.st_red div#nav ul.main li:hover:after {
border-color: transparent transparent #D30E14 transparent;
}
.st_red div#nav ul.main li ul.sub,
.st_red div#nav ul.main li ul.sub_rt< .st_red div#nav ul.main li ul.sub li ul.sub_2nd,
.st_red div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #D30E14;
}
.st_red div#nav ul.main li:hover ul.sub,
.st_red div#nav ul.main li:hover ul.sub_rt,
.st_red div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_red div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_red div#nav ul.main li ul.sub_rt li.form,
.st_red div#nav ul.main li ul.sub_rt li.form:hover {
background: #D30E14;
}
.st_red div#nav ul.main li ul.sub li, .st_red div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #FF473F;
}
.st_red div#nav ul.main li ul.sub li:hover,
.st_red div#nav ul.main li ul.sub_rt li:hover,
.st_red div#nav ul.main li ul.sub li a:hover,
.st_red div#nav ul.main li ul.sub_rt li a:hover {
background: #990000;
}
.st_red div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #990000;
}
.st_red div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #990000 transparent transparent;
}
.st_red li.form input[type=text], .st_red li.form input[type=password] {
border: 1px solid #A9070D;
}
.st_blue div#nav ul.main, .st_blue div#nav ul.main li ul.sub,
.st_blue div#nav ul.main li ul.sub_rt,
.st_blue div#nav ul.main li ul.sub li ul.sub_2nd,
.st_blue div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #0FA1DD;
}
.st_blue div#nav ul.main li:hover:after {
border-color: transparent transparent #0FA1DD transparent;
}
.st_blue div#nav ul.main li ul.sub, .st_blue div#nav ul.main li ul.sub_rt,
.st_blue div#nav ul.main li ul.sub li ul.sub_2nd,
.st_blue div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #0FA1DD;
}
.st_blue div#nav ul.main li:hover ul.sub,
.st_blue div#nav ul.main li:hover ul.sub_rt,
.st_blue div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_blue div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_blue div#nav ul.main li ul.sub_rt li.form,
.st_blue div#nav ul.main li ul.sub_rt li.form:hover {
background: #0FA1DD;
}
.st_blue div#nav ul.main li ul.sub li, .st_blue div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #83D6F7;
}
.st_blue div#nav ul.main li ul.sub li:hover,
.st_blue div#nav ul.main li ul.sub_rt li:hover,
.st_blue div#nav ul.main li ul.sub li a:hover,
.st_blue div#nav ul.main li ul.sub_rt li a:hover {
background: #0B79A5;
}
.st_blue div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #0B79A5;
}
.st_blue div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #0B79A5 transparent transparent;
}
.st_blue li.form input[type=text], .st_blue li.form input[type=password] {
border: 1px solid #0B79A5;
}
.st_chocolate div#nav ul.main, .st_chocolate div#nav ul.main li ul.sub,
.st_chocolate div#nav ul.main li ul.sub_rt,
.st_chocolate div#nav ul.main li ul.sub li ul.sub_2nd,
.st_chocolate div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #6C442E;
}
.st_chocolate div#nav ul.main li:hover:after {
border-color: transparent transparent #6C442E transparent;
}
.st_chocolate div#nav ul.main li ul.sub,
.st_chocolate div#nav ul.main li ul.sub_rt,
.st_chocolate div#nav ul.main li ul.sub li ul.sub_2nd,
.st_chocolate div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #6C442E;
}
.st_chocolate div#nav ul.main li:hover ul.sub,
.st_chocolate div#nav ul.main li:hover ul.sub_rt,
.st_chocolate div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_chocolate div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_chocolate div#nav ul.main li ul.sub_rt li.form,
.st_chocolate div#nav ul.main li ul.sub_rt li.form:hover {
background: #6C442E;
}
.st_chocolate div#nav ul.main li ul.sub li, .st_chocolate div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #BB7F5F;
}
.st_chocolate div#nav ul.main li ul.sub li:hover,
.st_chocolate div#nav ul.main li ul.sub_rt li:hover,
.st_chocolate div#nav ul.main li ul.sub li a:hover,
.st_chocolate div#nav ul.main li ul.sub_rt li a:hover {
background: #432A1C;
}
.st_chocolate div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #432A1C;
}
.st_chocolate div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #432A1C transparent transparent;
}
.st_chocolate li.form input[type=text], .st_chocolate li.form input[type=password] {
border: 1px solid #432A1C;
}
.st_gray div#nav ul.main, .st_gray div#nav ul.main li ul.sub,
.st_gray div#nav ul.main li ul.sub_rt,
.st_gray div#nav ul.main li ul.sub li ul.sub_2nd,
.st_gray div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #898989;
}
.st_gray div#nav ul.main li:hover:after {
border-color: transparent transparent #898989 transparent;
}
.st_gray div#nav ul.main li ul.sub,
.st_gray div#nav ul.main li ul.sub_rt,
.st_gray div#nav ul.main li ul.sub li ul.sub_2nd,
.st_gray div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #898989;
}
.st_gray div#nav ul.main li:hover ul.sub,
.st_gray div#nav ul.main li:hover ul.sub_rt,
.st_gray div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_gray div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_gray div#nav ul.main li ul.sub_rt li.form,
.st_gray div#nav ul.main li ul.sub_rt li.form:hover {
background: #898989;
}
.st_gray div#nav ul.main li ul.sub li, .st_gray div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #BDBDBD;
}
.st_gray div#nav ul.main li ul.sub li:hover,
.st_gray div#nav ul.main li ul.sub_rt li:hover,
.st_gray div#nav ul.main li ul.sub li a:hover,
.st_gray div#nav ul.main li ul.sub_rt li a:hover {
background: #676767;
}
.st_gray div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #676767;
}
.st_gray div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #676767 transparent transparent;
}
.st_gray li.form input[type=text], .st_gray li.form input[type=password] {
border: 1px solid #676767;
}
.st_green div#nav ul.main, .st_green div#nav ul.main li ul.sub,
.st_green div#nav ul.main li ul.sub_rt,
.st_green div#nav ul.main li ul.sub li ul.sub_2nd,
.st_green div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #72B735;
}
.st_green div#nav ul.main li:hover:after {
border-color: transparent transparent #72B735 transparent;
}
.st_green div#nav ul.main li ul.sub,
.st_green div#nav ul.main li ul.sub_rt,
.st_green div#nav ul.main li ul.sub li ul.sub_2nd,
.st_green div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #72B735;
}
.st_green div#nav ul.main li:hover ul.sub,
.st_green div#nav ul.main li:hover ul.sub_rt,
.st_green div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_green div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_green div#nav ul.main li ul.sub_rt li.form,
.st_green div#nav ul.main li ul.sub_rt li.form:hover {
background: #72B735;
}
.st_green div#nav ul.main li ul.sub li, .st_green div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #C2EE6A;
}
.st_green div#nav ul.main li ul.sub li:hover,
.st_green div#nav ul.main li ul.sub_rt li:hover,
.st_green div#nav ul.main li ul.sub li a:hover,
.st_green div#nav ul.main li ul.sub_rt li a:hover {
background: #5C932B;
}
.st_green div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #5C932B;
}
.st_green div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #5C932B transparent transparent;
}
.st_green li.form input[type=text], .st_green li.form input[type=password] {
border: 1px solid #5C932B;
}
.st_orange div#nav ul.main, .st_orange div#nav ul.main li ul.sub,
.st_orange div#nav ul.main li ul.sub_rt,
.st_orange div#nav ul.main li ul.sub li ul.sub_2nd,
.st_orange div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #FAAB47;
}
.st_orange div#nav ul.main li:hover:after {
border-color: transparent transparent #FAAB47 transparent;
}
.st_orange div#nav ul.main li ul.sub,
.st_orange div#nav ul.main li ul.sub_rt,
.st_orange div#nav ul.main li ul.sub li ul.sub_2nd,
.st_orange div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #FAAB47;
}
.st_orange div#nav ul.main li:hover ul.sub,
.st_orange div#nav ul.main li:hover ul.sub_rt,
.st_orange div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_orange div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_orange div#nav ul.main li ul.sub_rt li.form,
.st_orange div#nav ul.main li ul.sub_rt li.form:hover {
background: #FAAB47;
}
.st_orange div#nav ul.main li ul.sub li, .st_orange div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #FCD198;
}
.st_orange div#nav ul.main li ul.sub li:hover,
.st_orange div#nav ul.main li ul.sub_rt li:hover,
.st_orange div#nav ul.main li ul.sub li a:hover,
.st_orange div#nav ul.main li ul.sub_rt li a:hover {
background: #E78607;
}
.st_orange div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #E78607;
}
.st_orange div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #E78607 transparent transparent;
}
.st_orange li.form input[type=text], .st_orange li.form input[type=password] {
border: 1px solid #E78607;
}
.st_violet div#nav ul.main, .st_violet div#nav ul.main li ul.sub,
.st_violet div#nav ul.main li ul.sub_rt,
.st_violet div#nav ul.main li ul.sub li ul.sub_2nd,
.st_violet div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-bottom: 3px solid #9061C2;
}
.st_violet div#nav ul.main li:hover:after {
border-color: transparent transparent #9061C2 transparent;
}
.st_violet div#nav ul.main li ul.sub,
.st_violet div#nav ul.main li ul.sub_rt,
.st_violet div#nav ul.main li ul.sub li ul.sub_2nd,
.st_violet div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #9061C2;
}
.st_violet div#nav ul.main li:hover ul.sub,
.st_violet div#nav ul.main li:hover ul.sub_rt,
.st_violet div#nav ul.main li ul.sub li:hover ul.sub_2nd,
.st_violet div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt,
.st_violet div#nav ul.main li ul.sub_rt li.form,
.st_violet div#nav ul.main li ul.sub_rt li.form:hover {
background: #9061C2;
}
.st_violet div#nav ul.main li ul.sub li, .st_violet div#nav ul.main li ul.sub_rt li {
border-bottom: 1px dotted #AC96C2;
}
.st_violet div#nav ul.main li ul.sub li:hover,
.st_violet div#nav ul.main li ul.sub_rt li:hover,
.st_violet div#nav ul.main li ul.sub li a:hover,
.st_violet div#nav ul.main li ul.sub_rt li a:hover {
background: #7C3AC2;
}
.st_violet div#nav ul.main li ul.sub li span.rightarrow {
border-color: transparent transparent transparent #7C3AC2;
}
.st_violet div#nav ul.main li ul.sub_rt li span.leftarrow {
border-color: transparent #7C3AC2 transparent transparent;
}
.st_violet li.form input[type=text], .st_violet li.form input[type=password] {
border: 1px solid #7C3AC2;
}
/¤¤ End. Стиль HTML5 menu. ¤¤/
</style>
==123==;*/
} content = content.toString().split('==123==;')[1].replace(/¤/gim,'*');
//888888888888888888888888888888888888888888888888888
//Конструктор Скрипты
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
//Вставляем свой контент
//888888888888888888888888888888888888888888888888888
//Название Форума
$('.name_portal').append($('#inf_name_portal').remove());
//Настраиваем Меню
$('#sub_forum').append($('.vse_podm').remove());
$('#menu_portal').append($('#inf_menu_portal').remove());
$('#menu_forum').append($('#inf_menu_forum').remove());
$('#menu_user_naz').append($('#inf_menu_user').remove());
//Вставка Объявления
$('#name_ob').append($('#inf_name_ob').remove());
$('#ob_nov').append($('#inf_ob_nov').remove());
//Вставляем контент в боковушки
if($("#content_right").html()==''&&$("#content_left").html()==''){
$("#Inf_block_Left,#Inf_block_Right").find('script').remove();
var L=$("#Inf_block_Left").html();$("#Inf_block_Left").replaceWith("");
var R=$("#Inf_block_Right").html();$("#Inf_block_Right").replaceWith("");
var LeftSUM='',RightSUM='';
if(L!=null){ var c = L.split(/<h2>|<\/h2>/igm);
for(i=1; i<c.length; i+=2){
LeftSUM+='<div class="td_news"><h2 class="nazvfnie_content">'+c[i]+'</h2><br /><div class="inf_content">'+c[i+1]+'</div></div><br />';
}} else { $('#content_left').parent('td').hide()}
if(R!=null){ var c = R.split(/<h2>|<\/h2>/igm);
for(i=1; i<c.length; i+=2){
RightSUM+='<div class="td_news"><h2 class="nazvfnie_content">'+c[i]+'</h2><br /><div class="inf_content">'+c[i+1]+'</div></div><br />';
}} else {$("#content_right").parent('td').hide();}
if(LeftSUM!=''){ $("#content_left").html(LeftSUM); };
if(RightSUM!=''){ $("#content_right").html(RightSUM); };
}
//888888888888888888888888888888888888888888888888888
//End //Вставляем свой контент
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
//Профиль, Сообщения, Форма входа.
//888888888888888888888888888888888888888888888888888
if (GroupID!= 3){
$('#navprofile1').replaceWith('<a href="/profile.php?id='+UserID+'">Профиль</a>');
$('#navprofile2').replaceWith('<a href="/profile.php?section=personal&id='+UserID+'">Персональный</a>');
$('#navprofile3').replaceWith('<a href="/profile.php?section=messaging&id='+UserID+'">Общения</a>');
$('#navprofile4').replaceWith('<a href="/profile.php?section=avatar&id='+UserID+'">Аватар</a>');
$('#navprofile5').replaceWith('<a href="/profile.php?section=signature&id='+UserID+'">Подпись</a>');
$('#navprofile6').replaceWith('<a href="/profile.php?section=display&id='+UserID+'">Отображения</a>');
$('#navprofile7').replaceWith('<a href="/profile.php?section=privacy&id='+UserID+'">Приватность</a>');
$('#navprofile8').replaceWith('<a href="/profile.php?section=fields&id='+UserID+'">Дополнительно</a>');
$('#navprofile9').replaceWith('<a href="/profile.php?section=invites&id='+UserID+'">Приглашения</a>');
$('#vyhod').replaceWith('<a href="/login.php?action=out&id='+UserID+'" target="potal_frame">Выход</a>');
}
var msgStr = $("a[href='/messages.php'] span").html();
if ( $('#navpm') ) {
$('#navpm').replaceWith('<a href="/messages.php">'+msgStr+'</a>');
$('#navpmA').replaceWith('<a href="/messages.php">Сообщения</a>');
$('#navpm0').replaceWith('<a href="/messages.php?box=0">Входящие</a>');
$('#navpm1').replaceWith('<a href="/messages.php?box=1">Отправленные</a>');
$('#navpm2').replaceWith('<a href="/messages.php?action=new">Новое ЛС</a>');
$('#navpm3').replaceWith('<a href="/messages.php?box=2">Статус</a>');
}
if (GroupID == 3){
document.getElementById('log').innerHTML='Логин';
document.getElementById('formal').innerHTML='<form id="login" class="container" method="post" target="potal_frame" action="/login.php?action=in"><input style="color:#000" type="hidden" name="form_sent" value="1"><input style="color:#000" type="hidden" name="redirect_url" value=""><label style="float: left;">Логин</label><input style="color:#000" type="text" id="fld1" name="req_username" /><br><label style="float: left;">Пароль</label><input style="color:#000" type="password" id="fld2" name="req_password" /><button type="submit" class="button" name="login" value="Войти" style="float: left;">Войти</button></form>';
}
//888888888888888888888888888888888888888888888888888
// Переключение цвета HTML5menu.
//888888888888888888888888888888888888888888888888888
function setcOOkie(a,b,c) {if(c){var d = new Date();d.setDate(d.getDate()+c);}if(a && b) document.cookie = a+'='+b+(c ? '; expires='+d.toUTCString() : '');else return false;}
function getcOOkie(a) {var b = new RegExp(a+'=([^;]){1,}');var c = b.exec(document.cookie);if(c) c = c[0].split('=');else return false;return c[1] ? c[1] : false;}
function clearSetColor(color){if(color){setcOOkie("colorMenu",color,30);$('html').removeAttr('class');$('html').addClass(color);}};
var Lmem=getcOOkie("colorMenu");
if(!Lmem)Lmem = 'st_blue';
clearSetColor(Lmem);
function setColor(sel) {
var color = $(sel).attr('alt');
clearSetColor(color);
return false;
}
//888888888888888888888888888888888888888888888888888
//End Переключение цвета HTML5menu.
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
// Скрипт Статистики.
//888888888888888888888888888888888888888888888888888
$(document).ready(function(){
$("#statis").load("/ div.statscon ul.container li");
});
//End //Скрипт Статистики.
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
// paginator Ч1.
//888888888888888888888888888888888888888888888888888
(function($){
/*******************************************************************************************/
// jquery.pajinate.js - version 0.2
// A jQuery plugin for paginating through any number of DOM elements
//
// Copyright (c) 2010, Wes Nolte (http://wesnolte.com)
// Liscensed under the MIT License (MIT-LICENSE.txt)
// http://www.opensource.org/licenses/mit-license.php
// Created: 2010-04-16 | Updated: 2010-04-26
/*******************************************************************************************/
$.fn.pajinate = function(options){
// Set some state information
var current_page = 'current_page';
var items_per_page = 'items_per_page';
var meta;
// Setup default option values
window.defaults = {
item_container_id : '.content',
items_per_page : 1,
nav_panel_id : '.page_navigation',
num_page_links_to_display : 10,
start_page : 0,
nav_label_first : 'Первое',
nav_label_prev : 'Назад',
nav_label_next : 'Вперед',
nav_label_last : 'Последнее'
};
var options = $.extend(defaults,options);
var $item_container;
var $page_container;
var $items;
var $nav_panels;
return this.each(function(){
$page_container = $(this);
$item_container = $(this).find(options.item_container_id);
$items = $page_container.find(options.item_container_id).children();
meta = $page_container;
// Initialise meta data
meta.data(current_page,0);
meta.data(items_per_page, options.items_per_page);
// Get the total number of items
var total_items = $item_container.children().size();
// Calculate the number of pages needed
var number_of_pages = Math.ceil(total_items/options.items_per_page);
// Construct the nav bar
var more = '<span class="ellipse more">...</span>';
var less = '<span class="ellipse less">...</span>';
var navigation_html = '<a class="first_link" href="">'+ options.nav_label_first +' </a>';
navigation_html += '<a class="previous_link" href="">'+ options.nav_label_prev +' </a>'+ less;
var current_link = 0;
while(number_of_pages > current_link){
navigation_html += '<a class="page_link" href="" longdesc="' + current_link +'">'+ (current_link + 1) +' </a>';
current_link++;
}
navigation_html += more + ' <a class="next_link" href="">'+ options.nav_label_next +' </a>';
navigation_html += '<a class="last_link" href="">'+ options.nav_label_last +' </a>';
// And add it to the appropriate area of the DOM
$nav_panels = $page_container.find(options.nav_panel_id);
$nav_panels.html(navigation_html).each(function(){
$(this).find('.page_link:first').addClass('first');
$(this).find('.page_link:last').addClass('last');
});
// Hide the more/less indicators
$nav_panels.children('.ellipse').hide();
// Set the active page link styling
$nav_panels.find('.previous_link').next().next().addClass('active_page');
/* Setup Page Display */
// And hide all pages
$items.hide();
// Show the first page
$items.slice(0, meta.data(items_per_page)).show();
/* Setup Nav Menu Display */
// Page number slices
var total_page_no_links = $page_container.children(options.nav_panel_id+':first').children('.page_link').size();
options.num_page_links_to_display = Math.min(options.num_page_links_to_display,total_page_no_links);
$nav_panels.children('.page_link').hide(); // Hide all the page links
// And only show the number we should be seeing
$nav_panels.each(function(){
$(this).children('.page_link').slice(0, options.num_page_links_to_display).show();
});
/* Bind the actions to their respective links */
// Event handler for 'First' link
$page_container.find('.first_link').click(function(e){
e.preventDefault();
movePageNumbersRight($(this),0);
goto(0);
});
// Event handler for 'Last' link
$page_container.find('.last_link').click(function(e){
e.preventDefault();
var lastPage = total_page_no_links - 1;
movePageNumbersLeft($(this),lastPage);
goto(lastPage);
});
// Event handler for 'Prev' link
$page_container.find('.previous_link').click(function(e){
e.preventDefault();
showPrevPage($(this));
});
// Event handler for 'Next' link
$page_container.find('.next_link').click(function(e){
e.preventDefault();
showNextPage($(this));
});
// Event handler for each 'Page' link
$page_container.find('.page_link').click(function(e){
e.preventDefault();
goto($(this).attr('longdesc'));
});
// Goto the required page
goto(parseInt(options.start_page));
toggleMoreLess();
});
function showPrevPage(e){
new_page = parseInt(meta.data(current_page)) - 1;
// Check that we aren't on a boundary link
if($(e).siblings('.active_page').prev('.page_link').length==true){
movePageNumbersRight(e,new_page);
goto(new_page);
}
};
function showNextPage(e){
new_page = parseInt(meta.data(current_page)) + 1;
// Check that we aren't on a boundary link
if($(e).siblings('.active_page').next('.page_link').length==true){
movePageNumbersLeft(e,new_page);
goto(new_page);
}
};
function goto(page_num){
var ipp = meta.data(items_per_page);
var isLastPage = false;
// Find the start of the next slice
start_from = page_num * ipp;
// Find the end of the next slice
end_on = start_from + ipp;
// Hide the current page
$items.hide()
.slice(start_from, end_on)
.show();
// Reassign the active class
$page_container.find(options.nav_panel_id).children('.page_link[longdesc=' + page_num +']').addClass('active_page').css('color', 'red')
.siblings('.active_page')
.removeClass('active_page').css('color', 'inherit');
// Set the current page meta data
meta.data(current_page,page_num);
// Hide the more and/or less indicators
toggleMoreLess();
};
// Methods to shift the diplayed index of page numbers to the left or right
function movePageNumbersLeft(e, new_p){
var new_page = new_p;
var $current_active_link = $(e).siblings('.active_page');
if($current_active_link.siblings('.page_link[longdesc=' + new'+c[i]+''+msgStr+'_page +']').css('display') == 'none'){
$nav_panels.each(function(){
$(this).children('.page_link')
.hide() // Hide all the page links
.slice(parseInt(new_page - options.num_page_links_to_display + 1) , new_page + 1)
.show();
});
}
}
function movePageNumbersRight(e, new_p){
var new_page = new_p;
var $current_active_link = $(e).siblings('.active_page');
if($current_active_link.siblings('.page_link[longdesc=' + new_page +']').css('display') == 'none'){
$nav_panels.each(function(){
$(this).children('.page_link')
.hide() // Hide all the page links
.slice( new_page , new_page + parseInt(options.num_page_links_to_display))
.show();
});
}
}
// Show or remove the ellipses that indicate that more page numbers exist in the page index than are currently shown
function toggleMoreLess(){
if(!$nav_panels.children('.page_link:visible').hasClass('last')){
$nav_panels.children('.more').show();
}else {
$nav_panels.children('.more').hide();
}
if(!$nav_panels.children('.page_link:visible').hasClass('first')){
$nav_panels.children('.less').show();
}else {
$nav_panels.children('.less').hide();
}
}
};
})(jQuery);
//End //paginator Ч1.
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
// Скрипт Новости
//888888888888888888888888888888888888888888888888888
for(var i=1;i<11;i++){
$('div.boxrss'+i).append('<div id="bib'+i+'" cellspacing="0" width=100%></div>');
}
//End //Скрипт Новости
//888888888888888888888888888888888888888888888888888
// Скрипт Новости
//888888888888888888888888888888888888888888888888888
$(document).ready(function(){
$('#pun-title').remove();
$('#pun').show();
$('#pun-main').next().remove();
$('head').find('link[rel="stylesheet"]:first').remove();
var My = $('#Mydiv').show();
My.append(content+'<iframe id="login-in" style="opacity:0;height:1px;width:1px;position:absolute;z-index:-100" name="potal_frame"></iframe>');
});
//888888888888888888888888888888888888888888888888888
// Пагинатор 2 часть.
//888888888888888888888888888888888888888888888888888
$('#paging_container1').pajinate();
//End //Пагинатор 2 часть
//888888888888888888888888888888888888888888888888888
$.get('/export.php?type=rss&max=50','',processXML);
function processXML(data){
var delTems = [];
$('#delete_Tems > p').each(function(){delTems.push($(this).html());});
var lng = delTems.length;
$(data).find('item').each(function(){
for(var i=1;i<lng;i++){if($(this).find('title').text().indexOf(delTems[i])==0){
$(this).remove();break;
}}
});
var NpstPage = 5; //число постов на странице;
var numPost = $(data).find('item:lt(50)').length;
var numPage = parseInt( numPost/NpstPage + (numPost % NpstPage ? 1:0)); //число страниц
for(var i=numPage;i<10;i++){
$('.page_navigation').find('#bib'+(i+1)+',a.page_link[longdesc="'+i+'"]').remove();//div.boxrss'+(i+1),,a.page_link[longdesc="'+i+'"]
}
defaults.num_page_links_to_display = numPage;
var txt = "$('a.page_link:last').click();return false"
$('<a href="" onclick="'+txt+'">Последнее</a>').replaceAll($('.page_navigation').find('a.last_link'))
$(data).find('item').each(function(j){
var N = parseInt(j/NpstPage)+1;
var JAuthor=$(this).find('author').text().slice(14,-1);
var JTitle=$(this).find('title').text();
var JLink=$(this).find('link').text();
var JContent=$(this).find('description').text();
//=======ДОБАВКА ====
var JContTXT = $(JContent);
var JContIMG = JContTXT.find('img.postimg').remove();
var div =$('<div></div>');JContIMG.appendTo(div);
JContIMG = div.html();div.empty();
JContTXT = JContTXT.appendTo(div);
JContTXT = div.html()
//===End//ДОБАВКА ====
var JPosted=$(this).find('pubDate').text().slice(4,-9);
$('#bib'+N).append('<div class="vse_news"><div class="titles">'+ JTitle +'</div><div class="authors">'+ JAuthor +' '+ JPosted +'</div><div class="conts"></br>'+ JContIMG +' '+ JContTXT +'</br></div><div class="JLinks"></br><a href="'+ JLink +'" title="'+JTitle+'">Читать далее »</a></br></br></div></div>');
});
if(typeof(addContentParse_)=='function') addContentParse_ ($('#paging_container1 div[id^="bib"] div.vse_news'));
$('#paging_container1 div[id^="bib"] div.vse_news').each(function(){
var pst = $(this).find('.post-content').length;
if(!pst)$(this).html('<div class="post-content">'+$(this).html()+'</div>');
});
$('div.post-content p a[rel="nofollow"]').map(function(){
var link = $(this).attr('href');
var hrfstr = ((link.indexOf('click.php?')!=-1) ?link.split('click.php?')[1]:link);
if((hrfstr.indexOf(".jpg")!= -1) || (hrfstr.indexOf(".png")!= -1) || (hrfstr.indexOf(".gif")!= -1) ){
$(this).html('<br><img src="'+hrfstr+'" >');
}
if(hrfstr.indexOf(".mp3")!= -1) {
var stText = '<embed src="http://forumstatic.ru/files/0013/49/9f/32316.swf?mp3='; var endTxt = '&action=stop&title=Player MP3&color=b1eb95&loop=no&lma=yes&textcolor=000000" quality="high" bgcolor="#ffffff" width="260" height="60" name="FMP3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
$(this).replaceWith(stText + hrfstr + endTxt);
}
if(hrfstr.indexOf("youtu")!= -1) {
var End = hrfstr.slice(hrfstr.indexOf('?v=') +3);
$(this).replaceWith('<br /><iframe class="youtube-player" src="http://www.youtube.com/embed/'+End+'" frameborder="0" allowfullscreen="true" width="480" height="284"></iframe>');
}
});
//+Audio
$('#paging_container1 div[id^="bib"] div.vse_news').each (function () {
var bib = $(this);
$(this).map(function () {
var stText = '<embed src="http://forumstatic.ru/files/0013/49/9f/32316.swf?mp3='; var endTxt = '&action=stop&title=Player MP3&color=b1eb95&loop=no&lma=yes&textcolor=000000" quality="high" bgcolor="#ffffff" width="260" height="60" name="FMP3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
bib.parents('div[id^="bib"]').find('div:contains("[audio]"):contains(".mp3")').each(function(){
var html = $(this).html().replace(/\[audio\]([^\[]+)\[\/audio\]/ig,stText+'$1'+endTxt);
$(this).html(html)
});
text = $(this).html();
if(text.indexOf("pleer.com") != -1) {
player = /\[audio\](.*?)\/tracks\/(.*?)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://embed.pleer.com/track?id=$2' type='application/x-shockwave-flash' wmode='transparent' width='550' height='124'></embed>"));
}
if(text.indexOf("zippyshare.com") != -1) {
player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(\d+)\/file\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed type='application/x-shockwave-flash' src='http://api.zippyshare.com/api/mediaplayer/mediaplayer.swf' flashvars='height=20&width=400&file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2%26&volume=80&autostart=false&frontcolor=0x000000&backcolor=0xffffff&lightcolor=0x000000&type=flv' quality='high' menu='false' wmode='transparent' allowscriptaccess='always' height='20' width='400' name='mp3player' border='0' style='margin-bottom: 6px;'/>"));
}
if(text.indexOf("http://rghost.ru") != -1) {
player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g
$(this).html(text.replace(player, "<br /><object height='20' width='455' type='application/x-shockwave-flash' data='http://rghost.ru/flash/mediaplayer.swf' id='preview_mp3' style='visibility: visible;'><param name='flashvars' value='file=http://rghost.ru/download/action/$2/mp3&streamer=http://rghost.ru/download/action/$2/mp3'></object>"));
}
}); });
//End//+Audio
}
setTimeout(function() {
$("#login-in").one("load", function(){
window.location.reload(true);
});
},800)
//888888888888888888888888888888888888888888888888888
//END. //Профиль, Сообщения, Форма входа.
//888888888888888888888888888888888888888888888888888
//End //Скрипт Новости
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
// Скрипт Дата
//888888888888888888888888888888888888888888888888888
$(document).ready(function(){
var b = $('#shapka').find('#clock');
var dayArr=new Array("Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота");
var monthArr=new Array("января","февраля","марта","апреля","мая","июля","июня","августа","сентября","октября","ноября","декабря") ;
function timeWrite(d) {var c = d.toLocaleString();
function replacer(str, p1, offset, s){return ' '+monthArr[+p1-1]+' ';}
var aa = dayArr[d.getDay()]+' '+c.replace(/(\d{4}).*?.(?=\d{0,2}:\d{2}:\d{2})/,"$1 года ").replace(/\.(\d)+\.(?=\d{4} года )/, replacer).replace(/160; (\d:)/,'160; 0$1');
b.html(aa);
setTimeout(function(){timeWrite(new Date())},1000)
} timeWrite(new Date());
});
//End //Скрипт Дата
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
//Пункт Меню Участники.
//888888888888888888888888888888888888888888888888888
$(document).ready(function(){
$.get('/userlist.php','',getContacts);
function getContacts(data){
var users = $('<ul class="sub" id="users"></ul>').appendTo('#nav #menu_user');
$(data).find('td.tcl').each(function(){
var JName=$(this).find('span.usersname').text();var UsLink=$(this).find('span.usersname a').attr('href');
users.append('<li ><a href="'+UsLink+'">'+JName+'</a></li>'); });}
});
//888888888888888888888888888888888888888888888888888
//END. Пункт Меню Участники.
//888888888888888888888888888888888888888888888888888
window.endPortalSection = function(){
document.write('</div></div></div></div><div id="plaintext" style="display:none">#1<plaintext>');
}