<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/**
 * views/download.php
 *
 * How do they get CodeIgniter?
 *
 */
?>
<div class="container">

	<div class="row">

		<div class="col-md-12 col-sm-12 text-center title">
			<span class="glyphicon glyphicon-download big-glyph"></span>
			CodeIgniter comes in three flavors: CodeIgniter 3 (current), 
			CodeIgniter 4 (future) and CodeIgniter 2 (legacy)
		</div>

		<div class="col-md-6 col-sm-6">
			<div class="bs-component">
				<div class="well download">
					<h3 class="text-center">CodeIgniter 3.x</h3>

					CodeIgniter 3.1.10 is the current version of the framework.<br><br>
					There have been a number of refinements since version 2.x, notably with
					the database, session handling and encryption. Development of this version is ongoing.<br><br>

					<a href="https://github.com/bcit-ci/CodeIgniter" class="btn btn-primary btn-block"><i class="fa fa-github-square"></i> View CodeIgniter 3 on Github</a>
					<a href="https://github.com/bcit-ci/CodeIgniter/archive/3.1.10.zip" class="btn btn-primary btn-block"><span class="glyphicon glyphicon-save"></span> Download CodeIgniter 3</a>
					<a href="https://github.com/bcit-ci/codeigniter3-translations/releases/latest" class="btn btn-primary btn-block"><span class="glyphicon glyphicon-save"></span> Download System Message Translations</a>
				</div>
			</div>
		</div>
		<div class="col-md-6 col-sm-6">
			<div class="bs-component">
				<div class="well download">
					<h3 class="text-center">CodeIgniter 2.x</h3>

					CodeIgniter 2.2.6 is the legacy version of the framework.<br><br>
					The 2.x branch was originally released January 2011, 
					the next major update (2.1.0) came in the fall of 2011, 
					version (2.2.0) came out in July 2014, and
					the current version (2.2.6) came out in October 2015.<br><br>
					CodeIgniter 2 has reached its end-of-life for support and updates, 
					as of October 31, 2015. No further updates are planned.<br/>
					We encourage you to upgrade to CodeIgniter 3.x!<br/><br/>
					<a href="https://github.com/bcit-ci/CodeIgniter/tree/2.2-stable" class="btn btn-warning btn-block"><i class="fa fa-github-square"></i> View CodeIgniter 2 on Github</a>
					<a href="https://github.com/bcit-ci/CodeIgniter/archive/2.2.6.zip" class="btn btn-warning btn-block"><span class="glyphicon glyphicon-save"></span> Download CodeIgniter 2</a>
				</div>
			</div>
		</div>

		<div class="col-md-12 col-sm-12">
			<div class="bs-component">
				<div class="well download">
					<h3 class="text-center">CodeIgniter 4.x</h3>
					CodeIgniter 4 is the upcoming version of the framework.<br><br>
					Development is underway, with Phase 1 completed in June 2016.
					It is *not* ready for production use - the current version
					is considered "pre-alpha1".<br><br>
					<a href="https://github.com/bcit-ci/CodeIgniter4" class="btn btn-success btn-block"><i class="fa fa-github-square"></i> View CodeIgniter 4 on Github</a>
					<a href="http://forum.codeigniter.com/forum-27.html" class="btn btn-success btn-block"><i class="fa fa-comments"></i> Join the discussion on our forum!</a>
				</div>
			</div>
		</div>

    </div>
</div>

