Changeset 8 for templates


Ignore:
Timestamp:
Jun 5, 2008, 9:38:23 PM (16 years ago)
Author:
george
Message:

Přidáno: Zaznamenávání a zobrazování údaje o odezevně serverů.
Upraveno: Šablony stránek a použití jazykových proměnných ve větší míře.

Location:
templates
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • templates/a_servers.html

    r3 r8  
    33<b>{order_by}:</b>  <select onchange="location.href='index.php?page=a-servers&amp;order='+this.selectedIndex">
    44    <option {s0}>{th_name}</option>
    5     <option {s1}>Rating</option>
    6     <option {s2}>Verze</option>
    7     <option {s3}>Typ</option>
    8     <option {s4}>XP Rate</option>
     5    <option {s1}>{th_rating}</option>
     6    <option {s2}>{th_version}</option>
     7    <option {s3}>{th_type}</option>
     8    <option {s4}>{th_xp}</option>
    99    <option {s5}>{th_players}</option>
    10     <option {s6}>Online</option>
     10    <option {s6}>{th_online_state}</option>
     11    <option {s7}>{th_latency}</option>
    1112  </select>
    1213</div>
     
    1718<table class="table">
    1819<tr>
    19   <th><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></th>
     20  <th><img src="templates/img/hvezda.gif" alt="{th_recommend}" title="{th_recommend}"></th>
    2021  <th>{th_name}</th>
    21   <th>Rating</th>
    22   <th>Verze</th>
    23   <th>Typ</th>
    24   <th>XP Rate</th>
     22  <th>{th_rating}</th>
     23  <th>{th_version}</th>
     24  <th>{th_type}</th>
     25  <th>{th_xp}</th>
    2526  <th>{th_players}</th>
    26   <th>Online</th>
     27  <th>{th_online_state}</th>
     28  <th>{th_latency}</th>
    2729</tr>
    2830{servers_data}
  • templates/server.html

    r1 r8  
    1111  <tr class="table">
    1212    <td align="left">
    13       <strong>Verze</strong></td>
     13      <strong>{th_version}</strong></td>
    1414    <td align="center">
    1515      {server_version}</td>
     
    1717  <tr class="table">
    1818    <td align="left">
    19       <strong>Typ</strong></td>
     19      <strong>{th_type}</strong></td>
    2020    <td align="center">
    2121      {server_typ}</td>
     
    2323  <tr class="table">
    2424    <td align="left">
    25       <strong>XP Rate</strong></td>
     25      <strong>{th_xp}</strong></td>
    2626    <td align="center">
    2727      {server_xp}</td>
     
    3939      {server_online_players}</td>
    4040  </tr>
    41   
     41 
    4242  <tr class="table">
    4343    <td align="left">
    44       <strong>Online</strong></td>
     44      <strong>{th_online_state}</strong></td>
    4545    <td align="center">
    4646      {server_online}</td>
    4747  </tr>
    4848 
     49  <tr class="table">
     50    <td align="left">
     51      <strong>{th_latency}</strong></td>
     52    <td align="center">
     53      {server_latency}</td>
     54  </tr>
     55
    4956  <tr class="table">
    5057    <td align="left">
  • templates/servers.html

    r3 r8  
    33<b>{order_by}:</b>  <select onchange="location.href='index.php?page=servers&amp;order='+this.selectedIndex">
    44    <option {s0}>{th_name}</option>
    5     <option {s1}>Rating</option>
    6     <option {s2}>Verze</option>
    7     <option {s3}>Typ</option>
    8     <option {s4}>XP Rate</option>
     5    <option {s1}>{th_rating}</option>
     6    <option {s2}>{th_version}</option>
     7    <option {s3}>{th_type}</option>
     8    <option {s4}>{th_xp}</option>
    99    <option {s5}>{th_players}</option>
    10     <option {s6}>Online</option>
     10    <option {s6}>{th_online_state}</option>
     11    <option {s7}>{th_latency}</option>
    1112  </select>
    1213</div>
     
    1718<table class="table">
    1819<tr>
    19   <th><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></th>
     20  <th><img src="templates/img/hvezda.gif" alt="{th_recommend}" title="{th_recommend}"></th>
    2021  <th>{th_name}</th>
    21   <th>Rating</th>
    22   <th>Verze</th>
    23   <th>Typ</th>
    24   <th>XP Rate</th>
     22  <th>{th_rating}</th>
     23  <th>{th_version}</th>
     24  <th>{th_type}</th>
     25  <th>{th_xp}</th>
    2526  <th>{th_players}</th>
    26   <th>Online</th>
     27  <th>{th_online_state}</th>
     28  <th>{th_latency}</th>
    2729</tr>
    2830{servers_data}
  • templates/style/screen2.css

    r3 r8  
    106106.table td {
    107107    border: 1px solid #b8b8b8;
    108     padding: 5px 10px 5px 10px;
     108    padding: 5px 5px 5px 5px;
    109109}
    110110
  • templates/wss_partners.html

    r3 r8  
    33<b>{order_by}:</b>  <select onchange="location.href='index.php?page=wss-partners&amp;order='+this.selectedIndex">
    44    <option {s0}>{th_name}</option>
    5     <option {s1}>Rating</option>
    6     <option {s2}>Verze</option>
    7     <option {s3}>Typ</option>
    8     <option {s4}>XP Rate</option>
     5    <option {s1}>{th_rating}</option>
     6    <option {s2}>{th_version}</option>
     7    <option {s3}>{th_type}</option>
     8    <option {s4}>{th_xp}</option>
    99    <option {s5}>{th_players}</option>
    10     <option {s6}>Online</option>
     10    <option {s6}>{th_online_state}</option>
     11    <option {s7}>{th_latency}</option>
    1112  </select>
    1213</div>
     
    1718<table class="table">
    1819<tr>
    19   <th><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></th>
     20  <th><img src="templates/img/hvezda.gif" alt="{th_recommend}" title="{th_recommend}"></th>
    2021  <th>{th_name}</th>
    21   <th>Rating</th>
    22   <th>Verze</th>
    23   <th>Typ</th>
    24   <th>XP Rate</th>
     22  <th>{th_rating}</th>
     23  <th>{th_version}</th>
     24  <th>{th_type}</th>
     25  <th>{th_xp}</th>
    2526  <th>{th_players}</th>
    26   <th>Online</th>
     27  <th>{th_online_state}</th>
     28  <th>{th_latency}</th>
    2729</tr>
    2830{servers_data}
Note: See TracChangeset for help on using the changeset viewer.