Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: news footeris
Parašė blist· 2008 Rugp. 1 15:08:58
#1
Kaip pakeisti siu textu spalvas? Jei galit pakeiskit i
#ffffff
stai
style.css
a {
color : #ffffff;
text-decoration : none;
}
a:hover {
color : #ffffff;
text-decoration : none;
font-weight: bold;
}
a.side {
color : #ffffff;
text-decoration : none;
}
a:hover.side {
color : #ffffff;
text-decoration : underline;
font-weight: bold;
}
a.white {
color : #ffffff;
text-decoration : none;
}
a:hover.white {
color : #ffffff;
text-decoration : none;
}
body {
font-family : Tahoma;
font-size : 11px;
background-color : #262626;
background-image: url(images/bg.jpg);
background-attachment: fixed;
}
form {
margin : 0px;
}
hr {
height : 0px;
border : 0px solid #eee;
}
hr.side-hr {
height : 0px;
border : none;
}
td {
font-family : Tahoma;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #262626;
}
.outer-border {
border : 0px solid #ffffff;
}
.sub-header {
font-family : Tahoma;
font-size : 10px;
color : #fff;
padding : 0px;
background-color : #262626;
border : none;
}
.full-header {
font-family : Tahoma;
font-size : 10px;
color : #000000;
border : 0px solid #000000;
}
.footer {
font-family : Tahoma;
font-size : 10px;
color : #000;
padding : 1px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #333;
background-color : #ffffff;
height : 15px;
border : 1px solid #dddeda;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #ffffff;
border : 1px solid #000000;
}
.main-body {
font-size : 11px;
color : #c9c9c9;
background-color : #262626;
padding : 4px;
}
.side-body {
font-size : 10px;
color : #333;
background-color : #1b1b1b;
padding : 4px;
}
.main-bg {
color : #262626;
background-color : #262626;
padding : 10px 5px 50px 10px;
}
.border {
border : 0px solid #ffffff;
}
.side-border-left {
color : #000;
background-color : #262626;
padding : 10px 5px 50px 10px;
}
.side-border-right {
color : #000;
background-color : #262626;
padding : 10px 10px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #c9c9c9;
background-color : #262626;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family : Tahoma;
font-size : 10px;
border-bottom : none;
color : #fff;
background-image : url(images/cellpic.png);
padding : 15px;
}
.scapmain {
font-family : Tahoma;
font-size : 10px;
border-bottom : none;
color : #fff;
background-image : url(images/cellpic1.png);
padding : 15px;
}
.tbl-border {
color : #333;
background-color : #333;
}
.tbl {
font-size : 11px;
color : #333;
background-color : #fff;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #333;
background-color : #262626;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #ffffff;
background-color : #262626;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-color : #262626;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #000;
}
.poll {
height : 12px;
border : 1px solid #000000;
}
.comment-name {
font-weight : bold;
color : #000;
}
.shoutboxname {
font-weight : bold;
color : #000;
}
.shoutbox {
color : #000;
}
.shoutboxdate {
font-size : 10px;
color : #000;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #ffffff;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #ffffff;
background-color : #fff;
}
.side-label {
color : #000;
background-color : #fff;
padding : 2px 2px 3px 2px;
}
ir
theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "828";
$theme_width_l = "190";
$theme_width_r = "190";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<center><table id='Table_01' width='828' height='185' border='0' cellpadding='0' cellspacing='0'>
</table></center>";
echo "<center><img src='".THEME."images/header2.png'></center>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='47' background='".THEME."images/footer.png' align='center' class='footer'>".stripslashes($settings['footer'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'> $news</td>
</tr>
<tr>
<td align='center' class='news-footer'>
\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'> $title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' height='41' width='100%' class='border'>
<tr>
<td class='scapmain'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
<td class='capmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Aciu :)
Redagavo blist· 2008 Rugp. 1 16:08:57
Parašė Dandžu· 2008 Rugp. 1 15:08:14
#2
Še.
a {
color : #ffffff;
text-decoration : none;
}
a:hover {
color : #ffffff;
text-decoration : none;
font-weight: bold;
}
a.side {
color : #ffffff;
text-decoration : none;
}
a:hover.side {
color : #ffffff;
text-decoration : underline;
font-weight: bold;
}
a.white {
color : #ffffff;
text-decoration : none;
}
a:hover.white {
color : #ffffff;
text-decoration : none;
}
body {
font-family : Tahoma;
font-size : 11px;
background-color : #262626;
background-image: url(images/bg.jpg);
background-attachment: fixed;
}
form {
margin : 0px;
}
hr {
height : 0px;
border : 0px solid #eee;
}
hr.side-hr {
height : 0px;
border : none;
}
td {
font-family : Tahoma;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #262626;
}
.outer-border {
border : 0px solid #ffffff;
}
.sub-header {
font-family : Tahoma;
font-size : 10px;
color : #fff;
padding : 0px;
background-color : #262626;
border : none;
}
.full-header {
font-family : Tahoma;
font-size : 10px;
color : #000000;
border : 0px solid #000000;
}
.footer {
font-family : Tahoma;
font-size : 10px;
color : #000;
padding : 1px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #333;
background-color : #ffffff;
height : 15px;
border : 1px solid #dddeda;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #ffffff;
border : 1px solid #000000;
}
.main-body {
font-size : 11px;
color : #c9c9c9;
background-color : #262626;
padding : 4px;
}
.side-body {
font-size : 10px;
color : #333;
background-color : #ffffff;
padding : 4px;
}
.main-bg {
color : #262626;
background-color : #262626;
padding : 10px 5px 50px 10px;
}
.border {
border : 0px solid #ffffff;
}
.side-border-left {
color : #000;
background-color : #262626;
padding : 10px 5px 50px 10px;
}
.side-border-right {
color : #000;
background-color : #262626;
padding : 10px 10px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #c9c9c9;
background-color : #262626;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family : Tahoma;
font-size : 10px;
border-bottom : none;
color : #fff;
background-image : url(images/cellpic.png);
padding : 15px;
}
.scapmain {
font-family : Tahoma;
font-size : 10px;
border-bottom : none;
color : #fff;
background-image : url(images/cellpic1.png);
padding : 15px;
}
.tbl-border {
color : #333;
background-color : #333;
}
.tbl {
font-size : 11px;
color : #333;
background-color : #fff;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #333;
background-color : #262626;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #ffffff;
background-color : #262626;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-color : #262626;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #000;
}
.poll {
height : 12px;
border : 1px solid #000000;
}
.comment-name {
font-weight : bold;
color : #000;
}
.shoutboxname {
font-weight : bold;
color : #000;
}
.shoutbox {
color : #000;
}
.shoutboxdate {
font-size : 10px;
color : #000;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #ffffff;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #ffffff;
background-color : #fff;
}
.side-label {
color : #000;
background-color : #fff;
padding : 2px 2px 3px 2px;
}
Parašė blist· 2008 Rugp. 1 15:08:29
#3
nesamone, daabr taip yra..:
cia visos sonines paneles taip yra..
Parašė RuP3r· 2008 Rugp. 1 15:08:41
#4
.side-body {
font-size : 10px;
color : #ffffff;
background-color : #1b1b1b;
padding : 4px;
}
Keisk side-body į šitą.
Parašė Dandžu· 2008 Rugp. 1 15:08:38
#5
O fuck ne tą pakeičiau. :D Pakeičiau background-color o reikėjo color...
Parašė blist· 2008 Rugp. 1 15:08:19
#6
nu vartotoju tinke tekstas pasikeite, bet man reik kad dar ir saukyklos textas ir data butu balta, o ne juoda (screen pirmam poste)
edit: susitvarkiau,aciu jum :D
Redagavo blist· 2008 Rugp. 1 15:08:09
Parašė blist· 2008 Rugp. 1 16:08:46
#7
srry for double post, bet nenoriu kurt naujos temos tai paklausiu cia:
kaip reikia padaryt taip?
o pas mane yra taip:
Man reikia kad nebutu news footerio, o visa info ant cellpico, pirmas variantas yra su photoshopu o antras tikrasis. theme.php failas yra aukciau. Aciu.
Redagavo blist· 2008 Rugp. 1 16:08:16
Parašė Dandžu· 2008 Rugs. 16 20:09:12
#8
Duokš theme.php failiuko render_news dalį ir padarysiu. :)