query("UPDATE videobox SET hit=hit+1 WHERE seo='$VideoID'"); $VideoBoxVideo = $veridb->get_row("SELECT * FROM videobox WHERE seo='$VideoID'"); $Video_Isim = stripslashes($VideoBoxVideo->isim); $Video_resim = stripslashes($VideoBoxVideo->resim); $Video_aciklama = stripslashes($VideoBoxVideo->aciklama); $Video_flvadres = stripslashes($VideoBoxVideo->flvadres); $Video_kategori = stripslashes($VideoBoxVideo->kategori); $Video_embed = stripslashes($VideoBoxVideo->embed); $Video_vimeo = stripslashes($VideoBoxVideo->vimeo); $Video_Youtube = stripslashes($VideoBoxVideo->youtubelink); $Video_ID = stripslashes($VideoBoxVideo->id); $Video_Hit = stripslashes($VideoBoxVideo->hit); if (!empty($Video_Youtube)) { $key_start = 0; $search_phrase = ""; if (strpos($Video_Youtube, 'v=') !== false) $key_start = strpos($Video_Youtube, 'v=') + 2; if ($key_start > 0){ if (strpos($Video_Youtube, '&', $key_start) !== false){ $search_phrase = substr($Video_Youtube, $key_start, (strpos($Video_Youtube, '&', $key_start) - $key_start)); } else { $search_phrase = substr($Video_Youtube, $key_start); } } $youtubevideo_id = urldecode($search_phrase); } ?> » Video »