Ich wollte grad, zur besseren Sichtbarkeit, auf unsere Startseite (im ContentBereich), wie auch in unserer index.html, einen marquee mit den topnews eintragen... der marquee funzt auch soweit, leider werden aber die news nicht ausgegeben sondern nur des {topnews} scrolt da rum???
ES IST NICHT DAS TOPNEWS, was ihr sonst hier bearbeitet, ich glaub ich hab des mal von mairu bekommen (es werden die letzten news bis zum PREVIEWENDE ausgegeben)
kann mir jemand sagen, warum des nicht angezeigt wird und was ich machen muss, damit diese auch auf der startseite richtig ausgegeben werden?!
hier mal meine startseite:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <?php defined ( 'main' ) or die ( 'no direct access' ); $ar = array ( 'TOPNEWS' => $topnews , ); $topnews = '' ; $sql = db_query( "SELECT news_id as id, news_title as title, news_text as txt FROM `prefix_news` WHERE news_recht >= {$_SESSION['authright']} ORDER BY news_time DESC LIMIT 5" ); while ( $row = db_fetch_object( $sql )) { $a = explode ( '[PREVIEWENDE]' , $row ->txt); $txt = preg_replace( "/\[.?(url|b|i|u|img|code|quote|center|size|color|link)[^\]]*?\]/i" , "" , $a [0]); $topnews .= ( strlen ( $topnews ) > 0 ? ' <b> +++ </b> ' : '' ). "<a href=\"?news-$row->id\" style=\"text-decoration:none;\"><b>$row->title</b>   -   $txt</a>" ; } ?><!--@title=Herzlich Willkommen@--><!--@hmenu=Willkommen@--><!--@view=normal@--><!--@viewoptions=@--> <title>Willkommen</title> <body bgcolor= "#808080" > <p align= "center" > </p> <p align= "center" ><b><font size= "3" >Herzlich willkommen!</font></b></p> <p align= "center" > </p> <p align= "center" ><font size= "2" >Du bist hier auf der HomePage des FunClan's OstberlinerTHC!</font></p> <p align= "center" ><font size= "2" ><br> </font> </p> <p align= "center" ><font size= "2" face= "Arial" >Hier kannst Du Dich über uns informieren, uns herausfordern oder beim Training unterstützen.</font></p> <p align= "center" > </p> <p align= "center" ><font size= "2" face= "Arial" >In unserem Forum findest Du Anleitungen, Bugreports und bei Problemen natürlich auch Hilfe.</font></p> <p align= "center" > </p> <p align= "center" ><font size= "2" face= "Arial" >Wenn Du einfach nur einen Gruß dalassen möchtest, steht Dir unser Gästebuch zur Verfügung ;)</font></p> <p align= "center" > </p> <p align= "center" ><b><font size= "3" >Wir wünschen viel Spaß!</font></b></p> <p align= "center" > </p> <table width= "640" border= "0" align= "center" height= "30" > <tr> <span id= 'postcolor' > <td width= "640" height= "26" bordercolorlight= "#C0C0C0" bordercolordark= "#C0C0C0" align= "center" > <p> <marquee onmouseover=this.scrollAmount=1 onmouseout=this.scrollAmount=2 scrollAmount=2 direction=up scrolldelay= "5" align= "middle" width= "630" height= "25" style= "color: #FFFFFF;font-weight: bold;font-family: Verdana" >{TOPNEWS}</marquee></td> </span> </tr> </table> <p align= "center" > </p> <div align= "center" > <center> <table border= "0" cellpadding= "0" cellspacing= "0" style= "border-collapse: collapse" bordercolor= "#111111" width= "500" height= "339" > <tr> <td align= "center" width= "250" colspan= "3" height= "203" ><div style= "text-align: center;" > <a href= "http://www.gamerscout.de/de/clan/1846" target= "_blank" ><img src= "http://www.gamerscout.de/images/banner/gamerscout_de/88x158_001.gif" width= "88" height= "158" border= "0" alt= "Gamerscout.de | Clansuche - Membersuche" ></a> </div> </td> <td align= "center" width= "250" colspan= "3" height= "203" ><div align= "center" ><a href= "http://www.gamerscout.de/htm/redirect_toplist.php?id=305&dir=in" target= "_blank" > <img src= "http://www.gamerscout.de/de/toplist/3/1846.jpg" width= "88" height= "150" border= "0" alt= "Gamerscout.de | Clansuche - Membersuche" ></a></div></td> </tr> <tr> <td align= "center" width= "500" colspan= "6" height= "38" > <p> </p> <p> </p> <p> </p> <p> </td> </tr> <tr> <td align= "center" width= "500" colspan= "6" height= "38" > </td> </tr> <tr> <td align= "center" width= "500" colspan= "6" height= "38" > </td> </tr> <tr> <td align= "center" width= "100" height= "54" ><div align= "center" ><a href= "http://www5.topsites24.de/ts/ts.cgi?klick=19&tl=PsYcHo" target= "_blank" > <font color= "#000000" > <img alt= "Multi-Gaming-Elite Top List" src= "http://www.ostberlinerthc.de/images/MultiGamingElite.jpg" border= "0" width= "93" height= "40" /></font></a></div> </td> <td align= "center" width= "100" height= "54" ><div align= "center" ><a href= "http://clan.free-toplist.net/count.php?liste=1729&id=52422" target= "_blank" > </td> <td align= "center" width= "100" height= "54" colspan= "2" ><div align= "center" ><a href= "http://track.free-toplist.de/l/0000024852" target= "_blank" > <img alt= "Vote Für uns" src= "http://www.dk05.de/uploads/banners/005.gif" border= "0" width= "88" height= "66" /></a></div> </td> <td align= "center" width= "100" height= "54" ><div align= "center" ><a href= "http://www.newspeople.de/toplink/in.php3?site=1183480190" target= "_blank" > <img alt= "Vote4Us @ Newspeople.de" src= "http://www.newspeople.de/bilder/vote.gif" border= "0" width= "88" height= "31" /></a></div> </td> <td align= "center" width= "100" height= "54" ><div align= "center" ><a href= "http://www4.topsites24.de/ts/ts.cgi?klick=453&tl=Cappuccino" target= "_blank" > <img src= "http://people.freenet.de/huggel/DFZ/neuer_vote_button.gif" alt= "Vote for Us" border= "0" width= "88" height= "53" ></a></div> </td> </tr> <tr> <td align= "center" width= "500" height= "44" colspan= "6" > <p> </p> <p> </p> <p> </td> </tr> <tr> <td align= "center" width= "100" height= "44" ><div align= "center" ><a href= "http://www.sas-elite.de/phpkit/include.php?src=topl/in.php?id=29" target= "_blank" > <img alt= "Vote for this Site @ Clan Toplist" src= "http://www.sas-elite.de/phpkit/topl/button.gif" border= "0" width= "88" height= "31" /></a></div> </td> <td align= "center" width= "100" height= "44" ><div align= "center" ><a href= "http://bms-esports.de/top/index.php?a=in&u=NickName" target= "_blank" > <img src= "http://bms-esports.de/top/button.php?u=NickName" alt= "BMS Toplist Berlin TOP 100" border= "0" /></a></div> </td> <td align= "center" width= "100" height= "44" colspan= "2" ><div align= "center" ><a href= "http://www.clantop100.de.vu" target= "_blank" > </td> <td align= "center" width= "100" height= "44" ><div align= "center" ><a href= "http://www3.topsites24.de/ts/ts.cgi?klick=245&tl=BKCTOP100" target= "_blank" > <img src= "http://mitglied.lycos.de/klaruso/button.gif" alt= "Hier gehts zur Topliste" border= "0" width= "88" height= "31" ></a></div> </td> <td align= "center" width= "100" height= "44" ><div align= "center" ><a href= "http://www.topsites24.de/ts/ts.cgi?klick=1649&tl=cstop100" target= "_blank" > <img src= "http://mitglied.lycos.de/neo1272002/anibutton.gif" alt= "Vote at German C_Strike Top 100!" border= "0" width= "88" height= "31" ></a></div> </td> </tr> </table> </center> </div> <p align= "center" ><b> </b></p> <p align= "center" > </p> <p align= "center" > </p> <p align= "center" > </p> <p align= "center" > </p> |
auf der page seht ihr, in dem oberen marquee, wies sein soll, im contentbereich, was aber ausgegeben wird
mfg
verwendete ilchClan Version: 1.1
betroffene Homepage: www.ostberlinerthc.de
Zuletzt modifiziert von NickName am 20.07.2007 - 04:04:35