<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; include_once 'db_config/db_user.php'; $user = new user(); $gigs = new gigs(); $rs_gigs = $gigs->gigs_list(); if (isset($_REQUEST['id'])) { $gigs->delete($_REQUEST['id']); //Echo "Gig Deleted!! <a href=\"gigs.php\">Go Back</a>"; reDirect('gigs.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Gigs - Admin </title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <script> function confirmDelete(delUrl) { if (confirm("Are you sure you want to delete")) { document.location = delUrl; } }