Przedszkolak
Postów: 12 Ostrzeżeń: 3
v7.02.07 Data rejestracji: 08.04.2010 22:10
|
Mam pewien problem z wtyczką newsów dwukolumnowymi, którą kiedyś ktoś dla mnie wykonał. Mianowicie chodzi o to, że pola tekstowe wystają poza panel i się zlewają. Można to zobaczyć na stronie kdolata.pl. Problem pojawia się również gdy ściągnę inną wtyczkę.
News.php
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: news.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at http://www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";
if (!isset($_GET['readmore']) || !isnum($_GET['readmore'])) {
// Predefined variables, do not edit these values
if ($settings['news_style'] == "1") { $i = 1; $rc = 0; $ncount = 1; $ncolumn = 1; $news_[0] = ""; $news_[1] = ""; $news_[2] = ""; } else { $i = 1; }
if (!isset($_GET['srow']) || !isnum($_GET['srow'])) { $_GET['srow'] = 0; }
// Number of news displayed
$items_per_page = $settings['newsperpage'];
$rows = dbcount("(news_id)", DB_NEWS, groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'");
if (!isset($_GET['srow']) || !isnum($_GET['srow'])) { $_GET['srow'] = 0; }
add_to_title($locale['global_200'].$locale['global_077']);
$result = dbquery(
"SELECT news_id FROM ".DB_NEWS."
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'
ORDER BY news_id DESC LIMIT ".$_GET['srow'].",$items_per_page"
);
$rows2 = mysql_num_rows($result);
if ($rows) {
$result = dbquery(
"SELECT tn.*, tc.*, tu.user_id, tu.user_name, tu.user_status FROM ".DB_NEWS." tn
LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
LEFT JOIN ".DB_NEWS_CATS." tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'
ORDER BY news_sticky DESC, news_datestamp DESC LIMIT ".$_GET['srow'].",$items_per_page"
);
$numrows = dbrows($result);
if ($settings['news_style'] == "1") { $nrows = round((dbrows($result) - 1) / 2); }
?>
<div class="new-title">Aktualno¶ci</div>
<?php
while ($data = dbarray($result)) {
$news_cat_image="";
if ($data['news_image_t2'] && $settings['news_image_frontpage'] == 0) {
$news_cat_image .= IMAGES_N_T.$data['news_image_t2'];
} elseif ($data['news_cat_image']) {
$news_cat_image .= get_image("nc_".$data['news_cat_name']);
} else {
$news_cat_image = "";
}
$news_news = $data['news_breaks'] == "y" ? nl2br(stripslashes($data['news_news'])) : stripslashes($data['news_news']);
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"user_status" => $data['user_status'],
"news_date" => $data['news_datestamp'],
"cat_id" => $data['news_cat'],
"cat_name" => $data['news_cat_name'],
"news_subject" => $data['news_subject'],
"news_ext" => $data['news_extended'] ? "y" : "n",
"news_reads" => $data['news_reads'],
"news_comments" => dbcount("(comment_id)", DB_COMMENTS, "comment_type='N' AND comment_item_id='".$data['news_id']."' AND comment_hidden='0'"),
"news_allow_comments" => $data['news_allow_comments'],
"news_sticky" => $data['news_sticky']
);
?>
<?php if($i%2==1){ ?><div class="new"><?php } ?>
<div class="new-<?php if($i%2==1){ echo "left"; } else { echo "right"; } ?>">
<div class="new-top"></div>
<div class="new-mid">
<?php if($news_cat_image!=""){ ?><p><img src="<?php echo $news_cat_image; ?>" width="97" height="81" alt="asd" title="asd"></p><?php } ?>
<p class="p-right<?php if($news_cat_image==""){ ?>2<?php } ?>">
<span class="new-mid-text"><?php echo $news_news; ?></span>
<span class="new-mid-more"><a href="<?php echo BASEDIR."news.php?readmore=".$news_info['news_id'].""; ?>">Więcej...</a></span>
</p>
<div class="clear"></div>
</div>
<div class="new-bot"></div>
</div>
<?php if($i%2==0){ ?><div class="clear"></div><?php } ?>
<?php
if(isset($_GET['srow'])){
if(((($i%2==0) && $i-1!=$rows2) || (($i%2==1) && $i==$rows2))){ ?></div><?php }
} else {
if(((($i%2==0) && $i-1!=$rows2) || (($i%2==1) && $i==$items_per_page))){ ?></div><?php }
}
?>
<?php
$i++;
}
?>
<div class="clear"></div>
<?php
if ($rows > $settings['thumbs_per_page']) { echo "<div align='center' style='margin-top:5px;'>\n".makepagenav2($_GET['srow'], $items_per_page, $rows, 1)."\n</div>\n"; }
}
} else {
$result = dbquery(
"SELECT tn.*, tc.*, tu.user_id, tu.user_name, tu.user_status FROM ".DB_NEWS." tn
LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
LEFT JOIN ".DB_NEWS_CATS." tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND news_id='".$_GET['readmore']."' AND news_draft='0'"
);
if (dbrows($result)) {
include INCLUDES."comments_include.php";
include INCLUDES."ratings_include.php";
$data = dbarray($result);
if (!isset($_POST['post_comment']) && !isset($_POST['post_rating'])) {
$result2 = dbquery("UPDATE ".DB_NEWS." SET news_reads=news_reads+1 WHERE news_id='".$_GET['readmore']."'");
$data['news_reads']++;
}
$news_cat_image = "";
$news_subject = $data['news_subject'];
if ($data['news_image_t1'] && $settings['news_image_readmore'] == "0") {
$img_size = @getimagesize(IMAGES_N.$data['news_image']);
$news_cat_image = "<a href=\"javascript:;\" onclick=\"window.open('".IMAGES_N.$data['news_image']."','','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=".($img_size[0]+20).",height=".($img_size[1]+20)."')\"><img src='".IMAGES_N_T.$data['news_image_t1']."' width='97' height='81' alt='".$data['news_subject']."' class='news-category' /></a>";
} elseif ($data['news_cat_image']) {
$news_cat_image = "<a href='news_cats.php?cat_id=".$data['news_cat']."'><img src='".get_image("nc_".$data['news_cat_name'])."' width='97' height='81' alt='".$data['news_cat_name']."' class='news-category' /></a>";
}
$news_news = stripslashes($data['news_extended'] ? $data['news_extended'] : $data['news_news']);
if ($data['news_breaks'] == "y") { $news_news = nl2br($news_news); }
if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"user_status" => $data['user_status'],
"news_date" => $data['news_datestamp'],
"cat_id" => $data['news_cat'],
"cat_name" => $data['news_cat_name'],
"news_ext" => "n",
"news_reads" => $data['news_reads'],
"news_comments" => dbcount("(comment_id)", DB_COMMENTS, "comment_type='N' AND comment_item_id='".$data['news_id']."' AND comment_hidden='0'"),
"news_allow_comments" => $data['news_allow_comments'],
"news_sticky" => $data['news_sticky']
);
add_to_title($locale['global_201'].$news_subject);
echo "<!--news_pre_readmore-->";
render_news($news_subject, $news_news, $news_info);
echo "<!--news_sub_readmore-->";
echo "<!-- AddThis Button BEGIN -->
<div class='addthis_toolbox addthis_default_style' style='width: 600px; margin-top: 10px'>
<a class='addthis_button_facebook_like' fb:like:layout='button_count'></a>
<a class='addthis_button_google_plusone'></a>
<a class='addthis_button_tweet'></a>
<a class='addthis_counter addthis_pill_style'></a>
</div>
<script type=\"text/javascript\" src=\"http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cf108cb38c82ecb\"></script>
<!-- AddThis Button END -->";
if ($data['news_allow_comments']) { showcomments("N", DB_NEWS, "news_id", $_GET['readmore'], FUSION_SELF."?readmore=".$_GET['readmore']); }
if ($data['news_allow_ratings']) { showratings("N", $_GET['readmore'], FUSION_SELF."?readmore=".$_GET['readmore']); }
} else {
redirect(FUSION_SELF);
}
}
require_once THEMES."templates/footer.php";
?>
News_panel.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
// Predefined variables, do not edit these values
if ($settings['news_style'] == "1") { $i = 1; $rc = 0; $ncount = 1; $ncolumn = 1; $news_[0] = ""; $news_[1] = ""; $news_[2] = ""; } else { $i = 1; }
// Number of news displayed
$items_per_page = $settings['newsperpage'];
$rows = dbcount("(news_id)", DB_NEWS, groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'");
if (!isset($_GET['srow']) || !isnum($_GET['srow'])) { $_GET['srow'] = 0; }
if ($rows) {
$result = dbquery(
"SELECT tn.*, tc.*, tu.user_id, tu.user_name, tu.user_status FROM ".DB_NEWS." tn
LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
LEFT JOIN ".DB_NEWS_CATS." tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'
ORDER BY news_sticky DESC, news_datestamp DESC LIMIT ".$_GET['srow'].",$items_per_page"
);
$numrows = dbrows($result);
if ($settings['news_style'] == "1") { $nrows = round((dbrows($result) - 1) / 2); }
?>
<div class="new-title">Aktualno¶ci</div>
<?php
while ($data = dbarray($result)) {
$news_cat_image="";
if ($data['news_image_t2'] && $settings['news_image_frontpage'] == 0) {
$news_cat_image .= IMAGES_N_T.$data['news_image_t2'];
} elseif ($data['news_cat_image']) {
$news_cat_image .= get_image("nc_".$data['news_cat_name']);
} else {
$news_cat_image = "";
}
$news_news = $data['news_breaks'] == "y" ? nl2br(stripslashes($data['news_news'])) : stripslashes($data['news_news']);
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"user_status" => $data['user_status'],
"news_date" => $data['news_datestamp'],
"cat_id" => $data['news_cat'],
"cat_name" => $data['news_cat_name'],
"news_subject" => $data['news_subject'],
"news_ext" => $data['news_extended'] ? "y" : "n",
"news_reads" => $data['news_reads'],
"news_comments" => dbcount("(comment_id)", DB_COMMENTS, "comment_type='N' AND comment_item_id='".$data['news_id']."' AND comment_hidden='0'"),
"news_allow_comments" => $data['news_allow_comments'],
"news_sticky" => $data['news_sticky']
);
?>
<?php if($i%2==1){ ?><div class="new"><?php } ?>
<div class="new-<?php if($i%2==1){ echo "left"; } else { echo "right"; } ?>">
<div class="new-top"></div>
<div class="new-mid">
<?php if($news_cat_image!=""){ ?><p><img src="<?php echo $news_cat_image; ?>" width="97" height="81" alt="asd" title="asd"></p><?php } ?>
<p class="p-right<?php if($news_cat_image==""){ ?>2<?php } ?>">
<span class="new-mid-text"><?php echo $news_news; ?></span>
<span class="new-mid-more"><a href="<?php echo BASEDIR."news.php?readmore=".$news_info['news_id'].""; ?>">Więcej...</a></span>
</p>
<div class="clear"></div>
</div>
<div class="new-bot"></div>
</div>
<?php if($i%2==0){ ?><div class="clear"></div><?php } ?>
<?php if((($i%2==0) && $i-1!=$rows) || (($i%2==1) && $i==$items_per_page)){ ?></div><?php } ?>
<?php
$i++;
}
?>
<div class="clear"></div>
<?php
if ($rows > $settings['thumbs_per_page']) { echo "<div align='center' style='margin-top:5px;'>\n".makepagenav2($_GET['srow'], $settings['thumbs_per_page'], $rows, 3)."\n</div>\n"; }
}
?>
Style.css
a {
color : #BBBBBB;
text-decoration : none;
}
a:hover {
color : #CC0000;
text-decoration : underline;
}
a.side {
color : #CC0000;
text-decoration : none;
}
a:hover.side {
color : #CC0000;
text-decoration : underline;
}
a.white, li.white a {
color: #000;
text-decoration: none;
}
a:hover.white, li.white a:hover {
color: #000;
text-decoration: underline;
}
p {
margin:0px
}
body {
color : #000;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
margin: 0;
padding: 0;
background-color: #FFFFFF;
background-image: url('obrazki/tlo.png');
text-align: center;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat
}
form {
margin : 0px;
}
hr {
height : 1px;
border : 1px solid #eee;
}
img {
border : 0;
}
hr.side-hr {
height : 1px;
border : 1px solid #eee;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
pre {
font-family : Verdana, Tahoma, Arial, Sans-Serif;
font-size : 11px;
}
.alt {
color : #555;
}
.outer-border {
border : 1px solid #000;
}
.sub-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #888;
border-top : 1px solid #000;
border-bottom : 1px solid #000;
padding : 5px;
}
.sub-header ul{
margin: 0;
padding: 0;
}
.sub-header ul li{
display: inline;
}
.sub-header ul li.first-link .bullet{
display: none;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ddd;
background-color : #444;
padding : 10px;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f1f1f1;
border : 1px solid #ccc;
padding : 5px;
}
.admin-message {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
text-align : center;
color : #555;
background-color : #f6f6f6;
border : 1px solid #e1e1e1;
padding : 3px 4px 5px 4px;
margin-bottom : 5px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #fff;
background-color : #ababab;
height : 20px;
border : 1px solid #9c9c9c;
margin-top : 2px;
}
.bbcode {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #c1efcd3;
border : 1px solid #507c5c;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #fff;
background-color : #ababab;
border : 1px solid #9c9c9c;
margin-bottom: 5px;
}
.main-body {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px 0px 5px 0px;
}
.side-body {
font-size : 10px;
color : #777;
background-color : #f6f600;
padding : 4px;
}
#main-bg {
color : #555;
background-color : #000;
padding : 10px 5px 5px 5px;
}
.side-both #main-bg {margin: 0 187px;}
.side-left #main-bg {margin-left: 187px;}
.side-right #main-bg {margin-right: 187px;}
.side-left #side-border-right {display:none;}
.side-right #side-border-left {display:none;}
.center {
margin : 0 auto;
}
* html #main-bg{
height: 0px;
}
.border {
border : 1px solid #e1e1e1;
margin-bottom : 5px;
}
#side-border-left {
color : #777;
background-color : #fff;
float:left;
padding : 10px 0px 10px 10px;
width: 175px;
}
#side-border-right {
color : #777;
background-color : #fff;
float:right;
padding : 10px 10px 10px 0px;
width: 175px;
}
.news-category {
border:0;
margin:3px 5px 0 0;
background-color : #fff;
float:left;
}
.news-footer {
text-align: center;
font-size : 10px;
color : #555;
background-color : #fff;
padding : 3px 4px 4px 4px;
}
.barmain {
font-family : Verdana, Tahoma, Arial, Sans-Serif;
font-size : 10px;
color : #aaa;
padding : 4px;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #666;
background-color : #fff;
padding : 2px 0px 4px 0px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #666;
background-color : #f1f1f1;
border-bottom : 1px solid #e1e1e1;
padding : 4px;
}
.tbl-border {
border : 1px solid #b7876c
}
.tbl {
font-size : 11px;
color : #000;
background-color : #e0e0e0;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #000;
background-color : #e0e0e0;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #000;
background-color : #e0e0e0;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #888;
background-color : #f1f1f1;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #bbb;
}
.poll {
height : 12px;
border : 1px solid #bbb;
}
.comment-name {
font-weight : bold;
color : #005599;
}
.shoutboxname {
font-weight : bold;
color : #000;
padding-bottom: 2px;
border-top : 1px solid #507c5c;
border-left : 1px solid #507c5c;
border-right : 1px solid #507c5c;
background-color : #c4e4cc;
}
.shoutboxname a {
color : #000
}
.shoutboxname a:hover {
color : #444
}
.shoutbox {
color : #000;
padding: 2px;
border-bottom : 1px solid #507c5c;
border-left : 1px solid #507c5c;
border-right : 1px solid #507c5c;
background-color : #a6deb5;
}
.shoutboxdate {
font-size : 10px;
color : #000;
border : 1px solid #507c5c;
padding: 1px;
background-color : #aad79f;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #555;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #555;
background-color : #f6f6f6;
}
.side-label {
color : #555;
background-color : #f1f1f1;
padding : 2px 2px 3px 2px;
}
/* Vertical Navigation */
#navigation h2 {
font-size: 10px;
color : #555;
background-color: #f1f1f1;
margin: 0;
padding: 4px;
}
#navigation ul {
margin: 0;
padding: 0;
list-style-type: none;
}
* html #navigation ul li{
height: 1%;
}
#navigation a {
display: block;
color: #005599;
background-color: #f6f6f6;
padding: 2px;
text-decoration : none;
}
#navigation a:hover {
color: #f6f6f6;
background-color: #005599;
}
/* Page Navigation */
.pagenav {
padding: 0.4em;
}
.pagenav span {
color: #fff;
background-color: #005599;
border: 0px solid #e1e1e1;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
}
.pagenav a {
color: #005599;
background-color: #fff;
border: 0px solid #e1e1e1;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
text-decoration: none;
}
.pagenav a:hover {
color: #fff;
background-color: #005599;
margin: 0.2em;
text-decoration: none;
}
/*Helpers*/
.center {margin: 0 auto;}
.content_center {text-align: center;}
.flleft {float: left !important;}
.flright {float: right !important;}
.clear {clear: both;}
/*IE Fixes*/
* html #main-bg {
height: 1%;
width: auto;
}
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
.floatfix {overflow:hidden;}
* html .floatfix {width:100%;}
.center, *[align="center"] {margin: 0 auto;}
.mid {
margin-left: auto; margin-right: auto; text-align: center; width: 961px
}
.logo {
background-image: url('obrazki/logo.png'); float: center; height: 168px; width: 755px
}
.mid_menu-left {
background-image: url('obrazki/gfx_05.png'); float: left; width: 640px; height: 58px; width: 3px
}
.mid_menu {
float: left; height: 70px; background-color: #DDDDDD; width: 961px
}
.mid_menu-right {
background-image: url('obrazki/gfx_11.png'); float: left; height: 48px; width: 269px
}
.mid_menu ul {
float: left; list-style: none; margin: 0; padding: 0;
}
.mid_menu ul li {
float: left; list-style: none;
}
.mid_menu ul li a img {
border: 0
}
.mid_menu-podmenu {
float: left; display: none; list-style: none; margin: 0; padding: 0;
}
.mid_menu-podmenu li {
float: left; list-style: none; padding-top: 4px; padding-left: 30px
}
.mid_menu-podmenu li a {
color: #000000; font-family: tahoma; font-size: 13px
}
.mid_menu-bottom {
background-image: url('obrazki/gfx_14.png'); font-size: 1px; height: 4px; width: 961px
}
.panel_left {
float: left; padding-left: 10px; padding-top: 0px; width: 640px
}
.panel_right {
float: right; padding-right: 10px; padding-top: 10px; width: 271px
}
.panel_right_mid {
color: #000; font-family: tahoma; font-size: 12px; padding: 5px; width: 271px
}
.panel_right_mid-title {
background-image: url('obrazki/panel.png'); height: 25px; width: 261px; font-size: 14px; margin: 0; padding-top: 7px; font-weight: bold; padding-left: 5px; padding-right: 5px
}
.panel_right_mid-text {
font-size: 12px; margin: 0; font-family: 'Tahoma'; padding: 0; width: 271px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; padding-right: 5px
}
.panel_left_top {
height: 0px; font-size: 1px; width: 640px
}
.panel_left_mid {
color: #000; font-family: tahoma; font-size: 12px; text-align: left; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; width: 640px
}
.panel_left_bot {
height: 0px; margin-bottom: 5px; font-size: 1px; width: 640px
}
.panel_left_mid-title {
font-size: 14px; height: 20px; width: 600px; margin: 0; padding: 0; font-weight: bold; padding-left: 10px; padding-top: 5px; text-align: left
}
.panel_left_mid-text {
font-size: 12px; width: 620px; margin: 0; font-family: 'Times New Roman'; padding: 0; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; padding-right: 10px
}
.art-more {
text-align: center; padding: 5px;
}
.new-top {
background-color: #DDDDDD; font-size: 1px; height: 2px; width: 640px
}
.new-mid {
background-image: url('obrazki/gfx3_05.png'); width: 300px; text-align: left; padding: 6px; padding-left: 8px;
}
.new-mid p {
float: left
}
.p-right {
padding-left: 5px; width: 321px
}
.p-right2 {
padding-left: 0px; width: 321px
}
.new-mid p {
float: left
}
.p-right {
padding-left: 5px; width: 215px
}
.new-mid p img {
border: 2px solid #CDA144
}
.new-mid-more {
text-align: right
}
.new-left {
float: left; width: 315px
}
.new-right {
float: left; padding-left: 6px; width: 315px
}
.new-title {
background-image: url('obrazki/aktual.png'); height: 20px; width: 150px; color: #FFFFFF; font-family: tahoma; font-size: 18px; padding-bottom: 5px; padding-left: px; padding-top: 3px; text-align: center
}
.new {
margin-bottom: 7px
}
.req {
margin-left: 15px; width: 930px; background-color: #FFFFFF; padding-top: 5px; padding-bottom: 25px
}
.req img {
padding-left: 10px
}
.tnew-img {
background-color: #fff;
opacity: 0.3;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);
height: 62px;
left: 7px;
position: absolute;
bottom: 5px;
width: 430px;
font-size: 11px;
font-weight: bold
}
.search_button {
background-color: #000000; border: 0; color: #FFFFFF; font-weight: bold
}
.top_block {
background-color: #000000; font-family: tahoma; font-size: 18px; height: 40px
}
.middle_block {
border-left: 0px solid #D2A545; background-color: #FFF; border-right: 0px solid #D2A545
}
.middle_bloc {
border-left: 0px solid #D2A545; border-right: 0px solid #D2A545
}
.t_new {
border: 0px solid #CDA144; margin-bottom: 5px
}
.t_new-1 {
float: left; display: block; height: 218px; position: relative; width: 446px
}
.t_new-1a {
float: left; display: none; height: 218px; position: relative; width: 446px
}
.t_new-2 {
bottom: 8px;
left: 8px;
height: 56px;
width: 419px;
padding-left: 5px;
padding-right: 5px;
position: absolute;
text-align: left;
width: 418px
}
.t_new-3 {
float: left; height: 218px; width: 226px
}
.t_new-4 {
background-color: #B1060E; border-bottom: 2px solid #CDA144; border-left: 2px solid #CDA144; color: #FFF; height: 43px; padding-left: 10px; padding-right: 10px; padding-top: 10px; text-align: left; width: 204px
}
.t_new-5 {
background-color: #B1060E; border-left: 2px solid #CDA144; color: #FFF; height: 43px; padding-left: 10px; padding-top: 10px; padding-right: 10px; text-align: left; width: 204px
}
.t_new-4 a {
color: #fadea2;
}
.t_new-5 a {
color: #fadea2;
}
.tabela-zielen {
background-color: #93CE7C; font-weight: bold; width: 220px
}
.tabela-szary {
background-color: #EFEFEF; font-weight: bold; width: 220px
}
.tabela-czerwony {
background-color: #d80f1b; font-weight: bold; width: 220px
}
.tabela-pozycja {
float: left; text-align: right; width: 20px
}
.tabela-klub {
float: left; padding-left: 5px; text-align: left; width: 180px
}
.tabela-punkty {
float: left; text-align: left; width: 15px
}
.mecze-tabela {
margin-left: auto; margin-right: auto; text-align: center
}
.tabela-terminarz {
float: right; margin-right: 15px; margin-top: 10px; margin-bottom: 5px; text-align: right
}
.authors {
background-image: url('obrazki/stopka.png'); height: 25px; padding-top: 5px; padding-bottom: 0px
}
.authors-copy {
color: #CCCCCC; float: left; font-family: tahoma; font-weight: bold; font-size: 5px; padding-left: 25px
}
.authors-web {
color: #CCCCCC; float: right; font-family: tahoma; font-weight: bold; font-size: 5px; padding-right: 25px
}
.authors-web a {
color: #CCCCCC;
}
.last_match-1 {
float: left; padding-left: 20px
}
.last_match-2 {
float: left; padding-left: 10px; padding-right: 10px; padding-top: 40px
}
.last_match-3 {
float: left
}
.last_match-4 {
font-size: 26px; padding-top: 5px
}
.last_match-5 {
font-size: 13px; padding-right: 30px; padding-top: 5px; text-align: right
}
.last_match-6 {
padding-right: 10px
}
.next_match-1 {
float: left; padding-left: 20px
}
.next_match-2 {
padding-top: 5px
}
.next_match-3 {
float: left; padding-left: 10px; padding-right: 10px; padding-top: 40px
}
.next_match-4 {
float: left
}
.next_match-5 {
font-size: 11px; padding-left: 3px
}
.next_match-6 {
font-size: 11px; padding-left: 2px
}
.next_match-7 {
padding-top: 5px
}
.tabela-opcje {
font-size: 13px; padding-right: 30px; padding-top: 5px; text-align: right
}
.gallery-podpis {
padding-right: 20px; padding-top: 5px; text-align: right
}
.t_new-0 {
float: left
}
.green_table {
background-color: #93CE7C;
}
.red_table {
background-color: #d80f1b;
}
#basic-accordian{
border:5px solid #EEE;
padding:5px;
width:350px;
position:absolute;
left:50%;
top:50%;
margin-left:-175px;
z-index:2;
margin-top:-100px;
}
.accordion_headings{
padding:5px;
background:#CC0033;
color:#FFFFFF;
border:1px solid #FFF;
cursor:pointer;
font-weight:bold;
}
.accordion_headings:hover{
background:#990000;
}
.accordion_child{
padding:15px;
background:#EEE;
}
.header_highlight{
background:#CC0033;
}
.tbl3 { font-size : 11px; color : #555; background-color : #a7d799; padding : 4px; margin : 0px 20px 0px 20px;}.tbl4 { font-size : 11px; color : #555; background-color : #ff2b2b; padding : 4px; margin : 0px 20px 0px 20px;}
#slider {
position:relative;
width:650px; /* Change this to your images width */
height:300px; /* Change this to your images height */
background:url(themes/polonia/images/loading.gif) no-repeat 50% 50%;
}
#slider img {
position:absolute;
top:0px;
left:0px;
display:none;
}
#slider a {
border:0;
display:block;
}
.theme-default .nivo-directionNav a {
display:block;
width:30px;
height:30px;
background:url('images/arrows.png') no-repeat;
text-indent:-9999px;
border:0;
}
.theme-default a.nivo-nextNav {
background-position:-30px 0;
right:15px;
}
.theme-default a.nivo-prevNav {
left:15px;
}
.theme-default .nivoSlider {
background:#fff url('images/loading.gif') no-repeat 50% 50%;
}
Edytowane przez dolis dnia 01.11.2013 20:54:23
|