close× Call Us +49 (1805) 01 29 59

Thread Author: spielkind2k
Thread ID: 4177
Thread Info
Es gibt 6 Beiträge zu diesem Thema, und es wurde 5294 mal angesehen.
Wer ist hier? 1 Gäste
 Thema drucken
Flashbanner in banner
spielkind2k
Hiho leutz

ich hab da mal folgendes Probelm

Ich fahre fusion 7 und wollte in meinem Banner nen zusätzlichen kleinen banner setzten, für spezielle article, via Countainer

Bei mir zerschießt sich aber die ganze zeit die seite dabei

Habe diese Theme am laufen. vllt kann mir dabei jemand helfen


<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='->' />");
require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

global $locale, $main_style, $settings, $userdata;
echo " <div id='mpage'><div id='vbkg'><div id='bbkg'><div id='pagebkg'>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='center'><tr><td id='logo'><a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='border: 0;' /></a></td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%'><tr><td><div id='navi'>".showsublinks(" ")."\n";
if (iMEMBER){
echo "<div class='floatR'>".$locale['global_035']." ".$userdata['user_name']."</div>\n";
}else{
echo "<div class='floatR'><ul><li><a href='".BASEDIR."login.php'>".$locale['global_104']."</a></li>
".($settings['enable_registration'] ? "<li><a href='".BASEDIR."register.php'>".$locale['global_107']."</a></li>\n" : "");
echo "</ul></div>\n";
}
echo "</div></td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' id='cts' class='$main_style'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'><div class='sidet'></div>".LEFT."<div class='sbot'></div></td>"; }
echo"<td class='mbody' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>\n";
if (RIGHT) { echo "<td class='side-border-right' valign='top'><div class='sidet'></div>".RIGHT."<div class='sbot'></div></td>"; }
echo"</tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='50%' id='footer'><tr>
<td>".stripslashes($settings['footer']);
if (!$license) { echo "<br /><br />\n".showcopyright(); }
echo "<br />Theme designed by <a href='http://www.rominfobase.de/'>Maik Brueggemann</a> &copy; 2012</td></tr></table>\n";
if ($settings['sitebanner2']) {   eval("?><div class='banner'>".stripslashes($settings['sitebanner2'])."</div>\n<?php ");}
echo"<table cellpadding='0' cellspacing='0' border='0' width='100%' id='subfooter'><tr>
<td><div class=''>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div>
<div class=''>".showcounter()."</div></td></tr></table>
</div></div></div></div>\n";

}

function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".$news."</div>
<div class='news-footer'>
   ".newsopts($info).itemoptions("N",$info['news_id'])."
</div>\n";
closetable();
}

function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'>
   ".itemoptions("A",$info['article_id'])."
</div>\n";
closetable();
}

function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='ttl'></td>
<td class='tt'>".$title."</td>
<td class='ttr'></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='tsl'></td><td class='tbody'>
<div style='background: url(".THEME."images/bg-news-detail.png) no-repeat;'>
<div style='padding-right:width:100px;'>\n";
}

function closetable() {
echo "</td><td class='tsr'></td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='spacer'><tr>
<td class='t-bl'></td>
<td class='tb'>&nbsp;</td>
<td class='tbr'></td>
</tr></table>\n";
}

function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%' class='stop'><tr>
<td class='stl'></td>
<td class='st'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='str'>".panelbutton($state, $boxname)."</td>\n";
}else{echo"<td class='str'></td>\n";}
echo "</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='sbody'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}

function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></tr></table>\n";

}
?>


sowie diese style css


#cts{padding:0 32px}
#pagebkg{width:1004px;margin:0 auto;background:url(images/tbkg.jpg) no-repeat top center;padding:0 0 50px}
#logo{height:248px;background:url(images/spacer.gif) no-repeat top}
.banner{margin:15px auto}
.center{margin:0 auto}
#bbkg{background:url(images/bbkg.jpg) no-repeat bottom center}
#vbkg{background:url(images/vbkg.gif) repeat-y top center}
#mpage{margin:0 auto;;background-image:url(images/bkg.gif)}
#navi {height:25px;margin:0;padding:0 36px}
#navi ul {margin:0;padding:0 0 0 0}
#navi li {overflow:hidden;background-image:none;float:left;line-height:25px;white-space:nowrap;padding:0 1px}
#navi li a {display:block;width:100px;height:25px;font-size:9px;font-family:Arial;font-weight:bold;color:#F90;text-decoration:none;background:url(images/button.jpg) no-repeat;background-position:0 0;text-align:center}
#navi li a:hover {width:100px;height:25px;background-position:-100px 0;color:#fff}
.floatR{float:right;line-height:15px}
#footer {width:50%;color:#fff;padding:10px;clear:both;margin:15px auto;text-align:center}
#footer a{color:#840}
#footer a:hover{ color:#F90;text-decoration:underline}
#subfooter {color:#fff;text-align:center;margin:0 auto;padding-bottom:50px;font-size:0.8em}
/*new above*/
a {color:#840;text-decoration:none}
a:hover {color:#F90}
a.side {color:#fff;text-decoration:none}
a:hover.side {color:#f90;text-decoration:underline}
a.white, li.white a {color:#FFF;text-decoration:none}
a:hover.white, li.white a:hover {color:#FFF;text-decoration:underline}
.bullet{border:0}
body {background:#000;margin:0px;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;color:#FFF}
hr {height:1px;border:1px solid #840}
hr.side-hr {height:1px;border:1px solid #840}
td {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px}
pre {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px}
.alt {color:#fff}
.spacer {margin-bottom:20px}
.admin-message {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;text-align:center;color:#fff;border:1px solid #840;padding:3px 4px 5px 4px;margin-bottom:5px}
form {margin:0px}
.bbcode {font-size:10px;color:#fff;border:1px solid #840;margin-top:2px;background:#111}
.textbox{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10px;color:#fff;border:1px solid;border-color:#000 #840 #840 #000;background:#111}
.button {font-size:10px;color:#fff;border:1px solid;border-color:#840 #000 #000 #840;background:#111}
.quote {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10px;color:#000;border:1px solid;border-color:#840 #000 #000 #840;background:#a60}
.mbody {font-size:11px;color:#fff}
.side-left .side-border-right {display:none}
.side-right .side-border-left {display:none}
.side-border-left {color:#fff;width:175px}
.side-border-right {color:#fff;width:175px}
.tt {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;font-weight:bold;color:#FFF;text-align:center;background:url(images/tt.gif) repeat-x top;padding-top:12px}
.ttl {width:20px;height:30px;background-image:url(images/ttl.gif)}
.ttr {width:20px;height:30px;background-image:url(images/ttr.gif)}
.tsl {width:8px;height:100%;background:url(images/tl.gif) repeat-y top}
.tsr {width:8px;height:100%;background:url(images/tr.gif) repeat-y top}
.tb {height:20px;background:url(images/tb.gif) repeat-x top}
.tbr {width:20px;height:20px;background-image:url(images/tbr.gif)}
.t-bl {width:20px;height:20px;background-image:url(images/tbl.gif)}
.tbody {font-size:10px;color:#fff;background:#111}
.sidet{height:34px;width:175px;background:url(images/stop.jpg) no-repeat top center}
.sbot{height:73px;background:url(images/sb.gif) no-repeat bottom center}
.stop{background:url(images/st.jpg) repeat-x top center}
.st {height:48px;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;font-weight:bold;color:#FFF;text-align:center}
.stl {width:10px;height:48px}
.str {width:10px;height:48px}
.sbody {font-size:10px;color:#fff;background:url(images/sbody.jpg) repeat-y top center;padding:10px 8px}
.news-category {border:0;margin:3px 5px 0 0;float:left}
.news-footer {font-size:10px;color:#fff;border:none;border-color:#000 #840 #840 #000;padding:3px}
.tbl-border {border:1px solid;border-color:#840 #000 #000 #840;padding:2px}
.tbl {font-size:11px;color:#fff;border:1px solid;border-color:#840 #000 #000 #840;padding:2px}
.tbl1 {font-size:11px;color:#fff;border:1px solid;border-color:#840 #000 #000 #840;padding:2px}
.tbl2 {font-size:11px;color:#fff;border:1px solid;border-color:#840 #000 #000 #840;padding:2px}
.forum-caption {font-size:11px;font-weight:bold;text-decoration:underline;color:#FFF;padding:2px}
.poll {height:12px;border:1px solid #840}
.comment-name {font-weight:bold;color:#fff}
.shoutboxname {font-weight:bold;color:#fff}
.shoutbox {color:#FFF}
.shoutboxdate {font-size:10px;color:#fff}
.small {font-size:10px;font-weight:normal}
.small2 {font-size:10px;font-weight:normal;color:#fff}
.side-small {font-size:10px;font-weight:normal;color:#fff}
.side-label {color:#fff;text-decoration:underline;margin:2px 0 2px 0;padding:2px}
#navigation h2 {font-size:10px;font-weight:normal;margin:0;padding:4px}
#navigation ul {margin:0;padding:0;list-style-type:none}
* html #navigation ul li{height:1%}
#navigation a {display:block;color:#840;padding:2px;text-decoration:none}
#navigation a:hover {color:#F90;background:#000;border:1px solid #840}
.pagenav {padding:4px}
.pagenav span {color:#F90;background:#111;border:1px solid #840;padding:2px;margin:2px}
.pagenav a {color:#fff;border:1px solid #840;padding:2px;margin:2px;text-decoration:none}
.pagenav a:hover {color:#F90;background:#111;margin:2px;text-decoration:none}




eingebauen wollte ich folgendes

das sind meine beiden dateien für den banner

<!-- FLASHER -->
   <script src="lib/javascript/jquery.owflasher.js" type="text/javascript"></script>
   <link rel="stylesheet" href="design/flasher/jquery.owflasher.css" type="text/css" />



sowie so in der art der code der eingebaut werden muss


<!-- CONTAINER START -->
   <div id="container" style="z-index:100">
      
      <!-- HEADER START -->
      
      <div id="header">
         
         <div id="flashercontainer">
            <div id="flasher">
   <ul class="images">
               <li>
            <a href="articles.php?article_id=134" target="_blank"><img src="images/flasherpic-25.jpg" alt="" /></a>
            <div class="text">Unser Hardmode-Guide zur Instanz 'Burg Grafu'! Erfahre wie man Annelia und ihren Vater Grafu besiegen kann!</div>
         </li>
               <li>
            <a href="articles.php?article_id=90" target="_blank"><img src="images/flasherpic-26.jpg" alt="" /></a>
            <div class="text">Runenübersicht, Runenkombinationen und die Runenliste vereint zum Runen-Kompendium!</div>
         </li>
               <li>
            <a href="articles.php?article_id=81" target="_blank"><img src="images/flasherpic-27.jpg" alt="" /></a>
            <div class="text">Eine Liste aller Quests, Questitems, Questtexten und eine Übersicht der dort erhaltbaren EP findet man in der Questübersicht!</div>
         </li>
               <li>
            <a href="articles.php?article_id=75" target="_blank"><img src="images/flasherpic-28.jpg" alt="" /></a>
            <div class="text">Welche Attribute überschreiben andere, sollten bereits welche auf dem Item sein? Wir haben die Antwort in unserer Rangfolge!</div>
         </li>
               <li>
            <a href="articles.php?article_id=66" target="_blank"><img src="images/flasherpic-29.jpg" alt="" /></a>
            <div class="text">In diesem Artikel findet man alle Attribute der Monster in Taborea. Von ihrer Def bis hinüber zu ihrer Angriffsweite!</div>
         </li>
         </ul>
</div>


<script type="text/javascript">
$(function(){
   $('#flasher').owflasher({
      period: 10000,
      clickperiod: 10000   });
})
</script>


bin ma gespannt ob mir jemand bei dem Problem helfen kann
 
SC-Ad-Bot
 
DjMicha1985
Ich brauch wenn mal die ganze Theme und die URL, wo die Theme läuft
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
spielkind2k
den theme hab ich gepostet und der tehme läuft auf http://rominfobase.de
 
DjMicha1985
Ungetestet

suchen:

echo " <div id='mpage'><div id='vbkg'><div id='bbkg'><div id='pagebkg'>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='center'><tr><td id='logo'><a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='border: 0;' /></a></td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%'><tr><td><div id='navi'>".showsublinks(" ")."\n";


ersetzen:


echo " <div id='mpage'><div id='vbkg'><div id='bbkg'><div id='pagebkg'>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='center' style='background-image:url(url zum header)'><tr><td align='left'>Flashcode</td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%'><tr><td><div id='navi'>".showsublinks(" ")."\n";


hab dir oben mal rot gemacht, was noch ändern musst
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
spielkind2k
kannst du mir die letzten beiden codes auch noch als flashcode schreiben? damit ich die einbinden kann?

also den


<!-- FLASHER -->
   <script src="lib/javascript/jquery.owflasher.js" type="text/javascript"></script>
   <link rel="stylesheet" href="design/flasher/jquery.owflasher.css" type="text/css" />



sowie den


<!-- CONTAINER START -->
   <div id="container" style="z-index:100">
     
      <!-- HEADER START -->
     
      <div id="header">
         
         <div id="flashercontainer">
            <div id="flasher">
   <ul class="images">
               <li>
            <a href="articles.php?article_id=134" target="_blank"><img src="images/flasherpic-25.jpg" alt="" /></a>
            <div class="text">Unser Hardmode-Guide zur Instanz 'Burg Grafu'! Erfahre wie man Annelia und ihren Vater Grafu besiegen kann!</div>
         </li>
               <li>
            <a href="articles.php?article_id=90" target="_blank"><img src="images/flasherpic-26.jpg" alt="" /></a>
            <div class="text">Runenübersicht, Runenkombinationen und die Runenliste vereint zum Runen-Kompendium!</div>
         </li>
               <li>
            <a href="articles.php?article_id=81" target="_blank"><img src="images/flasherpic-27.jpg" alt="" /></a>
            <div class="text">Eine Liste aller Quests, Questitems, Questtexten und eine Übersicht der dort erhaltbaren EP findet man in der Questübersicht!</div>
         </li>
               <li>
            <a href="articles.php?article_id=75" target="_blank"><img src="images/flasherpic-28.jpg" alt="" /></a>
            <div class="text">Welche Attribute überschreiben andere, sollten bereits welche auf dem Item sein? Wir haben die Antwort in unserer Rangfolge!</div>
         </li>
               <li>
            <a href="articles.php?article_id=66" target="_blank"><img src="images/flasherpic-29.jpg" alt="" /></a>
            <div class="text">In diesem Artikel findet man alle Attribute der Monster in Taborea. Von ihrer Def bis hinüber zu ihrer Angriffsweite!</div>
         </li>
         </ul>
</div>


<script type="text/javascript">
$(function(){
   $('#flasher').owflasher({
      period: 10000,
      clickperiod: 10000   });
})
</script>

 
DjMicha1985
mach sie in eine extra datei und dann peer include. Ein wenig musst auch selber versuchen. Denn nur durch versuchen lernt man (geht mir genauso)
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
PartnerPagePanel: Banner werden nicht angezeigt. Infusionen 3 02.08.2017 00000008 05:58
Unter LInks Banner einbauen. Allgemeine Diskussionen 4 02.11.2015 00000011 17:06
Banner System 3.1.0a Infusionen 11 13.05.2015 00000005 15:14
Banner Panel PHP & MySql 2 27.11.2013 00000011 09:38
Magic Voice Radio Banner Grafik und Design 4 22.05.2013 00000005 21:17
PHPFusion DE NSS