Wallpaper Resolution: '.$d_x.' x '.$d_y.''; echo '

To download photo, click on the right mouse button and select "Save picture ass...".

'; if($xx>900) $xx=900; echo ''; } else { $d_xy=strip_tags($_GET["raz"]); $mass_xy = explode ('x', $d_xy); $d_x=$mass_xy[0]; $d_y=$mass_xy[1]; list($maxWidth, $maxHeight) = getimagesize($d_file); echo '

Wallpaper Resolution: '.$d_x.' x '.$d_y.'

'; echo '

To download photo, click on the right mouse button and select "Save picture as...".

'; if($maxWidth==$d_x&&$maxHeight==$d_y) { if($maxWidth>900) $maxWidth=900; echo ''; } else { if($d_x>900) $d_x=900; ?>
$s){ /* $res=mysql_query("SELECT id FROM tb_wallpapers WHERE UPPER(tegs) LIKE '%".strtoupper($s)."%'"); $tegs_col = mysql_num_rows($res); */ $res = $mysqli->query("SELECT id FROM tb_wallpapers WHERE UPPER(tegs) LIKE '%".strtoupper($s)."%'"); $tegs_col = mysqli_num_rows($res); if($tegs_col>1) $tegs_str.=''.$s.''; else $tegs_str.=''.$s.''; } $tegs_str=str_replace(array('?+'), '', trim($tegs_str)); $tegs_str=str_replace(array('?'), '', trim($tegs_str)); echo $tegs_str; ?>
query("update tb_users set download=download+1 where username='$user_d' limit 1"); } //mysql_query("update tb_wallpapers set download=download+1 where id='$d_img' limit 1"); $mysqli->query("update tb_wallpapers set download=download+1 where id='$d_img' limit 1"); } ?>