[Release] MuWeb 0.9 Index Rankings

    Distribuiti

    TheKing
    Administrator
    Administrator

    Numărul mesajelor : 887
    Data nasterii : 01/05/1942
    Vârsta : 74
    Localizare : Raiul Pământean ...
    Joburi/Distractii : EuropeMedia Comunity
    Stare de spirit : Superb ...
    Data de inscriere : 05/12/2009
    Taur Cal

    Actualizat [Release] MuWeb 0.9 Index Rankings

    Mesaj  TheKing la data de Vin Mar 26, 2010 2:49 pm

    Top 10 Guilds

    Cod:
    <table width="150" border="0" cellspacing="0" cellpadding="0" align="center">
                                ';
    $db_top_ranking = file("sys_/$db_dir/db_top_guilds.tDB");
    $count = 0;
    $tr_class='style="background:url(template/default/images/field_bg.gif);"';
    $tr_class_='';
    foreach ($db_top_ranking as $s_c) {
       $s_c = explode("|", $s_c);
       
             $count++;
             $tr_color = ($count % 2) ? $tr_class : $tr_class_;
             $footer_content .= '
             <tr>
             <td align="left" width="20" class="normal_text">'.$count.'.</td>
             <td align="left" class="normal_text">'.md5_decrypt($s_c[0]).'</td>
             <td  align="left" class="normal_text">'.$s_c[2].'</td>
             <td  align="right"><img src="GuildMark-'.$s_c[1].'.png" width="20" height="20"></td>
             </tr>
             
             
    ';
                 if($count >= 10){
           break;
        }


          }
          $footer_content .='</table>

    Top 10 Characters

    Cod:
    <td height="180"  valign="top" align="center">        <table width="150" border="0" cellspacing="0" cellpadding="2" align="center">';
    $db_top_ranking = file("sys_/$db_dir/".top_characters_tDB."");
    $count = 0;
    $tr_class='style="background:url(template/default/images/field_bg.gif);"';
    $tr_class_='';
    foreach ($db_top_ranking as $s_c) {
       $s_c = explode("|", $s_c);

             $count++;
             $tr_color = ($count % 2) ? $tr_class : $tr_class_;
             $footer_content .= "
             <tr>
             <td align='left' class='normal_text' height='16'>$count.</td>
             <td align='left' class='normal_text'>".md5_decrypt(htmlentities($s_c[1]))."</td>
             <td align='left'><span class='normal_text'>$s_c[3][<span class='rankings_text_reset'>$s_c[4]</span>]</td>
             </tr>";
          
          
       
        if($count >= 10){
           break;
        }
    }
    $footer_content .='

              </table>


    ____________________








      Acum este: Mar Dec 06, 2016 8:04 am