JohnCMSHỏi về icon trước nick

3 bài đăng
12.04.2017 / 14:53
HackerPro
Bài đăng: 220
Member
123baylenuocmo's

Làm tất cả các bước rồi, không biết đặt đâu nhỉ

PHP
  1. if($user['danhhieu_1'] == 4) {$out .= '<img src="/img/kcx.jpg" alt=""/>';}
  2. if($user['danhhieu_1'] == 5) {$out .= '<img src="/img/kcv.jpg" alt=""/>';}
  3. if($user['danhhieu_1'] == 6) {$out .= '<img src="/img/crazy.gif" alt=""/>';}
  4. if($user['danhhieu_1'] == 7) {$out .= '<img src="/img/titon.gif" alt=""/>';}
  5. if($user['danhhieu_1'] == 8) {$out .= '<img src="/img/mem.gif" alt=""/>';}
  6. if($user['danhhieu_1'] == 9) {$out .= '<img src="/img/lua.jpg" alt=""/>';}
  7. if($user['danhhieu_1'] == 10) {$out .= '<img src="/img/Vip.png" alt=""/>';}
  8. if($user['danhhieu_1'] == 11) {$out .= '<img src="/img/Pro.png" alt=""/>';}
  9. if($user['danhhieu_1'] == 12) {$out .= '<img src="/img/Vl.png" alt=""/>';}
  10. if($user['danhhieu_1'] == 13) {$out .= '<img src="/img/Badao.png" alt=""/>';}
  11. if($user['danhhieu_1'] == 14) {$out .= '<img src="/img/Team.png" alt=""/>';}

mà đặt vào đâu trong code dưới :chuoi:

PHP
  1. if (!empty($user['account']))
  2.  
  3. $out .= ' :' . $user['account'];
  4. if (!empty($arg['header']))
  5. $out .= ' ' . $arg['header'];
  6. } else {
  7. if (self::$user_set['avatar']) {
  8. $out .= '<table cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td width="38">';
  9. if (file_exists((ROOTPATH . 'files/users/avatar/' . $user['id'] . '.png')))
  10. $out .= '<img src="' . SITE_URL . '/files/users/avatar/' . $user['id'] . '.png" width="32" height="32" alt="" />';
  11. else
  12. $out .= '<img src="' . SITE_URL . '/images/empty.png" width="32" height="32" alt="" />';
  13. $out .= '</td><td>';
  14. }
13.04.2017 / 14:13
HackerPro
Bài đăng: 220
Member
123baylenuocmo's

sao không ai giúp vậy :20:

13.04.2017 / 15:31
MrKen
Bài đăng: 2653
Trùm!
Vẫn là A N H

đặt đâu cũng được =))