<?php
	require_once('common.php');
	checkUser();
	renameUser();
	include("constants.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title> Jimmy Clean&#039;s - Administration</title>
		<link href="http://jimmycleans.com/wp-content/themes/JimmyClean/images/icon.ico" rel="shortcut icon">

		<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
		<!-- stylesheets -->
		<link rel="stylesheet" type="text/css" href="css/reset.css" />
		<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="css/style_fixed_full.css" />
		<link id="color" rel="stylesheet" type="text/css" href="css/greyblue.css" />
		<link id="color" rel="stylesheet" type="text/css" href="css/forms.css" />
		<!-- js (jquery) -->
		<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
		<!--[if IE]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]-->
		<script src="js/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
		<script src="js/jquery.ui.selectmenu.js" type="text/javascript"></script>
		<script src="js/jquery.flot.min.js" type="text/javascript"></script>
		<script src="js/tiny_mce/jquery.tinymce.js" type="text/javascript"></script>
		<!-- js (custom) -->
		<script src="js/smooth.js" type="text/javascript"></script>
		<script src="js/smooth.menu.js" type="text/javascript"></script>
		<script src="js/smooth.chart.js" type="text/javascript"></script>
		<script src="js/smooth.table.js" type="text/javascript"></script>
		<script src="js/smooth.form.js" type="text/javascript"></script>
		<script src="js/smooth.dialog.js" type="text/javascript"></script>
		<script src="js/smooth.autocomplete.js" type="text/javascript"></script>
		
		 
		<script type="text/javascript">
			$(document).ready(function () {
				style_path = "css/colors";


				$("#box-tabs, #box-left-tabs").tabs();
			});
		</script>
		
		<script language='JavaScript'>
		  checked = false;
		  function checkedAll () {
			if (checked == false){checked = true}else{checked = false}
		for (var i = 0; i < document.getElementById('remove_email').elements.length; i++) {
		  document.getElementById('remove_email').elements[i].checked = checked;
		}
		  }
		</script>
	</head>
	<body>
		
		
		<!-- header -->
		<div id="header">
			<div id="header-outer">
				<!-- logo -->
				<div id="logo">
					<h1><a href="index.php" title="Jimmy Cleans News Letter"><img src="images/jimmy-logo.png" alt="Smooth Admin" /></a></h1>
				</div>
				<!-- end logo -->
				<!-- user -->

				<!-- end user -->
				<div id="header-inner">
					<div id="home">
						<a href="index.php"></a>
					</div>
					<!-- quick -->
					<ul id="quick">
						<li>
							<a href="#" title="Products"><span class="icon"><img src="images/icons/book_addresses.png" alt="Products" /></span><span>Email Address</span></a>
					
							<ul>
								<li><a href="add_email.php">Add Email Address</a></li>
								<li class="last"><a href="remove_email.php">Remove Email Address</a></li>

							</ul>
					
						</li>
						<li>
							<a href="send_email.php" title="Events"><span class="icon"><img src="images/icons/layout_header_footer_3_mix.png" alt="Events" /></span><span>Manage News Letter</span></a>
						</li>
				
						
						
						<li>
							<a href="logout.php" title="Settings"><span class="icon"><img src="images/icons/cancel.png" alt="Settings" /></span><span>Logout</span></a>
							<ul>
								<li class="last"><a href="http://jimmycleans.com">Go To Jimmycleans.com</a></li>

							</ul>
						</li>
					</ul>
					<!-- end quick -->
					<div class="corner tl"></div>
					<div class="corner tr"></div>
				</div>
			</div>
		</div>
		<!-- end header -->