$var = explode('.', $image_name);
$type = end($var);
//FOR MOBILE VERSION 1.0
$act = filter_input(INPUT_GET, 'act');
if($act == 'change_mobile') $_SESSION['mobile'] = 1;
if($act == 'change_fullver'){
$_SESSION['mobile'] = 2;
header('Location: /news');
}