当前位置: 首页>>代码示例>>PHP>>正文


PHP JoomleagueHelper::showClubIcon方法代码示例

本文整理汇总了PHP中JoomleagueHelper::showClubIcon方法的典型用法代码示例。如果您正苦于以下问题:PHP JoomleagueHelper::showClubIcon方法的具体用法?PHP JoomleagueHelper::showClubIcon怎么用?PHP JoomleagueHelper::showClubIcon使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JoomleagueHelper的用法示例。


在下文中一共展示了JoomleagueHelper::showClubIcon方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: elseif

 echo '</td>';
 echo "\n";
 //**************logo - jersey
 if ($config['show_logo_small_table'] != "no_logo") {
     echo '<td class="rankingrow_logo"';
     if ($color != '' && $config['use_background_row_color']) {
         echo ' style="background-color: ' . $color . '"';
     }
     echo ">";
     if ($config['show_logo_small_table'] == "country_flag") {
         JoomleagueHelper::showClubIcon($team->team, 2);
     } elseif ($config['show_logo_small_table'] == "logo_small_country_flag") {
         echo JoomleagueHelper::getPictureThumb($team->team->logo_small, $team->team->name, $config['team_picture_width'], $config['team_picture_height'], 3) . ' ';
         JoomleagueHelper::showClubIcon($team->team, 2);
     } elseif ($config['show_logo_small_table'] == "country_flag_logo_small") {
         JoomleagueHelper::showClubIcon($team->team, 2);
         echo ' ' . JoomleagueHelper::getPictureThumb($team->team->logo_small, $team->team->name, $config['team_picture_width'], $config['team_picture_height'], 3);
     } else {
         $pic = $config['show_logo_small_table'];
         switch ($pic) {
             case 'logo_small':
                 echo JHTML::image($team->team->{$pic}, $imgTitle, array('title' => $team->team->name, 'width' => '20'));
                 break;
             case 'logo_middle':
                 echo JHTML::image($team->team->{$pic}, $imgTitle, array('title' => $team->team->name, 'width' => '20'));
                 break;
             case 'logo_big':
                 echo JHTML::image($team->team->{$pic}, $imgTitle, array('title' => $team->team->name, 'width' => '20'));
                 break;
         }
         /*
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:31,代码来源:default_rankingrows.php

示例2: elseif

 for ($w = 0; $w <= $i; $w++) {
     if ($k == 1 + $w * 2 && $j % (2 * pow(2, $w)) == pow(2, $w)) {
         echo "{$style}";
     }
 }
 echo ' >';
 for ($w = 0; $w <= $i; $w++) {
     if ($k == 1 + $w * 2 && $j % (2 * pow(2, $w)) == pow(2, $w)) {
         // node __________________________________________________________________________________________________
         if ($this->node[$j - 1]->is_leaf) {
             if ($this->config['show_overlib_seed'] == 0) {
             }
             JoomleagueHelper::showClubIcon($this->node[$j - 1], $this->config['show_logo_small_flag_leaf']);
             echo ' ';
         } else {
             JoomleagueHelper::showClubIcon($this->node[$j - 1], $this->config['show_logo_small_flag']);
             echo ' ';
         }
         if ($this->node[$j - 1]->is_leaf) {
             if ($this->config['name_team_type_leaf'] == 0 && $this->node[$j - 1]->short_name) {
                 echo $this->node[$j - 1]->short_name;
             } elseif ($this->config['name_team_type_leaf'] == 1 && $this->node[$j - 1]->middle_name) {
                 echo $this->node[$j - 1]->middle_name;
             } elseif ($this->config['name_team_type_leaf'] == 2 && $this->node[$j - 1]->team_name) {
                 echo $this->node[$j - 1]->team_name;
             }
         } else {
             if ($this->config['name_team_type'] == 0 && $this->node[$j - 1]->short_name) {
                 echo $this->node[$j - 1]->short_name;
             } elseif ($this->config['name_team_type'] == 1 && $this->node[$j - 1]->middle_name) {
                 echo $this->node[$j - 1]->middle_name;
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default_treetonode.php


注:本文中的JoomleagueHelper::showClubIcon方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。