Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Klaida

Parašė iSty· 2008 Lap. 11 20:11:04
#1



Prašau padarykite kad būtu Juodos raidės o ne baltos..Niekaip neikertu kaip padaryt..yra baltos ir viskas
Va čia theme.php:

<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

/* Theme Settings */
$body_text = "#555555";
$body_bg = "#343434";
$theme_width = "1000";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {
global $theme_width,$settings;

echo "<table align='center' class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td width='25' nowrap='nowrap' class='lefttd'></td><td>";
// Start banner code
echo "<table width='1000' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td background='".THEME."images/02.gif' height='185'>&nbsp;</td></tr></table>";
// End banner code
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td background='".THEME."images/09.gif' height='31'>&nbsp;<img border='0' src='".THEME."images/bullet.gif'>".showsublinks("<img border='0' src='".THEME."images/bullet.gif'>")."</td>\n";
echo "</td></tr></table>";

echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='2' bgcolor='#9A978E' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {

global $theme_width;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='1000' height='31'><tr><td align='center' class='footer'>Varikliukas: <a href='http://www.php-fusion.co.uk/' targer='_blank'>PHP-Fusion</a>. Sprendimas: <a href='mailto:stasys37GMail.com'>Chazz`</a></td></tr></table>";

}

function render_news($subject, $news, $info) {

global $locale;

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'><tr>";
echo "<td class='capmain'><center>$subject</center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer' align='center'>&nbsp;".newsposter($info)."</td>";
echo "<td align='center' class='news-footer'>";
echo openform("N",$info['news_id']).newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;

echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='capmain'><center>$subject</center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer' align='center'>".articleposter($info)."</td>";
echo "<td align='center' class='news-footer'>";
echo openform("A",$info['article_id']).articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'><tr>";
echo "<td class='scapmain'>$title</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='side-body'>\n";
}

// Close table end
function closetable() {
echo "</td></tr></table>\n";
}

function openside($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'><tr>";
echo "<td class='scapmain'>$title</td></tr>";
echo "<tr><td class='side-body'>";
}

function closeside() {
echo "</td></tr></table>";
tablebreak();
}

function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table bgcolor='#ABA8A0' border='0' style='border: 1px solid #8A8573' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='scapmain'>$title</td>";
echo "<td class='scapmain' align='right'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "</tr>";
echo "<tr><td colspan='2' class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}


function closesidex() {

echo "</div></td></tr></table>";
tablebreak();
}

// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>

Redagavo iSty· 2008 Lap. 11 20:11:28

Parašė blist· 2008 Lap. 11 20:11:48
#2

duok style.css

Parašė iSty· 2008 Lap. 11 22:11:28
#3

.top{
color:#FFFFFF;
padding:0 10px 0 0px;
margin:0 0 0 0px;
}
a {
color : #2b85b6;
text-decoration : none;
}

a:hover {
color : #000000;
text-decoration : underline;
}

a.side {
color : #000000;
text-decoration : none;
}

a:hover.side {
color : #000000;
text-decoration : underline;
}

a.white {
color : #000000;
text-decoration : none;
}

a:hover.white {
color : #000000;
text-decoration : underline;
}

body {
padding:0;
margin:0;
background:url(images/05.gif);
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}

form {
margin : 0px;
}

hr {
height : 1px;
border : 1px solid #eee;
}

hr.side-hr {
height : 1px;
border : 1px solid #eee;
}

td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}

pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}

.alt {
color : #005599;
}

.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 #000000;
border-bottom : 1px solid #000000;
padding : 5px;
}

.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #444;
padding : 10px;
}

.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background:url(images/09.gif);
}

.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #f1f1f1;
height : 20px;
border : 1px solid #ccc;
margin-top : 2px;
}

.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f8f8f8;
border : 1px solid #ccc;
}

.main-body {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px 0px 5px 0px;
}

.side-body {
font-size : 10px;
color : #777;
background-color : #f6f6f6;
padding : 4px;
}

.main-bg {
color : #555;
background-color : #fff;
padding : 10px 5px 10px 5px;
}

.border {
border :1px solid #ccc;
}

.side-border-left {
color : #777;
background-color : #fff;
padding : 10px 5px 10px 10px;
}

.side-border-right {
color : #777;
background-color : #fff;
padding : 10px 10px 10px 5px;
}

.news-footer {
font-size : 10px;
color : #DDD;
background:url(images/17.gif);
padding : 3px 4px 4px 4px;
}

.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color: #FFFFFF;
height:33px;
background:url(images/13.gif);
padding : 4px;
}

.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #FFFFFF;
height:33px;
background:url(images/13.gif);
padding : 4px;
text-align:center;
}

.tbl-border {
color : #555;
background-color : #e1e1e1;
}

.tbl {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px;
}

.tbl1 {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px;
}

.tbl2 {
font-size : 11px;
color : #555;
background-color : #f1f1f1;
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 : #005599;
background-color : #f6f6f6;
}

.shoutbox {
color : #777;
background-color : #f6f6f6;
}

.shoutboxdate {
font-size : 10px;
color : #888;
background-color : #f6f6f6;
}

.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;
}
Styles Css..

Redagavo iSty· 2008 Lap. 12 10:11:44

Parašė Ginciuss· 2008 Lap. 11 23:11:53
#4

Tu netalpink, o parašyk taip pat kaip ir theme.php