Changeset 3 for pages/a_servers.php


Ignore:
Timestamp:
May 5, 2008, 8:33:15 AM (16 years ago)
Author:
george
Message:

Přidáno: Nastavení počtu zobrazených serverů na stránku a počtu nej serverů v konfiguračním souboru.
Opraveno: Pročištění použití stylů a vyřešení překrývání hlavního seznamu s pravým sloupcem u některých prohlížečů. Všechny informace o stylech musí být v souboru CSS a ne v HTML kódu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pages/a_servers.php

    r1 r3  
    66$tpl->output['place'] = $text['info_place'];
    77
     8if(!array_key_exists('order', $_GET)) $_GET['order'] = 0;
    89$order_index = (int) $_GET['order'];
    910switch ($order_index)
     
    5758    $place = $text['reg_abroad'];
    5859    }
    59   $tpl->output['servers_data'] .= '<tr style="overflow: hidden; "class="table center">';
    60   $tpl->output['servers_data'] .= ($row['wss_partner']==1)?'<td style="width: 5px;"><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></td>':'<td></td>';
     60  $tpl->output['servers_data'] .= '<tr>';
     61  $tpl->output['servers_data'] .= ($row['wss_partner']==1)?'<td><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></td>':'<td></td>';
    6162  $tpl->output['servers_data'] .='<td align="left">'.ulink('server/'.$row['id'], $row['name']).'</td>';
    6263  $tpl->output['servers_data'] .='<td>'.round($row['rating'],2).'</td>';
Note: See TracChangeset for help on using the changeset viewer.