| Current Path : /home/bolconlineco/public_html/coordinator/ |
| Current File : /home/bolconlineco/public_html/coordinator/delete_email_template.php |
<?php
ob_start();
session_start();
?>
<?php include('includes/header.php'); ?>
<?php
if(!isset($_SESSION['coordinator']) || $_SESSION['coordinatorrole'] != 2)
{
header("location:../index.php");
exit();
}
?>
<script language="javascript" src="includes/jquery.js"></script>
<div id="content">
<div id="frm" style="width:885px">
<?php
if(isset($_GET['id']) && is_numeric($_GET['id'])) {
$id = $_GET['id'];
$query = "delete from email_templates where id='$id'";
$result = mysql_query($query) or die(mysql_error());
header("location:email_templates.php?msg=Email Template successfully deleted");
exit();
} ?>
</div>
</div> <!-- end content -->
</div><!-- end wrapper -->
<?php include('../includes/footer.php');?>