
<p><strong>Introduction</strong>

  Just like how you import schedules to your VA, you can import CodeShare schedules too!
  If you donot have the template, click <a href="<?php echo SITE_URL ?>/admin/lib/template.csv">here</a> to download.
  <br>

  You might want to consider trying <a target="_blank" href="https://virtualairlineschedules.net/">Virtual Airline Schedules</a> out to get your CSV template with relevant schedule data.
</p>

<p> <strong>Before uploading checklist : </strong>
<ol>
	<li>The airline must have been already added to the VA with status set to "Active"</li>
	<li>You can leave out the header, but if it is there, <strong>check off the box</strong></li>
	<li>All of the columns can be there, but only the route, leg, distance, and flighttime can be blank</li>
	<li>Routes which already exist (based on the code and flight number) will not be re-added</li>
	<li>Aircraft must be added by registration</li>
	<li>Flight Type can be "P" (Passenger), "C" (Cargo) or "H" (Charter). Enter it without quotes</li>
	<li>Days of week - last column - enter 0-6 for Sunday (0) to Saturday (6): ie: Monday, Wed, Fri, Sat flights will be: 1356 as the value</li>
	<li>Enabled column - 1 for enabled, 0 for disabled. Blank defaults to enabled</li>
</ol>
</p>
<form enctype="multipart/form-data" action="<?php echo adminurl('/CodeShare_admin/processimport');?>" method="post">
Choose your import file (*.csv): <br />
	<input name="uploadedfile" type="file" /><br />
	<input type="hidden" name="MAX_FILE_SIZE" value="100000" />

	<br />
	<input type="checkbox" name="header" checked /> First line of CSV is the header	
	<br /><br />
	<input type="submit" class="btn btn-info" value="Upload File" />

</form>
