vasaju9
Narys
Spalvotas
Pranešimai: 57
Įstojęs: 2008 Gru. 10 22:12:26
sveiki, parsisiuncia free tema ir nenoriu tu top siuntiniu ir pns as iejau io headeris.php faila kazka ten suredagavau nueamiau viskas ok tik:
http://www.part.lt/img/339a60a41...ca7357.JPG
kaip sujungti tas dvi dalis?
stai header.php failas:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "860";
$theme_width_l = "246";
$theme_width_r = "246";
function render_header($header_content) {
echo "<table align=center class='mainsite-border' align='left' width='860' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='860' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='860' cellspacing='0' cellpadding='0'>
<tr align=center><td>";
include_once "headeris.php";
echo "</td></tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='860'>
<tr>
<td background='".THEME."' height='203' width='281' align='left'>";
echo "<table cellpadding='0' cellspacing='0' width='281px'>
<tr>
<td style='padding-left:35px; padding-top:18px;'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,11");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='hed'>".trimlink($data['download_title'], 35)."</a>
</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:left'>".$locale['004']."</div>\n";
}
echo"</td></tr></table>";
echo "</td>
<td background='".THEME."' height='203' width='281' align='left'>";
echo "<table cellpadding='0' cellspacing='0' width='281px'>
<tr>
<td>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,11");
if (dbrows($result) != 0) {
echo "<table width='281' border='0' cellspacing='0' cellpadding='0' align='left' style='padding-left:35px;padding-top:18px;'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 35);
echo "<tr>
<td class='small'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='hed'>$itemsubject</a>
</td>\n
</tr>\n";
}
echo "</table>";
} else {
echo "<div style='text-align:right'>".$locale['004']."</div>\n";
}
echo"</td>
</tr></table>\n";
echo"</td></tr></table>";
echo"</td>
</tr>
</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 style='padding-left:40px; align='left' class='footer'>";
echo"
engine: PHP -Fusion. Copyright © motiongraphics.wu.lt
</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'>
Paskelbë: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' style='color:#555;'>".$info['user_name']."</a> data: ".showdate("%d/%m/%y", $info['news_date'])."<img src='".THEME."images/blank.gif' width='65' height='0'>Komentarø: ".$info['news_comments']." <a href='news.php?readmore=".$info['news_id']."' style='color:#555;'><b>Þiûrëti daugiau</b></a>
</td>
</tr>
</table>\n";
tablebreak();
}
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%' >
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function kurejas() {
global $settings;
$res = "Varikliukas: PHP -Fusion | Dizainas: ShadoVw";
return $res;
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' >
<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";
}
?>
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
per css hederio auksti sumazini ir viskas, jei neina per css ieskok cia hederio dydziowww.smilez360.com
www.thevideowars.com
www.pigiau.biz
vasaju9
Narys
Spalvotas
Pranešimai: 57
Įstojęs: 2008 Gru. 10 22:12:26
o kaip ji sumazinti?
inFected
Narys
Spalvotas
Pranešimai: 59
Įstojęs: 2009 Gru. 31 22:12:26
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "860";
$theme_width_l = "246";
$theme_width_r = "246";
function render_header($header_content) {
echo "<table align=center class='mainsite-border' align='left' width='860' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='860' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
echo "</td></tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='860'>
<tr>
<td background='".THEME."' height='203' width='281' align='left'>";
echo "<table cellpadding='0' cellspacing='0' width='281px'>
<tr>
<td style='padding-left:35px; padding-top:18px;'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,11");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='hed'>".trimlink($data['download_title'], 35)."</a>
</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:left'>".$locale['004']."</div>\n";
}
echo"</td></tr></table>";
echo "</td>
<td background='".THEME."' height='203' width='281' align='left'>";
echo "<table cellpadding='0' cellspacing='0' width='281px'>
<tr>
<td>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,11");
if (dbrows($result) != 0) {
echo "<table width='281' border='0' cellspacing='0' cellpadding='0' align='left' style='padding-left:35px;padding-top:18px;'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 35);
echo "<tr>
<td class='small'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='hed'>$itemsubject</a>
</td>\n
</tr>\n";
}
echo "</table>";
} else {
echo "<div style='text-align:right'>".$locale['004']."</div>\n";
}
echo"</td>
</tr></table>\n";
echo"</td></tr></table>";
echo"</td>
</tr>
</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 style='padding-left:40px; align='left' class='footer'>";
echo"
engine: PHP -Fusion. Copyright © motiongraphics.wu.lt
</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'>
Paskelbë: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' style='color:#555;'>".$info['user_name']."</a> data: ".showdate("%d/%m/%y", $info['news_date'])."<img src='".THEME."images/blank.gif' width='65' height='0'>Komentarø: ".$info['news_comments']." <a href='news.php?readmore=".$info['news_id']."' style='color:#555;'><b>Þiûrëti daugiau</b></a>
</td>
</tr>
</table>\n";
tablebreak();
}
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%' >
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function kurejas() {
global $settings;
$res = "Varikliukas: PHP -Fusion | Dizainas: ShadoVw";
return $res;
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' >
<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";
}
?>
Mylekite ir bukite mylimi.Redagavo
inFected 2010 Sau. 17 20:01:28
ramunasz
Narys
Generolas
Pranešimai: 873
Įstojęs: 2007 Bir. 17 22:06:04
Bandyk į theme.php įrašyti šitą. Tik pasidaryk theme.php kopiją, nes nežinau gali neveikt kodas...
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "860";
$theme_width_l = "246";
$theme_width_r = "246";
function render_header($header_content) {
echo "<table align=center class='mainsite-border' align='left' width='860' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='860' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='860' cellspacing='0' cellpadding='0'>
<tr align=center><td>";
include_once "headeris.php";
echo "</td></tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='860'>
<tr>
<td background='".THEME."' height='203' width='281' align='left'>";
echo "<table cellpadding='0' cellspacing='0' width='281px'>
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 style='padding-left:40px; align='left' class='footer'>";
echo"
engine: PHP -Fusion. Copyright © motiongraphics.wu.lt
</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'>
Paskelbë: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' style='color:#555;'>".$info['user_name']."</a> data: ".showdate("%d/%m/%y", $info['news_date'])."<img src='".THEME."images/blank.gif' width='65' height='0'>Komentarø: ".$info['news_comments']." <a href='news.php?readmore=".$info['news_id']."' style='color:#555;'><b>Þiûrëti daugiau</b></a>
</td>
</tr>
</table>\n";
tablebreak();
}
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%' >
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function kurejas() {
global $settings;
$res = "Varikliukas: PHP -Fusion | Dizainas: ShadoVw";
return $res;
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' >
<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";
}
?>
vasaju9
Narys
Spalvotas
Pranešimai: 57
Įstojęs: 2008 Gru. 10 22:12:26
Parse error: syntax error, unexpected '/' in /home/vasaju91/domains/motiongraphics.wu.lt/public_html/themes/motiongraphics/theme.php on line 19
dabar isvis tokia nesamone meta po tavo koregavimo ;(
vasaju9
Narys
Spalvotas
Pranešimai: 57
Įstojęs: 2008 Gru. 10 22:12:26
tavo irgi neveikia ramunasz hmm..
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
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
Dalinuosi, dovanoju!
Jūsų saitai
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!