[znów] Theme Revision
|
michalina |
Dodany dnia 10.03.2007 21:19:56
|
Przedszkolak
Postów: 15
Data rejestracji: 04.02.2007 12:24
ZBANOWANY: Dożywotnio
|
Heja, ustawiając w theme'ie Revision logo i tak jest to samo co tam ale ok zamieniłem itp ale teraz mam problem . zamiast logo chce ten kod : <iframe src="http://radiogram.freebox.pl/index2.html" name="frame1" scrolling="no" frameborder="no" align="center" height = "200px" width = "750px">
</iframe> Gdzie go wkleić itp ?? |
|
|
|
Wścibski Gość |
Dodany dnia 12.01.2025 05:26:16
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Piotrroger |
Dodany dnia 10.03.2007 21:26:02
|
Bywalec
Postów: 998 Pomógł: 19
v7.02.03 Data rejestracji: 27.04.2006 18:29
|
To wklej to w theme.php, w funkcji $render_header, kasując w PA adres bannera.
|
|
|
|
michalina |
Dodany dnia 10.03.2007 21:37:34
|
Przedszkolak
Postów: 15
Data rejestracji: 04.02.2007 12:24
ZBANOWANY: Dożywotnio
|
Parse error: syntax error, unexpected '<' in /var/www/sites/yoyo.pl/r/a/radiomaxfm/themes/Revision/theme.php on line 29
Edytowane przez Pieka dnia 12.07.2007 20:40:07
|
|
|
|
Piotrroger |
Dodany dnia 10.03.2007 21:41:42
|
Bywalec
Postów: 998 Pomógł: 19
v7.02.03 Data rejestracji: 27.04.2006 18:29
|
Ekhm... a może byś jeszcze pokazała jak wygląda cała Twoja zmodyfikowana funkcja render_header ?? bo ja wróżką nie jestem...
|
|
|
|
michalina |
Dodany dnia 10.03.2007 21:43:41
|
Przedszkolak
Postów: 15
Data rejestracji: 04.02.2007 12:24
ZBANOWANY: Dożywotnio
|
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Revision Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006 |
| web: http://www.uworldirc.com/ |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
define('IN_REVISION', true);
require_once(INCLUDES.'theme_functions_include.php');
require_once(THEME.'includes/navigationbar.class.php');
require_once(THEME.'theme_config.php');
function render_header() {
<iframe src="http://radiogram.freebox.pl/index2.html" name="frame1" scrolling="no" frameborder="no" align="center" height = "200px" width = "750px">
</iframe>
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='920'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<div id='clock'><noscript><div id='noscript'>Javascript should be enabled in order to view everything in certain sections of <strong>".$settings['sitename']."</strong>.</div></noscript><script language='javascript' src='".THEME."includes/clock.js' type='text/javascript'></script></div>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='100' valign='top' width='100%'>"
.($url ? "<a href='$url' onmousedown='return false;'".($title ? " title='".$title."'" : "").">" : "")
."<img".($title ? " alt='".$title."'" : " alt=''")." border='0' src='".THEME."images/logo.png'".($title ? " title='".$title."'" : "").">"
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
if ((iMEMBER) && (isset($rtHeader['rightside_member'])) && (!empty($rtHeader['rightside_member']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_member']."</td>\n";
} elseif ((!iMEMBER) && (isset($rtHeader['rightside_guest'])) && (!empty($rtHeader['rightside_guest']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_guest']."</td>\n";
}
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}
function render_footer() {
global $settings;
echo "</tr></table>\n";
// copyrighted line must stay intact and visible.
echo "<table cellpadding='0' cellspacing='0' id='footer' width='100%'><tr><td nowrap='nowrap' valign='top'>Powered by: <a href='http://www.php-fusion.co.uk/' target='_blank' onmousedown='return false;'>PHP Fusion</a></td><td align='center' width='100%' style='padding-left:20px;padding-right:20px;'>".$settings['footer'].showcounter()."</td><td align='right' nowrap='nowrap' valign='top'><strong>Revision</strong> Theme designed by: <a href='http://www.uworldirc.com/' target='_blank'>Riadi</a></td></tr></table>\n";
echo "</td><td class='pageRight'></td></tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo $locale['040'].newsposter($info)."\n"
."<br>\n<hr>\n<br>\n".$news."<br><br>\n<hr>\n"
.openform("N",$info['news_id']).newsopts($info," ·").closeform("N",$info['news_id'])."\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo $locale['040'].articleposter($info)."\n"
."<br>\n<hr>\n<br>\n".$article."<br><br>\n<hr>\n"
.openform("A",$info['article_id']).articleopts($info," ·").closeform("A",$info['article_id'])."\n";
closetable();
}
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' class='centerTitle' width='100%'><tr><td class='centerTitleOverlay' height='40' width='100%' valign='top'>".$title."</td></tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='centerContent' width='100%'>\n";
}
function closetable() {
echo "</td></tr></table>\n";
tablebreak();
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' class='sideTitle' width='100%'><tr><td class='sideTitleOverlay' height='40' width='100%' valign='top'>".$title."</td></tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='sideContent' width='100%'>\n";
}
function closeside() {
echo "</td></tr></table>\n";
sidebreak();
}
$boxcounter = 1;
function opensidex($title,$open="on") {
global $boxcounter;
$boxname = "expbox".$boxcounter;
$boxcounter++;
$box_img = ($open=="on" ? "off" : "on");
echo "<table border='0' cellpadding='0' cellspacing='0' class='sideTitle' width='100%'><tr>"
."<td class='sideTitleOverlay' height='40' width='100%' valign='top'>".$title."</td>"
."<td class='sideTitleMinMax' nowrap='nowrap'><img onclick=\"javascript:flipBox('$boxname')\" name='b_$boxname' alt='$box_img' src='".THEME."images/panel_$box_img.gif'></td>"
."</tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='sideContent' width='100%'><div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td></tr></table>\n";
sidebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0'><tr><td height='10'></td></tr></table>\n";
}
function sidebreak() {
global $theme_panels_width;
echo "<img alt='spacer' height='10' src='".THEME."images/spacer.gif' width='".$theme_panels_width."'>\n";
}
?>
|
|
|
|
Piotrroger |
Dodany dnia 10.03.2007 21:47:26
|
Bywalec
Postów: 998 Pomógł: 19
v7.02.03 Data rejestracji: 27.04.2006 18:29
|
Zamiast tego co napisałeś, wpisz coś takiego:
echo "<iframe src='http://radiogram.freebox.pl/index2.html' name='frame1' scrolling='no' frameborder='no' align='center' height ='200px' width='750px'>
</iframe>";
Zobacz czy bedzie dzialac
|
|
|
|
michalina |
Dodany dnia 10.03.2007 21:49:51
|
Przedszkolak
Postów: 15
Data rejestracji: 04.02.2007 12:24
ZBANOWANY: Dożywotnio
|
zobacz www.radiogram.pl
zobacz : echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='920'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<div id='clock'><noscript><div id='noscript'>Javascript should be enabled in order to view everything in certain sections of <strong>".$settings['sitename']."</strong>.</div></noscript><script language='javascript' src='".THEME."includes/clock.js' type='text/javascript'></script></div>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='100' valign='top' width='100%'>"
.($url ? "<a href='$url' onmousedown='return false;'".($title ? " title='".$title."'" : "").">" : "")
."<img".($title ? " alt='".$title."'" : " alt=''")." border='0' src='".[b]THEME."images/logo.png'[/b]" Tu automatycznie pisze ze to logo.png
Edytowane przez michalina dnia 10.03.2007 21:55:52
|
|
|
|
Piotrroger |
Dodany dnia 10.03.2007 22:04:42
|
Bywalec
Postów: 998 Pomógł: 19
v7.02.03 Data rejestracji: 27.04.2006 18:29
|
usun to co dales przed chwila
|
|
|
|
michalina |
Dodany dnia 10.03.2007 22:05:39
|
Przedszkolak
Postów: 15
Data rejestracji: 04.02.2007 12:24
ZBANOWANY: Dożywotnio
|
nareszcie
www.radiogram.pl
Edytowane przez michalina dnia 10.03.2007 22:06:27
|
|
|
|
Pieka |
Dodany dnia 10.03.2007 22:30:53
|
Postów: 19885 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Przykro mi, ale masz bana na tydzien. Nie bede tolerowal kilku tematow dotyczacych tej samej skorki, moda, czy wtyczki, w dodatku ogolnych.
Zamykam.
Edytowane przez Pieka dnia 10.03.2007 22:31:30
Jestem jaki jestem
|
|
|