codeigniter_test/application/views/index.php

92 lines
2.9 KiB
PHP
Raw Normal View History

2020-01-02 22:49:45 +07:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Your Blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!--styles -->
<link href="<?php echo base_url('asset/'); ?>/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo base_url(); ?>asset/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!--script-->
<script src="<?php echo base_url(); ?>asset/bootstrap/js/jquery.js"></script>
<script>
$(document).ready(function(){
//$("#islogin").hide();
if (<?php echo $this->auth->CI->session->userdata('is_log_in') . ""; ?> == "1") {
$("#isnotlogin").hide();
$("#islogin").show();
};
});
</script>
</head>
<body>
<div class="container-fluid">
<div class="row-fluid" style="margin-top:20px;">
<div class="span12">
<div class="carousel slide" id="carousel-3533">
<ol class="carousel-indicators">
<li class="active" data-slide-to="0" data-target="#carousel-3533">
</li>
<li data-slide-to="1" data-target="#carousel-3533">
</li>
<li data-slide-to="2" data-target="#carousel-3533">
</li>
</ol>
<div class="carousel-inner">
<div class="item active">
<img alt="" src="http://lorempixel.com/1600/500/sports/1" />
<div class="carousel-caption">
<h4>
First Thumbnail label
</h4>
<p>
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
</p>
</div>
</div>
<div class="item">
<img alt="" src="http://lorempixel.com/1600/500/sports/2" />
<div class="carousel-caption">
<h4>
Second Thumbnail label
</h4>
<p>
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
</p>
</div>
</div>
<div class="item">
<img alt="" src="http://lorempixel.com/1600/500/sports/3" />
<div class="carousel-caption">
<h4>
Third Thumbnail label
</h4>
<p>
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
</p>
</div>
</div>
</div>
<a data-slide="prev" href="#carousel-3533" class="left carousel-control"><</a> <a data-slide="next" href="#carousel-3533" class="right carousel-control">></a>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span4">
</div>
<div class="span4">
</div>
<div class="span4">
</div>
</div>
</div>
</body>
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-dropdown.js"></script>
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-carousel.js"></script>
</html>