<?php # Copyright by Manuel Staechele # Support www.ilch.de $tpl_alianz = <<< tpl <script language="JavaScript1.2"> function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",50) } function low(which2){ clearInterval(highlighting) if (which2.style.opacity) which2.style.opacity=0.5 else if (which2.filters) which2.filters.alpha.opacity=50 } function highlightit(cur2){ if (cur2.style.opacity<1) cur2.style.opacity=parseFloat(cur2.style.opacity)+0.1 else if (cur2.filters&&cur2.filters.alpha.opacity<100) cur2.filters.alpha.opacity+=10 else if (window.highlighting) clearInterval(highlighting) } </script> <script language="JavaScript1.2"> function makevisible(cur,which){ strength=(which==0)? 1 : 0.4 if (cur.style.opacity) cur.style.opacity=strength else if (cur.filters) cur.filters.alpha.opacity=strength*100 } </script> <div style="text-align:center;"> {EXPLODE} </div> {EXPLODE} <a class="box" href="{link}" target="_blank">{title}</a> {EXPLODE} <img src="{banner}" alt="{name}" border="0" height="33" width="88" style="filter:alpha(opacity=50);opacity:0.15;" onmouseover="high(this)" onmouseout="low(this)"> tpl; defined ('main') or die ( 'no direct access' ); $allyAnzahl = $allgAr['Aanz']; if ( $allgAr['Aart'] == 1 ) { $sqlORDER = 'pos'; } else { $sqlORDER = 'RAND()'; } $allyNameAr = array(); $allyLinkAr = array(); $allyBanaAr = array(); $allyAktAnz = 0; $allyAbf = 'SELECT * FROM `prefix_partners` ORDER BY '.$sqlORDER.' LIMIT 0,'.$allyAnzahl; $allyErg = db_query($allyAbf); if ( db_num_rows($allyErg) > 0) { $tpl = new tpl($tpl_alianz, 3); echo '<marquee align="center" direction="left" width="1000" height="33" scrollAmount="1" scrolldelay="1" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1" style="border:none;">'; echo '<div align="center">'; $tpl->out(0); while($allyRow = db_fetch_object($allyErg)) { $tpl->set("link", $allyRow->link); if ( empty ($allyRow->banner) OR $allyRow->banner == 'http://' ) { $tpl->set("title", $allyRow->name); } else { $tpl->set("title", $tpl->set_ar_get( array("banner" => $allyRow->banner, "name" => $allyRow->name ) , 3 # {EXPLODE} Nr 3 ) ); } $tpl->out(2); } $tpl->out(1); } ?>
nun meine frage wie kann ich es einstellen das die größe bei allen angepasst wird
verwendete ilchClan Version: 1.1
betroffene Homepage: facecom.funpic.de