Location: PHPKode > projects > EasyFest > new/leftevent.php
<?php
	include_once("include/db_connection.php");
	$EventId = $_GET['EventId'];
	$result4 = mysql_fetch_array(mysql_query("SELECT * FROM events WHERE EventId = $EventId "));

?>
<!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" />
<link href="leftdefault.css" rel="stylesheet" type="text/css" media="screen" />
<title>Untitled Document</title>
</head>

<body>
<div id="sidebar1" class="sidebar">
			<ul>
				<li>
					<h2><?php echo $result4[EventName];?></h2>
				</li>
				<li>
				  <ul>
				    <div class="flower"><img src="uploaded_files/<?php echo $result4[EventName];?>.jpeg" alt="" width="233" height="142" /></div>
				    <li><a href="upload.form.php<?php echo "?EventId=".$EventId; ?>">Upload Poster</a></li>
				    <li><a href="viewevent.php<?php echo "?EventId=".$EventId; ?>">View Details</a></li>
				    <!--<li><a href="createEvent.php">Add Event</a></li>
						<li><a href="admin_createAssociate.php">Add Associate</a></li>
						<li><a href="createEventHead.php">Add Event Head</a></li>-->
				    <li><a href="editEventDetails.php<?php echo "?EventId=".$EventId; ?>">Edit event</a></li>
                    <li><a href="viewAllevent.php">View All event</a></li>

				    </ul>
			  </li>
				<li>
					<h2>Marketing</h2>
					<ul>
						<li><a href="addIncomeItem.php">Add Income</a></li>
                        <li><a href="viewIncomeItem.php">View Income</a></li>
						<li><a href="addExpenseItem.php">Add Expenses</a></li>
                        <li><a href="viewExpenseItem.php">View Expenses</a></li>
						<li><a href="uploadReports.php">Upload Reports</a></li>
						
					</ul>
				</li>
                <li>
					<h2>Sponsorship</h2>
                    <ul>
                    	<li><a href="addBooth.php">Add Booths</a></li>
						<li><a href="viewAllBooth.php">View Booths</a></li>
					
                    </ul>
                    </li>
                    
				
			</ul>
		</div>
</body>
</html>
Return current item: EasyFest