RobInHo
Narys
Margas
Pranešimai: 84
Įstojęs: 2007 Lap. 2 09:11:28
Gal kas galit įdėti kodą į theme.php, kad keistusi headeriai po refresh?
<?
/*--------------------------------------------+
| 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) |
+--------------------------------------------*/
/*--------------------------------------------+
| The Incandescent 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 = "#7f7f7f";
$theme_width = "900";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
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>
<td><img src='".THEME."images/header.png' border='0'></td>
</tr>
<tr><td><a href='".BASEDIR."index.php'><img src='".THEME."header/header_02.png' border='0'><a href='".BASEDIR."forum/index.php'><img src='".THEME."header/header_03.png' border='0'></a><a href='".BASEDIR."viewpage.php?page_id=3'><img src='".THEME."header/header_04.png' border='0'></a><a href='".BASEDIR."infusions/N-L%20Registracija/Dalyviai.php'><img src='".THEME."header/header_05.png' border='0'></a><a href='http://stats.nba-slam.com/index.php?command=standings'><img src='".THEME."header/header_06.png' border='0'></a><a href='http://stats.nba-slam.com/'><img src='".THEME."header/header_07.png' border='0'></a><img src='".THEME."header/header_08.png'><a><a href='".BASEDIR."viewpage.php?page_id=6'><img src='".THEME."header/header_09.png' border='0'></a><img src='".THEME."header/header_10.png' border='0'></td></tr></table></td></tr>
<tr><td><img src='".THEME."header/header_11.png' border='0'></td></tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."</td>";
echo "</tr></table></td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='4%' class='footer' align='left'><div align='center'>";
echo "<a href='#top'><img src='".THEME."images/pageup.gif' alt='Scroll Up' title='Scroll Up'></a></div></td>";
echo "<td width='20%' class='footer' align='left'>";
if ($license == false) {
echo "<a href='https://webdnd.com' target='_blank'>PHP-Fusion</a> ".$settings['-']."";
}
echo "</td>";
echo "<td width='40%' class='footer' align='center'>";
echo "<span class='footerstat'>".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='4%' class='footer' align='right'>";
echo "<div align='center'><a href='#top'><img src='".THEME."images/pageup.gif' alt='Scroll Up' title='Scroll Up'></a></td></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</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'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($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']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</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'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
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']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}
// Close table end
function closetable() {
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></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";
}
?>
Jei gali įdėkit. ;)
mNm.
Narys
Tankas
Pranešimai: 2039
Įstojęs: 2008 Rugp. 28 00:08:02
Išjunk smailus tada dėk.nolife.lt / c-s.lt
RobInHo
Narys
Margas
Pranešimai: 84
Įstojęs: 2007 Lap. 2 09:11:28
isjungiau
RobInHo
Narys
Margas
Pranešimai: 84
Įstojęs: 2007 Lap. 2 09:11:28
Tai nieks padet negali ?
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
https://webdnd.com/downloads.php... čia yra CS_Theme v.2 ir ten bus tas kodas ;]
Paul McCartney
Narys
Kapitonas
Pranešimai: 757
Įstojęs: 2007 Lie. 19 14:07:24
Buvau sukūręs temą,visą kodą davęs,pats naudojau,gerai veikė. Naudodamasis paieška susirasi ir sėkmingai naudosi.Sėkmės.
RobInHo
Narys
Margas
Pranešimai: 84
Įstojęs: 2007 Lap. 2 09:11:28
Gal gali numest linką ? Nerandu aš
Paul McCartney
Narys
Kapitonas
Pranešimai: 757
Įstojęs: 2007 Lie. 19 14:07:24
https://webdnd.com/forum/viewthr...ad_id=2263
Prašau
tabux
Narys
Buldozeris
Pranešimai: 219
Įstojęs: 2007 Lie. 14 11:07:21
Turbut mokesi toliau pasidaryti.
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas
echo "<table width='80%'align='center' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo "<td height='366' align='center' background='".THEME."images/logo2/logo".rand(1,9).".jpg'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td> </td>
<td width='220' align='center'>";
RobInHo
Narys
Margas
Pranešimai: 84
Įstojęs: 2007 Lap. 2 09:11:28
Na nenorėjau kurt naujos tmeos tia paklausiu čia. Gal kas turit panelę kai krenta sniegas ? pavizdys: www.nba-cup.lt
Mantux94
Narys
Tankas
Pranešimai: 1753
Įstojęs: 2008 Sau. 4 17:01:06
Paieska tokia yra,yra ir sitam saite,ir modu.B) Mokausi PHP B)
Peršokti į forumą:
Nebeegzistuojančios svetainės
Žaliems
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Jūsų saitai
Dalinuosi, dovanoju!
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!