daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. div class="ipsLayout_container">
  2.   <h2 class="ipsType_strikebox ipsType_reset" id="elChatbox">
  3.         <div>Nasze serwery</div>   
  4. </h2>
  5.           <ul id="servers">
  6.             {{foreach $data as $server}}
  7.                <li>
  8.                  <div class="numerServers"><span>{$server['id']}</span></div>
  9.                  <div class="nameServers"><div data-ipstooltip="" class="statusServers {{if $server['online']}}onlineS{{else}}offlineS{{endif}}" _title="{{if $server['online']}}online{{else}}offline{{endif}}"></div> {expression="$server['shortname'] ?: $server['hostname']" raw="true"}</div>
  10.                  <div class="adresServers"><a href="{$server['link']}">{$server['ip']}</a></div>
  11.                  <div class="mapsServers"><span class="ipsCursor_pointer" data-ipsmenu="" id="ips_uid_3125_2">{$server['map']}</span></div>
  12.                  <div class="statsBarServers"><div class="statsServers" data-ipstooltip="" _title="{lang="gs_sl_players_most"}: {$server['players_most']['players']} ( {$server['players_most']['date']} )">{$server['players_num']} / {$server['players_max']}</div>
  13.                    <a href="#" id='playersInfoDialog{$server['id']}' data-ipsdialog="" data-ipsdialog-title='{lang="gs_sl_players_on_server" sprintf="$server['shortname'] ?: $server['hostname']" raw="true"}' data-ipsdialog-content='#playersInfo{$server['id']}'>
  14.                      <div class="progressBarServers">
  15.                        <div class="progressBarLine" style='width: {$server['percent']}%; background: {$server['percent_color']}'></div>
  16.                      </div>
  17.                    </a>
  18.                  </div>
  19.                  <div class="buttonServers">
  20.                    {{if $server['tv_link']}}
  21.                    <a data-ipstooltip="" href="{$server['tv_link']}" target="_blank" class="hltvButton" _title="">Dema</a>
  22.                    {{endif}}
  23.                    {{if $server['gt']}}
  24.                    <a data-ipstooltip="" title="" href="http://www.gametracker.com/server_info/{$server['ip']}" target="_blank" class="gtButton">Gametracker</a>
  25.                    {{endif}}
  26.                    {{if $server['stats_link']}}
  27.                    <a data-ipstooltip="" title="Idz do forum serwera" href="{$server['stats_link']}" target="_blank" class="forumButton">Forum</a>
  28.                    {{endif}}
  29.                    {{if $server['shop_link']}}
  30.                    <a href="{$server['link']}" class="connectButton">Połącz</a>
  31.                    {{endif}}
  32.                  </div>
  33.                </li>
  34.             {{endforeach}}
  35.           </ul>
  36.   {{if settings.gs_sl_public_stats}}
  37.             <table id='publicStats' class='ipsType_reset ipsWidget_title ipsTable ipsTable_responsive ipsResponsive_hidePhone'>
  38.                 <tbody>
  39.                     <tr class='ipsType_center ipsType_light ipsType_small ipsClearfix'>
  40.                         <td><i class='fa fa-server'></i> {lang="gs_sl_total_servers"}: <strong>{$allServerStats['game_servers'] + $allServerStats['voice_servers']}</strong><sup data-ipsTooltip title='{lang="gs_sl_online_servers"}'> {$allServerStats['online_servers']}</sup></td>
  41.                         <td><i class='fa fa-percent'></i> {lang="gs_sl_fill_servers"} <strong>{$allServerStats['fill_servers']}</strong></td>
  42.                         <td><i class='fa fa-users'></i> {lang="gs_sl_players_num"}: <strong>{$allServerStats['players_num']}</strong> / <strong>{$allServerStats['players_max']}</strong></td>
  43.                         <td><i class='fa fa-line-chart'></i> {lang="gs_sl_players_most"}: <strong>{$allServerStats['players_most']}</strong></td>
  44.                         <td><i class='fa fa-refresh'></i> {lang="updatedDate"}: <strong>{$allServerStats['last_update']|raw}</strong></td>
  45.                     </tr>
  46.                 </tbody>
  47.             </table>
  48.         {{endif}}
  49.  
  50.  
  51.  
  52.   </div>
  53.  
  54. {{foreach $data as $server}}
  55.     {{if $server['desc']}}
  56.         <div class='ipsHide' id='serverInfo{$server['id']}'>
  57.             <div class='ipsType_center'>{lang="gs_sl_descContentLang{$server['id']}"}</div>
  58.         </div>
  59.     {{endif}}
  60.  
  61.     <div class='playersInfo ipsHide' id='playersInfo{$server['id']}'>
  62.         {{if !$server['players_num']}}
  63.             <div class='ipsType_center ipsType_bold' style='margin: 5px;'>{lang="gs_sl_no_players"}</div>
  64.         {{else}}
  65.             <table class='ipsTable ipsTable_responsive'>
  66.                 <thead>
  67.                     <tr>
  68.                         <th>#</th>
  69.                         <th>{lang="gs_sl_player_name"}</th>
  70.                         <th data-score-type='{$server['type']}'>{lang="gs_sl_player_score"}</th>
  71.                         <th data-time-type='{$server['type']}'>{lang="gs_sl_player_time"}</th>
  72.                     </tr>
  73.                 </thead>
  74.             <tbody>
  75.                 {{foreach $server['players'] as $key => $player}}
  76.                     <tr>
  77.                         <td><i class='fa fa-user'></i></td>
  78.                         <td>{$player['gq_name']|raw}</td>
  79.                         <td data-score-type='{$server['type']}'>{lang="gs_sl_score" pluralize="$player['gq_kills'] ?: $player['gq_score']"}</td>
  80.                         <td data-time-type='{$server['type']}'>{$player['gq_time']}</td>
  81.                     </tr>
  82.                 {{endforeach}}
  83.                 </tbody>
  84.             </table>
  85.         {{endif}}
  86.     </div>
  87.  
  88.     <div id='mapInfoMenu{$server['id']}_menu' class='ipsHide'>
  89.         <img src='{$server['map_image']}' alt='{$server['map']}'>
  90.     </div>
  91. {{endforeach}}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top