Hier mal das ganze Script:

<?php
$schleife = 1;
$res = $GLOBALS['TYPO3_DB']->sql_query( "SELECT * FROM fe_team WHERE team LIKE 
'sendeleitung' AND aktiv = '1' ORDER BY `priority` DESC, `name` ASC");

while($teamdata = mysql_fetch_assoc( $res )) {

echo "<a href='http://www.habbofun.de/".$teamdata['siteid']."'>
        <div class='crew_box'>
                <div class='crew_name'>
                        ".$teamdata['name']."
                </div>
                <div class='crew_text'>
                        ".$teamdata['aufgaben']."
                </div>
        </div>
</a>";

if($schleife == 1 OR $schleife == 2) { $schleife = $schleife+1; } else { $schleife = 1; }
}
echo "<div style=\"clear: left;\"><br /></div>";
?>
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an