<?php 
	require "models/rivermedia.php";
	$rivermedia = new RIVERMEDIA;
	$rivermedia->auth();
	$rivermedia->add_event();
?>
                  <div class="form-group">
                    
                    <div class="col-md-6 col-sm-6 col-xs-12">
                      <label class="control-label" for="media_type">Event <span class="required">*</span> </label>
                      <input type="text" id="media_event" name="media_event" required class="form-control col-md-7 col-xs-12" >
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="col-md-6 col-sm-6 col-xs-12">
                      <label class="control-label" for="event_year">Year </label>
                      <select name="event_year" id="event_year" class="form-control">
                      <?php
					  $thisdate = getdate(date("U"));
                      $startYear = 2010;
					  $thisYear = $thisdate[year];
					  $i = 0;
					  for ($i = $startYear; $i <= $thisYear; $i++) {
					  ?>
                      <option value="<?php echo $i; ?>"<?php if ($i == $thisYear) {echo " selected";}; ?>><?php echo $i; ?></option>
                      <?php
					  };
					  ?>
                      </select>
                    </div>
                  </div>
                  <div class="ln_solid"></div>
                    <div>
                      <button type="reset" class="btn btn-primary">Cancel</button>
                      <button id="submit_add_event" class="btn btn-success">Add New</button>
                    </div>
                  </div>
                  <div class="clearfix"></div>
                  <div id="statusmessage_success" class="status_messages"><?php if (isset($_SESSION['statusmessage_success'])) {echo "<i class=\"fa fa-check\"></i> ".$_SESSION['statusmessage_success']; unset($_SESSION['statusmessage_success']);};?></div>
                  <div id="statusmessage_fail" class="status_messages"><?php if (isset($_SESSION['statusmessage_fail'])) {echo "<i class=\"fa fa-times\"></i> ".$_SESSION['statusmessage_fail']; unset($_SESSION['statusmessage_fail']);};?></div>
                  <div class="form-group">
