Exemple #1
0
<?
$artikelpopuler=artikel_populer(2);
$artikelsponsorr=artikel_sponsor(2);
$berita=berita(2);
?>

 <!-- **Sidebar** -->
            <div class="sidebar">
            	<div class="inner-sidebar"> </div>
				<? if(!empty($artikelpopuler)){?>
				<div class="widget widget_recent_entries">
					<h2 class="widgettitle"> Artikel Populer </h2>
					<ul>
						<? foreach($artikelpopuler as $id=>$datapop){?>
						<li> 
							<a href="blog-single.html" title="" class="thumb"> <img src="<?php 
echo base_url();
?>
view.php?image=upload/images/artikel/<?php 
echo $datapop['foto'];
?>
&amp;mode=crop&amp;size=71x62" alt="" title="" /> </a>
							<h6> <a href="<?php 
echo base_url();
?>
homedata/artikel/detail/<?php 
echo $datapop['id_artikel'];
?>
" title=""> <?php 
echo $datapop['judul'];
?>
Exemple #2
0
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>
</div>
</div>

	
		<div class="row">
		<div class="container">
			  <?php 
echo berita();
?>
			
				
				</div>
				</div>
				
				<div class="row">
				<div class="container">
				<div class="col-md-6">
				<div class="thumbnail">
				<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d495.84039790953193!2d106.85397536481285!3d-6.167811016428564!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e69f5a115555537%3A0x516be072bdac2777!2sIndomaret+Utan+Panjang+III!5e0!3m2!1sid!2sid!4v1432632470873" width="100%" frameborder="0" style="border:0"></iframe> 
				</div>
				</div>
				
				<div class="col-md-6">