Zaawansowany
Postów: 1139 Pomógł: 4
Data rejestracji: 13.11.2004 23:06
|
Yh domyślnie w skinach nie ma polskich dat!
w folderze includes/ stwórz plik data.php i daj tą treść:
<?php
$day = array("Niedziela", "Poniedziałek", "Wtorek",
"¦roda" , "Czwartek", "Pi±tek", "Sobota"
);
$month = array(1 => "Stycznia", "Lutego", "Marca",
"Kwietnia", "Maja", "Czerwca", "Lipca", "Sierpnia",
"Wrze¶nia", "PaĽdziernika", "Listopada", "Grudnia"
);
$date = date("d")." ".$month[date("n")]." ".date("Y");
?>
A w pliku theme.php tam gdzie ma byc data daj:
".$day[date("w")].", ".$date." ".date("H:i:s")."
|
Przedszkolak
Postów: 5
Data rejestracji: 16.05.2006 22:25
|
styles.css
body {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
padding:10px 10px 10px 10px;
margin: 0px 0px 0px 0px;
background-color: #000000;
background-image: url('images/background.gif');
scrollbar-3dlight-color: #6a6a6a;
scrollbar-arrow-color: #CBCDC7;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: #444444;
scrollbar-highlight-color: #444444;
scrollbar-shadow-color: #000000;
scrollbar-track-color: #2e2e2e;
}
.footer { font-size: 9px; color: #808080; }
/* General page style */
.bodyline {background: #000000;color:#000000;border:0px solid #C1CDD2;}
a {color:#CBCDC7; text-decoration:none;}
a:hover {color:#4985F4; text-decoration:none;}
a.side {color:#CBCDC7; text-decoration:none;}
a:hover.side {color:#4985F4; text-decoration:none;}
a.white {color:#CBCDC7; text-decoration:none;}
a:hover.white {color:#4985F4; text-decoration:none;}
a.category:link {font: 12px arial; color: #FFFFFF; height:17px;white-space:nowrap; text-decoration: none; font-weight:bold}
a.category:active {font: 12px arial; color: #FFFFFF; height:17px;white-space:nowrap; text-decoration: none; font-weight:bold}
a.category:visited {font: 12px arial; color: #FFFFFF; height:17px;white-space:nowrap; text-decoration: none; font-weight:bold}
a.category:hover {font: 12px arial; color: #E73100; height:17px;white-space:nowrap; text-decoration: none; font-weight:bold}
form {margin:0px 0px 0px 0px;}
hr {border-top: 1px solid #3C3C3C; border-bottom: 1px solid #6A6A6A; background-color: transparent; height: 2px;width: 100%;}
hr.side-hr {border-top: 1px solid #94A0B3; border-bottom: 1px solid #E0E3E8; background-color: transparent; height: 2px;width: 100%;}
td {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:10px;}
pre {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:9px;}
.alt {color:#aaa;}
.white-header {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:10px; color:#444;background-color:#62784C;
padding:4px; border-top:#6D6D6D 1px solid; border-bottom:#6D6D6D 1px solid;}
.full-header {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:10px; color:#111;background-color:#62784C;}
.button {border-color: #5b5b5b; color:#eeeeff; background-color: #000000; font:normal 11px Verdana,Arial,Helvetica,sans-serif;margin-top:2px;}
.textbox {border-color: #5b5b5b; color:#eeeeff; background-color: #303030; font:normal 11px Verdana,Arial,Helvetica,sans-serif}
.visits {color:#CBCDC7; text-decoration:none; FONT-WEIGHT: bold;font-size:10px;}
.main-body {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:11px; color:#D0D0D0; background-color:#000000; padding:3px 4px 3px 4px;}
.side-body {font-size:10px; color:#C6C7C8;}
.main-bg {background-color:#000000;}
.border {border-width:0px 1px 1px 1px;border-color:#6D6D6D;border-style:solid;}
.border1 {border-width:1px 1px 1px 1px;border-color:#6D6D6D;border-style:solid;}
.news-footer {font-size:10px;font-weight:normal; color:#AAAAAA; background-color:#000000; padding:4px 4px 4px 4px;}
.capmain {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:10px;font-weight:bold;
border-width:1px 1px 1px 1px;border-color:#6D6D6D;border-style:solid;
color:#FFFDF0; height:22px; padding:2px 2px 2px 2px;}
.block-title {BACKGROUND: none; COLOR: #B7B9AC; FONT-SIZE: 10px; FONT-WEIGHT: bold; height:14px;white-space:nowrap; FONT-FAMILY: Verdana, Helvetica}
.content {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
img {border: 0px;}
.capleft {width:2px;height:20px;}
.capright {width:2px;height:20px;}
.scapmain {font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:10px;font-weight:bold; color:#000; height:19px; padding:0px 2px 0px 2px;
border-width:1px 0px 1px 0px;border-color:#6D6D6D #6D6D6D #6D6D6D #6D6D6D;border-style:solid;}
.tbl-border {background-color:#6D6D6D;}
.tbl {font-size:11px; padding:3px 4px 3px 4px;}
.tbl1 {font-size:11px; color:#C1C1C1; background-color:#232323; padding:4px;}
.tbl2 {font-size:11px; color:#C1C1C1; background-color:#000000; padding:4px;}
/* Forum header*/
.forum-caption {font-size:10px;font-weight:bold; color:#C0C8DC;background-color:#ECF0F6; height:22px; padding:0px 4px 2px 4px;
background-image:url(images/cellpic3.gif);background-repeat:repeat-x;border-width:0px 0px 0px 0px;border-color:#6D6D6D #6D6D6D #6D6D6D #6D6D6D;border-style:solid;}
/* Quote blocks */
.quote{
background: #525252;
border: 1px solid #6D6D6D;
color:#e7e7e7;
padding:2px;
margin:0px 20px 0px 20px;
}
/* Voting Poll */
.poll {height:12px; border:0px #000000 solid;}
.comment-name {font-weight:bold; color:#506481;}
/* This is for the Shoutbox */
.shoutboxname {font-weight:bold; color:#007090;}
.shoutbox {color:#C7C9CF;}
.shoutboxdate {font-size:9px; color:#aaa;}
.shoutboxhelp {font-size:9px; color:#C7D9E3; text-align:right;}
.small {font-size:11px; font-weight:normal;}
.small2 {font-size:10px; font-weight:normal; color:#aaa;}
.side-small {font-size:9px; font-weight:normal; color:#aaa;}
.side-label {background-color:#C3C3C3; font-weight:normal; color:#153C76; padding:2px;}
/* This is for the Photo Gallery */
.gallery {padding: 16px 0px 8px 0px;}
.gallery img {border: 1px solid #6D6D6D; filter: gray;}
.gallery:hover img {border: 1px solid #2D70A3; filter: none;}
img.activegallery {border: 1px solid #6D6D6D; filter: none;}
theme.php
<?
//************************************************************************************************************************//
// Theme Name: zoneSilver Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#A9B9BD";
$body_bg = "#000000";
$theme_width = "100%";
$theme_width_l = "185";
$theme_width_r = "185";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table background='".THEME."images/darkSilver_07.gif' width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='24' height='106'><img src='".THEME."images/darkSilver_03.gif' width='24' height='106'></td>";
echo "<td width='58' height='106'><img src='".THEME."images/darkSilver_06.gif' width='58' height='106'></td>";
echo "<td width='100%' align='left'><a href='index.php'>$header_content</td>";
echo "<td width='58' height='106'><img src='".THEME."images/darkSilver_11.gif' width='58' height='106'></td>";
echo "<td width='28' height='106'><img src='".THEME."images/darkSilver_13.gif' width='28' height='106'></td>";
echo "</tr></table>";
echo "<table width='100%' height='22' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='24' background='".THEME."images/darkSilver_16.gif'> </td>";
echo "<td align='left' bgcolor='222222' nowrap> </td>";
echo "<td nowrap bgcolor='222222'> <div align='left'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <font class='content'><strong>:: </strong></font>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</div></td>";
echo "<td align='right' width='170' bgcolor='222222' nowrap>".ucwords(showdate($settings['subheaderdate'], time()))."</td>";
echo "<td width='28' background='".THEME."images/darkSilver_20.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='21'><img src='".THEME."images/darkSilver_23.gif' width='21' height='19'></td>";
echo "<td background='".THEME."images/darkSilver_24.gif'> </td>";
echo "<td width='21'><img src='".THEME."images/darkSilver_27.gif' width='21' height='19'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='15' background='".THEME."images/darkSilver_28.gif'><img src='images/spacer.gif' width='15' height='1'></td>";
echo "<td align='center' valign='top' bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "</td></tr></table><td valign='top' width='100%' bgcolor='#000000'>";
echo "<table width='100%' cellpadding='0' bgcolor='#000000' cellspacing='4' border='0'>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<td width='16' background='".THEME."images/darkSilver_31.gif'><img src='images/spacer.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='35'><IMG SRC='".THEME."images/darkSilver_34.gif' WIDTH=35 HEIGHT=56 ALT=''></td>";
echo "<td class='footer' align='center' background='".THEME."images/darkSilver_35.gif'><br><br>";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo " | Original style by yassineb :: Ported for PHP-Fusion by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a></td>";
echo "<td width='35'><IMG SRC='".THEME."images/darkSilver_38.gif' WIDTH=35 HEIGHT=56 ALT=''></td></tr></table></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' border='0' cellspacing='0' cellpadding='6'><tr>";
echo "<td><table width='100%' height='30' border='0' cellpadding='0' cellspacing='0'>";
echo "<tr><td width='30' background='".THEME."images/darkSilverHeader_01.gif'> </td>";
echo "<td background='".THEME."images/darkSilverHeader_03.gif'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
echo "<tr><td><font class='storytitle'>$subject</font></td></tr></table></td>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_05.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'><img src='".THEME."images/darkSilverFooter_05.gif' width='16' height='8'></td>";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td class='main-body'>$news</td></tr>";
echo "<tr><td class='news-footer'><div align='center'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "<hr><div align='right'>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'><img src='".THEME."images/darkSilverFooter_06.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'></td></tr></table></td></tr></table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' border='0' cellspacing='0' cellpadding='6'><tr>";
echo "<td><table width='100%' height='30' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_01.gif'> </td>";
echo "<td background='".THEME."images/darkSilverHeader_03.gif'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
echo "<tr><td><font class='storytitle'>$subject</font></td></tr></table></td>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_05.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'><img src='".THEME."images/darkSilverFooter_05.gif' width='16' height='8'></td>";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>";
echo "<tr><td class='news-footer'><div align='center'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
echo "<hr><div align='right'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'><img src='".THEME."images/darkSilverFooter_06.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'></td></tr></table></td></tr></table>";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td>";
echo "<tr><td class='main-body'></td></table>";
}
// Close table end
function closetable() {
echo"</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td><tr>";
echo "<td class='side-body'></td></table>";
}
function closeside() {
echo "</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td><tr>";
echo "<td class='side-body'></td></table>";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
przerobi mi to ktoś ;) żeby była polska data na pasku i w nesach :) bede bardzo wdzięczny :p B)
Wylaczamy emotki i nie piszemy posta za postem!/Pieka
Edytowane przez Pieka dnia 02.07.2006 16:40:50
|