Файл: apwa/cache/tpl_red-gold_medals.medal_memberlist_view.html.php
Строк: 75
<?php if (!defined('IN_PHPBB')) exit; $_switch_display_medal_count = (isset($this->_tpldata['switch_display_medal'])) ? sizeof($this->_tpldata['switch_display_medal']) : 0;if ($_switch_display_medal_count) {for ($_switch_display_medal_i = 0; $_switch_display_medal_i < $_switch_display_medal_count; ++$_switch_display_medal_i){$_switch_display_medal_val = &$this->_tpldata['switch_display_medal'][$_switch_display_medal_i]; ?>
<script language="JavaScript" type="text/javascript" src="<?php echo (isset($this->_rootref['T_SUPER_TEMPLATE_PATH'])) ? $this->_rootref['T_SUPER_TEMPLATE_PATH'] : ''; ?>/medals/toggle_display.js"></script>
<div class="panel bg2">
<div class="inner">
<h3><?php echo ((isset($this->_rootref['L_MEDAL_INFORMATION'])) ? $this->_rootref['L_MEDAL_INFORMATION'] : ((isset($user->lang['MEDAL_INFORMATION'])) ? $user->lang['MEDAL_INFORMATION'] : '{ MEDAL_INFORMATION }')); ?></h3>
<h3><?php echo ((isset($this->_rootref['L_MEDALS_VIEW'])) ? $this->_rootref['L_MEDALS_VIEW'] : ((isset($user->lang['MEDALS_VIEW'])) ? $user->lang['MEDALS_VIEW'] : '{ MEDALS_VIEW }')); ?>: <b><?php echo (isset($this->_rootref['USER_MEDAL_COUNT'])) ? $this->_rootref['USER_MEDAL_COUNT'] : ''; ?></b></h3>
<table width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td width="100" valign="center">
<?php $_medal_count = (isset($_switch_display_medal_val['medal'])) ? sizeof($_switch_display_medal_val['medal']) : 0;if ($_medal_count) {for ($_medal_i = 0; $_medal_i < $_medal_count; ++$_medal_i){$_medal_val = &$_switch_display_medal_val['medal'][$_medal_i]; ?>
<?php echo $_medal_val['MEDAL_BUTTON']; ?>
<?php }} ?>
</td>
<td valign="top">
<?php $_details_count = (isset($_switch_display_medal_val['details'])) ? sizeof($_switch_display_medal_val['details']) : 0;if ($_details_count) {for ($_details_i = 0; $_details_i < $_details_count; ++$_details_i){$_details_val = &$_switch_display_medal_val['details'][$_details_i]; ?>
<?php echo $_details_val['MEDAL_IMAGE_SMALL']; ?>
<?php }} ?>
</td>
</tr>
</table>
</div>
</div>
<div style="width: 100%; overflow: hidden; display: none;" id="toggle_medal">
<div class="panel">
<div class="inner">
<a name="medal"></a>
<table width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th align="center" nowrap="nowrap"><h2><?php echo ((isset($this->_rootref['L_MEDAL'])) ? $this->_rootref['L_MEDAL'] : ((isset($user->lang['MEDAL'])) ? $user->lang['MEDAL'] : '{ MEDAL }')); ?></h2></th>
<th align="center" nowrap="nowrap"><h2><?php echo ((isset($this->_rootref['L_MEDAL_DETAIL'])) ? $this->_rootref['L_MEDAL_DETAIL'] : ((isset($user->lang['MEDAL_DETAIL'])) ? $user->lang['MEDAL_DETAIL'] : '{ MEDAL_DETAIL }')); ?></h2></th>
</tr>
<?php $_details_count = (isset($_switch_display_medal_val['details'])) ? sizeof($_switch_display_medal_val['details']) : 0;if ($_details_count) {for ($_details_i = 0; $_details_i < $_details_count; ++$_details_i){$_details_val = &$_switch_display_medal_val['details'][$_details_i]; ?>
<tr>
<td class="bg2" nowrap="nowrap" width="20%">
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<?php if ($_details_val['ISMEDAL_CAT']) { ?>
<tr><td align="center"><h4><?php echo $_details_val['MEDAL_CAT']; ?></h4></td></tr>
<?php } ?>
<tr><td align="center"><?php echo $_details_val['MEDAL_NAME']; ?></td></tr>
<tr><td align="center"><?php echo $_details_val['MEDAL_IMAGE']; ?></td></tr>
<tr><td align="center"><?php echo $_details_val['MEDAL_COUNT']; ?></td></tr></table></td>
<td class="bg2" valign="top">
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr><td><h3><?php echo ((isset($this->_rootref['L_MEDAL_DESCRIPTION'])) ? $this->_rootref['L_MEDAL_DESCRIPTION'] : ((isset($user->lang['MEDAL_DESCRIPTION'])) ? $user->lang['MEDAL_DESCRIPTION'] : '{ MEDAL_DESCRIPTION }')); ?>: <b><?php echo $_details_val['MEDAL_DESCRIPTION']; ?></b></h3></td></tr>
<tr><td class="reason">
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr><td><?php echo $_details_val['MEDAL_ISSUE']; ?></td></tr>
</table>
</td></tr>
</table></td>
</tr>
<?php }} ?>
</table>
</div>
</div>
</div>
<?php }} ?>