$('#html-header').find('link[href$="/38503.css"]').remove().appendTo('head:first');
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;
}
.st_red div#nav ul.main {
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 {
border-top: 3px solid #D30E14;
border-bottom: 3px solid #D30E14;
}
.st_red div#nav ul.main li:hover ul.sub {
background: #D30E14;
}
.st_red div#nav ul.main li:hover ul.sub_rt {
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 {
background: #990000;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #D30E14;
border-bottom: 3px solid #D30E14;
}
.st_red div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #D30E14;
}
.st_red div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #D30E14;
border-bottom: 3px solid #D30E14;
}
.st_red div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #D30E14;
}
.st_red div#nav ul.main li ul.sub_rt li.form {
background: #D30E14;
}
.st_red div#nav ul.main li ul.sub_rt li.form:hover {
background: #D30E14;
}
.st_red li.form input[type=text], .st_red li.form input[type=password] {
border: 1px solid #A9070D;
}
.st_red li.form label {
color: #F4F4F4;
}
.st_red 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;
}
.st_blue div#nav ul.main {
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 {
border-top: 3px solid #0FA1DD;
border-bottom: 3px solid #0FA1DD;
}
.st_blue div#nav ul.main li:hover ul.sub {
background: #0FA1DD;
}
.st_blue div#nav ul.main li:hover ul.sub_rt {
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 {
background: #0B79A5;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #0FA1DD;
border-bottom: 3px solid #0FA1DD;
}
.st_blue div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #0FA1DD;
}
.st_blue div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #0FA1DD;
border-bottom: 3px solid #0FA1DD;
}
.st_blue div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #0FA1DD;
}
.st_blue div#nav ul.main li ul.sub_rt li.form {
background: #0FA1DD;
}
.st_blue div#nav ul.main li ul.sub_rt li.form:hover {
background: #0FA1DD;
}
.st_blue li.form input[type=text], .st_blue li.form input[type=password] {
border: 1px solid #0B79A5;
}
.st_blue li.form input[type=text]:focus, .st_blue
.st_blue li.form label {
color: #F4F4F4;
}
.st_chocolate div#nav ul.main {
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 {
border-top: 3px solid #6C442E;
border-bottom: 3px solid #6C442E;
}
.st_chocolate div#nav ul.main li:hover ul.sub {
background: #6C442E;
}
.st_chocolate div#nav ul.main li:hover ul.sub_rt {
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 {
background: #432A1C;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #6C442E;
border-bottom: 3px solid #6C442E;
}
.st_chocolate div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #6C442E;
}
.st_chocolate div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #6C442E;
border-bottom: 3px solid #6C442E;
}
.st_chocolate div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #6C442E;
}
.st_chocolate div#nav ul.main li ul.sub_rt li.form {
background: #6C442E;
}
.st_chocolate div#nav ul.main li ul.sub_rt li.form:hover {
background: #6C442E;
}
.st_chocolate li.form input[type=text], .st_chocolate li.form input[type=password] {
border: 1px solid #432A1C;
}
.st_chocolate li.form label {
color: #F4F4F4;
}
.st_gray div#nav ul.main {
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 {
border-top: 3px solid #898989;
border-bottom: 3px solid #898989;
}
.st_gray div#nav ul.main li:hover ul.sub {
background: #898989;
}
.st_gray div#nav ul.main li:hover ul.sub_rt {
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 {
background: #676767;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #898989;
border-bottom: 3px solid #898989;
}
.st_gray div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #898989;
}
.st_gray div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #898989;
border-bottom: 3px solid #898989;
}
.st_gray div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #898989;
}
.st_gray div#nav ul.main li ul.sub_rt li.form {
background: #898989;
}
.st_gray div#nav ul.main li ul.sub_rt li.form:hover {
background: #898989;
}
.st_gray li.form input[type=text], .st_gray li.form input[type=password] {
border: 1px solid #676767;
}
.st_gray li.form input[type=text]:focus, .st_gray
.st_gray li.form label {
color: #F4F4F4;
}
.st_green div#nav ul.main {
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 {
border-top: 3px solid #72B735;
border-bottom: 3px solid #72B735;
}
.st_green div#nav ul.main li:hover ul.sub {
background: #72B735;
}
.st_green div#nav ul.main li:hover ul.sub_rt {
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 {
background: #5C932B;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #72B735;
border-bottom: 3px solid #72B735;
}
.st_green div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #72B735;
}
.st_green div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #72B735;
border-bottom: 3px solid #72B735;
}
.st_green div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #72B735;
}
.st_green div#nav ul.main li ul.sub_rt li.form {
background: #72B735;
}
.st_green div#nav ul.main li ul.sub_rt li.form:hover {
background: #72B735;
}
.st_green li.form input[type=text], .st_green li.form input[type=password] {
border: 1px solid #5C932B;
}
.st_green li.form label {
color: #F4F4F4;
}
.st_orange div#nav ul.main {
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 {
border-top: 3px solid #FAAB47;
border-bottom: 3px solid #FAAB47;
}
.st_orange div#nav ul.main li:hover ul.sub {
background: #FAAB47;
}
.st_orange div#nav ul.main li:hover ul.sub_rt {
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 {
background: #E78607;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #FAAB47;
border-bottom: 3px solid #FAAB47;
}
.st_orange div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #FAAB47;
}
.st_orange div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #FAAB47;
border-bottom: 3px solid #FAAB47;
}
.st_orange div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #FAAB47;
}
.st_orange div#nav ul.main li ul.sub_rt li.form {
background: #FAAB47;
}
.st_orange div#nav ul.main li ul.sub_rt li.form:hover {
background: #FAAB47;
}
.st_orange li.form input[type=text], .st_orange li.form input[type=password] {
border: 1px solid #E78607;
}
.st_orange li.form label {
color: #F4F4F4;
}
.st_violet div#nav ul.main {
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 {
border-top: 3px solid #9061C2;
border-bottom: 3px solid #9061C2;
}
.st_violet div#nav ul.main li:hover ul.sub {
background: #9061C2;
}
.st_violet div#nav ul.main li:hover ul.sub_rt {
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 {
background: #7C3AC2;
}
.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 div#nav ul.main li ul.sub li ul.sub_2nd {
border-top: 3px solid #9061C2;
border-bottom: 3px solid #9061C2;
}
.st_violet div#nav ul.main li ul.sub li:hover ul.sub_2nd {
background: #9061C2;
}
.st_violet div#nav ul.main li ul.sub_rt li ul.sub_2nd_rt {
border-top: 3px solid #9061C2;
border-bottom: 3px solid #9061C2;
}
.st_violet div#nav ul.main li ul.sub_rt li:hover ul.sub_2nd_rt {
background: #9061C2;
}
.st_violet div#nav ul.main li ul.sub_rt li.form {
background: #9061C2;
}
.st_violet div#nav ul.main li ul.sub_rt li.form:hover {
background: #9061C2;
}
.st_violet li.form input[type=text], .st_violet li.form input[type=password] {
border: 1px solid #7C3AC2;
}
.st_violet li.form label {
color: #F4F4F4;
}
/¤¤ End. Стиль HTML5 menu. ¤¤/
</style>
==123==;*/
} content = content.toString().split('==123==;')[1].replace(/¤/gim,'*');
document.write(content);
//888888888888888888888888888888888888888888888888888
//Конструктор Скрипты
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
//Вставляем свой контент
//888888888888888888888888888888888888888888888888888
$(function(){
//Название Форума
var name_portal = $('.name_portal');
$('#inf_name_portal').each(function(){
name_portal.append($(this).remove());
});
//Настраиваем Меню
var sub_forum = $('#sub_forum');
$('.vse_podm').each(function(){
sub_forum.append($(this).remove());
});
var menu_portal = $('#menu_portal');
$('#inf_menu_portal').each(function(){
menu_portal.append($(this).remove());
});
var menu_forum = $('#menu_forum');
$('#inf_menu_forum').each(function(){
menu_forum.append($(this).remove());
});
var menu_user_naz = $('#menu_user_naz');
$('#inf_menu_user').each(function(){
menu_user_naz.append($(this).remove());
});
//Вставка Объявления
var name_ob = $('#name_ob');
$('#inf_name_ob').each(function(){
name_ob.append($(this).remove());
});
var ob_nov = $('#ob_nov');
$('#inf_ob_nov').each(function(){
ob_nov.append($(this).remove());
});
});
//Вставляем контент в боковушки
$(function(){
$("#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("");
if($(".tab_portal").attr("id")=="portal"){
var LeftSUM='',block1='<div class="container" style="padding:5px;" id=News_';
var block2="</div><br><br>";
var RightSUM='',block3='<div class="container1" style="padding:5px;" id=News1_';
var block4="</div><br><br>";
if(L!=null){ var c = L.split(/<h2>|<\/h2>/igm);
for(i=1; i<c.length; i+=2){
LeftSUM+='<div class="nazvfnie_content_left">'+c[i]+'</div><br /><div class="inf_content_left">'+c[i+1]+'</div><br /><br />';
}LeftSUM='<div id=LeftNews width=21% valign=top>'+LeftSUM+'</div>';}else {$('#portal').find('left_block').hide()}
if(R!=null){ var c = R.split(/<h2>|<\/h2>/igm);
for(i=1; i<c.length; i+=2){
RightSUM+='<div class="nazvfnie_content_right">'+c[i]+'</div><br /><div class="inf_content_right">'+c[i+1]+'</div><br /><br />';
}RightSUM='<div id=RightNews width=21% valign=top>'+RightSUM+'</div>';} else { $('#portal').find('right_block').hide()}
if(LeftSUM!=''){ $("#content_left").html('<div width=100% id="NEWS"><tr valign=top>'+LeftSUM+'</div>'); };
if(RightSUM!=''){ $("#content_right").html('<div width=100% id="NEWS1"><tr valign=top>'+RightSUM+'</div>'); };}
});
//888888888888888888888888888888888888888888888888888
//End //Вставляем свой контент
//888888888888888888888888888888888888888888888888888
//888888888888888888888888888888888888888888888888888
//Профиль, Сообщения, Форма входа.
//888888888888888888888888888888888888888888888888888
var url = location.protocol+'//'+location.hostname;
if(typeof (UserID)!="undefined") {
document.getElementById('navprofile1').innerHTML='<a href="'+url+'/profile.php?id='+UserID+'">Профиль</a>'
document.getElementById('navprofile2').innerHTML='<a href="'+url+'/profile.php?section=personal&id='+UserID+'">Персональный</a>'
document.getElementById('navprofile3').innerHTML='<a href="'+url+'/profile.php?section=messaging&id='+UserID+'">Общения</a>'
document.getElementById('navprofile4').innerHTML='<a href="'+url+'/profile.php?section=avatar&id='+UserID+'">Аватар</a>'
document.getElementById('navprofile5').innerHTML='<a href="'+url+'/profile.php?section=signature&id='+UserID+'">Подпись</a>'
document.getElementById('navprofile6').innerHTML='<a href="'+url+'/profile.php?section=display&id='+UserID+'">Отображения</a>'
document.getElementById('navprofile7').innerHTML='<a href="'+url+'/profile.php?section=privacy&id='+UserID+'">Приватность</a>'
document.getElementById('navprofile8').innerHTML='<a href="'+url+'/profile.php?section=fields&id='+UserID+'">Дополнительно</a>'
document.getElementById('navprofile9').innerHTML='<a href="'+url+'/profile.php?section=invites&id='+UserID+'">Приглашения</a>'
document.getElementById('vyhod').innerHTML='<a href="'+url+'/login.php?action=out&id='+UserID+'" target="potal_frame">Выход</a>';
}
var msgStr = $("a[href='/messages.php'] span").html();
if ( document.getElementById('navpm') ) {
document.getElementById('navpm').innerHTML='<a href="'+url+'/messages.php">'+msgStr+'</a>';
document.getElementById('navpmA').innerHTML='<a href="'+url+'/messages.php">Сообщения</a>';
document.getElementById('navpm0').innerHTML='<a href="'+url+'/messages.php?box=0">Входящие</a>';
document.getElementById('navpm1').innerHTML='<a href="'+url+'/messages.php?box=1">Отправленные</a>';
document.getElementById('navpm2').innerHTML='<a href="'+url+'//messages.php?action=new">Новое ЛС</a>';
document.getElementById('navpm3').innerHTML='<a href="'+url+'//messages.php?box=2">Статус</a>';
}
var a =document.getElementById('pun-status').innerHTML
if (a.indexOf("Гость")!=-1){
document.getElementById('log').innerHTML='<a href="#">Логин</a>';
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
var My = $('#Mydiv').remove().show();
document.write('</div></div></div></div></div><div id="plaintext" style="display:none">#1<plaintext>');
$("body").html('');
My.appendTo("body");
//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_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>');
}
//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'));
$('#paging_container1 div[id^="bib"] div').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').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 = $('#portal').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