Przedszkolak
Postów: 40 Ostrzeżeń: 3
v7.02.03 Data rejestracji: 14.01.2007 00:31
|
Tak, po wklejeniu wszystkiego do theme.php logowanie zniknęło, natomiast wyszukiwarka wróciła na swoje miejsce.
Fajnie byłoby gdyby to miejsce w środku było puste i żeby było widać ten kośćiółek.
Nie bardzo wiem które pliki mogą się przydać, a wszystkich raczej nie będę tutaj umieszczał.
style.css
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{background:transparent;border:0;font-size:100%;margin:0;outline:0;padding:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{background:transparent;font-size:100%;margin:0;padding:0;vertical-align:baseline}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{border:0;border-top:1px solid #ccc;display:block;height:1px;margin:1em 0;padding:0}input,select{vertical-align:middle}body{font:13px/1.231 sans-serif;font-size:small}select,input,textarea,button{font:99% sans-serif}pre,code,kbd,samp{font-family:monospace, sans-serif}
/*
* Font-face
*/
@font-face { font-family: 'MergeRegular-1'; src: url('../fonts/merge_font1-webfont.eot'); src: local(''), url('../fonts/merge_font1-webfont.woff') format('woff'), url('../fonts/merge_font1-webfont.ttf') format('truetype'), url('../fonts/merge_font1-webfont.svg#webfontEH3sxDuy') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'MergeRegular-2'; src: url('../fonts/merge_font2-webfont.eot'); src: local(''), url('../fonts/merge_font2-webfont.woff') format('woff'), url('../fonts/merge_font2-webfont.ttf') format('truetype'), url('../fonts/merge_font2-webfont.svg#webfontReAybvSe') format('svg'); font-weight: normal; font-style: normal; }
h1,h2{text-shadow:1px 1px 0 #fff}h1,h2,h3,h4,h5,h6{color:#495062;font-weight:400}html{overflow-y:scroll}a,a:active,a:visited{color:#25A0CC;text-decoration:none}a:hover,a:active{color:#89b229;outline:none;text-decoration:underline}h1 {font-size:36px;font-family:"MergeRegular-1","MergeRegular-2",Arial,sans-serif;}h2 {font-size:26px;font-family:"MergeRegular-1","MergeRegular-2",Arial,sans-serif;}h3 {font-size:20px;font-family:"MergeRegular-1","MergeRegular-2",Arial,sans-serif;}h4 {font-size:18px;font-family:"MergeRegular-1","MergeRegular-2",Arial,sans-serif;}small{font-size:85%}strong,th{font-weight:700}td,td img{vertical-align:top}sub{font-size:smaller;vertical-align:sub}sup{font-size:smaller;vertical-align:super}pre{padding:15px;white-space:pre-line;word-wrap:break-word}textarea{overflow:auto}.ie6 legend,.ie7 legend{margin-left:-7px}input[type=checkbox]{vertical-align:bottom}.ie7 input[type=checkbox]{vertical-align:baseline}label,input[type=button],input[type=submit],button{cursor:pointer}input:invalid,textarea:invalid{-moz-box-shadow:0 0 5px red;-webkit-box-shadow:0 0 5px red;border-radius:1px;box-shadow:0 0 5px red}.no-boxshadow input:invalid,.no-boxshadow textarea:invalid{background-color:#f0dddd}nav ul,nav li,button,input,select,textarea{margin:0}input[type=radio],.ie6 input{vertical-align:text-bottom}::-moz-selection{background:#89b229;color:#fff;text-shadow:none}::selection {background:#89b229;color:#fff;text-shadow:none}a:link{-webkit-tap-highlight-color:#FF5E99}button{overflow:visible;width:auto}.ie7 img{-ms-interpolation-mode:bicubic}.ir{background-repeat:no-repeat;direction:ltr;display:block;overflow:hidden;text-align:left;text-indent:-999em}.hidden{display:none;visibility:hidden}.visuallyhidden{clip:rect(1px,1px,1px,1px);position:absolute!important}.invisible{visibility:hidden}.clearfix:before, .clearfix:after {content:"\0020";display:block;height:0;visibility:hidden}.clearfix:after{clear:both;}.clearfix{zoom:1;}.center,*[align="center"]{margin-left:auto;margin-right:auto;}
/*
* 960 gs
*/
body{min-width:960px}.container_24{margin-left:auto;margin-right:auto;width:960px}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16,.grid_17,.grid_18,.grid_19,.grid_20,.grid_21,.grid_22,.grid_23,.grid_24{display:inline;float:left;margin-left:5px;margin-right:5px}.push_1,.pull_1,.push_2,.pull_2,.push_3,.pull_3,.push_4,.pull_4,.push_5,.pull_5,.push_6,.pull_6,.push_7,.pull_7,.push_8,.pull_8,.push_9,.pull_9,.push_10,.pull_10,.push_11,.pull_11,.push_12,.pull_12,.push_13,.pull_13,.push_14,.pull_14,.push_15,.pull_15,.push_16,.pull_16,.push_17,.pull_17,.push_18,.pull_18,.push_19,.pull_19,.push_20,.pull_20,.push_21,.pull_21,.push_22,.pull_22,.push_23,.pull_23{position:relative}.alpha{margin-left:0}.omega{margin-right:0}.container_24 .grid_1{width:30px}.container_24 .grid_2{width:70px}.container_24 .grid_3{width:110px}.container_24 .grid_4{width:150px}.container_24 .grid_5{width:190px}.container_24 .grid_6{width:230px}.container_24 .grid_7{width:270px}.container_24 .grid_8{width:310px}.container_24 .grid_9{width:350px}.container_24 .grid_10{width:390px}.container_24 .grid_11{width:430px}.container_24 .grid_12{width:470px}.container_24 .grid_13{width:510px}.container_24 .grid_14{width:550px}.container_24 .grid_15{width:590px}.container_24 .grid_16{width:630px}.container_24 .grid_17{width:670px}.container_24 .grid_18{width:710px}.container_24 .grid_19{width:750px}.container_24 .grid_20{width:790px}.container_24 .grid_21{width:830px}.container_24 .grid_22{width:870px}.container_24 .grid_23{width:910px}.container_24 .grid_24{width:950px}.container_24 .prefix_1{padding-left:40px}.container_24 .prefix_2{padding-left:80px}.container_24 .prefix_3{padding-left:120px}.container_24 .prefix_4{padding-left:160px}.container_24 .prefix_5{padding-left:200px}.container_24 .prefix_6{padding-left:240px}.container_24 .prefix_7{padding-left:280px}.container_24 .prefix_8{padding-left:320px}.container_24 .prefix_9{padding-left:360px}.container_24 .prefix_10{padding-left:400px}.container_24 .prefix_11{padding-left:440px}.container_24 .prefix_12{padding-left:480px}.container_24 .prefix_13{padding-left:520px}.container_24 .prefix_14{padding-left:560px}.container_24 .prefix_15{padding-left:600px}.container_24 .prefix_16{padding-left:640px}.container_24 .prefix_17{padding-left:680px}.container_24 .prefix_18{padding-left:720px}.container_24 .prefix_19{padding-left:760px}.container_24 .prefix_20{padding-left:800px}.container_24 .prefix_21{padding-left:840px}.container_24 .prefix_22{padding-left:880px}.container_24 .prefix_23{padding-left:920px}.container_24 .suffix_1{padding-right:40px}.container_24 .suffix_2{padding-right:80px}.container_24 .suffix_3{padding-right:120px}.container_24 .suffix_4{padding-right:160px}.container_24 .suffix_5{padding-right:200px}.container_24 .suffix_6{padding-right:240px}.container_24 .suffix_7{padding-right:280px}.container_24 .suffix_8{padding-right:320px}.container_24 .suffix_9{padding-right:360px}.container_24 .suffix_10{padding-right:400px}.container_24 .suffix_11{padding-right:440px}.container_24 .suffix_12{padding-right:480px}.container_24 .suffix_13{padding-right:520px}.container_24 .suffix_14{padding-right:560px}.container_24 .suffix_15{padding-right:600px}.container_24 .suffix_16{padding-right:640px}.container_24 .suffix_17{padding-right:680px}.container_24 .suffix_18{padding-right:720px}.container_24 .suffix_19{padding-right:760px}.container_24 .suffix_20{padding-right:800px}.container_24 .suffix_21{padding-right:840px}.container_24 .suffix_22{padding-right:880px}.container_24 .suffix_23{padding-right:920px}.container_24 .push_1{left:40px}.container_24 .push_2{left:80px}.container_24 .push_3{left:120px}.container_24 .push_4{left:160px}.container_24 .push_5{left:200px}.container_24 .push_6{left:240px}.container_24 .push_7{left:280px}.container_24 .push_8{left:320px}.container_24 .push_9{left:360px}.container_24 .push_10{left:400px}.container_24 .push_11{left:440px}.container_24 .push_12{left:480px}.container_24 .push_13{left:520px}.container_24 .push_14{left:560px}.container_24 .push_15{left:600px}.container_24 .push_16{left:640px}.container_24 .push_17{left:680px}.container_24 .push_18{left:720px}.container_24 .push_19{left:760px}.container_24 .push_20{left:800px}.container_24 .push_21{left:840px}.container_24 .push_22{left:880px}.container_24 .push_23{left:920px}.container_24 .pull_1{left:-40px}.container_24 .pull_2{left:-80px}.container_24 .pull_3{left:-120px}.container_24 .pull_4{left:-160px}.container_24 .pull_5{left:-200px}.container_24 .pull_6{left:-240px}.container_24 .pull_7{left:-280px}.container_24 .pull_8{left:-320px}.container_24 .pull_9{left:-360px}.container_24 .pull_10{left:-400px}.container_24 .pull_11{left:-440px}.container_24 .pull_12{left:-480px}.container_24 .pull_13{left:-520px}.container_24 .pull_14{left:-560px}.container_24 .pull_15{left:-600px}.container_24 .pull_16{left:-640px}.container_24 .pull_17{left:-680px}.container_24 .pull_18{left:-720px}.container_24 .pull_19{left:-760px}.container_24 .pull_20{left:-800px}.container_24 .pull_21{left:-840px}.container_24 .pull_22{left:-880px}.container_24 .pull_23{left:-920px}
/*
* Prime style
*/
body.setuser_body,body.page-maintenance{background:#e7e7e7;background-image:none;}
p{margin-bottom:20px}html,body{height:100%}body{background:#e7e7e7 url(../cssimg/header_footer_bg.png) 0 -270px repeat-x;color:#656565;font:13px Arial, Helvetica, Sans-serif;font-size:90%}#header{background:url(../cssimg/footer_bg_center.png) center -4px no-repeat;clear:both;height:260px;padding-top:20px}#nav li{color:#FFF;float:left;font-weight:700;margin:0 3px 0 0;position:relative}#nav li a{color:#FFF;display:block;padding:8px 15px}#nav .current a,#nav li a:hover,#nav li:hover,#nav li:hover a,#nav ul ul.children a{color:#848484;text-decoration:none}#nav ul ul.children a:hover{background:none;color:#626262}#nav{margin:25px 5px 80px;position:relative}#nav ul{list-style:none;margin:3px 3px 0;padding:0;position:relative}#nav .current a,#nav li a:hover,#nav li:hover{-moz-border-radius:3px;-wekbit-border-radius:3px;background:#fffefc;border-radius:3px}#nav ul ul.children{-moz-border-radius:0 3px 3px;-moz-box-shadow:rgba(0,0,0,.08) 0 2px 5px;-webkit-border-radius:0 3px 3px 3px;-webkit-box-shadow:rgba(0,0,0,.08) 0 2px 5px;background:#FFF;border:1px solid #e7e7e7;border-radius:0 3px 3px 3px;border-width:0 1px 1px;box-shadow:rgba(0,0,0,.08) 0 2px 5px;display:none;left:0;margin:0;padding:0;position:absolute;top:30px;width:180px;z-index:99999}#nav ul ul.children li{min-width:180px}#nav ul ul.children a{border-bottom:1px solid #ededed;display:block}#nav ul ul.children li:last-child a{border-bottom:0}#nav ul ul.children ul{-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;left:100%;top:0}#nav ul li:hover > ul{display:block}#content{clear:both;height:auto!important;margin:0 auto;min-height:100%}h1,h2{margin:10px 0}#subfooter small{font-size:9px}#footer{background:url(../cssimg/header_footer_bg.png) repeat-x 0 0 #0A0E11;clear:both}#footer .container_24{background:url(http://sgi4.iplsc.com/1314687426345_o_nirvana_Nevermind20_sg.jpg) no-repeat scroll center top transparent;padding-top:40px}#footer h3,.hinfo h4{border-bottom:1px solid #363A3B;color:#FFF;font-family:MergeRegular-1, MergeRegular-2, Arial, sans-serif;font-size:20px;margin-bottom:10px;padding-bottom:10px}.hinfo h4{font-size:18px}.hinfo{color:#fff}.userinfo ul{height:40px;list-style:none;margin:0}.userinfo li{float:left;margin:0 0 10px 10px;width:105px}.userinfo li a{display:block;padding-left:5px}.userinfo .button,.hinfo .button,.hinfo input{margin-top:15px}#footer ul{list-style:none;margin:0}#footer li{margin-bottom:10px}#footer a{color:#737373;text-decoration:none}#footer a:hover{color:#ccc}.posttitle a{color:#000}.posttitle a:hover{color:#7BA121}.postmeta{color:#AFB2B5;font-size:12px;font-weight:700;margin-bottom:10px}.post{text-align:left}.i-com{float:right}.center,[align=center]{margin-left:auto;margin-right:auto}.tbl,.tbl1,.tbl2{padding:10px}.tbl-border,#aside{-moz-border-radius:6px;-webkit-border-radius:6px;background:#FFF;border-color:#DDDDDD;border-style:solid;border-width:1px 0 0 1px;-moz-box-shadow:1px 1px 0 #bbb;-webkit-box-shadow:1px 1px 0 #bbb;box-shadow:1px 1px 0 #bbb;border-collapse:separate;border-radius:6px;margin-bottom:10px;padding:9px}.forum-caption a{color:#FFF}.forum-caption{-moz-box-shadow:1px 2px 2px #CCC;-webkit-box-shadow:1px 2px 2px #CCC;background:url(../cssimg/th.png) 0 0 repeat-x;box-shadow:1px 2px 2px #CCC;color:#FFF;font-family:MergeRegular-1, MergeRegular-2, Arial, sans-serif;font-size:14px;font-weight:700;line-height:14px;padding:11px;text-shadow:0 -1px 0 #2E889F}.forum-caption:first-child{-moz-border-radius-bottomleft:10px;-moz-border-radius-topleft:10px;-webkit-border-bottom-left-radius:10px;-webkit-border-top-left-radius:10px;border-top-left-radius:10px;bottom-left-radius:10px}.forum-caption:last-child{-moz-border-radius-bottomright:10px;-moz-border-radius-topright:10px;-webkit-border-bottom-right-radius:10px;-webkit-border-top-right-radius:10px;border-bottom-right-radius:10px;border-top-right-radius:10px}.forum_cat_name,.forum_thread_title{font-size:16px}.forum_thread_post_space{border-bottom:1px solid #ddd;height:0!important;padding:0!important}.forum_thread_post_date .small{font-size:10px;font-style:italic;line-height:20px}.forum_thread_ip{font-size:10px;font-style:italic}.checked .tbl2,.checked .tbl1{background:#FFC;opacity:.7}.forum_thread_user_name{font-size:120%}input,textarea,select{color:#A0A0A0;font:1em Helvetica, Arial, sans-serif}input[type=text],input[type=password]{margin:3px 0 0;width:auto}input[type=text],input[type=password],textarea,select{-moz-border-radius:5px;-webkit-border-radius:5px;border:2px solid #D7E9F2;border-radius:5px;margin:0;overflow-x:hidden;padding:6px 5px}textarea{min-height:50px}select{width:auto}input:focus,textarea:focus,select:focus{border-color:#FFC954;outline:0 none}#close-message{background:#C4C4C2;min-width:999px;padding-bottom:10px}#admin-message{background:#FFFFE1;border-bottom:1px solid #8D8C8C;line-height:1.381;padding:6px 20px}#debug{background:#FF9;bottom:0;font-size:10px;left:0;padding:5px;position:fixed}#debug:hover{opacity:0}a.forumbutton,.forumbutton,.button,a.button{background:url(../cssimg/forum/forumbutton.png) 0 0 no-repeat;border:none;color:#555960;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;height:24px;overflow:visible;padding:0 0 0 3px;text-decoration:none;text-shadow:1px 1px 0 #fff;white-space:nowrap;width:auto!important}.forumbutton::-moz-focus-inner,.button::-moz-focus-inner{border:0;margin:-1px -3px}.forumbutton:focus,.forumbutton:active,.button:focus,.button:active{outline:none!important}.forumbutton>span,.button>span{background:url(../cssimg/forum/forumbutton.png) 100% 0 no-repeat;display:block;height:23px;line-height:23px;padding:0 10px 0 8px}.forumbutton:hover,.forumbutton.active,.button:hover,.button.active{background-position:0 -30px;border:none;color:#264964;text-decoration:none;text-shadow:0 1px 0 #b0d7f6}.forumbutton:hover>span,.forumbutton.active span,.button:hover>span,.button.active span{background-position:100% -30px}.button:hover>input{color:#fff;text-shadow:-1px -1px 0 rgba(0,0,0,0.3)}.forumbutton.mousedown,.button.mousedown{background-position:0 -60px}.forumbutton.mousedown>span,.button.mousedown>span{background-position:100% -60px}.button input{border:none;color:#333;font-size:11px;font-weight:700;margin:0;text-shadow:1px 1px 0 #fff}.bbcode-popup .button{width:100%!important}.quote{background:#F2F9FD;border:1px solid #D7E9F2;margin-left:40px;overflow:hidden;padding:10px}.quote strong:first-child{color:#6692B8}.bbcode-popup{-moz-border-radius:5px;-webkit-border-radius:5px;background:#FFF;border:2px solid #D7E9F2!important;border-radius:5px;padding:2px;width:auto!important}.bbcode-popup img{cursor:pointer;opacity:.5}.bbcode-popup img:hover{opacity:1}#main,.post{margin-bottom:40px}.forum_thread_post_date a{display:none}.pagenav a,.pagenav span{margin:0 5px;padding:2px}.pagenav .current{font-weight:700}.screen-reader-text{left:-9000px;position:absolute}#search{-moz-border-radius:5px;-wekbit-border-radius:5px;background:#81bff0;border-radius:5px;margin-top:20px;overflow:hidden;padding:3px}#search div{overflow:hidden}#search #s{-moz-border-radius:3px;-webkit-border-radius:3px;background:#FFF;border:0;border-radius:3px;float:left;height:16px;padding:7px 8px 5px;width:180px}#search #s:focus{outline:0}#search #searchsubmit{background:url(../cssimg/search.png) no-repeat center center;border:0;float:right;font-size:0;height:14px;line-height:0;margin:8px 7px 0 0;padding:0;text-indent:-9999em;width:14px}
.rounded-img {
display: inline-block;
border: solid 1px #000;
overflow: hidden;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.rounded-img img {
visibility:hidden
}
.forum_user_sig { margin-top:10px; font-size:11px;}
.forum_user_sig fieldset{
border-top:1px solid #ccc;
padding: 5px;
}
.forum_user_sig legend {
font-size:10px;
margin-left:10px
}
/**
* front page
*/
.latestnews .title{margin:0 0 6px}.latestnews .meta{color:#999;font-family:Tahoma, Geneva, sans-serif;font-size:11px;margin:0}.latestnews .meta a,.latestnews .excerpt a{color:#777;text-decoration:underline}.latestnews .meta a:hover,.latestnews .excerpt a:hover{text-decoration:none}.latestnews .excerpt{display:block;font-size:12px;margin:6px 0 0}.latestnews .item{border-top:1px solid #E5E5E5;padding:10px 0}.alpha .latestnews .first{border-top:0 none;padding-top:0}.news-category{float:left;margin:0 10px 10px 0}blockquote p{font-style:italic;margin-bottom:10px}blockquote cite{display:block;font-family:Arial, Helvetica, sans-serif;font-size:10px;font-style:normal;font-weight:700;letter-spacing:1px;text-align:right;text-transform:uppercase}blockquote{font-family:Georgia, Times, serif;margin-left:60px;width:370px}#quote_wrap{-moz-border-radius:6px;-webkit-border-radius:6px;background:#FFF url(../cssimg/quote-mark.png) no-repeat 20px 20px;border-color:#DDDDDD;border-style:solid;border-width:1px 0 0 1px;border-radius:6px;-moz-box-shadow:1px 1px 0 #bbb;-webkit-box-shadow:1px 1px 0 #bbb;box-shadow:1px 1px 0 #bbb;margin-bottom:10px;padding:20px}#aside h3{margin-bottom:10px}#aside{padding:20px;width:250px}#navigation{border-top:1px solid #DDD;font-size:12px}#navigation ul{border:medium none;color:#39C;line-height:35px;list-style:none;margin:0}#navigation li{border-bottom:1px solid #DDD;margin:0}#navigation li a{background:url(../cssimg/nav.png) no-repeat scroll center top transparent;display:block;padding-left:10px;text-decoration:none}#navigation li a:hover{background:url(../cssimg/nav.png) no-repeat scroll center bottom transparent;color:#FFF;font-weight:700}.latestnews,#slidwshow div{padding:20px}
/*
* slides
*/
#modal-content,#modal-data{display:none}#overlay{background-color:#000;cursor:wait}#container{-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-box-shadow:0 0 64px #000;-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-webkit-box-shadow:0 0 64px #000;background-color:#eee;border-radius:0 0 6px 6px;box-shadow:0 0 64px #000;color:#000;font:16px/24px "Lucida Grande",Arial,sans-serif;padding-bottom:4px;width:600px}#container a{color:#06C}#container #modal-title{background-color:#ddd;border-bottom:1px solid #ccc;color:#000;font-weight:700;padding:6px 8px;text-shadow:0 1px 0 #f4f4f4}#container .close{display:none;position:absolute;right:0;top:0}#container .close a{color:#777;display:block;font-weight:700;padding:6px 12px 0;text-decoration:none;text-shadow:0 1px 0 #f4f4f4}#container .close a:hover{color:#000}#container #modal-data{font-size:12px;padding:6px 12px}#container h2,#container h3{color:#000;font:16px/24px "Lucida Grande",Arial,sans-serif;font-weight:700;margin:10px 0 6px}#container p{margin-bottom:10px}#container span{color:#777}#container button span{color:#555960}#container label{float:left;margin:0;padding-bottom:.15em;width:100px}#container input{-moz-border-radius:0;-webkit-border-radius:0;border:1px solid #DDD;border-radius:0;color:#777;margin:4px 0;padding:1px}#container fieldset{border:1px solid #777;padding:6px;width:350px}#container form{background:url(../cssimg/logindoor.gif) 100% 0 no-repeat}#yoxview .yoxview_bottom{bottom:0}#yoxview .yoxview_right{float:right}#yoxview .yoxview_left{float:left}#yoxview_popupWrap{display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:100}#yoxview{border:solid 1px #999;font-family:Arial, Sans-Serif;font-size:10pt;overflow:hidden;position:absolute;text-align:left;z-index:999}#yoxview a img,#yoxview_infoPanel a img{border:none}#yoxview div.yoxview_imgPanel{left:0;position:absolute;top:0}#yoxview div.yoxview_mediaPanel{background:#191919;height:100%;position:absolute;width:100%}#yoxview .yoxview_ctlBtn{display:block;height:100%;outline:none;position:absolute;text-decoration:none;width:50%;z-index:3}#yoxview .yoxview_ctlBtn img{border:none;margin-top:-22px;position:absolute;top:50%}#yoxview .yoxview_notification{background-image:url(../cssimg/sprites.png);background-repeat:no-repeat;display:none;filter:alpha(opacity=60);height:59px;left:50%;margin-left:-30px;margin-top:-30px;opacity:0.6;position:absolute;top:50%;width:59px;z-index:4}#yoxview #yoxview_ajaxLoader img{padding:13px}#yoxview .yoxview_popupBarPanel{min-height:70px;position:absolute;right:0;width:100%;z-index:4}#yoxview #yoxview_menuPanel{-moz-border-radius:0 0 0 15px;-webkit-border-radius:0 0 0 15px;background:rgba(0,0,0,0.8);border-radius:0 0 0 15px;height:42px;padding-right:9px;padding-top:0;position:absolute;right:0;top:-42px;width:145px}#yoxview #yoxview_menuPanel a{display:block;float:right;font-family:Arial, Sans-Serif;font-size:.8em;margin-top:-5px;padding-bottom:13px;position:relative;text-align:center;text-decoration:none;width:45px}#yoxview #yoxview_menuPanel a span{color:#FFF;display:block;margin-bottom:3px}#yoxview #yoxview_menuPanel a.last{margin-left:0}#yoxview_infoPanel{bottom:0;color:#FFF;height:0;overflow:hidden;position:absolute;width:100%;z-index:2}#yoxview_infoPanel #yoxview_infoPanelBack{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}#yoxview_infoPanel #yoxview_infoPanelContent{left:0;position:absolute;top:0;width:100%;z-index:2}#yoxview_infoPanel span#yoxview_count{color:#bbb;display:block;float:left;font-size:.8em;padding-top:8px;text-align:center;width:55px}#yoxview_infoPanel #yoxview_infoText{font-size:12pt;margin:0 55px;padding:5px 0}#yoxview_infoPanel #yoxview_infoText #yoxview_infoTextDescription{font-size:10pt;margin-top:1em;max-height:200px;overflow:auto;padding-bottom:.5em;padding-right:10px}#yoxview_infoPanel #yoxview_infoText a,#yoxview .yoxview_error a{color:#a7d557;outline:none;text-decoration:none}#yoxview_infoPanel #yoxview_infoText a:hover,#yoxview .yoxview_error a:hover{color:#d5eeaa}#yoxview_infoPanel a.yoxviewInfoLink{display:none;float:right;margin-right:5px;margin-top:5px;opacity:0.8}#yoxview_infoPanel a.yoxviewInfoLink:hover{opacity:1}#yoxview #yoxview_helpPanel{color:#FFF;cursor:pointer;display:none;height:312px;left:50%;margin-left:-111px;margin-top:-171px;padding:10px 20px 20px;position:absolute;top:50%;width:201px;z-index:5}#yoxview #yoxview_helpPanel h1{font-family:Arial Black, Arial, Sans-Serif;font-size:1em}#yoxview #yoxview_helpPanel p{margin-top:80px}#yoxview #yoxview_helpPanel span#yoxview_closeHelp{bottom:20px;display:block;left:0;position:absolute;text-align:center;width:100%}#yoxview .yoxview_error{color:#FFF;display:block;font-family:Arial, Sans-Serif;font-size:14pt;height:20%;padding:10px;position:absolute;text-align:center;top:41%;width:100%}#yoxview .yoxview_error .errorUrl{font-size:10pt}#yoxview .yoxview_top{top:0;width:50%}#yoxview .yoxview_element{background:#333;border:none;height:100%;position:absolute;width:100%}.yoxview-thumbnails a{filter:alpha(opacity=80);float:left;margin:4px;opacity:0.8}.yoxview-thumbnails a:hover{filter:alpha(opacity=100);opacity:1}.yoxview-thumbnails a img{border:solid 1px #fff}.yoxview-thumbnails-details{margin-bottom:1em}.yoxview-thumbnails-details h2{font-size:1.2em;font-weight:700;margin-bottom:0;padding:0}#yoxview a:focus,#yoxview a.yoxview_ctlBtn:focus,#yoxview a.yoxview_ctlBtn:active,#yoxview #yoxview_menuPanel a:focus{outline:none}
/*
* addons
*/
.dropselect{margin:0 0 20px;position:relative}.dropselect .field{-moz-border-radius:5px;-webkit-border-radius:5px;-webkit-transition:all .4s ease-in-out;background:#fff;border:solid 2px #D7E9F2;border-radius:5px;color:#A0A0A0;cursor:pointer;font-family:'lucida sans unicode', sans-serif;font-size:1em;padding:5px;transition:all .4s ease-in-out;width:150px}.dropselect .field:hover{-moz-box-shadow:0 0 5px #999;-webkit-box-shadow:0 0 5px #999;border:solid 2px #fff;box-shadow:0 0 5px #999}.dropselect>ul.list{-moz-border-radius:5px;-moz-box-shadow:0 0 5px #999;-webkit-border-radius:5px;-webkit-box-shadow:0 0 5px #999;background:#fff;border-radius:5px;box-shadow:0 0 5px #999;color:#333;display:none;list-style:none;margin:0;padding:10px;position:absolute;top:-50%;width:150px;z-index:999}.dropselect>ul.list li{border-bottom:solid 1px #ccc;cursor:pointer;padding:10px}.dropselect>ul.list li:hover{background:#fff;color:#A0A0A0}.dropselect>ul.list li:last-child{border:none}.dropselect .nsn li a{display:block}.dropselect .nsn li,.dropselect .nsn{padding:5px!important}.addonsubmitform label{display:block;line-height:20px;margin:0 0 10px}.addonsubmitform .textbox{width:428px}
/*
* print styles
*/
@media print {
* { background: transparent !important; color: #444 !important; text-shadow: none !important; }
a, a:visited { color: #444 !important; text-decoration: underline; }
a:after { content: " (" attr(href) ")"; }
abbr:after { content: " (" attr(title) ")"; }
.ir a:after { content: ""; }
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; }
tr, img { page-break-inside: avoid; }
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3{ page-break-after: avoid; }
}
/* Side panels and main body properties */
.side-left .side-border-right {display: none;}
.side-right .side-border-left {display: none;}
.side-border-left {
color: #000;
padding: 15px 5px 5px 5px;
width: 195px;
}
.side-border-right {
color: #000;
padding: 15px 5px 5px 5px;
width: 195px;
}
.main-bg {color: #555;padding:15px 2px 2px 2px;}
header.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
function theme_head_output($output) {
$search = array(
"@<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>@si",
"@<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>@si",
"@<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />@si",
"@<link rel='stylesheet' href='(.*?)themes/Bifrost/styles.css' type='text/css' media='screen' />\n@si",
"@<link rel='shortcut icon' href='(.*?)images/favicon.ico' type='image/x-icon' />\n@si",
"@<script type='text/javascript' src='(.*?)includes/jquery.js'></script>\n@si",
"@<body>@si",
"@<a id='content' name='content'></a>\n@si",
"@<!--news_prepost_(.*?)-->\n@si",
"@><img src='reply' alt='(.*?)' style='border:0px' />@si",
"@><img src='newthread' alt='(.*?)' style='border:0px;?' />@si",
"@><img src='web' alt='(.*?)' style='border:0;vertical-align:middle' />@si",
"@><img src='pm' alt='(.*?)' style='border:0;vertical-align:middle' />@si",
"@><img src='quote' alt='(.*?)' style='border:0px;vertical-align:middle' />@si",
"@><img src='forum_edit' alt='(.*?)' style='border:0px;vertical-align:middle' />@si",
"@<input type='(submit|button)'(.*?)value='(.*?)'(.*?)/?>@si",
"@<hr />(.*?)<!--sub_forum_post-->@si"
);
$page = str_replace(".php", "", FUSION_SELF);
$replace = array(
'<!doctype html> ',
'<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->',
'<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />',
'',
'',
'',
'<body class="page-'.$page.'">',
'',
'',
'class="forumbutton"><span>$1</span>',
'class="forumbutton"><span>$1</span>',
'class="forumbutton" rel="nofollow"><span>Web</span>',
'class="forumbutton"><span>PM</span>',
'class="forumbutton"><span>$1</span>',
'class="forumbutton"><span>$1</span>',
'<button type="$1"$2$4><span>$3</span></button>',
'<div class="forum_user_sig"><fieldset>
<legend>Signature</legend>$1</fieldset></div><!--sub_forum_post-->'
);
$output = preg_replace($search, $replace, $output);
return $output;
}
function get_head_tags(){ ?>
<!--[if IE]><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?php echo static_content(); ?>css/styles.css?v=1.8" />
<script defer src="<?php echo static_content(); ?>js/modernizr-1.6.min.js"></script>
<?php
}
functions.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
function navigation($main_menu=true){
if ($main_menu) {
$link = Cache::read('navigation');
if(!$link) :
$result = dbquery(
"SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."
WHERE link_position='3' ORDER BY link_order"
);
$link = array();
while ($data = dbarray($result)) :
$link[] = $data;
endwhile;
Cache::write('navigation', $link);
endif;
echo "<ul>\n";
foreach($link as $data) :
if (checkgroup($data['link_visibility'])) :
$link_target = $data['link_window'] == "1" ? " target='_blank'" : "";
$li_class = preg_match("/^".preg_quote(START_PAGE, '/')."/i", $data['link_url']) ? " class='current'" : "";
if (strstr($data['link_name'], "%submenu% ")) {
echo " <li$li_class><a href='/".$data['link_url']."'$link_target><span>".parseubb(str_replace("%submenu% ", "",$data['link_name']), "b|i|u|color")."</span></a>\n <ul class='children'>\n";
} elseif (strstr($data['link_name'], "%endmenu% ")) {
echo " <li$li_class><a href='/".$data['link_url']."'$link_target><span>".parseubb(str_replace("%endmenu% ", "",$data['link_name']), "b|i|u|color")."</span></a></li>\n </ul>\n </li>\n";
} elseif (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo " <li$li_class><a href='".$data['link_url']."'$link_target><span>".parseubb($data['link_name'], "b|i|u|color")."</span></a></li>\n";
} else {
echo " <li$li_class><a href='/".$data['link_url']."'$link_target><span>".parseubb($data['link_name'], "b|i|u|color")."</span></a></li>\n";
}
endif;
endforeach;
echo " </ul>\n";
} else {
$link = Cache::read('footer');
$list_open = false;
if(!$link) :
$result = dbquery(
"SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."
WHERE link_position='1' ORDER BY link_order"
);
$link = array();
while ($data = dbarray($result)) :
$link[] = $data;
endwhile;
Cache::write('footer', $link);
endif;
foreach($link as $data) :
if (checkgroup($data['link_visibility'])) :
if ($data['link_name'] != "---" && $data['link_url'] == "---") :
if ($list_open) { echo " </ul>\n </div>\n"; $list_open = false; }
echo " <div class='footer grid_4'>\n <h3>".parseubb($data['link_name'], "b|i|u|color")."</h3>\n";
elseif ($data['link_name'] == "---" && $data['link_url'] == "---") :
echo " <li>Method does not exist anymore</li>\n";
else :
if (!$list_open) { echo " <ul>\n"; $list_open = true; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo " <li><a href='".$data['link_url']."'".$link_target."><span>".parseubb($data['link_name'], "b|i|u|color")."</span></a></li>\n";
} else {
echo " <li><a href='/".$data['link_url']."'".$link_target."><span>".parseubb($data['link_name'], "b|i|u|color")."</span></a></li>\n";
}
endif;
endif;
endforeach;
if ($list_open) { echo " </ul>\n </div>\n"; }
}
}
function build_navigation($title,$d=false) {
$list_open = false;
if ($d) {
openside($title);
echo "<div id='navigation'>\n";
foreach($d as $d) {
if ($d['link_name'] != "---" && $d['link_url'] == "---") {
if ($list_open) { echo "</ul>\n"; $list_open = false; }
echo "<h4>".$d['link_name']."</h4>\n";
} else if ($d['link_name'] == "---" && $d['link_url'] == "---") {
if ($list_open) { echo "</ul>\n"; $list_open = false; }
echo "<hr class='side-hr' />\n";
} else {
if (!$list_open) { echo "<ul>\n"; $list_open = true; }
$link_target = ($d['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($d['link_url'], "http://") || strstr($d['link_url'], "https://")) {
echo "<li><a href='".$d['link_url']."'".$link_target." class='side'><span>".$d['link_name']."</span></a></li>\n";
} else {
echo "<li><a href='/".$d['link_url']."'".$link_target." class='side'><span>".$d['link_name']."</span></a></li>\n";
}
}
}
if ($list_open) { echo "</ul>\n"; }
echo "</div>\n";
}
}
function userinfo() {
global $userdata, $locale, $aidlink;
if (iMEMBER):
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'"); ?>
<h4>Logged in as <a href="/profile.php?lookup=<?php echo $userdata['user_id']; ?>"><?php echo $userdata['user_name']; ?></a></h4>
<ul>
<?php if (iADMIN): ?>
<li><a href="/administration/index.php<?php echo $aidlink; ?>" class="admin">Admin</a></li>
<?php else: ?>
<li>Welcome</li>
<?php endif ?>
<li><a href="/edit_profile.php" class="settings">Settings</a></li>
<li><a href="/messages.php"<?php echo $msg_count ? " title='".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."'" : ""; ?>><?php echo $msg_count ? "Messages <br />You got $msg_count new" : "Messages"; ?></a></li>
<li><a href="/setuser.php?logout=yes" class="logout">Logout</a></li>
</ul>
<?php else: ?>
<h4>Membership</h4>
<a href="/login.php" class="button login"><span>Login</span></a> <a href="/register.php" class="button"><span>Become a member</span></a>
<?php endif;
}
function static_content(){
STATIC_HOST ? $path=STATIC_DOMAIN : $path=THEME;
return $path;
}
function curr_virtdir($part=false){
$url = explode('/',$_SERVER['REQUEST_URI']);
$part ? $dir = (isset($url[2]) ? $url[2] : '') : $dir = $url[1] ? $url[1] : '';
$dir = htmlentities(trim(strip_tags($dir)));
return $dir;
}
class Cache {
public static function read($fileName) {
$fileName = THEME.'tmp/'.sha1($fileName).'.tmp';
if (file_exists($fileName)) {
$handle = fopen($fileName, 'rb');
$variable = fread($handle, filesize($fileName));
fclose($handle);
return unserialize($variable);
} else {
return NULL;
}
}
public static function write($fileName,$variable) {
$fileName = THEME.'tmp/'.sha1($fileName).'.tmp';
$handle = fopen($fileName, 'a');
fwrite($handle, serialize($variable));
fclose($handle);
}
public static function delete($fileName) {
$fileName = THEME.'tmp/'.sha1($fileName).'.tmp';
@unlink($fileName);
}
}
function limit_words($words, $limit, $append = ' …') {
$limit = $limit+1;
$words = explode(' ', $words, $limit);
array_pop($words);
$words = implode(' ', $words) . $append;
return $words;
}
function cleanInput($input) {
$search = array(
'@<script[^>]*?>.*?</script>@si',
'@<[\/\!]*?[^<>]*?>@si',
'@<style[^>]*?>.*?</style>@siU',
'@<![\s\S]*?--[ \t\n\r]*>@'
);
$output = preg_replace($search, '', $input);
return $output;
}
if (iADMIN && isset($_POST['savelink']) || isset($_GET['action']) && FUSION_SELF == "site_links.php") { $cache = new Cache(); Cache::delete('navigation'); Cache::delete('footer'); }
footer.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
function get_footer_tags(){
?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="<?php echo static_content(); ?>js/jquery-1.4.3.min.js"%3E%3C/script%3E'))</script>
<?php if (DEBUG) : ?>
<script src="<?php echo static_content(); ?>js/plugins.js?v=1.1"></script>
<script src="<?php echo static_content(); ?>js/script.js?v=1.1"></script>
<?php else : ?>
<script src="<?php echo static_content(); ?>js/combined.js?v=2.0"></script>
<?php endif; ?>
<!--[if lt IE 7 ]>
<script src="<?php echo static_content(); ?>js/dd_belatedpng.js?v=1.1"></script>
<script>DD_belatedPNG.fix('img, .png_bg');</script>
<![endif]-->
<?php if (ANALYTICS) : ?>
<script>
var _gaq = [['_setAccount', '<?php echo ANALYTICS_ACCOUNT; ?>'], <?php echo ANALYTICS_MULTI ? "['_setDomainName', '".ANALYTICS_DOMAIN."'], " : ""; ?>['_trackPageview']];
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.async = true; g.src = '//www.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
<?php endif;
}
config.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("DEBUG", false);
/*
* Host for static content.
*/
define("STATIC_HOST", false);
define("STATIC_DOMAIN", "http://yourstaticdomain.com/");
/*
* Analytics settings.
* 1. Analytics on or off.
* 2. Account trackcode.
* 3. Turn multi subdomain on or off.
* 4. Analytics Domain name.
*/
define("ANALYTICS", false);
define("ANALYTICS_ACCOUNT", "xx-xxxxxxx-x");
define("ANALYTICS_MULTI", false);
define("ANALYTICS_DOMAIN", ".yourdomain.com");
/*
* Set custom images
*/
define("THEME_BULLET", "");
set_image("up", STATIC_DOMAIN."cssimg/up.png");
set_image("down", STATIC_DOMAIN."cssimg/down.png");
set_image("left", STATIC_DOMAIN."cssimg/left.png");
set_image("right", STATIC_DOMAIN."cssimg/right.png");
set_image("pollbar", STATIC_DOMAIN."cssimg/navbg.jpg");
set_image("folder", STATIC_DOMAIN."cssimg/forum/folder.png");
set_image("foldernew", STATIC_DOMAIN."cssimg/forum/foldernew.png");
set_image("folderlock", STATIC_DOMAIN."cssimg/forum/folderlock.png");
set_image("stickythread", STATIC_DOMAIN."cssimg/forum/stickythread.png");
set_image("printer", STATIC_DOMAIN."cssimg/forum/print.gif");
set_image("panel_on", STATIC_DOMAIN."cssimg/on.png");
set_image("panel_off", STATIC_DOMAIN."cssimg/off.png");
set_image("reply", "reply");
set_image("newthread", "newthread");
set_image("web", "web");
set_image("pm", "pm");
set_image("quote", "quote");
set_image("forum_edit", "forum_edit");
Wcześniej plik theme.php wrzuciłem w całości, jestem tego niemal pewien.
PS. Po wieczności walki z nienawiścią ludzi do mnie i ciężkiej pracy w końcu się udało, zdobyłem pierwsze w życiu "Pomógł" :)
Pomogłeś mi i pomagasz mi dalej, więc jak najbardziej należy się punkcik. Poza tym mimo, że konto mam od 2007, to stosunkowo rzadko tu zaglądam a co za tym idzie nikogo tu nie znam i do nikogo nie jestem uprzedzony :) |