<!DOCTYPE html>
<html lang="en">
<head>
<title><?php echo $title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow">
<meta name="description" content="<?php echo $description; ?>">
<meta name="keywords" content="<?php echo $keywords; ?>">
<meta name="author" content="phpmu.com">
<meta name="robots" content="all,index,follow">
<meta http-equiv="Content-Language" content="id-ID">
<meta NAME="Distribution" CONTENT="Global">
<meta NAME="Rating" CONTENT="General">
<link rel="canonical" href="<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>"/>
<?php if ($this->uri->segment(1)=='berita' AND $this->uri->segment(2)=='detail'){ $rows = $this->model_utama->view_where('berita',array('judul_seo' => $this->uri->segment(3)))->row_array();
echo '<meta property="og:title" content="'.$title.'" />
<meta property="og:type" content="article" />
<meta property="og:url" content="'.base_url().'berita/detail/'.$this->uri->segment(3).'" />
<meta property="og:image" content="'.base_url().'asset/foto_berita/'.$rows['gambar'].'" />
<meta property="og:description" content="'.$description.'"/>';
} ?>
<link rel="shortcut icon" href="<?php echo base_url(); ?>asset/images/<?php echo favicon(); ?>" />
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/css/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/css/animate.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/bootsnav/css/bootsnav.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/css/RYPP.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/themify-icons/themify-icons.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/weather-icons/css/weather-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/css/flaticon.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/owl-carousel/owl.carousel.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/owl-carousel/owl.theme.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/owl-carousel/owl.transitions.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo base_url(); ?>template/<?php echo template(); ?>/css/style.css" rel="stylesheet" type="text/css"/>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
</head>
</head>
<body>
<div class="se-pre-con"></div>
<?php include "header.php"; ?>
<?php echo $contents; ?>
<?php
include "footer.php";
$this->model_utama->kunjungan();
?>
<script type="text/javascript">
function jam(){
var waktu = new Date();
var jam = waktu.getHours();
var menit = waktu.getMinutes();
var detik = waktu.getSeconds();
if (jam < 10){ jam = "0" + jam; }
if (menit < 10){ menit = "0" + menit; }
if (detik < 10){ detik = "0" + detik; }
var jam_div = document.getElementById('jam');
jam_div.innerHTML = jam + ":" + menit + ":" + detik;
setTimeout("jam()", 1000);
} jam();
</script>
<script type="text/javascript">
jQuery(document).ready(function($) {
var $banner = $('.banner'), $window = $(window);
var $topDefault = parseFloat( $banner.css('top'), 10 );
$window.on('scroll', function() {
var $top = $(this).scrollTop();
$banner.stop().animate( { top: $top + $topDefault }, 1000, 'easeOutCirc' );
});
var $wiBanner = $banner.outerWidth() * 2;
zindex( $('#wrapper').outerWidth() );
$window.on('resize', function() {
zindex( $('#wrapper').outerWidth() );
});
function zindex(maxWidth){
if( $window.width() <= maxWidth + $wiBanner ) {
$banner.addClass('zindex');
} else {
$banner.removeClass('zindex');
}
}
});
</script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/js/jquery.min.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/js/jquery-ui.min.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/js/bootstrap.min.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/bootsnav/js/bootsnav.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/js/theia-sticky-sidebar.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/js/RYPP.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/owl-carousel/owl.carousel.min.js"></script>
<script src="<?php echo base_url(); ?>template/<?php echo template(); ?>/js/custom.js"></script>
</body>
</html>