Rotator bannerów
|
arlid |
Dodany dnia 10.02.2008 14:24:27
|

Pocz?tkuj?cy

Postów: 150 Pomógł: 1 Ostrzeżeń: 2
Data rejestracji: 25.04.2007 13:35
|
Dzi?ki Pieka wszystko jest cacy, tylko nie mam pod bannerem t?a loga - d asi? co? z tym zrobi?? |
|
|
|
W?cibski Go?? |
Dodany dnia 06.09.2025 12:08:48
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Pieka |
Dodany dnia 10.02.2008 14:32:09
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
arlid napisa?/a:
Dzi?ki Pieka wszystko jest cacy, tylko nie mam pod bannerem t?a loga - d asi? co? z tym zrobi??
Wystarczy dodac odpowiednia klase, czyli w Twoim przypadku:
class='toplogo'
Poprawilem poprzedni kod i teraz juz mysle, ze jest bez zarzutu.
To sa drobiazgi, ktorymi sam powinienes sie zajmowac, bo w ten sposob uczysz sie, a szare maja co robic ;)
Edytowane przez Pieka dnia 10.02.2008 14:42:30
Jestem jaki jestem 
|
|
|
|
arlid |
Dodany dnia 10.02.2008 15:05:10
|

Pocz?tkuj?cy

Postów: 150 Pomógł: 1 Ostrzeżeń: 2
Data rejestracji: 25.04.2007 13:35
|
Dzi?ki Pieka dzia?a w 100% fakt, powinienem to zrobi? sam - i tak dzi?kiforum wiele si? nauczy?em kiedy? nic nie umia?em. |
|
|
|
janisz |
Dodany dnia 06.03.2008 12:09:10
|

Przedszkolak

Postów: 84 Ostrzeżeń: 3
Data rejestracji: 01.07.2005 13:48
|
Mam problem, mianowicie gdy wrzucam baner flashowy i w pole odno?nika wpisuje adres www strony na któr? ma by? przekierowanie to przekierowanie nie dzia?a. Czy wina le?y po stronie programu czy banera flashowego??? |
|
|
|
Pieka |
Dodany dnia 06.03.2008 12:17:07
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
janisz napisa?/a:
Mam problem, mianowicie gdy wrzucam baner flashowy i w pole odno?nika wpisuje adres www strony na któr? ma by? przekierowanie to przekierowanie nie dzia?a. Czy wina le?y po stronie programu czy banera flashowego???
Po stronie bannera, ktory powinien byc klikalny jesli ma gdzies prowadzic.
Jestem jaki jestem 
|
|
|
|
janisz |
Dodany dnia 06.03.2008 12:35:20
|

Przedszkolak

Postów: 84 Ostrzeżeń: 3
Data rejestracji: 01.07.2005 13:48
|
Ok. Wielkie dzi?ki |
|
|
|
galax |
Dodany dnia 10.03.2008 14:06:42
|

Przedszkolak

Postów: 49 Ostrzeżeń: 2
Data rejestracji: 08.01.2008 16:05
|
Witam. Niedawno zainstalowa?em Rotator bannerów, skopiowa?em pliki na serwer do katalogów (includes i administration), wstawi?em:
include(INFUSIONS."brotator/brotator.php");
do pliku: theme.php
<?
// theme settings
$body_text = "#000000";
$body_bg = "#888888";
$theme_width = "71%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings,$locale;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:1px #444 solid'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='header'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";
[b]include(INFUSIONS."brotator/brotator.php");[/b]
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-top:1px #333 solid;border-bottom:1px #333 solid;'>\n<tr>
<td class='header2'>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " ·\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td><td align='right' class='header2'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='footer'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
</td>
</tr>
</table>
<table align='center' width='$theme_width' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer2'>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005<br></br>Mild Blue Theme by <a href='http://www.gucio.4cms.pl' target='_blank'>Guc!o</a></a><br>\n";
}
echo "</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td class='infobar'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<br>
".($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> ·\n";
echo $info['news_reads'].$locale['044']."
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>\n";
echo ($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td class='infobar'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."<br>\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='side-caption'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-caption'>$title</td>
<td class='side-caption' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
wgrywam bannery, lecz wy?wietla mi si? ca?y czas ten sam banner.... nie wiem gdzie pope?ni?em b??d prosi?bym o pomoc...
oto adres strony: www.odrowaz.straz...
dla modelatorów.. prosz? skasowa? mojego poprzedniego posta, ju? si? upora?em z problemem ;)
Edytowane przez galax dnia 10.03.2008 14:26:56
|
|
|
|
Pieka |
Dodany dnia 10.03.2008 17:45:37
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
galax napisa?/a:
..skopiowa?em pliki na serwer do katalogów (includes i administration)..
Martwi mnie umieszczenie plikow Wstawiles do includes, czy infusions?
Nie myl prosze katalogow, nawet jesli czynisz to tylko w opisie na forum.
Ile masz reklam w rotatorze? Jestes pewny, ze wszystkie sa aktywne? Sprawdz.
Edytowane przez Pieka dnia 10.03.2008 17:46:04
Jestem jaki jestem 
|
|
|
|
galax |
Dodany dnia 10.03.2008 18:42:13
|

Przedszkolak

Postów: 49 Ostrzeżeń: 2
Data rejestracji: 08.01.2008 16:05
|
Ju? si? upora?em z problemem.... okaza?o si? i? pomyli?em si? z linkami bannerów. Przepraszam za k?opot  |
|
|
|
Mikesz |
Dodany dnia 07.04.2008 07:07:11
|

Przedszkolak

Postów: 8 Ostrzeżeń: 2
v7.02.07 Data rejestracji: 06.04.2008 19:07
Złamana licencja
|
Mam problem, mianowicie chodzi o ustawienie bannera w tabeli witam. U?ywam thema zymic. Gdzie mam wklei??
include(INFUSIONS."/brotator/brotator.php");
I dotego ?eby by? on w ramce nie wykraczaj?cej poza obszar panelu witamy.
Edytowane przez Pieka dnia 07.04.2008 07:41:31
|
|
|
|
Pieka |
Dodany dnia 07.04.2008 07:40:07
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Prosze: Rotator bannerów w panelu "Witamy", znalezienie tego zajelo mi pol minuty, a jest to osobny temat.
W biezacym masz rowniez wszystko opisane przez autora rotatora: http://www.php-fu...post_37963 , wystarczylo go tylko przeczytac.
Edytowane przez Pieka dnia 07.04.2008 09:34:43
Jestem jaki jestem 
|
|
|
|
rafki |
Dodany dnia 07.07.2008 11:38:12
|

Przedszkolak

Postów: 7 Ostrzeżeń: 1
Data rejestracji: 07.07.2008 11:25
|
Gdzie mam wstawic lijnike:
include(INFUSIONS."brotator/brotator.php");
do theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once S."theme_functions_include.php";
// theme settings
$body_text = "#fff";
$body_bg = "#454545";
$theme_width = "820";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width;
echo "
<table align=center width=$theme_width height=13 background=".THEME."images/bg1.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=179 background=".THEME."images/header.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=13 background=".THEME."images/bg2.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=44 class='nuorodos1' background=".THEME."images/bg3.jpg cellspacing=0 cellpadding=0>
<tr><td height=25 class='nuorodos2' align=left style='padding-left:20px;'>"; echo showsublinks(" ",white); echo "</td></tr>
</table>
";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td>
\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td height='48' background='".THEME."images/footer.png' align='center' class='footer'>".stripslashes($settings['footer'])."<a href='http://php-fusion.co.uk' target='_blank'>Php-fusion</a> | <a href='http://wtfthemes.com' target='_blank'>WTF Themes</a> | <b>Theme modified by RAFKi also known as coolboy</b>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' background='".THEME."images/capc2.png' height='16' class='news-footer' style='padding-right:20px;'>\n";
echo openform("N",$info['news_id']).newsposter($info," w21;").newsopts($info,"w21;").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 background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' background='".THEME."images/capc2.png' height='16' class='news-footer' style='padding-right:10px;'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·");
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $title</td>
</tr>
<tr>
<td class='main'>\n";
}
function closetable() {
echo "</td>
</tr>
<td background='".THEME."images/capc2.png' height='16' class='scapmain'></td>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/vrs.png' height='35' class='scapmain'><img src='".THEME."images/a.png'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<td background='".THEME."images/apc.png' height='16' width='170' class='scapmain'></td>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/vrs.png' height='35' width='170' class='scapmain'><img src='".THEME."images/a.png'> $title</td>
<td align='right'></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";
}
?>
?
Z gory dzieki za pomoc! :)
Edytowane przez Milka dnia 07.07.2008 14:03:07
|
|
|
|
ICEK |
Dodany dnia 07.07.2008 11:41:07
|

Bywalec

Postów: 658 Pomógł: 27
Data rejestracji: 22.09.2007 08:29
|
A nie ?atwiej wstawi? to w panel i zaznaczy?, np. ?eby by? widoczny na górze?
|
|
|
|
rafki |
Dodany dnia 07.07.2008 11:42:19
|

Przedszkolak

Postów: 7 Ostrzeżeń: 1
Data rejestracji: 07.07.2008 11:25
|
Hmm...Jestem noobem w dziedzinie php, mozesz mi to wytlumaczyc lopatologicznie? :/
Thx
Edytowane przez ICEK dnia 07.07.2008 11:43:18
|
|
|
|
ICEK |
Dodany dnia 07.07.2008 11:43:45
|

Bywalec

Postów: 658 Pomógł: 27
Data rejestracji: 22.09.2007 08:29
|
openside("REKLAMA");
echo "<center> ";
include(INFUSIONS."brotator/brotator.php");
echo "</center>";
closeside();
Wstaw to w PA>>Zarz?dzanie stron?>>Zarz?dzanie Panelami>>Dodaj nowy Panel>>Wklej ten kod co poda?em>>i zaznacz np. "góra".
Ps: Nie zapomnij w??czy? potem tego panelu jeszcze :)
Edytowane przez ICEK dnia 07.07.2008 11:44:45
|
|
|
|
rafki |
Dodany dnia 07.07.2008 11:46:20
|

Przedszkolak

Postów: 7 Ostrzeżeń: 1
Data rejestracji: 07.07.2008 11:25
|
Ok, dzieki wielkie! 
|
|
|
|
zimi27 |
Dodany dnia 08.03.2009 23:26:36
|

Przedszkolak

Postów: 76 Ostrzeżeń: 4
Data rejestracji: 13.06.2007 20:26
Złamana licencja
|
Próbowa?em doda? ten kod: include(INFUSIONS."brotator/brotator.php");
do pliku theme.php, niestety za cienki w tym jestem..
Skórka to Void, chcia?bym ?eby kod bannera znajdowa? si? w logo po prawej stronie. Prosz? o pomoc.
theme.php
<?
$body_text = "#D7DCE9";
$body_bg = "#202734";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings;
echo "<script src='".THEME."/grade.js' language='Javascript'></script>";
echo "<table width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td align='center' valign='top'>";
echo "<table background='".THEME."images/cellpic_bkg.jpg' width='100%' border='0' cellspacing='0' cellpadding='5'><tr>";
echo "<td width='100%' height='110'>$header_content</td>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td><table width='100%' height='28' border='0' cellpadding='4' cellspacing='0'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='cellpic'>\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <img src='".THEME."images/divider.gif'> "; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td align='right' class='cellpic' nowrap><strong>".ucwords(showdate($settings['subheaderdate'], time()))."</strong>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#202734' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."<br>";
echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='30'>";
echo "<tr><td class='footer' valign='middle' width='35%'>";
if ($license == false) {
}
echo "</td>";
echo "<td class='footer' align='center' width='20%'>";
echo "</td></tr></table></center></table></table></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #404050' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic3.gif' height='24'><img border='0' src='".THEME."images/small_arrow.gif' hspace='3'><font class='block-title'>$subject</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='index.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='index.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #404050' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic3.gif' height='24'><img border='0' src='".THEME."images/small_arrow.gif' hspace='3'><font class='block-title'>$subject</font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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['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 "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='2' cellspacing='1' style='border: 1px solid #404050'>";
echo "<tr><td background='".THEME."images/cellpic2.gif' bgcolor='#202734' height='24'><font class='head-title'> $title</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #404050' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img border='0' src='".THEME."images/small_arrow.gif' hspace='3'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#404050' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #404050' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#404050' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
PW od moderatora:
- Od?wie?enie Tematu - Pieka 08.03 - 23:26
Edytowane przez Pieka dnia 08.03.2009 00:19:57
|
|
|
|
Pieka |
Dodany dnia 09.03.2009 00:51:45
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Edytuj plik theme.php, znajdz (linia ~50):
echo "<td width='100%' height='110'>$header_content</td>";
Kliknij i zaczekaj na załadowanie kodu ...
i zamien na:
echo "<td width='50%' height='110px'>$header_content</td><td align='right' width='50%' height='110px'>";
include(INFUSIONS."brotator/brotator.php");
echo "</td>";
Kliknij i zaczekaj na załadowanie kodu ...
Jestem jaki jestem 
|
|
|
|
zimi27 |
Dodany dnia 09.03.2009 17:09:54
|

Przedszkolak

Postów: 76 Ostrzeżeń: 4
Data rejestracji: 13.06.2007 20:26
Złamana licencja
|
Dzia?a 
Dzi?ki Pieka!
Wiadomo?? doklejona:
A mo?e da si? jeszcze zrobi? tak, ?eby ten banner nie by? tak do samego ko?ca prawej strony, tylko ?eby by? odst?p ok. 1 cm od prawej kraw?dzi bannera?
Wiadomo?? doklejona:
To pytanie nie aktualne.
Edytowane przez zimi27 dnia 12.03.2009 20:34:51
|
|
|
|
hipek997 |
Dodany dnia 28.05.2009 18:23:01
|

Przedszkolak

Postów: 11 Ostrzeżeń: 3
Data rejestracji: 28.03.2009 10:21
Złamana licencja
|
Da rade wstawic w brotator 0.9.5 beta+flash_banner np. kod z ceneo??? |
|
|