Brotator v2
|
schmeterling |
Dodany dnia 02.10.2006 22:06:00
|
Przedszkolak
Postów: 23
Data rejestracji: 10.03.2006 00:35
|
Witam wszystkich,
Chcialem uzyskac po zainstalowaniu tego infusiona obok loga strony drugi obrazek(nie reklame), podobnie jak jest u was na supporcie.
Otoz instalacja poszlo bez problemu, ale na koniec maly zonk.
W panelu gdzie jest logo i drugi obrazek wcielo boczne ramki i dodatkowo panel jest teraz za wysoki w porownaniu do loga i drugiego obrazka.
Moje theme to Exclusive Red by Divine JazOOn
Wczesniej mialem inne theme i ta wysokosc moglem regulowac poprzez zmniejszenie - zwiekszenie pliku ktory odpowiadal za tlo w tym panelu - teraz nie moge.
z gory dzieki za wszelka pomoc
PF 6.01.5 |
|
|
|
Wścibski Gość |
Dodany dnia 09.01.2025 07:16:32
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
EuGeN |
Dodany dnia 02.10.2006 22:09:59
|
Początkujący
Postów: 150 Pomógł: 10
v7.02.05 Data rejestracji: 18.06.2006 11:19
|
podaj theme.php i ten plik który odpowiada za wyświetlanie Brotator v2 (nie pamiętam jak się nazywał)
Kocio Kocio
|
|
|
|
schmeterling |
Dodany dnia 02.10.2006 22:18:16
|
Przedszkolak
Postów: 23
Data rejestracji: 10.03.2006 00:35
|
theme.php
<?
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System |
|---------------------------------------------|
| author: Daniel Rynduch (Divine JazOOn) 2005 |
| web: http://power.portal.of.pl |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Exclusive Red for PHP-Fusion v6 |
| based on Fire of Fusion Theme by me :) |
|---------------------------------------------|
| author: Divine JazOOn © 2005 |
| web: http://power.portal.of.pl |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
// Start banner code
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='100%' style='background-image:url(".THEME."images/logo_bg.gif)' height='110'>$header_content</td>";
echo "<td align='right'>";
include(INFUSIONS."brotator/brotator.php");
echo "</td></tr></table>";
// End banner code
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
echo "<img src='".THEME."images/pixel.gif' height='5'>";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width' height='26'>";
echo "<tr><td width='42'><img src='".THEME."images/nav-left.gif' 16' height='26'></td>";
echo "<td width='75%' background='".THEME."images/nav-center.gif' class='menu'>";
echo "<table width='100%' height='20px' cellspacing='0' cellpadding='0' class='menu'>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td><table cellspacing='5' cellpadding='3' border='0'><tr>\n";
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<td class='menu2' style='cursor: hand;' onmouseover='this.className=\"menu-over\"' onmouseout='this.className=\"menu2\"' onClick=\"window.location='".$data['link_url']."'\">".$data['link_name']."</td>";
} else {
echo "<td class='menu2' style='cursor: hand;' onmouseover='this.className=\"menu-over\"' onmouseout='this.className=\"menu2\"' onClick=\"window.location='".BASEDIR.$data['link_url']."'\">".$data['link_name']."</td>";
}
}
if ($i != dbrows($result)) { echo "\n"; } else { echo "\n"; } $i++;
}
echo "</tr></table></td></tr></table>\n";
}
echo "</td>";
echo "<td align='right' width='25%' background='".THEME."images/nav-center.gif' class='menu'>";
echo "".ucwords(showdate($settings['subheaderdate'], time()))."</td>";
echo "<td width='42'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table>";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width' height='26'>";
echo "<tr><td width='15'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td>";
echo "<td class='copyright' align='left' width='38%' background='".THEME."images/nav-center.gif'>";
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' alt='PHP-Fusion' 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";
}
echo "</td>";
echo "<td class='copyright' align='center' width='24%' background='".THEME."images/nav-center.gif'>Theme Exclusive Red by: <a href='http://jazoon-themes.power.portal.4cms.pl' target='_blank'><img src='".THEME."images/themes_banner_footer.jpg' alt='Divine JazOOn' title='Divine JazOOn' border='0' style='vertical-align:middle;'></a></a>";
echo "</td>";
echo "<td class='copyright' align='right' width='38%' background='".THEME."images/nav-center.gif'>";
echo "<strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td>";
echo "<td width='15'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table><br>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='header'>".stripslashes($settings['footer'])."</td>";
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$subject</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
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 align='right' class='infobar2'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> <b>·</b>\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> <b>·</b> ";
echo "".$info['news_reads'].$locale['044']." <b>-</b> ";
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;'></a>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$subject</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
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 align='right' class='infobar2'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." <b>·</b> ";
echo "".$info['article_reads'].$locale['044']." <b>-</b> ";
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;'></a>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td width='180px' class='side-body' onmouseover=\"this.className='side-body2'\" onmouseout=\"this.className='side-body'\">\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td class='panel-main'>$title</td>";
echo "<td align='right' class='panel-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' src='".THEME."images/panel_$box_img.gif'></td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body' onmouseover=\"this.className='side-body2'\" onmouseout=\"this.className='side-body'\">";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "</td></table>\n";
}
?>
brotator.php
<?php
require_once (BASEDIR."maincore.php");
require_once("brotator_config.php");
// Wy¶wietlamy losowy banner
$result = dbquery("SELECT id,counter, banner,expireby, expireat FROM ".DB_PREFIX."pb_brotator WHERE active=1 ORDER BY RAND() LIMIT 1;");
if (dbrows($result)) {
$data = dbarray($result);
if ($data['expireby']=='c') {
if ($data['counter']<=1) {
dbquery("UPDATE ".DB_PREFIX."pb_brotator SET counter=counter-1, views=views+1, active=0 WHERE id = '".$data['id']."'");
}
else {
dbquery("UPDATE ".DB_PREFIX."pb_brotator SET counter=counter-1, views=views+1 WHERE id = '".$data['id']."'");
}
}
if ($data['expireby']=='d') {
$tmpstr = explode("-", $data['expireat']);
$db_year = $tmpstr[0];
$db_month = $tmpstr[1];
$db_day = $tmpstr[2];
if ( mktime(0,0,0,date("m"),date("d"),date("Y")) > mktime(0,0,0, $db_month, $db_day, $db_year) ) {
dbquery("UPDATE ".DB_PREFIX."pb_brotator SET views=views+1, active=0 WHERE id = '".$data['id']."'");
}
else {
dbquery("UPDATE ".DB_PREFIX."pb_brotator SET views=views+1 WHERE id = '".$data['id']."'");
}
}
echo "<a href='".PB_JUMP."?bid=".$data['id']."' target='_external'>";
echo "<img src='".$data['banner']."' border='0'>";
echo "</a>\n";
}
else {
// echo "<img src='".BASEDIR."images/banner.gif' border='0'>";
echo "";
}
?>
|
|
|
|
schmeterling |
Dodany dnia 03.10.2006 13:01:34
|
Przedszkolak
Postów: 23
Data rejestracji: 10.03.2006 00:35
|
Ktos przejmie po EuGeN odpowiedz na moj problem ?
Moja stronka troche nie bardzo wyglada i dlatego ponawiam prosbe. |
|
|
|
proton |
Dodany dnia 03.10.2006 13:05:06
|
Bywalec
Postów: 945 Pomógł: 22
Data rejestracji: 10.11.2005 18:29
|
Dziękuje za odświeżenie tematu, ale niestety jest to nie zgodne z regulaminem i powieninem ci dać bana! I nawet nie masz nic na obrone bo jesteś zarejestrowany już tu chwilę, i powinieneś to wiedzieć!
|
|
|
|
schmeterling |
Dodany dnia 03.10.2006 13:09:52
|
Przedszkolak
Postów: 23
Data rejestracji: 10.03.2006 00:35
|
Wiem o tym, ale nie umiem sobie z tym poradzic, wczoraj siedzialem nad tym pare godzin i nic nie wyszlo, a strona nie wyglada z tym bledem za specjalnie.
Poza tym EuGeN zrezygnowal chyba z Moderowania i myslalem ze temat pojdzie w zapomnienie.
Sorka za podwojna prosbe |
|
|
|
proton |
Dodany dnia 03.10.2006 13:17:42
|
Bywalec
Postów: 945 Pomógł: 22
Data rejestracji: 10.11.2005 18:29
|
Ja też z wieloma rzeczami nie mogę sobie poradzić ale nie odświeżam tematu...
Podaj mi link do strony.
A także jak wyglądał theme.php przed zmianą.
Edytowane przez proton dnia 03.10.2006 13:18:06
|
|
|
|
schmeterling |
Dodany dnia 03.10.2006 13:27:48
|
Przedszkolak
Postów: 23
Data rejestracji: 10.03.2006 00:35
|
Link w stopce
theme.php z nieedytowanej skorki Exclusive Red
<?
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System |
|---------------------------------------------|
| author: Daniel Rynduch (Divine JazOOn) 2005 |
| web: http://power.portal.of.pl |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Exclusive Red for PHP-Fusion v6 |
| based on Fire of Fusion Theme by me :) |
|---------------------------------------------|
| author: Divine JazOOn © 2005 |
| web: http://power.portal.of.pl |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
// Start banner code
echo "<td width='100%' class='header-center'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td align='center' class='header'>$header_content</td></tr>";
echo "</table></td>";
// End banner code
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
echo "<img src='".THEME."images/pixel.gif' height='5'>";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width' height='26'>";
echo "<tr><td width='42'><img src='".THEME."images/nav-left.gif' 16' height='26'></td>";
echo "<td width='75%' background='".THEME."images/nav-center.gif' class='menu'>";
echo "<table width='100%' height='20px' cellspacing='0' cellpadding='0' class='menu'>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td><table cellspacing='5' cellpadding='3' border='0'><tr>\n";
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<td class='menu2' style='cursor: hand;' onmouseover='this.className=\"menu-over\"' onmouseout='this.className=\"menu2\"' onClick=\"window.location='".$data['link_url']."'\">".$data['link_name']."</td>";
} else {
echo "<td class='menu2' style='cursor: hand;' onmouseover='this.className=\"menu-over\"' onmouseout='this.className=\"menu2\"' onClick=\"window.location='".BASEDIR.$data['link_url']."'\">".$data['link_name']."</td>";
}
}
if ($i != dbrows($result)) { echo "\n"; } else { echo "\n"; } $i++;
}
echo "</tr></table></td></tr></table>\n";
}
echo "</td>";
echo "<td align='right' width='25%' background='".THEME."images/nav-center.gif' class='menu'>";
echo "".ucwords(showdate($settings['subheaderdate'], time()))."</td>";
echo "<td width='42'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table>";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width' height='26'>";
echo "<tr><td width='15'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td>";
echo "<td class='copyright' align='left' width='38%' background='".THEME."images/nav-center.gif'>";
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' alt='PHP-Fusion' 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";
}
echo "</td>";
echo "<td class='copyright' align='center' width='24%' background='".THEME."images/nav-center.gif'>Theme Exclusive Red by: <a href='http://jazoon-themes.power.portal.4cms.pl' target='_blank'><img src='".THEME."images/themes_banner_footer.jpg' alt='Divine JazOOn' title='Divine JazOOn' border='0' style='vertical-align:middle;'></a></a>";
echo "</td>";
echo "<td class='copyright' align='right' width='38%' background='".THEME."images/nav-center.gif'>";
echo "<strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td>";
echo "<td width='15'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table><br>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='header'>".stripslashes($settings['footer'])."</td>";
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$subject</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
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 align='right' class='infobar2'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> <b>·</b>\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> <b>·</b> ";
echo "".$info['news_reads'].$locale['044']." <b>-</b> ";
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;'></a>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$subject</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
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 align='right' class='infobar2'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." <b>·</b> ";
echo "".$info['article_reads'].$locale['044']." <b>-</b> ";
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;'></a>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td width='180px' class='side-body' onmouseover=\"this.className='side-body2'\" onmouseout=\"this.className='side-body'\">\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td class='panel-main'>$title</td>";
echo "<td align='right' class='panel-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' src='".THEME."images/panel_$box_img.gif'></td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body' onmouseover=\"this.className='side-body2'\" onmouseout=\"this.className='side-body'\">";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "</td></table>\n";
}
?>
Edytowane przez schmeterling dnia 03.10.2006 13:30:23
|
|
|
|
proton |
Dodany dnia 03.10.2006 14:06:35
|
Bywalec
Postów: 945 Pomógł: 22
Data rejestracji: 10.11.2005 18:29
|
TO:
// Start banner code
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='100%' style='background-image:url(".THEME."images/logo_bg.gif)' height='110'>$header_content</td>";
echo "<td align='right'>";
include(INFUSIONS."brotator/brotator.php");
echo "</td></tr></table>";
// End banner code
Zamień na:
// Start banner code
echo "<td width='100%' class='header-center'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td align='left' width='50%' class='header'>$header_content</td><td align='right' width='50%' class='header'>";
include(INFUSIONS."brotator/brotator.php");
echo "</td></tr>";
echo "</table></td>";
// End banner code
|
|
|
|
schmeterling |
Dodany dnia 03.10.2006 14:17:11
|
Przedszkolak
Postów: 23
Data rejestracji: 10.03.2006 00:35
|
Dzieki bardzo proton wszystko jest teraz tak jak powinno byc, i jeszcze raz sorka za podwojna prosbe.
Pozdrawiam |
|
|
|
kobi |
Dodany dnia 03.10.2006 14:18:47
|
Przedszkolak
Postów: 15
Data rejestracji: 02.10.2006 17:21
|
Może w tym temacie uda mi się uzyskać odpowiedź na pytanie
Jak aktywować banner aby się wyświetlał w Brotator v2? |
|
|
|
proton |
Dodany dnia 03.10.2006 14:20:35
|
Bywalec
Postów: 945 Pomógł: 22
Data rejestracji: 10.11.2005 18:29
|
Nacisnąć "Aktywuj", chociaż nie wiem czytaki jest przycick bo nie patrzylem dawno na brotator...
Czytaj README, tej wtyczki.
|
|
|
|
kobi |
Dodany dnia 03.10.2006 14:22:48
|
Przedszkolak
Postów: 15
Data rejestracji: 02.10.2006 17:21
|
Właśnie oto chodzi że niema tam przycisku aktywuj a w readme nic nie pisze o tym. Pomuszcie mi
Edytowane przez proton dnia 03.10.2006 14:56:47
|
|
|
|
kobi |
Dodany dnia 04.10.2006 08:37:30
|
Przedszkolak
Postów: 15
Data rejestracji: 02.10.2006 17:21
|
Naprawde nikt niewie jak aktywować ten banner? Jak ktoś wie to niech powie. |
|
|
|
proton |
Dodany dnia 04.10.2006 13:54:20
|
Bywalec
Postów: 945 Pomógł: 22
Data rejestracji: 10.11.2005 18:29
|
Ja wiem jedno - zaraz dostaniesz BANA, jeśli nie zapoznasz się z regulaminem!
|
|
|
|
kobi |
Dodany dnia 04.10.2006 14:44:08
|
Przedszkolak
Postów: 15
Data rejestracji: 02.10.2006 17:21
|
Też mi support |
|
|
|
marpar |
Dodany dnia 04.10.2006 15:01:12
|
Bywalec
Postów: 535
Data rejestracji: 30.09.2005 20:02
|
kobi napisał/a:
Też mi support
Staramy sie pomgac ale na takich leserów jak ty to nie ma rady...
pozdro!
Edytowane przez Pieka dnia 04.10.2006 19:50:49
|
|
|