} //Code for profile image ends here echo "<div class='three_quarter '>"; if ($rs[posttype] == "Video") { echo "<b><strong><a href='#'>{$rs['firstname']} {$rs['lastname']}</a> </strong>Shared video "; deleteid($rs[0]); echo "<br></b>"; } else { if ($rs[posttype] == "Photo") { echo "<b><strong><a href='#'>{$rs['firstname']} {$rs['lastname']}</a> </strong>Shared photos "; deleteid($rs[0]); echo "<br></b>"; } else { if ($rs[posttype] == "Wall") { echo "<b><strong><a href='#'>{$rs['firstname']} {$rs['lastname']}</a> </strong>wrote "; deleteid($rs[0]); echo "<br></b>"; } } } echo "<p>{$rs['message']}</p>"; if ($rs[posttype] == "Video") { $resultvideos = mysqli_query($con, "SELECT * FROM videos WHERE postid ='{$rs['0']}'"); $rsvideos = mysqli_fetch_array($resultvideos); echo ' <video width="350" height="260" controls> <source src="videos/' . $rsvideos[videopath] . '" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> <source src="movie.webm" type="video/webm"> <object data="videos/' . $rsvideos[videopath] . '" width="320" height="240"> <embed src="movie.swf" width="320" height="240">
if (get_user_class() < UC_SYSOP) { hacker_dork("Cache Sheets - Nosey C**t !"); } parked(); //////////uncomment if you have the parked mod installed//////////delete snatched by Manboo - recoded and trimmed by Bigjoos//special thanxs to snuggs and pdq/////// $action = isset($_GET["action"]) ? $_GET["action"] : ''; // //////////////Delete snatch entry////////////////////////////////////////////////////// if ($action == 'delete') { $id = (int) $_GET['id']; $sure = (int) $_GET['sure']; if (!is_valid_id($id)) { stderr("Error", "Invalid ID."); } $hash = md5('the salt to' . $id . 'add' . 'mu55y'); if (!$sure) { stderr("Confirm Delete", "Do you really want to delete this snatch entry? Click\n" . "<a href=?id={$id}&action=delete&sure=1&h={$hash}>here</a> if you are sure.", false); } if ($_GET['h'] != $hash) { stderr('Error', 'what are you doing?'); } function deleteid($id) { global $CURUSER; sql_query("DELETE FROM snatched WHERE id = {$id}"); } deleteid($id); stdhead("Snatch deleted!"); echo '<h2>Snatched entry deleted!</h2>'; } stdfoot(); die;