[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
webakfar
/
application
/
views
/
phpmu-standar
/
[
Home
]
File: detailhalaman.php
<div class="full-width"> <div class="article-title"> <div class="share-block right"> <div> <div class="share-article left"> <span>Social media</span> <strong>Share this article</strong> </div> <div class="left"> <script language="javascript"> document.write("<a href='http://www.facebook.com/share.php?u=" + document.URL + " ' target='_blank' class='custom-soc icon-text'></a> <a href='http://twitter.com/home/?status=" + document.URL + "' target='_blank' class='custom-soc icon-text'></a> <a href='https://plus.google.com/share?url=" + document.URL + "' target='_blank' class='custom-soc icon-text'></a>"); </script> <a target='_BLANK' href="https://web.whatsapp.com/send?text=<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>" class="custom-soc icon-text">wa</a> <a target='_BLANK' href="https://telegram.me/share/url?url=<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>" class="custom-soc icon-text"></a> </div> <div class="clear-float"></div> </div> <div> <a href="javascript:printArticle();" class="small-button"><span class="icon-text"></span> Print this article</a> <a href="#" class="small-button"><span class="icon-text">✉</span> Send e-mail</a> </div> </div> <h1><?php echo "<b>$rows[judul]</b>"; ?></h1> <div class="author"> <span class="hover-effect left"> <?php $test = md5(strtolower(trim($rows['email']))); echo "<img src='http://www.gravatar.com/avatar/$test.jpg?s=100'/>"; ?> </span> <div class="a-content"> <span>By <b><?php echo "$rows[nama_lengkap]"; ?></b></span> <span class="meta"><?php echo tgl_indo($rows['tgl_posting']).", $rows[jam] WIB"; ?></span> </div> </div> </div> </div> <div class="main-page left"> <div class="single-block"> <div class="content-block main left"> <div class="block"> <div class="block-content"> <div class="shortcode-content"> <div class="paragraph-row"> <div class="column12"> <?php if (trim($rows['gambar'])!=''){ echo "<img style='width:100%' src='".base_url()."asset/foto_statis/$rows[gambar]'>"; } if ($rows['isi_halaman']==''){ echo "<center style='padding:15%; font-weight:bold; color:red'>Maaf, Belum ada Informasi pada Halaman ini.</center>"; }else{ echo "$rows[isi_halaman]"; } ?> </div> </div><br> <?php $iiklan = $this->model_utama->view_where_ordering_limit('iklantengah',array('posisi'=>'hal_statis'),'id_iklantengah','ASC',0,5); foreach ($iiklan->result_array() as $ia) { echo "<a href='$ia[url]' target='_blank'>"; $string = $ia['gambar']; if ($ia['gambar'] != ''){ if(preg_match("/swf\z/i", $string)) { echo "<embed style='margin-top:-10px' src='".base_url()."asset/foto_iklantengah/$ia[gambar]' width='100%' height=90px quality='high' type='application/x-shockwave-flash'>"; } else { echo "<img style='margin-top:-10px; margin-bottom:5px' width='100%' src='".base_url()."asset/foto_iklantengah/$ia[gambar]' title='$ia[judul]' />"; } } echo "</a>"; if (trim($ia['source']) != ''){ echo "$ia[source]"; } } ?> <div class="article-title"> <div class="share-block right"> <div> <div class="share-article left"> <span>Social media</span> <strong>Share this article</strong> </div> <div class="left"> <script language="javascript"> document.write("<a href='http://www.facebook.com/share.php?u=" + document.URL + " ' target='_blank' class='custom-soc icon-text'></a> <a href='http://twitter.com/home/?status=" + document.URL + "' target='_blank' class='custom-soc icon-text'></a> <a href='https://plus.google.com/share?url=" + document.URL + "' target='_blank' class='custom-soc icon-text'></a>"); </script> <a target='_BLANK' href="https://web.whatsapp.com/send?text=<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>" class="custom-soc icon-text">wa</a> <a target='_BLANK' href="https://telegram.me/share/url?url=<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>" class="custom-soc icon-text"></a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class='main-sidebar right'> <?php include "sidebar_kanan.php"; ?> </div>