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

Gr@n@dE
Thread Author: Scobydoo
Thread ID: 1842
Thread Info
Es gibt 8 Beiträge zu diesem Thema, und es wurde 3612 mal angesehen.
Wer ist hier? 1 Gäste
 Thema drucken
Partner Pages Panel nicht mehr mittig
Scobydoo
Hallo ich hoffe ich mache keinen Doppelpost ,aber hab leider nichts gefunden.
Ich benutze das Partner Pages Panel was bisher auch lief.
Es ist als Mittiges Panel eingebaut, die Banner allerdings sind nicht center sondern linksbündig.
Leider weiß ich nicht woran es liegt.
Habe auch bei einem anderen Panel das selbe Problem.
EVT kennt das ja einer und kann mir sagen wo ich wahrscheinlich den Fehler finde.

hier einmal der Link, das Panel befindet sich ganz unten.

http://one4all-radio.de
 
SC-Ad-Bot
 
DjMicha1985
gib mir mal bitte die panel.php. Kann so auf anhieb nix sagen, denn nutze das panel net
 
emblinux
öffne bitte mal die Panel-Datei und suche nach der Tabelle, wo class="FormTABLE" steht. Dieser Tabelle fügst du einfach noch eine Breite hinzu mit dem Wert 100%

z.B.

<table ..... class="FormTABLE" width="100%">


die Punkte kennzeichnen den Rest der Tabelleneigenschaften, die wollte ich jetzt nicht mit hinschreiben.
Das Lernen ist wie ein Meer ohne Ufer. Konfuzius

Alles wird Gut!

KEIN Support per Mail, ICQ oder PN !
www.heiseclan.de/fusion/sig.gif

www.heiseclan.de/geosig.gif
 
Scobydoo
Ja hab ich jetzt eingefügt und es ist wieder mittig.
Aber musste

cellpadding='4' cellspacing='5'
entfernen da dieses als Code zu sehen war.
Habe jetzt in der Zeile

echo "  <table class='FormTABLE' width='100%'>";
womit es aber genau so funktioniert der oben genannte Code ist wohl nur für den Abstand nötig den ich jetzt ja nicht mehr einstellen kann.
Aber wie gesagt so geht es auch. Aber wer den gesamten Code sehen wollte hier ist er

<?php
/*
+----------------------------------------------------+
| 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
+----------------------------------------------------+
| Original:
| PHP-Fusion: v6.00
| infusion author: CyPh3R
| infusion email: emc-forum@gmx.net
| date: 18.06.2005
| Anpassung an V7:
| Dirk Heise (emblinux)
| http://www.heiseclan.de
| webmaster@heiseclan.de
+----------------------------------------------------+*/

if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."partner_pages_panel/infusion_db.php";

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."partner_pages_panel/locale/".LOCALESET."index.php"))
  {
    // Load the locale file matching the current site locale setting.
    include INFUSIONS."partner_pages_panel/locale/".LOCALESET."index.php";
  }
else
  {
    // Load the infusion's default locale file.
    include INFUSIONS."partner_pages_panel/locale/German/index.php";
  }

openside($locale['psp110'],true);
$alloptions=dbquery("SELECT * FROM ".DB_PSP_SETTINGS);
$options=mysql_fetch_array($alloptions);

echo "<center>
       <marquee behavior=\"".$options['behavior']."\" align=\"center\" direction=\"".$options['direction']."\" width=\"100%\" height=\"".$options['box_height']."px\" scrollamount=\"".$options['scrollamount']."\" scrolldelay=\"1\" onMouseOver='this.stop()' onMouseOut='this.start()'>";
echo "  <table class='FormTABLE' width='100%'>";
      $allresult=dbquery("SELECT * FROM ".DB_PSP." WHERE psp_active=1");
while($result=mysql_fetch_array($allresult))
     {
   echo "<tr><td height='10'><p align='center'><a href='".$result['psp_url']."' target='_blank'>";
   if ($result['psp_image_url']=='0') { if ($result['psp_image']=='0') { echo " <img src='".INFUSIONS."partner_pages_panel/images/no_banner.png' "; } }
   if ($result['psp_image_url']!='0') { if ($result['psp_image']=='0') { echo " <img src='".$result['psp_image_url']."' "; } }
   if ($result['psp_image']!='0') { if ($result['psp_image_url']=='0') { echo "<img src='".INFUSIONS."partner_pages_panel/images/banner/".$result['psp_image']."' ";  } }
        echo "width='".$options['image_width']."' height='".$options['image_height']."' border='0' onMouseOver='this.style.opacity=0.5;' onMouseOut='this.style.opacity=1.0;' alt='".$result['psp_name']."'></a>";
   echo "</td></tr>";
     }
echo " </table>";
echo" </marquee></center>";

echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td align='center'><a href='".BASEDIR."contact.php'>".$locale['psp153']."</a></tr></td></table>";
closeside();

?>
 
emblinux
du kannst den Abstand ja wieder rein machen.


echo "  <table class='FormTABLE' width='100%'>";


ändern in


echo "  <table class='FormTABLE' width='100%' cellpadding='4' cellspacing='5'>";

Das Lernen ist wie ein Meer ohne Ufer. Konfuzius

Alles wird Gut!

KEIN Support per Mail, ICQ oder PN !
www.heiseclan.de/fusion/sig.gif

www.heiseclan.de/geosig.gif
 
Scobydoo
Klappt super danke dir
 
Scobydoo
Aber jetzt ein anderes Problem.
Die Banner fangen an zu scrollen und brechen nach dem 2. Banner ab und fangen wieder von vorne an.
Hier einmal der Code

<?php
/*
+----------------------------------------------------+
| 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
+----------------------------------------------------+
| Original:
| PHP-Fusion: v6.00
| infusion author: CyPh3R
| infusion email: emc-forum@gmx.net
| date: 18.06.2005
| Anpassung an V7:
| Dirk Heise (emblinux)
| http://www.heiseclan.de
| webmaster@heiseclan.de
+----------------------------------------------------+*/

if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."partner_pages_panel/infusion_db.php";

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."partner_pages_panel/locale/".LOCALESET."index.php"))
  {
    // Load the locale file matching the current site locale setting.
    include INFUSIONS."partner_pages_panel/locale/".LOCALESET."index.php";
  }
else
  {
    // Load the infusion's default locale file.
    include INFUSIONS."partner_pages_panel/locale/German/index.php";
  }

openside($locale['psp110'],true);
$alloptions=dbquery("SELECT * FROM ".DB_PSP_SETTINGS);
$options=mysql_fetch_array($alloptions);

echo "<center>
       <marquee behavior=\"".$options['behavior']."\" align=\"center\" direction=\"".$options['direction']."\" width=\"100%\" height=\"".$options['box_height']."px\" scrollamount=\"".$options['scrollamount']."\" scrolldelay=\"1\" onMouseOver='this.stop()' onMouseOut='this.start()'>";
echo "  <table class='FormTABLE' width='100%' cellpadding='4' cellspacing='3'>";
 
      $allresult=dbquery("SELECT * FROM ".DB_PSP." WHERE psp_active=1");
while($result=mysql_fetch_array($allresult))
     {
   echo "<tr><td height='10'><p align='center'><a href='".$result['psp_url']."' target='_blank'>";
   if ($result['psp_image_url']=='0') { if ($result['psp_image']=='0') { echo " <img src='".INFUSIONS."partner_pages_panel/images/no_banner.png' "; } }
   if ($result['psp_image_url']!='0') { if ($result['psp_image']=='0') { echo " <img src='".$result['psp_image_url']."' "; } }
   if ($result['psp_image']!='0') { if ($result['psp_image_url']=='0') { echo "<img src='".INFUSIONS."partner_pages_panel/images/banner/".$result['psp_image']."' ";  } }
        echo "width='".$options['image_width']."' height='".$options['image_height']."' border='0' onMouseOver='this.style.opacity=0.5;' onMouseOut='this.style.opacity=1.0;' alt='".$result['psp_name']."'></a>";
   echo "</td></tr>";
     }
echo " </table>";
echo" </marquee></center>";

echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td align='center'><a href='".BASEDIR."contact.php'>".$locale['psp153']."</a></tr></td></table>";
closeside();

?>
 
emblinux
Das ist glaube ich kein Problem am Code, sondern eine reine Einstellungssache.

Schau dir einfach nochmal die Einstellmöglichkeiten für dieses Panel an.
Das Lernen ist wie ein Meer ohne Ufer. Konfuzius

Alles wird Gut!

KEIN Support per Mail, ICQ oder PN !
www.heiseclan.de/fusion/sig.gif

www.heiseclan.de/geosig.gif
 
Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
Whats New Panel Infusionen 2 01.06.2019 00000006 22:50
Advanced Whats New Panel Allgemeine Diskussionen 3 23.10.2018 00000010 17:43
slideshow panel (mitte) Allgemeine Diskussionen 9 24.06.2018 00000006 15:08
warnuwetter panel Infusionen 5 16.01.2018 00000001 18:41
PartnerPagePanel: Banner werden nicht angezeigt. Infusionen 3 02.08.2017 00000008 05:58