<div class="content-header">
	<div class="header-section">
		<h1>
			<i class="fa fa-image"></i><strong>Screenshot</strong> Center<br><small>Showcase your Best, we'll do the rest!</small>
		</h1>
	</div>
</div>
<ol class="breadcrumb breadcrumb-top">
  <li><a href="<?php echo SITE_URL?>/index.php"><i class="fa fa-home"></i></a></li>
  <li><a href="<?php echo SITE_URL?>/index.php/Screenshots">Screenshots</a></li>
  <li><a href="<?php echo SITE_URL?>/index.php/screenshots/upload">Upload</a></li>
</ol>
<div class="row">
	<div class="col-md-12">
		<div class="block">
			<div class="block-title">
				<h3><strong>Upload</strong> wizard</h3>
			</div>
			<div class="block-header">
				<h3><strong>Rules</strong></h3>
			</div>
			
	<form action="<?php echo url('/Screenshots');?>" class="form-horizontal" method="post" enctype="multipart/form-data">
				<ul>
                    <li>Upload must ONLY be a <span class="text-danger">flight simulator</span> screenshot.</li>
                    <li>Uploading screenshots of liveries other than that of the fleet of <?php echo SITE_NAME; ?> will be treated as spam and deleted!</li>
                    <li>By uploading your screenshot to the <?php echo SITE_NAME; ?> database, you give your full consent for the staff to use your screenshot for media purposes.</li>
                    <li>You will be given full credit, if the staff decides to use your upload on the website or on their social media accounts.</li>
                </ul>
                
                <hr />
            
            <div class="form-group">
              <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_file_size ?>">
              <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
                    <label class="col-md-3 control-label" for="file">File to upload:</label>
              <div class="col-md-3">
                <input class="mail btn btn-md btn-default" id="file" type="file" name="uploadedfile" />
              </div>
            </div>
              
            <div class="form-group">
              <label class="col-md-3 control-label" for="description">Description :  </label>
              <div class="col-md-4">
                <textarea class="mail form-control" name="description" placeholder="(DEP & ARR, Flight #, etc)"rows="2" cols="70"></textarea>
              </div>
            </div> 
            
             <div class="form-group text-center">
              <input type="hidden" name="action" value="save_upload" />
              <input class="mail btn btn-md btn-info" type="submit" value="Upload Screenshot !">
            </div> 
</form>

<center>
    <br />
    <a href="<?php echo url('screenshots');?>"><button type="button" class="btn btn-md btn-success"><i class="gi gi-circle_arrow_left"></i>&nbsp; Back to <Strong>Gallery</Strong></button></a>
</center> <br>      
		</div>
	</div>
</div>
