Jump to content
  • 0

Problema multi server game list


r o b e r t -

Question

Am instalat acest hook si nu-mi arata serverele, am dat click pe el si mi-a aparut urmatoarea eroare: 

[[Template gflcore/front/viewServers/rows is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

iar codul din rows este acesta, 

{{foreach $rows as $row}}
 {{$game = \IPS\gflcore\Games::load( $row['gfl_game'] ); $location = \IPS\gflcore\Locations::load( $row['gfl_locid'] );}}
  <li class='ipsDataItem ipsDataItem_responsivePhoto' >
      <div class='ipsDataItem_icon ipsPos_top'>
          <img class='gfl_icon' src='{file="$game->icon" extension="gflcore_GameIcons"}' alt='{lang="gflcore_games_$game->id"}' data-ipstooltip="" _title='{lang="gflcore_games_$game->id"}' style='position: relative;top: -1px;'>
      </div>
      <div class='ipsDataItem_main'>
          <h4 class='ipsDataItem_title marg0 ipsType_break'>
              <a href='{expression="\IPS\gflcore\Servers::load( $row['gfl_id'] )->url()" raw="true"}'>{{if $row['gfl_longname']}}{$row['gfl_longname']}{{else}}{$row['gfl_shortname']}{{endif}}</a>
          </h4>
          <span class='ipsResponsive_hidePhone'>
              &nbsp;&nbsp;
              <ul class='ipsTags ipsTags_inline ipsList_inline ipsResponsive_inline'>
                  <li>
                      	{{if $row['gfl_online']}}
							<span class="gfl_online ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipstooltip="" _title="{lang='gfl_online'}"></span>
						{{else}}
							<span class="gfl_online ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_negative" data-ipstooltip="" _title="{lang='gfl_offline'}"></span>
						{{endif}}
                  </li>
              </ul>
          </span>
          <ul class='ipsDataItem_subList ipsList_inline' style='margin-top:3px'>
            {{if $row['gfl_map'] == "Unknown Map!" || $row['gfl_map'] == ""}}
                <li><i class='fa fa-map-marker'></i> {lang="gflcore_games_{$row['gfl_game']}"}</li>
            {{else}}
                <li><i class='fa fa-map-marker'></i> {$row['gfl_map']|raw}</li>
            {{endif}}
          </ul>
      </div>
      <div class='ipsDataItem_stats ipsDataItem_statsLarge'>
          <dl>
              <dt class='ipsDataItem_stats_number'>{$row['gfl_ip']}{{if $row['gfl_port']}}:{$row['gfl_port']}{{endif}}</dt>
              <dd class='ipsDataItem_stats_type ipsType_light'> {lang='gfl_ipaddress'}</dd>
          </dl>
      </div>
      <div class='ipsDataItem_generic gflcorelocicon'>
      	<img class='gfl_icon' src='{file="$location->icon" extension="gflcore_LocationIcons"}' data-ipstooltip="" _title="{$location->type}">
      </div>
      <div class='ipsDataItem_stats ipsDataItem_statsLarge gflcoreplayers'>
          <dl>
              <dt class='ipsDataItem_stats_number'>{$row['gfl_numplayers']|raw}/{$row['gfl_maxplayers']|raw}</dt>
              <dd class='ipsDataItem_stats_type ipsType_light'> {lang='gfl_players'}</dd>
          </dl>
      </div>
      <div class='ipsDataItem_generic ipsResponsive_hidePhone ipsResponsive_hideTablet'><a href="{{if !$row['gfl_connecturl']}}
                 				steam://connect/{$row['gfl_ip']}{{if $row['gfl_port']}}:{$row['gfl_port']}{{endif}}
                           {{else}}
                           	{$row['gfl_connecturl']}
                           {{endif}}" class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang='gfl_connect'}</a></div>
  </li>
{{endforeach}}

cum il pot face sa mearga?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.