hallo,
ich möchte, dass bei den eingetragenen Last wars
ein kleiner Icon von dem jeweiligem game ist.
hat da zufällig jemand so einen icon und ein passendes last wars template?
mfg Tobias
verwendete ilchClan Version: 1.1
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
<?php # Copyright by: Manuel # Support www.ilch.de defined ('main') or die ( 'no direct access' ); $farbe = ''; $farb2 = ''; echo '<table width="100%" border="0" cellpadding="2" cellspacing="0">'; $erg = db_query('SELECT * FROM prefix_wars WHERE status = "3" ORDER BY datime DESC LIMIT 3'); while ($row = db_fetch_object($erg) ) { $row->tag = ( empty($row->tag) ? $row->gegner : $row->tag ); if ($row->wlp == 1) { $bild = 'include/images/icons/win.gif'; } elseif ($row->wlp == 2) { $bild = 'include/images/icons/los.gif'; } elseif ($row->wlp == 3) { $bild = 'include/images/icons/pad.gif'; } echo '<tr><td>'.get_wargameimg($row->game).'</td><td align="left">'; echo '<a href="index.php?wars-more-'.$row->id.'">'; echo $row->owp.' '.$lang['at2'].' '.$row->opp.' - '.$row->tag.'</a></td><td><img src="'.$bild.'"></td></tr>'; } echo '</table>'; ?>
<?php # Copyright by: Manuel # Support www.ilch.de defined ('main') or die ( 'no direct access' ); $farbe = ''; $farb2 = ''; echo '<table width="100%" border="0" cellpadding="2" cellspacing="0">'; $erg = db_query('SELECT * FROM prefix_wars WHERE status = "3" ORDER BY datime DESC LIMIT 3'); while ($row = db_fetch_object($erg) ) { $row->tag = ( empty($row->tag) ? $row->gegner : $row->tag ); if ($row->wlp == 1) { $bild = 'include/images/icons/win.gif'; } elseif ($row->wlp == 2) { $bild = 'include/images/icons/los.gif'; } elseif ($row->wlp == 3) { $bild = 'include/images/icons/pad.gif'; } echo '<tr><td>'.get_wargameimg($row->game).'</td><td align="left">'; echo '<a href="index.php?wars-more-'.$row->id.'">'; echo $row->owp.' : '.$row->opp.' - '.$row->tag.'</a></td><td><img src="'.$bild.'"></td></tr>'; } echo '</table>'; ?>
<?php # Copyright by: Manuel # Support www.ilch.de defined ('main') or die ( 'no direct access' ); $farbe = ''; $farb2 = ''; echo '<table width="100%" border="0" cellpadding="2" cellspacing="0">'; $erg = db_query('SELECT * FROM prefix_wars WHERE status = "3" ORDER BY datime DESC LIMIT 3'); while ($row = db_fetch_object($erg) ) { $row->tag = ( empty($row->tag) ? $row->gegner : $row->tag ); if ($row->wlp == 1) { $bild = 'include/images/icons/win.gif'; } elseif ($row->wlp == 2) { $bild = 'include/images/icons/los.gif'; } elseif ($row->wlp == 3) { $bild = 'include/images/icons/pad.gif'; } $row->tag = get_opponent_details('tag', $row->oid); echo '<tr><td>'.get_wargameimg($row->game).'</td><td align="left">'; echo '<a href="index.php?wars-more-'.$row->id.'">'; echo $row->owp.' : '.$row->opp.' '.$row->tag.'</a></td><td><img src="'.$bild.'"></td></tr>'; } echo '</table>'; ?>
Geschlossen | ||
Zurück zu Plauder Ecke |