__________
Narys
Pulkininkas
Pranešimai: 457
Įstojęs: 2008 Sau. 9 21:01:45
|
Sveiki, taigi kaip padaryti kad nerodytu new cats ;/ ?
2. Gal kas galėtumėte paredaguoti theme.php kad būtų naujienos pavadinimas ties vidurių bet ne iš didžiūjų raidžių.
Nebera accounto ;] |
Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
|
Kad nerodytų news cats yra straipsniuose. Duok theme.php.
|
__________
Narys
Pulkininkas
Pranešimai: 457
Įstojęs: 2008 Sau. 9 21:01:45
|
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#484848";
$theme_width = "780"; ///Temos plotis
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>\n<tr>
<td><img src='".THEME."header.gif'></td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='linija'></td>
</table>\n";
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 align='center' class='footer'> Dizainą kūrė emotive redagvo Tautvydas.</td>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $aidlink,$item_type;
$res = "";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>
<tr>
<td class='capmain'>$subject<br><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("shortdate", $info['news_date'])."</span></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'></td>
</form>
</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' 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='scapmain'>$title</td>
<td class='scapmain' 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";
}
?>
Nebera accounto ;]
Redagavo __________ 2008 Vas. 29 20:02:27 |
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
|
https://webdnd.com/readarticle.p...icle_id=88
|
__________
Narys
Pulkininkas
Pranešimai: 457
Įstojęs: 2008 Sau. 9 21:01:45
|
Ačiū, tą jau pasidariau kad nebūtų new cats.;-)
Nebera accounto ;] |
Giedrunskis
VIP narys
Tankas
Pranešimai: 1972
Įstojęs: 2007 Sau. 26 14:01:04
|
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#484848";
$theme_width = "780"; ///Temos plotis
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>\n<tr>
<td><img src='".THEME."header.gif'></td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='linija'></td>
</table>\n";
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 align='center' class='footer'> Dizainą kūrė emotive redagvo Tautvydas.</td>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $aidlink,$item_type;
$res = "";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>
<tr>
<td class='capmain'><center>$subject</center><br><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("shortdate", $info['news_date'])."</span></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'></td>
</form>
</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' 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='scapmain'>$title</td>
<td class='scapmain' 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";
}
?>
Gal tik sito uzteks, pamegink, negarantoju ?|
Redagavo Giedrunskis 2008 Vas. 29 20:02:42 |
__________
Narys
Pulkininkas
Pranešimai: 457
Įstojęs: 2008 Sau. 9 21:01:45
|
Nežinau, turbūt neveikia, nes nerodo.
Nebera accounto ;] |
Toonis
VIP narys
Viršesnis už Dievą
Pranešimai: 5741
Įstojęs: 2006 Spa. 17 14:10:03
|
Styles.css duok.
[galingų saliutų foto] |
__________
Narys
Pulkininkas
Pranešimai: 457
Įstojęs: 2008 Sau. 9 21:01:45
|
a {
color : #333333;
text-decoration : none;
}
a:hover {
color : #96c41b;
text-decoration : none;
}
a.side {
color : #333333;
text-decoration : none;
}
a:hover.side {
color : #96c41b;
text-decoration : none;
}
a.white {
color : #ddd;
text-decoration : none;
}
a:hover.white {
color : #ddd;
text-decoration : underline;
}
body {
background-image: url('images/fonas.gif');
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
margin: 0px;
}
.line {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #FFF;
}
.header_top {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url(images/header_top.gif);
width: 780px;
height: 102px;
font-size : 10px;
}
.header_bottom {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url(images/header.gif);
width: 780px;
height: 456456x;
font-size : 10px;
}
.linija {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url(images/linija.gif);
width: 780px;
height: 30px;
font-size : 10px;
}
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 : #4f504f;
}
.outer-border {
border : 1px solid #fff;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ddd;
}
.footer {
background-image: url('images/footer.png');
width: 780px;
height: 120px;
background-color : #f5f5f5;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
padding-left : 370px;
padding-top : 90px;
}
.button {
font-family : Verdana;
font-size : 10px;
font-weight: bold;
color : #a5d327;
background-color : #f5f5f5;
height : 17px;
border : 1px solid #e9e6e6;
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 : 10px;
color : #333333;
background-color : #f5f5f5;
padding : 5px 5px 5px 5px;
}
.side-body {
font-size : 10px;
color : #777;
background-color : #f6f6f6;
padding : 4px;
}
.main-bg {
color : #555;
background-color : #f5f5f5;
padding : 10px 5px 10px 5px;
}
.border {
border : none;
}
.side-border-left {
color : #777;
background-color : #f5f5f5;
padding : 10px 5px 10px 10px;
}
.side-border-right {
color : #777;
background-color : #f5f5f5;
padding : 10px 10px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #96c41b;
padding-top : 10px;
}
.capmain {
font-family : Arial;
font-size : 18px;
font-weight : none;
color : #a5d327;
border-top : 1px solid #eee;
padding : 2px 2px 2px 2px;
padding-left : 14px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
font-weight : bold;
color : #a5d327;
padding : 4px;
border-bottom : 1px solid #eee;
text-align : center;
}
.tbl {
font-size : 10px;
color : #a5d327;
background-color : #f5f5f5;
padding : 4px;
}
.tbl1 {
font-size : 10px;
color : #a5d327;
background-color : #f5f5f5;
padding : 4px;
}
.tbl2 {
font-size : 10px;
color : #a5d327;
background-color : #f0f0f0;
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 : 4px;
background-color : #b4d55c;
}
.comment-name {
font-weight : bold;
color : #597a08;
}
.shoutboxname {
font-weight : bold;
color : #597a08;
}
.shoutbox {
color : #777;
}
.shoutboxdate {
font-size : 10px;
color : #a5d327;
}
.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;
}
Nebera accounto ;] |
Toonis
VIP narys
Viršesnis už Dievą
Pranešimai: 5741
Įstojęs: 2006 Spa. 17 14:10:03
|
Turėtų veikti.
a {
color : #333333;
text-decoration : none;
}
a:hover {
color : #96c41b;
text-decoration : none;
}
a.side {
color : #333333;
text-decoration : none;
}
a:hover.side {
color : #96c41b;
text-decoration : none;
}
a.white {
color : #ddd;
text-decoration : none;
}
a:hover.white {
color : #ddd;
text-decoration : underline;
}
body {
background-image: url('images/fonas.gif');
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
margin: 0px;
}
.line {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #FFF;
}
.header_top {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url(images/header_top.gif);
width: 780px;
height: 102px;
font-size : 10px;
}
.header_bottom {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url(images/header.gif);
width: 780px;
height: 456456x;
font-size : 10px;
}
.linija {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url(images/linija.gif);
width: 780px;
height: 30px;
font-size : 10px;
}
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 : #4f504f;
}
.outer-border {
border : 1px solid #fff;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ddd;
}
.footer {
background-image: url('images/footer.png');
width: 780px;
height: 120px;
background-color : #f5f5f5;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
padding-left : 370px;
padding-top : 90px;
}
.button {
font-family : Verdana;
font-size : 10px;
font-weight: bold;
color : #a5d327;
background-color : #f5f5f5;
height : 17px;
border : 1px solid #e9e6e6;
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 : 10px;
color : #333333;
background-color : #f5f5f5;
padding : 5px 5px 5px 5px;
}
.side-body {
font-size : 10px;
color : #777;
background-color : #f6f6f6;
padding : 4px;
}
.main-bg {
color : #555;
background-color : #f5f5f5;
padding : 10px 5px 10px 5px;
}
.border {
border : none;
}
.side-border-left {
color : #777;
background-color : #f5f5f5;
padding : 10px 5px 10px 10px;
}
.side-border-right {
color : #777;
background-color : #f5f5f5;
padding : 10px 10px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #96c41b;
padding-top : 10px;
}
.capmain {
font-family : Arial;
font-size : 18px;
font-weight : none;
color : #a5d327;
border-top : 1px solid #eee;
padding : 2px 2px 2px 2px;
padding-left : 14px;
text-align : center;
text-transform: uppercase;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
font-weight : bold;
color : #a5d327;
padding : 4px;
border-bottom : 1px solid #eee;
text-align : center;
}
.tbl {
font-size : 10px;
color : #a5d327;
background-color : #f5f5f5;
padding : 4px;
}
.tbl1 {
font-size : 10px;
color : #a5d327;
background-color : #f5f5f5;
padding : 4px;
}
.tbl2 {
font-size : 10px;
color : #a5d327;
background-color : #f0f0f0;
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 : 4px;
background-color : #b4d55c;
}
.comment-name {
font-weight : bold;
color : #597a08;
}
.shoutboxname {
font-weight : bold;
color : #597a08;
}
.shoutbox {
color : #777;
}
.shoutboxdate {
font-size : 10px;
color : #a5d327;
}
.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;
}
[galingų saliutų foto] |
__________
Narys
Pulkininkas
Pranešimai: 457
Įstojęs: 2008 Sau. 9 21:01:45
|
Hmmm, biškutį į šoną pasistūmėjo, bet į patį vidurį ne. Ačiū už pagalbą. ;-);)
Nebera accounto ;] |