cyberrspiritt
cyberrspiritt
Reputation Top 5%
cyberrspiritt szd
2 Snippets  (271st place)
Published
1 Channel
Created
0 Channels
Following
56 points  (466th place)
Reputation
Junior Code Generator
Junior Publisher
Junior Trend Maker
Junior Popular Coder
Junior Autobiographer
Senior Autobiographer
Junior Famous Coder

Recent Snippets See all snippets by cyberrspiritt

public by cyberrspiritt  2588  2  6  0

Bootstrap kickstart template

boostrap sample kickstart template
<!DOCTYPE html>
<html lang="">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Title Page</title>

		<!-- Bootstrap CSS -->
		<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.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/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>
		<h1 class="text-center">Hello World</h1>

		<!-- jQuery -->
		<script src="//code.jquery.com/jquery.js"></script>
		<!-- Bootstrap JavaScript -->
		<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
	</body>
</html>
;

public by cyberrspiritt  1700  0  6  0

Codeigniter Sample Controller

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

class Controllername extends CI_Controller {

    function __construct(){
         parent::__constrcut();
    }

	public function index()
	{
		
	}

}

/* End of file controllername.php */
/* Location: ./application/controllers/controllername.php */
;