<? include("../settings.php"); ?>
<? include("session.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>SP Admin Panel</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Include all CSS/JS -->
        <!-- Bootstrap -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/jquery.dataTables.css" rel="stylesheet">
    <link href="http://cdn.datatables.net/responsive/1.0.1/css/dataTables.responsive.css" rel="stylesheet">
    

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-2.1.1.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.dataTables.min.js"></script>
    <script src="http://cdn.datatables.net/responsive/1.0.1/js/dataTables.responsive.js"></script>

    <!-- End of all CSS/JS -->
         
    
   </head>
<body>


<? include("nav_menu.php"); ?>
      <div class="well">
<div class="content" bgcolor="#FFFFD0">
<div class="col-12 feature">
<div class="panelCheck">
    <div class="panel-heading">
        <h3 class "panel-title"><strong>SP Admin Panel - Walk-In</strong></h3>
    </div>

    
    <div class="well well-lg">
<form class="form-horizontal" method="post" action="walkin_process.php">
      
        <div class='form-group'>
            <label for='registrant_papernumber' class='col-lg-4 control-label'>Registrant Paper Number</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_papernumber" id="registrant_papernumber">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_papertype' class='col-lg-4 control-label'>Paper Type</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_papertype" id="registrant_papertype">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_category' class='col-lg-4 control-label'>Registrant Category</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_category" id="registrant_category">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_type' class='col-lg-4 control-label'>Registrant Type</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_type" id="registrant_type">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_selection' class='col-lg-4 control-label'>Selection</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_selection" id="registrant_selection">
            </div>
        </div>
        <div class='form-group'>
            <label for='registrant_salutation' class='col-lg-4 control-label'>Salutation</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_salutation" id="registrant_salutation">
            </div>
        </div>      
		<div class='form-group'>
            <label for='registrant_familyname' class='col-lg-4 control-label'>Family Name</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_familyname" id="registrant_familyname">
        </div>
        </div>		
        <div class='form-group'>
            <label for='registrant_fullname' class='col-lg-4 control-label'>Full Name</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_fullname" id="registrant_fullname">
            </div>
        </div>
        <div class='form-group'>
            <label for='registrant_organisation' class='col-lg-4 control-label'>Organisation</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_organisation" id="registrant_organisation">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_mailing' class='col-lg-4 control-label'>Mailing</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_mailing" id="registrant_mailing">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_city' class='col-lg-4 control-label'>City</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_city" id="registrant_city">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_postal' class='col-lg-4 control-label'>Postal</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_postal" id="registrant_postal">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_country' class='col-lg-4 control-label'>Country</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_country" id="registrant_country">
            </div>
        </div>
        <div class='form-group'>
            <label for='registrant_email' class='col-lg-4 control-label'>Email</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_email" id="registrant_email">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_cc' class='col-lg-4 control-label'>Country Code</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_cc" id="registrant_cc">
            </div>
        </div>
        <div class='form-group'>
            <label for='registrant_telephone' class='col-lg-4 control-label'>Telephone</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_telephone" id="registrant_telephone">
            </div>
        </div>
        <div class='form-group'>
            <label for='registrant_diet' class='col-lg-4 control-label'>Meal</label>
            <div class='col-lg-6 text-left'>
                <select class="form-control" name="registrant_diet" id="registrant_diet">
					<?
						$options = array("None","Vegetarian");
						foreach ($options as $option){
							if ($option == $result['registrant_meal'])
								echo "<option value='$option' selected>$option</option>";
							else
								echo "<option value='$option'>$option</option>";
						}
					?>
				</select>
            </div>
        </div>
        <div class='form-group'>
            <label for='badgecolour' class='col-lg-4 control-label'>Badge</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="badgecolour" id="badgecolour">
            </div>
        </div>
		<div class='form-group'>
            <label for='remarks' class='col-lg-4 control-label'>Remarks</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="remarks" id="remarks">
            </div>
        </div>
		<div class='form-group'>
            <label for='presentdate' class='col-lg-4 control-label'>Present Date</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="presentdate" id="presentdate">
            </div>
        </div>
		<div class='form-group'>
            <label for='presenttime' class='col-lg-4 control-label'>Present Time</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="presenttime" id="presenttime">
            </div>
        </div>
		<div class='form-group'>
            <label for='presentvenue' class='col-lg-4 control-label'>Present Venue</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="presentvenue" id="presentvenue">
            </div>
        </div>
        <div class='form-group'>
            <label for='registrant_paymentmode' class='col-lg-4 control-label'>Payment Mode</label>
            <div class='col-lg-6 text-left'>
				<input type="text" class="form-control" name="registrant_paymentmode" id="registrant_paymentmode">
				</select>
            </div>
        </div>     
		<div class='form-group'>
            <label for='registrant_paid' class='col-lg-4 control-label'>Payment Status</label>
            <div class='col-lg-6 text-left'>
				<input type="text" class="form-control" name="registrant_paid" id="registrant_paid">
            </div>
        </div> 
		<div class='form-group'>
            <label for='registrant_cocktail_attend' class='col-lg-4 control-label'>Cocktail Attendance</label>
            <div class='col-lg-6 text-left'>
                <select class="form-control" name="registrant_cocktail_attend" id="registrant_cocktail_attend">
					<?
							echo "<option value='0' selected>No</option><option value='1'>Yes</option>";
					?>
				</select>
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_extra_cocktail' class='col-lg-4 control-label'>Extra Cocktail</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_extra_cocktail" id="registrant_extra_cocktail">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_dinner_attend' class='col-lg-4 control-label'>Dinner Attendance</label>
            <div class='col-lg-6 text-left'>
                <select class="form-control" name="registrant_dinner_attend" id="registrant_dinner_attend">
					<?
							echo "<option value='0' selected>No</option><option value='1'>Yes</option>";
					?>
				</select>
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_extra_dinner' class='col-lg-4 control-label'>Extra Dinner</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_extra_dinner" id="registrant_extra_dinner">
            </div>
        </div>
		<div class='form-group'>
            <label for='registrant_total' class='col-lg-4 control-label'>Total Paid</label>
            <div class='col-lg-6 text-left'>
                <input type="text" class="form-control" name="registrant_total" id="registrant_total">
            </div>
        </div>
	
		       
        <input type="hidden" name="role_id" value="7">
        <center>
            <button type="submit" name="submit" class="btn btn-info">Add Walk In Delegate</button>
            <button type="reset" class="btn btn-default">Cancel</button>
        </center>    
        </form>        
        
        
    </div>
    
<!-- /.modal -->
</div>
</div>
</div>
</div>
    
</body>
</html>
