Get Image function in PHP ๐
1 2 3 4 5 6 7 8 9 10 11 |
if(!function_exists('getImg')){ function getImg($isVip) { $type = false; if (isset($_GET['f']) && $_GET['f']) $type = 1; if (isset($_GET['bl']) && $_GET['bl']) $type = 16; if (isset($_GET['lw']) && $_GET['lw']) $type = 'author'; if (isset($_GET['sym']) && $_GET['sym'] && $isVip) $type = 2; return $type; } } |