Logo Flashowe
|
proton |
Dodany dnia 04.10.2006 14:38:15
|
Bywalec
Postów: 945 Pomógł: 22
Data rejestracji: 10.11.2005 18:29
|
@musicboy używasz SWISH?
Jest tam takie coś jak dodajesz tekst, masz tam wybór i tam jest Dynamic Text, Static Text i jescze jeden jakiś ale nie pamiętam i z tego wiem to tylko jeden format tekstu działał na IE, na wszystkich przeglądarkach było a na IE nie. Więc pokombinuj z tym tekstem.
Powiedz nam jescze czy masz ten problem na każdej przeglądarce czy tylko na jednej.
|
|
|
|
Wścibski Gość |
Dodany dnia 23.11.2024 10:19:04
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
psuja |
Dodany dnia 17.11.2006 03:01:58
|
Przedszkolak
Postów: 1
Data rejestracji: 17.11.2006 02:22
|
Witam.
Przeglądałem ten wątek (skromnie mówiąc) kilka razy. Robiłem tak jak napisał: Zszywak, tak jak napisał: Wooya, oraz: Gander Oczywiście próbowałem dojść do tego samemu, ale niestety nie mogę nic sensownego wymyślić, a chodzi mi o umieszczenie loga swf na stronie. To znaczy plik swf który imituje logo jest, ale nie wygląda tak, jak powinien. Po prostu nie mogę go wkomponować tak, żeby wypełnił całą przestrzeń, którą powinien wypełnić.
Wygląda to tak: Strona, Screen
Zainstalowałem 'świeżego' Fusiona, żebym mógł z tym 'walczyć', ale na razie coś mi nie wychodzi.
Proszę o pomoc, bo po 4 godzinach prób nic nowego nie wymyśle.
Styl to: Darthanian
Mój plik subheader.php wygąda tak:
<?php
// javascript part for Dropdown windows. Works with FireFox, IE, NETSCAPE.
echo "<SCRIPT LANGUAGE=\"javascript\">
function show_hide(msg_id){
msg_id.style.display=msg_id.style.display=='none' ? '' : 'none'
}
</SCRIPT>";
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright e 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>";
include_once INCLUDES."dynamic_titles.php";
if (!isset($title)) $title = "";
echo "<title>".$title.$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<link rel='stylesheet' href='".INCLUDES."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
<script type='text/javascript' src='".INCLUDES."png-hack.js'></script>
<!--[if gte IE 5.5000]>
<script language='javascript'>
window.attachEvent(\"onload\", correctPNG);
</script>
<![endif]-->
<style type='text/css'>
#dhtmltooltip{
position: absolute;
width: 150px;
border: 0px solid black;
padding: 2px;
visibility: hidden;
z-index: 100;
}</style>";
if ($settings['rss'])
{
$rss = dbarray(dbquery("SELECT file_news,title_news from ".$db_prefix."rss_builder"));
$rss_title_news=$rss['title_news'];
$rss_file_news=$rss['file_news'];
if ($rss_file_news!="")
{
echo "<link rel='alternate' type='application/rss+xml' title='".$rss_title_news."' href='".$settings['siteurl'].$rss['file_news']."' />";
}
}
echo"
</head>
<body bgcolor='$body_bg' text='$body_text'>
<div id=\"dhtmltooltip\"></div>
<script type=\"text/javascript\" src='".INCLUDES."dhtmltooltip.js'></script>\n";
render_header(" <center>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0'
id='logo' width=100%' height='200'>
<param name='movie' value='http://www.mocny-full.pl/test/images/logo.swf'>
<param name='quality' value='high'>
<param name='bgcolor' value='#FFFFFF'>
<embed name='logo' src='http://www.mocny-full.pl/test/images/logo.swf'
quality='high' bgcolor='#FFFFFF'
width='100%' height='200'
type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>
</object></center> ");
?>
Dodam jeszcze plik theme.php:
<?
/*--------------------------------------------+
| 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) |
+--------------------------------------------*/
/*--------------------------------------------+
| Darthanian Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock © 2005 |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#757882";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "190";
$theme_width_r = "190";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table width='$theme_width' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='header-left'><img src='".THEME."images/blank.gif' width='18' height='20' alt='' style='display:block'></td>";
echo "<td width='100%' background='".THEME."images/header-main.gif'></td>";
echo "<td class='header-right'><img src='".THEME."images/blank.gif' width='18' height='20' 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' height='1' alt='' style='display:block'></td>";
echo "<td align='left' class='header'>$header_content</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='18' height='1' alt='' style='display:block'></td></tr>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td align='left' background='".THEME."images/border-bleft.gif' width='18'></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='18' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
//Nav links begin
echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='nav-left'><img src='".THEME."images/blank.gif' width='10' height='39' alt='' style='display:block'></td>";
echo "<td width='70%' class='nav-main'>";
$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 " <img border='0' vspace='1' src='".THEME."images/divider.gif'>\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>";
echo "<td align='right' width='30%' class='datetime'>".ucwords(showdate($settings['subheaderdate'], time()))."</td>";
echo "<td class='nav-right'><img src='".THEME."images/blank.gif' width='10' height='39' alt='' style='display:block'>";
echo "</td></tr></table>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-fleft'><img src='".THEME."images/blank.gif' width='18' height='31' alt='' style='display:block'></td>";
echo "<td align='center' width='100%' class='panel-main'><font color='#E9002C'>".$settings['counter']." </font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."</td>\n");
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='18' height='31' 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' height='1' alt='' style='display:block'></td>";
echo "<td align='center' class='side-body'>".stripslashes($settings['footer'])."\n";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo " | Darthanian by: <a target='_blank' href='http://phpfusion-themes.com'><img src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a>";
echo "<br><br> ";
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='18' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td align='left' background='".THEME."images/border-bleft.gif' width='18'></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='18' 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='18' height='31' 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='18' height='31' 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' height='1' alt='' style='display:block'></td>";
echo "<td class='news-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']."'><b>".$locale['042']."</b></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='18' height='1' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td align='left' background='".THEME."images/border-bleft.gif' width='18'></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='18' 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='18' height='31' 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='18' height='31' 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' height='1' alt='' style='display:block'></td>";
echo "<td class='news-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/bulletc.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='18' height='1' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td align='left' background='".THEME."images/border-bleft.gif' width='18'></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='18' 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='18' height='31' 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='18' height='31' 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' height='1' alt='' style='display:block'></td>";
echo "<td class='table-body'>\n";
}
function closetable() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='18' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td align='left' background='".THEME."images/border-bleft.gif' width='18'></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='18' 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='18' height='31' 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='18' height='31' 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' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='18' height='1' alt='' style='display:block'></td></tr></table>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td align='left' background='".THEME."images/border-bleft.gif' width='18'></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='18' 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='18' height='31' alt='' style='display:block'></td>";
echo "<td width='100%' 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='18' height='31' 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' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">";
}
function closesidex() {
echo "</td></div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='18' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='18' 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='18' 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";
}
?>
Z góry dziękuje za pomoc.
zdravim Vas
Psuja |
|
|
|
Macieq |
Dodany dnia 26.12.2006 22:31:03
|
Przedszkolak
Postów: 1
Data rejestracji: 26.12.2006 18:23
|
Mi nie działa LOGO FLASH !!! Czy ktoś mógłby to poprawić w ym kodzie !!!
<?
//************************************************************************************************************************//
// Theme Name: Shunt Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#2E4753";
$body_bg = "#CECECE";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
echo "<div id='spf'><a href='http://www.venusrx.com/' title='Order OrthoTriCyclen Online'>OrthoTriCyclen</a></div>";
global $theme_width,$settings;
echo "<table border='0' cellpadding='0' cellspacing='1' bgcolor='#364561' width='925' align='center'>\n";
echo "<tr><td width='100%' bgcolor='#B1B8C4' height='11' valign='top'>";
echo "<table height='79' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td><table height='79' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<td width='440' background='".THEME."images/cellpic_bkg.jpg' height='124'><a href='".BASEDIR."index.php'>render_header(' <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0'
id='traktor' width='90%' height='50'>
<param name='movie' value='http://adres.twojej.strony/fusion_images/logo.swf'>
<param name='quality' value='high'>
<param name='bgcolor' value='#FFFFFF'>
<embed name='traktor' src='http://adres.twojej.strony/fusion_images/logo.swf'
quality='high' bgcolor='#FFFFFF'
width='90%' height='50'
type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>
</object></center>");</td>";
echo "<td width='485' background='".THEME."images/cellpic_bkg.jpg' height='124'>";
// BANNER CODE HERE
echo "</td></tr></table>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td align='left'> \n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <img src='".THEME."images/div.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 class='category' href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a class='category' href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td><td align='right'><b>".ucwords(showdate($settings['subheaderdate'], time()))." </b></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='0' bgcolor='#B1B8C4' cellspacing='4' border='0'>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%' height='27'>";
echo "<tr><td width='5%' class='cpic'>";
echo "<div align='center'><a href='javascript:scroll(0,0);'><img src='".THEME."images/up_arrow.gif' title='Scroll up'></a></td></div>";
echo "<td width='35%' class='cpic'>";
echo "<div align='center'><div align='left'>";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo "</div></td>";
echo "<td width='20%' class='cpic'>";
echo "<div align='center'>Shunt by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a></td></div>";
echo "<td align='right' width='35%' class='cpic'>";
echo <<<EOF
|
EOF;
echo "<b>".$settings['counter']."</b> ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td>";
echo "<td width='5%' class='cpic'><div align='center'>";
echo "<a href='javascript:scroll(0,0);'><img src='".THEME."images/up_arrow.gif' title='Scroll up'></a></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #6D7F98' cellpadding='1' cellspacing='0' width='100%'><tr><td>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td bgcolor='#CED5E0'>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td class='cpic' width='100%' height='26'> <img src='".THEME."images/square.gif' hspace='2'> ";
echo "<font class='title'>$subject</font></td></tr>";
echo "<tr><td colspan='2'>";
echo "<table border='0' width='100%' bgcolor='#CED5E0' align='center'>";
echo "<tr><td class='main-body'>$news</td></tr></table>";
echo "<tr><td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "<hr><div align='right'>";
echo "".($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> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<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></div>";
echo "</td></tr></table></td></tr></table></td></tr></table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #6D7F98' cellpadding='1' cellspacing='0' width='100%'><tr><td>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td bgcolor='#CED5E0'>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td class='cpic' width='100%' height='26'> <img src='".THEME."images/square.gif' hspace='2'> ";
echo "<font class='title'>$subject</font></td></tr>";
echo "<tr><td colspan='2'>";
echo "<table border='0' width='100%' bgcolor='#CED5E0' align='center'>";
echo "<tr><td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr></table>";
echo "<tr><td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
echo "<hr><div align='right'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<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></div>";
echo "</td></tr></table></td></tr></table></td></tr></table>";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='2' cellspacing='0' style='border: 1px solid #6D7F98'>";
echo "<tr><td background='".THEME."images/cellpic3.gif' bgcolor='#B1B8C4' height='22'><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' cellpadding='0' cellspacing='1' bgcolor='#6D7F98' width='100%'>";
echo "<tr><td class='cpic' height='27' align='left'>";
echo "<img src='".THEME."images/square.gif' hspace='2'> <font class='block-title'>$title</font>";
echo "</td>";
echo "<tr><td bgcolor='#D8DDE5' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table border='0' cellpadding='0' cellspacing='1' bgcolor='#6D7F98' width='100%'>";
echo "<tr><td class='cpic' height='27' align='left'>";
echo "<img align='left'onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#D8DDE5' class='side-body' width='100%'>";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
|
|
|
|
Janco |
Dodany dnia 07.02.2007 17:12:28
|
Przedszkolak
Postów: 13
Data rejestracji: 12.09.2006 11:13
|
mogłby ktos rzucić na to okiem, kombinuje juz 2 godziny i nie moge znalezc przyczyny:
kod w subheader.php:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";
render_header(" <center>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0'
id='baner' width='90%' height='50'>
<param name='quality' value='high'>
<param name='movie' value='http://giees.superhost.pl/gs/images/baner.swf'>
<param name='quality' value='high'>
<param name='bgcolor' value='#FFFFFF'>
<embed name='baner' src='http://giees.superhost.pl/gs/images/baner.swf'>
quality='high' bgcolor='#FFFFFF'
width='90%' height='50'
type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>
</object></center> ");
mysle ze jest to wina theme:
kod theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "90%";
$theme_width_l = "175";
$theme_width_r = "175";
// Right Panels off in Forum Mode
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
[color=red]<td background='".THEME."images/cellpic_bkg.jpg' height='110'><a href='".BASEDIR."index.php'><img src='".THEME."images/logo.jpg' alt='' title='".$settings[sitename]."' border='0'></td>[/color]
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='white-header'>".showsublinks("·")."</td>
<td align='right' class='white-header'>".showsubdate()."</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
nie podoba mi sie ten fragment zaznacziny na czerwono w theme, caly czas pobiera logo jpg z katalogu images w theme.
Wgralem tam tez baner.swf i kod na images/baner.swf i nic nie wyswietla, pusto.
Wasza znajomosc php-fusion napewno podsunie jakies rozwiazanie.
Wszystkie rozwiazania z tego topicu i nie tylko probowalem, ale caly czas to samo.
Pozdrawiam
http://giees.supe...s/news.php |
|
|
|
HasH1 |
Dodany dnia 11.02.2007 21:33:10
|
Przedszkolak
Postów: 64
Data rejestracji: 06.02.2006 22:11
|
Siema ja znowu uzywam SwiSH'a.. Chce umiescic logo.swf na stronie lecz nie moge.. a moze nie umiem ?... Zamieszczam pliki subheader.php , theme.php , oraz kod wygenerowany w SwiSH'u
subheader.php
<?php
// javascript part for Dropdown windows. Works with FireFox, IE, NETSCAPE.
echo "<SCRIPT LANGUAGE=\"javascript\">
function show_hide(msg_id){
msg_id.style.display=msg_id.style.display=='none' ? '' : 'none'
}
</SCRIPT>";
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright ę 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
require_once INCLUDES."theme_functions_include.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>";
include_once INCLUDES."dynamic_titles.php";
if (!isset($title)) $title = "";
echo "<title>".$title.$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<link rel='stylesheet' href='".INCLUDES."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
<script type='text/javascript' src='".INCLUDES."png-hack.js'></script>
<!--[if gte IE 5.5000]>
<script language='javascript'>
window.attachEvent(\"onload\", correctPNG);
</script>
<![endif]-->
<style type='text/css'>
#dhtmltooltip{
position: absolute;
width: 150px;
border: 0px solid black;
padding: 2px;
visibility: hidden;
z-index: 100;
}</style>";
if ($settings['rss'])
{
$rss = dbarray(dbquery("SELECT file_news,title_news from ".$db_prefix."rss_builder"));
$rss_title_news=$rss['title_news'];
$rss_file_news=$rss['file_news'];
if ($rss_file_news!="")
{
echo "<link rel='alternate' type='application/rss+xml' title='".$rss_title_news."' href='".$settings['siteurl'].$rss['file_news']."' />";
}
}
echo"
</head>
<body bgcolor='$body_bg' text='$body_text'>
<div id=\"dhtmltooltip\"></div>
<script type=\"text/javascript\" src='".INCLUDES."dhtmltooltip.js'></script>\n";
render_header(" [flash width=975 height=150]/images/logo.jpg[/flash] ");
?>
theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Europe Theme for PHP-Fusion v6+ |
|---------------------------------------------|
| author: Fuzed Themes - Shedrock © 2007 |
| credits: Riadi - europe.js script coding |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
require_once INCLUDES."theme_functions_include.php";
// Theme settings
$body_text = "#7B8784";
$body_bg = "#FFFFFF";
$theme_width = "975";
$theme_width_l = "185";
$theme_width_r = "185";
// Right Panels off in Forum Mode - Custom coded
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width, $settings;
$cookieval = "";
if (isset($_COOKIE['Europe_Theme'])) {
$cookie = explode("&",$_COOKIE['Europe_Theme']);
for ($i = 0;$i < sizeof($cookie);$i++) {
$cookie2 = explode(":",$cookie[$i]);
if ($cookie2[0] == "hideleft" || $cookie2[0] == "hideright") {
$cookieval .= ",".$cookie2[0].":'".($cookie2[1] == 'off' ? 'off' : 'on')."'";
}
}
}
echo "<script language='javascript' src='".THEME."europe.js' type='text/javascript'></script>\n";
echo "<script language='javascript' type='text/javascript'>Europe.init({basedir:'".THEME."'".$cookieval."});</script>\n";
// main table
echo "<table width='$theme_width' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td class='side_left'></td>
<td width='100%' valign='top'>\n";
// header table
echo "<table class='header_logo' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td valign='bottom' width='100%'>
<div id='logo'><img style='vertical-align: middle;' alt='' src='".THEME."images/logo.swf'></div>\n";
// sublink and clock table
echo "<table border='0' cellpadding='2' cellspacing='0' width='100%'>
<tr>
<td id='navigation' class='sub_nav' width='85%'>
".showsublinks("<img alt='' src='".THEME."images/nav_sep.gif'>","navigation")."
</td>
<td align='right' id='Clock' nowrap='nowrap' width='15%'>
<script language='javascript' type='text/javascript'>Europe.tick();</script>
</td>
</tr>
</table>\n";
//closing header table
echo "\t\t</td>
</tr>
</table>\n";
include INFUSIONS."brotator/brotator.php";
//close panel images table
// page content table
echo "<table bgcolor='#FFFFFF' cellpadding='0' cellspacing='0' width='100%'>
<tr id='contentbody'>\n";
}
function render_footer($license=false) {
global $settings;
//closing content table
echo "\t</tr>
</table>\n";
//footer table
echo "<table style='margin-top: 6px;' width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='center' width='100%' style='padding-top: 15px;' valign='top'>
".stripslashes($settings['footer'])."<br>"
.(!$license ? showcopyright()."<br>" : "")."
<div style='padding-top: 7px; text-align: center;' class='smalltext'>
<b>Europe</b> Theme designed by: <a target='_blank' href='http://phpfusion-themes.com'>Fuzed Themes</a> © - 2004/2007<br><br>
".showcounter()."<br><br>
</div>
</td>
</tr>
</table>\n";
//closing main table
echo "\t\t</td>
<td class='side_right'></td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main' colspan='3'>$subject</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left' rowspan='2'></td>
<td class='side-body' colspan='3'>$news</td>
<td class='border-right' rowspan='2'></td>
</tr>
<tr>
<td class='info-left'></td>
<td width='100%' height='27' class='info-main'>
".openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id'])."
</td>
<td class='info-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain' colspan='3'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main' colspan='3'>$subject</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left' rowspan='2'></td>
<td class='side-body' colspan='3'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
<td class='border-right' rowspan='2'></td>
</tr>
<tr>
<td class='info-left'></td>
<td width='100%' height='27' class='info-main'>
".openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id'])."
</td>
<td class='info-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain' colspan='3'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>$title</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>\n";
}
function closetable() {
echo "\t\t</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>$title</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>\n";
}
function closeside() {
echo "\t\t</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n
".tablebreak()."";
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>
<span style='float:left'>$title</span>
<span style='float:right'>".panelbutton($state,$boxname)."</span>
</td>
<td class='cap-right' style='clear:both'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "\t\t\t</div>
</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n
".tablebreak()."";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr>
<td height='4'></td>
</tr></table>\n";
}
?>
Kod ze SwiSH'a
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd">
<html>
<head>
<title>logo</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<meta name="author" content="">
<meta name="generator" content="SWiSHmax http://www.swishzone.com">
<meta name="description" content="logo">
<meta name="keywords" content="cytaty, dowcipy, filmiki, kosztuje, mozesz, nic, nie, online, sie, wiecej, wiele, zarejestruj, zyskac">
<!-- text used in the movie -->
<!-- cytaty, dowcipy, filmiki, kosztuje, mozesz, nic, nie, online, sie, wiecej, -->
<!-- wiele, zarejestruj, zyskac -->
<!-- Created by SWiSHmax - Flash Made Easy - http://www.swishzone.com -->
</head>
<body bgcolor="#FFFFFF">
<center>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0"
id="logo"
width="975" height="150"
>
<param name="movie" value="logo.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
name="logo"
width="975" height="150"
src="logo.swf"
bgcolor="#FFFFFF"
quality="high"
swliveconnect="true"
allowscriptaccess="samedomain"
>
<noembed>
</noembed>
</embed>
</object>
</center>
</body>
</html>
Dzieki za jakąkolwiek pomoc. |
|
|
|
Pieka |
Dodany dnia 11.02.2007 21:44:30
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Masz wstawic sam kod, czyli:
<center>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0"
id="logo"
width="975" height="150"
>
<param name="movie" value="logo.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
name="logo"
width="975" height="150"
src="logo.swf"
bgcolor="#FFFFFF"
quality="high"
swliveconnect="true"
allowscriptaccess="samedomain"
>
<noembed>
</noembed>
</embed>
</object>
</center>
Jestem jaki jestem
|
|
|
|
HasH1 |
Dodany dnia 11.02.2007 21:45:56
|
Przedszkolak
Postów: 64
Data rejestracji: 06.02.2006 22:11
|
yy.... gdzie tak zeby bylo jasniej ? bo jakąś zacme dostalem :/ |
|
|
|
Pieka |
Dodany dnia 11.02.2007 21:47:08
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
HasH1 napisał/a:
yy.... gdzie tak zeby bylo jasniej ? bo jakąś zacme dostalem :/
To masz problem. Poczytaj sobie ten temat oraz reszte poswiecona flashowi.
Jestem jaki jestem
|
|
|
|
HasH1 |
Dodany dnia 11.02.2007 21:49:29
|
Przedszkolak
Postów: 64
Data rejestracji: 06.02.2006 22:11
|
w subheader.php w sekcji .. render_header(" [flash width=975 height=150]/images/logo.jpg[/flash] ");
?> ?
Edytowane przez HasH1 dnia 11.02.2007 21:52:15
|
|
|
|
Pieka |
Dodany dnia 11.02.2007 22:43:05
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
http://www.php-fu...post_23566
Jestem jaki jestem
|
|
|
|
HasH1 |
Dodany dnia 12.02.2007 15:09:09
|
Przedszkolak
Postów: 64
Data rejestracji: 06.02.2006 22:11
|
Wszystkie posty czytałem jakie są w tym temacie ( i tego co Ty @Pieka mi podesłałes, do postu Wooy'i) I niestety w zaden sposob nie moge umiescic tego na stronie dołączam ze mam skórke (theme), ktory sie nazywa "Europe"... |
|
|
|
dansongo |
Dodany dnia 27.02.2007 15:56:58
|
Przedszkolak
Postów: 46
Data rejestracji: 26.03.2005 21:01
|
pieka mam ten sam problem na skorce fusion3 dziala a na europe nie
www.zagruzka.pl
|
|
|
|
Pieka |
Dodany dnia 27.02.2007 18:41:57
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
dansongo napisał/a:
pieka mam ten sam problem na skorce fusion3 dziala a na europe nie
Wstaw mi tu caly kod, ktory chcesz umiescic w skorce Europe.
Dolacz opis gdzie i jak ma sie wyswietlac.
Jestem jaki jestem
|
|
|
|
dansongo |
Dodany dnia 28.02.2007 00:55:10
|
Przedszkolak
Postów: 46
Data rejestracji: 26.03.2005 21:01
|
juz sobie poradzilem dostalem nowego przerobionego thema europe od fuzed themes.jesli ktos potrzebuje niech wejdzie tam na forum jest zalacznik.a jak to wyglada mozecie zobaczyc u mnie na stronie.
dzieki za fatyge pieka
pozdrawiam
www.zagruzka.pl
|
|
|
|
Pieka |
Dodany dnia 28.02.2007 01:01:30
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Fajnie, tylko teraz mozna oczoplasu dostac
Zalaczam plik theme.
Pieka dodał/a następującą plik:
Edytowane przez Pieka dnia 28.02.2007 01:05:31
Jestem jaki jestem
|
|
|
|
sebam |
Dodany dnia 01.04.2007 21:25:49
|
Przedszkolak
Postów: 6
Data rejestracji: 29.03.2007 22:59
|
Cześć. Ja mam właśnie taki problem, że mam skórke DX-Cortex i mam logo we flashu a chce wstawić normalne logo w jpg. Moja strona to megamuza.ovh.org. Jak to zrobić ?? Tutaj jest screen http://gienis.neo...screen.JPG na którym na czerwono zaznaczyłem to co chce usunąć i na to miejsce chce wstawić jedno duże logo w formacie jpg.
Jak to zrobić ? |
|
|
|
Yoh_PL |
Dodany dnia 01.06.2007 17:15:06
|
Przedszkolak
Postów: 16
Data rejestracji: 01.06.2007 15:19
|
Gander napisał/a:
Aby wstawić logo flashowe nie trzeba modyfikować pliku theme.php, tylko subheader.php i to w niewielkim stopniu:
render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
zamieniamy na: render_header(parseubb("[flash width=x height=y]/images/logo.swf[/flash]"));
Kilka uwag:
Znacznik musi mieć postać [flash width=x height=y]plik.swf[/flash]
Pod x i y wstawiamy szerokość i wysokość animacji (nie działa z %)
Da się wczytać animację z każdej lokalizacji w obrębie serwisu.
Plik musi mieć rozszerzenie *.swf
A oto przykład że to działa:
[flash width=360 height=60]/images/support.swf[/flash]
Zrobiłem tak jak napisał animacja działa, ale mam pytanie jak ją wyśrodkować :) |
|
|
|
Morel_V |
Dodany dnia 07.09.2007 06:52:00
|
Przedszkolak
Postów: 22
Data rejestracji: 15.08.2007 20:12
|
Mam pytanie jak zrobić aby po wstawieniu loga na stronkę odczetywany by był dźwięk z LOGA...??
I jak mam zrobić aby tak ,że jeśli ktoś nie jest zarejestrowany to ma inne logo jak zalogowany... ??
Z tym dźwiękiem powinno mi działać ale nie wiem czemu mi nie działa...
|
|
|
|
kobrapl |
Dodany dnia 25.11.2007 15:44:10
|
Przedszkolak
Postów: 63 Ostrzeżeń: 2
v7.01.05 Data rejestracji: 06.12.2005 21:59
|
Temat wałkowany , ale ... na jednej ze stron zrobiłem flash logo ok, na drugiej mimo zastosowanie wszelkich rozwiązań z postów powyżej nic.
Poprawiłem plik subheader.php
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<link rel='shortcut icon' href='".IMAGES."xiii.ico'>
<link rel='alternate' type='application/rss+xml' href='".BASEDIR."feeds/news.php'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";
render_header(" <center>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0'
id='baner' width='900' height='150'>
<param name='movie' value='http://www.xiii.com.pl/baner.swf'>
<param name='quality' value='high'>
<param name='bgcolor' value='#FFFFFF'>
<embed name='baner' src='http://www.xiii.com.pl/baner.swf'
quality='high' bgcolor='#FFFFFF'
width='900' height='150'
type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>
</object></center> ");
?>
Mimo to logo na stronie jest wczytywane w theam - próbowałem tam coś zmieniać ale albo strona nie działa, albo loga nie było wcale.
Skórka - Gen-X
Co i gdzie poprawić ??
Edytowane przez kobrapl dnia 25.11.2007 15:44:34
zielony jak szczypiorek na wiosne
|
|
|
|
Pieka |
Dodany dnia 25.11.2007 15:58:35
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Wstawic bezposrednio logo flashowe do pliku theme.php podanej skorki, lub zamienic tam obecne na realizowanie funkcji render_header, czyli:
$header_content
Wystarczy wpisac w szukajke fraze logo w Gen-X, zeby otrzymac w miare wyczerpujaca odpowiedz..
Przyklad: http://www.php-fu...ad_id=3031
Edytowane przez Pieka dnia 25.11.2007 16:02:14
Jestem jaki jestem
|
|
|