Karolis
Administratorius
Ekspertas

Pranešimai: 3087
Įstojęs: 2008 Rugp. 12 01:08:42
|
Kaip padaryt kad headeris butu per visa:?

ir va theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#000000 ";
$body_bg = "#006600";
$theme_width = "700";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='900'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='1000' background='".THEME."images/header.png' height='362'>
<tr>
<td width='340'></td>
<td align='center' width='186'><table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<table width='100%' cellpadding='0' cellspacing='0'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='smallas'><img src='".THEME."images/bulletai.gif'> <a href='".BASEDIR."muzika.php?kategorija=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='headerio'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
} else {
echo "<center>Siuntinių nėra !</center>\n";
}
echo "</table></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='3'></td>
</tr>
</table>
</td>
<td width='20'></td>
<td align='center' width='186'><table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<table width='100%' cellpadding='0' cellspacing='0'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,10");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='smallas'><img src='".THEME."images/bulletai.gif'> <a href='".BASEDIR."muzika.php?kategorija=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='headerio'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
} else {
echo "<center>Siuntinių nėra !</center>\n";
}
echo "</table></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='3'></td>
</tr>
</table>
</td>
<td width='22'></td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' background='".THEME."images/kazkas.jpg' width='100%'>
<tr align='center'>
<td><a href='".BASEDIR."index.php'><img src='".THEME."images/navigacija/pagrindinis.gif' border='0'></a></td>
<td><a href='".BASEDIR."muzika.php'><img src='".THEME."images/navigacija/siuntiniai.gif' border='0'></a></td>
<td><a href='".BASEDIR."forumas/index.php'><img src='".THEME."images/navigacija/forumas.gif' border='0'></a></td>
<td><a href='".BASEDIR."viewpage.php?page_id=3'><img src='".THEME."images/navigacija/pramogos.gif' border='0'></a></td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "<table width='820' height='50' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td>
<img src='".THEME."images/footer_01.png' width='154' height='57' alt=''></td>
<td>
<img src='".THEME."images/footer_02.png' width='512' height='57' alt=''></td>
<td>
<img src='".THEME."images/footer_03.png' width='154' height='57' alt=''></td>
</tr>
</table><br>\n";
}
function render_news($subject, $news, $info) {
echo "<table width='590' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td>
<img src='".THEME."images/naujienos_01.jpg' width='28' height='47' alt=''></td>
<td align='center' class='capmain'>$subject</td>
<td>
<img src='".THEME."images/naujienos_03.jpg' width='25' height='47' alt=''></td>
</tr>
<tr>
<td colspan='3' align='left' class='main-body'>$news</td>
</tr>
<tr>
<td>
<img src='".THEME."images/naujienos_05.jpg' width='28' height='37' alt=''></td>
<td align='center' class='news-footer' background='".THEME."images/naujienos_06.jpg' width='565' height='37' alt=''>\n";
echo openform("N",$info['news_id']).newsposter($info).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
<td>
<img src='".THEME."images/naujienos_07.jpg' width='25' height='37' alt=''></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='590' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td>
<img src='".THEME."images/naujienos_01.jpg' width='28' height='47' alt=''></td>
<td width='565' height='47' align='center' class='capmain'>$subject</td>
<td>
<img src='".THEME."images/naujienos_03.jpg' width='25' height='47' alt=''></td>
</tr>
<tr>
<td colspan='3' class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr>
<td>
<img src='".THEME."images/naujienos_05.jpg' width='28' height='37' alt=''></td>
<td class='news-footer' background='".THEME."images/naujienos_06.jpg' width='565' height='37' alt=''>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
<td>
<img src='".THEME."images/naujienos_07.jpg' width='25' height='37' alt=''></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='590' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td>
<img src='".THEME."images/naujienos_01.jpg' alt=''></td>
<td align='center' class='capmain'>$title</td>
<td>
<img src='".THEME."images/naujienos_03.jpg' width='25' height='47' alt=''></td>
</tr>
<tr>
<td colspan='3' class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td>
<img src='".THEME."images/naujienos_05.jpg' width='28' height='37' alt=''></td>
<td background='".THEME."images/naujienos_06.jpg' width='565' height='37' alt=''></td>
<td>
<img src='".THEME."images/naujienos_07.jpg' width='25' height='37' alt=''></td>
</tr>
</table>\n";
tablebreak();
}
function openside($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='188'>
<tr>
<td align='center' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "<tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table align='center' cellpadding='0' cellspacing='0' width='188'>
<tr>
<td align='center' class='scapmain'>$title".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td class='side-body'>\n";
echo "<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "<tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr>
</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";
}
?>
Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas.
Redagavo Žmogus 2008 Spa. 12 09:10:06 |
Lukšius
Narys
Kapitonas

Pranešimai: 741
Įstojęs: 2008 Vas. 25 17:02:03
|
Turi pasididinti headerį jeigu tingi yra programa "Pixresizer".
|
Niger
Garbės narys
Antras po Dievo

Pranešimai: 3554
Įstojęs: 2005 Bir. 21 18:06:06
|
kaip suprast per visa? $theme_width = "100%";
s.k.y.p.e - pavojuz |
tm
Narys
Antras po Dievo

Pranešimai: 3935
Įstojęs: 2006 Spa. 22 18:10:48
|
lt niger nematai eroro kad img antra deda reik padaryti kad 1 tik rodytu
URL_DELETED - Visos spausdinimo paslaugos ant įvairiausių dirbinių ir popieriaus rūšių. |
GangStahas
Narys
Nuolatinis

Pranešimai: 133
Įstojęs: 2008 Spa. 11 22:10:53
|
Lygtai taip:
<table cellpadding='0' cellspacing='0' width='1000' background='".THEME."images/header.png' height='362'>
čia pasikeisk Width ir Height skaičius į tau reikiamus.
Muzikos Projektas Kuriamas:
Statusas: -----5%-----
Jei padėjau +10 dėkui :P
Redagavo GangStahas 2008 Spa. 11 23:10:34 |
Karolis
Administratorius
Ekspertas

Pranešimai: 3087
Įstojęs: 2008 Rugp. 12 01:08:42
|
LTNiger parašė:
kaip suprast per visa? $theme_width = "100%";
Nu matai antras veidas islindes
Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas. |
GangStahas
Narys
Nuolatinis

Pranešimai: 133
Įstojęs: 2008 Spa. 11 22:10:53
|
Jei ką Height yra aukštis o Width yra plotis tai Width iš 1000 manau pabandyk pakeisti į: 1050 tai būtų toks kodas:
IŠ:
<table cellpadding='0' cellspacing='0' width='1000' background='".THEME."images/header.png' height='362'>
Į:
<table cellpadding='0' cellspacing='0' width='1050' background='".THEME."images/header.png' height='362'>
Muzikos Projektas Kuriamas:
Statusas: -----5%-----
Jei padėjau +10 dėkui :P
Redagavo GangStahas 2008 Spa. 11 23:10:07 |
Niger
Garbės narys
Antras po Dievo

Pranešimai: 3554
Įstojęs: 2005 Bir. 21 18:06:06
|
kokie tavo hederio img dydziai ?
s.k.y.p.e - pavojuz |
Karolis
Administratorius
Ekspertas

Pranešimai: 3087
Įstojęs: 2008 Rugp. 12 01:08:42
|
820x362
Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas. |
GangStahas
Narys
Nuolatinis

Pranešimai: 133
Įstojęs: 2008 Spa. 11 22:10:53
|
gal tada:
Iš:
<table cellpadding='0' cellspacing='0' width='1000' background='".THEME."images/header.png' height='362'>
Į:
<table cellpadding='0' cellspacing='0' width='820' background='".THEME."images/header.png' height='362'>
Muzikos Projektas Kuriamas:
Statusas: -----5%-----
Jei padėjau +10 dėkui :P |
Niger
Garbės narys
Antras po Dievo

Pranešimai: 3554
Įstojęs: 2005 Bir. 21 18:06:06
|
GangStahas parašė:
Jei ką Height yra aukštis o Width yra plotis tai Width iš 1000 manau pabandyk pakeisti į: 1050 tai būtų toks kodas:
IŠ:
<table cellpadding='0' cellspacing='0' width='1000' background='".THEME."images/header.png' height='362'>
Į:
<table cellpadding='0' cellspacing='0' width='1050' background='".THEME."images/header.png' height='362'>
Tai tu kox protingas aciu kad mus apshvietei su auksciu ir dydziu tu dievas te duoda tau dievas kieta lazda per spranda 
s.k.y.p.e - pavojuz |
GangStahas
Narys
Nuolatinis

Pranešimai: 133
Įstojęs: 2008 Spa. 11 22:10:53
|
LTNiger parašė:
GangStahas parašė:
Jei ką Height yra aukštis o Width yra plotis tai Width iš 1000 manau pabandyk pakeisti į: 1050 tai būtų toks kodas:
IŠ:
<table cellpadding='0' cellspacing='0' width='1000' background='".THEME."images/header.png' height='362'>
Į:
<table cellpadding='0' cellspacing='0' width='1050' background='".THEME."images/header.png' height='362'>
Tai tu kox protingas aciu kad mus apshvietei su auksciu ir dydziu tu dievas  te duoda tau dievas kieta lazda per spranda 
Su galva negerai ar šeip postų pasipelnyti nori?
Muzikos Projektas Kuriamas:
Statusas: -----5%-----
Jei padėjau +10 dėkui :P |
Karolis
Administratorius
Ekspertas

Pranešimai: 3087
Įstojęs: 2008 Rugp. 12 01:08:42
|
Nebesiliekit jau su ps susitvarkiau 
Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas. |
Niger
Garbės narys
Antras po Dievo

Pranešimai: 3554
Įstojęs: 2005 Bir. 21 18:06:06
|
GangStahas parašė:
Su galva negerai ar šeip postų pasipelnyti nori?
ant postu skersa d... krc raso rasai nesamones unreal apsigraibyk ar nemiegi... o tada paskui rashyk 
s.k.y.p.e - pavojuz |
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
Jūs suprantant, kad čia ant vienos panelės eina, o kad headerį praplatinti tai PS reikia :]]]] nes kitaip lievai gausis
|
Karolis
Administratorius
Ekspertas

Pranešimai: 3087
Įstojęs: 2008 Rugp. 12 01:08:42
|
ŠeLMiz parašė:
Nebesiliekit jau su ps susitvarkiau 
Tai sakau su ps pasididinau..
Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas. |