mobile pc other device icons for codychat 3.6

اضغط هنا لمعاينة كودي شات( Enter Codychat )

admin

Administrator
طاقم الإدارة
PHP:
open function.php createuserlist section add these codes

add below this line:     $mute_icon = getMutedIcon($list, 'list_mute');

 

this code:

 

 

 

 

  $mob_icon = getMobileIcon($list, 'list_mob');


   and then add after   :

if ($mute_icon != '') {
        $muted = '<div class="user_item_icon icmute">' . $mute_icon . '</div>';
    }
 

this code :

 

 


 

    if ($mob_icon != '') {
        $mob = '<div class="user_item_icon icmob">' . $mob_icon . '</div>';
    } elseif ($list['user_mobile'] >= 0 && $list['user_mobile'] <= 0) {
        $mob = '<div class="user_item_icon icrank"><img class="list_rank" src="default_images/icons/pc.svg"/></div>';
    } elseif ($list['user_mobile'] >= 2 && $list['user_mobile'] <= 2) {
        $mob = '<div class="user_item_icon icrank"><img class="list_rank" src="default_images/icons/ios.svg"/></div>';
    } elseif ($list['user_mobile'] >= 3 && $list['user_mobile'] <= 3) {
        $mob = '<div class="user_item_icon icrank"><img class="list_rank" src="default_images/icons/blackberry.svg"/></div>';
    }
 

add this  in end of function createuserlist

 

' . $muted   . $mob . $flag . '
 
أعلى