Show
Ignore:
Timestamp:
10/26/06 14:44:15 (14 years ago)
Author:
exi
Message:

Changed alliance pictures to work like the corp-ones (eg: upload ALLIANCE_ID.jpg to img/alliances/)
Fixed Security Issue in Server Synchronization

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/alliance_detail.php

    r10 r38  
    2828$html .= "<table class=kb-table width=\"100%\" border=\"0\" cellspacing=1><tr class=kb-table-row-even><td rowspan=8 width=128 align=center>"; 
    2929 
    30 $html .= "<img src=\"" . IMG_URL . "/alliances/default.gif\" border=\"0\">"; 
    31 $html .= "</td>"; 
     30if (file_exists("img/alliances/".$alliance->getID().".jpg")) 
     31{ 
     32    $html .= "<img src=\"".IMG_URL."/alliances/".$alliance->getID().".jpg\" border=\"0\"></td>"; 
     33} 
     34else 
     35{ 
     36    $html .= "<img src=\"".IMG_URL."/alliances/default.gif\" border=\"0\"></td>"; 
     37} 
    3238 
    3339$html .= "<td class=kb-table-cell width=180><b>Kills:</b></td><td class=kl-kill>" . $klist->getCount() . "</td></tr>"; 
     
    293299$page->setContent($html); 
    294300$page->generate(); 
    295  
    296301?>