View difference between Paste ID: rjWCjrBJ and ZmLJLgWP
SHOW: | | - or go back to the newest paste.
1
                           <?php
2
                                $nick = '<span'.($this->ip == @$player['ip']
3
                                    ? ' style="font-weight: bold; color: blue"' : '').'>'
4-
                                        .'<img src="https://minotar.net/avatar/' . CHtml::encode(@$player['name']).'" alt="Player logo" /></span>';
4+
                                        .'<img src="https://minotar.net/avatar/' .@$player['name'].'" alt="Player logo" /></span>';
5
                                if (@$player['id'])
6
                                    echo CHtml::link($nick, array('player/view', 'id'=>$player['id']));       
7
                                else
8
                                    echo $nick;
9
10
                            ?>