Przedszkolak
Postów: 26 Ostrzeżeń: 8
Data rejestracji: 08.09.2007 14:15
ZBANOWANY: Dożywotnio
|
Jak w temacie:
Jak najedziecie myszką tu:
(białe pole)to pokaze sie odnosnik do strony www.php-fusion.co.uk
Zawartość pliku theme:
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fu... |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Fusion 6 Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock © 2005 |
| web: http://phpfusion.org |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "1000";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<center><table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"269\" align=\"center\" valign=\"bottom\" background=\"".THEME."header/wow_head.gif\">
<div align='right'>".ucwords(showdate($settings['subheaderdate'], time()))." </div>
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<td width=\"100\" height=\"32\" align=\"center\" background=\"".THEME."images/button.jpg\"><a href='".$data['link_url']."'".$link_target."><h3>".$data['link_name']."</h3></a></td>";
} else {
echo "<td width=\"100\" height=\"32\" align=\"center\" background=\"".THEME."images/button.jpg\"><a href='".BASEDIR.$data['link_url']."'".$link_target."><h3>".$data['link_name']."</h3></a></td>";
}
}
if ($i != dbrows($result)) { echo "<td width=\"17\" height=\"32\" align=\"center\" background=\"".THEME."images/buttonb.gif\"></td>"; } else { echo "\n"; } $i++;
}
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"16\" background=\"".THEME."panels/leftborder.gif\"> </td>
<td>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</td>
<td width=\"16\" background=\"".THEME."panels/rightborder.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"16\" background=\"".THEME."panels/leftborder.gif\"> </td>
<td align='center'>".stripslashes($settings['footer'])."</td>
<td width=\"16\" background=\"".THEME."panels/rightborder.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
<img name=\"wow_foot1\" src=\"".THEME."footer/wow_foot.gif\" width=\"1000\" height=\"150\" border=\"0\" usemap=\"#m_wow_foot1\" alt=\"\">
<map name=\"m_wow_foot1\">
<area shape=\"rect\" coords=\"400,76,550,90\" href=\"http://www.php-fusion.co.uk/\" target=\"_blank\" title=\"PHP-Fusion Poland\" alt=\"Powered by PHP-Fusion by Nick Jones.\" >
</map>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#212723\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$subject</td>
</tr>
<tr>
<td class='main-body'><hr>$news</td>
<tr>
<td align='center'><hr>".$locale['040']." <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['041'].showdate("longdate", $info['news_date'])." --- ";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> <b>·</b>\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> <b>·</b> ";
echo "".$info['news_reads'].$locale['044']." <b>-</b> ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td>";
echo "</tr>
</tr>
</table>
</td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#212723\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$subject</td>
</tr>
<tr>
<td class='main-body'><hr><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><hr>
<div align='center'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."";
if ($info['article_allow_comments'])
echo $info['article_comments'].$locale['043']." <b>·</b> ";
echo "".$info['article_reads'].$locale['044']." <b>-</b> ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</div></td>";
echo " </tr>
</table></td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function opentable($title) {
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#212723\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table></td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function opentablex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#212723\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$title</td>
<td align='right' width='17' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
</tr>
<tr>
<td class='main-body'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closetablex() {
echo "</div></td>
</tr>
</table></td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function openside($title) {
echo "<table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"47\" align=\"right\" valign=\"bottom\" background=\"".THEME."panels/pt.gif\">
<table width=\"73%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-caption'>$title</td>
</tr>
<tr>
<td height=\"20\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background=\"".THEME."panels/pm.gif\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"36\"> </td>
<td width=\"142\" class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=\"8\" background=\"".THEME."panels/pb.gif\"></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"47\" align=\"right\" valign=\"bottom\" background=\"".THEME."panels/pt.gif\">
<table width=\"73%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-caption'>$title</td>
<td align='center' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
</tr>
<tr>
<td height=\"20\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background=\"".THEME."panels/pm.gif\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"36\"> </td>
<td width=\"142\" class='side-body'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=\"8\" background=\"".THEME."panels/pb.gif\"></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
echo "</td></tr></table>\n";
}
?> Kliknij i zaczekaj na załadowanie kodu ...
I pliku styles.css:
body {
FONT-SIZE: 10px;
COLOR: #FFFFFF;
BACKGROUND-color: #000000;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
padding:0px 0px 0px 0px;
margin:0px 0px 0px 0px;
scrollbar-face-color:#EFEFEF;
scrollbar-shadow-color:#AAAAAA;
scrollbar-highlight-color:#5F5F5F;
scrollbar-3dlight-color:#CCCCCC;
scrollbar-darkshadow-color:#DEDEDE;
scrollbar-track-color:#E5E5E5;
SCROLLBAR-BASE-color: #B8B8B8;
SCROLLBAR-ARROW-color: #909090;
}
a {
FONT-SIZE: 10px;
COLOR: #FFB019;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
TEXT-DECORATION: none;
}
a:hover {
FONT-SIZE: 10px;
COLOR: #ffffff;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
TEXT-DECORATION: none;
}
a.side {
FONT-SIZE: 10px;
COLOR: #FFB019;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
TEXT-DECORATION: none;
}
a:hover.side {
FONT-SIZE: 10px;
COLOR: #ffffff;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
TEXT-DECORATION: none;
}
a.white {
FONT-SIZE: 10px;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
COLOR: #FFB019;
TEXT-DECORATION: none;
}
a:hover.white {
FONT-SIZE: 10px;
COLOR: #ffffff;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
TEXT-DECORATION: none;
}
.textbox {
background:#896633;
color:#ffffff;
FONT-SIZE: 10px;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
BORDER-TOP: #282723 2px solid;
BORDER-BOTTOM: #27282C 1px solid;
BORDER-LEFT: #282723 2px solid;
BORDER-RIGHT: #27282C 1px solid;
}
.button {
background:#896633;
color:#ffffff;
FONT-SIZE: 10px;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
BORDER-TOP: #27282C 1px solid;
BORDER-BOTTOM: #27282C 1px solid;
BORDER-LEFT: #27282C 1px solid;
BORDER-RIGHT: #27282C 1px solid;
}
hr {
border-top: 1px solid #888888;
border-bottom: 1px solid #27282C;
height: 1px;
width: 100%;
}
hr.side-hr {
border-top: 1px solid #888888;
border-bottom: 1px solid #27282C;
height: 1px;
width: 100%;
}
.main-body {
font-size:10px;
color:#ffffff;
}
.side-body {
font-size:10px;
color:#ffffff;
}
.forum-caption {
background-image:url(images/tbg.gif);
background-repeat:repeat-x;
height: 25px;
FONT-SIZE: 11px;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
font-weight:bold;
padding-left: 5px;
color:#FFB019;
}
.side-caption {
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
font-size:11px;
font-weight:bold;
color:#FFB019;
}
.center-caption {
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
font-size:11px;
font-weight:bold;
color:#EFEFEF;
}
.tbl-border {
background-color:#000000;
}
.tbl {
font-size:10px;
padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:10px; color:#ffffff;
background-color:#161616;
padding:2px;
}
.tbl2 {
font-size:10px; color:#ffffff;
background-color:#252525;
padding:2px;
}
td {
FONT-SIZE: 10px;
FONT-FAMILY: arial, helvetica, verdana, sans-serif;
}
.side-small {
font-size:10px; font-weight:normal; color:#ffffff;
}
.main-bg {
padding:5px 0px 5px 0px;
}
.side-border-left {
padding:5px 5px 0px 0px;
}
.side-border-right {
padding:5px 0px 0px 5px;
}
.quote {
color:#000000;
background-color:#896633;
padding:2px;
margin:0px 0px 0px 0px;
border:1px #5F5F5F solid;
font-size:10px;
}
.small {
color:#ffffff;
font-size:10px;
font-weight:normal;
}
.small2 {
color:#ffffff;
font-size:10px;
font-weight:normal;;
}
.shoutboxname {
font-weight:bold; color:#113355;
}
.shoutbox {
color:#ffffff;
}
.shoutboxdate {
font-size:9px;
color:#ffffff;
text-align:right;
font-style: italic;
}
img {
border: 0px;
}
form {
margin:0px 0px 0px 0px;
}
pre {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;
}
.alt {
color:#666;
}
.header {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#333;
background-color:#EFEFEF;
padding:5px;
}
.border {
background-color:#ddd;
border:2px #5F5F5F solid;
}
.infobar {
font-size:9px;
color:#ffffff;
border-top: solid #C4C4C4;
border-top-width: 1px;
border-left: solid #C4C4C4;
border-left-width: 1px;
border-right: solid #F6F6F6;
border-right-width:0px;
border-bottom: solid #F6F6F6;
border-bottom-width:1px;
padding:3px 4px 3px 4px;
}
.infobar2 {
font-size:9px;
color:#ffffff;
border-top: solid #C4C4C4;
border-top-width: 1px;
border-left: solid #C4C4C4;
border-left-width: 0px;
border-right: solid #F6F6F6;
border-right-width:1px;
border-bottom: solid #F6F6F6;
border-bottom-width:1px;
padding:3px 4px 3px 4px;
}
.poll {
height:12px; border:1px #444 solid;
}
.comment-name {
font-weight:bold; color:#113355;
}
.gallery {
padding: 16px 0px 8px 0px;
}
.gallery img {
border: 1px solid #ccc; filter: gray;
}
.gallery:hover img {
border: 1px solid #D2D200; filter: none;
}
img.activegallery {
border: 1px solid green; filter: none;
}
Kliknij i zaczekaj na załadowanie kodu ...
PW od moderatora:
- Przeniesienie tematu - Pieka 31.01 - 22:46
Edytowane przez Pieka dnia 31.01.2009 22:53:02
|