| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/bpkdlmj/view/phpmu/ |
Upload File : |
<?php $yahoo = mysql_query("SELECT * FROM mod_ym");
$hitung = mysql_num_rows($yahoo);
if ($hitung <= 0){
}else{ ?>
<div class="widget">
<h3>Online Support (Chat)</h3>
<?php while ($ym = mysql_fetch_array($yahoo)){ ?>
<center><?php echo "$ym[nama]"; ?> <br><a href="ymsgr:sendIM?<?php echo "$ym[username]"; ?>"> <img src="http://opi.yahoo.com/online?u=<?php echo "$ym[username]"; ?>&m=g&t=<?php echo "$ym[ym_icon]"; ?>&l=us"/></a></center><hr>
<?php } ?>
</div>
<?php } ?>
<div class="widget">
<?php
$pasangiklan=mysql_query("SELECT * FROM pasangiklan where id_pasangiklan='2'");
while($b=mysql_fetch_array($pasangiklan)){
$string = $b['gambar'];
if ($b['gambar'] == ''){
}else{
if(preg_match("/swf\z/i", $string)) {
echo "<embed src='foto_pasangiklan/$b[gambar]' width=300 height=250 quality='high' type='application/x-shockwave-flash'>";
} else {
echo "<a href='$b[url]' target='_blank'><img style='width:300px;' src='foto_pasangiklan/$b[gambar]' alt='$b[judul]' /></a>
<a href='$b[url]' class='ad-link'><span class='icon-text'>▴</span>$b[judul]<span class='icon-text'>▴</span></a>";
}
}
}
?>
</div>
<hr>
<!-- BEGIN .widget -->
<div class="widget">
<h3>Temukan juga kami di</h3>
<div class="widget-social">
<div class="social-bar">
<?php
$sosmedd = mysql_query("SELECT * FROM identitas");
$ssd = mysql_fetch_array($sosmedd);
$pecahd = explode(",", $ssd[facebook]);
$fb = $pecahd[0];
$tw = $pecahd[1];
$go = $pecahd[2];
$lk = $pecahd[3];
?>
<a target="_BLANK" href="<?php echo"$fb"; ?>" class="social-icon"><span class="facebook">Facebook</span></a>
<a target="_BLANK" href="<?php echo"$tw"; ?>" class="social-icon"><span class="twitter">Twitter</span></a>
<a target="_BLANK" href="<?php echo"$go"; ?>" class="social-icon"><span class="google">Google+</span></a>
<a target="_BLANK" href="<?php echo"$yu"; ?>" class="social-icon"><span class="google">Youtube</span></a>
</div>
<p>Ikuti kami di facebook, twitter, Google+, Youtube dan dapatkan informasi terbaru dari kami disana.</p>
</div>
<!-- END .widget -->
</div>
<!-- BEGIN .widget -->
<div class="widget">
<h3>Berita Terbaru</h3>
<div class="widget-articles">
<ul>
<li>
<?php
$terbaru = mysql_query("SELECT * FROM berita
left join users on berita.username=users.username
left join kategori on berita.id_kategori=kategori.id_kategori
order by berita.id_berita DESC LIMIT 6");
while ($r2x = mysql_fetch_array($terbaru)){
$komen1 = "SELECT * FROM komentar WHERE id_berita = '".$r2x['id_berita']."'";
$komentar1 = mysql_query($komen1);
$total_komentar1 = mysql_num_rows($komentar1);
$tglr2 = tgl_indo($r2x['tanggal']);
echo "<li>
<div class='article-photo'>";
if ($r2x[gambar] ==''){
echo "<a href='berita-$r2x[judul_seo].html' class='hover-effect'><img style='width:59px; height:42px;' src='foto_berita/small_no-image.jpg' alt='' /></a>";
}else{
echo "<a href='berita-$r2x[judul_seo].html' class='hover-effect'><img style='width:59px; height:42px;' src='foto_berita/small_$r2x[gambar]' alt='' /></a>";
}
echo "</div>
<div class='article-content'>
<h4><a href='berita-$r2x[judul_seo].html'>$r2x[judul]</a><a href='berita-$r2x[judul_seo].html' class='h-comment'>$total_komentar1</a></h4>
<span class='meta'>
<a href='berita-$r2x[judul_seo].html'><span class='icon-text'>🕔</span>$r2x[jam], $tglr2</a>
</span>
</div>
</li>";
}
?>
</li>
</ul>
</div>
<!-- END .widget -->
</div>
<div class="widget">
<h2 class="list-title" style="color: #2277c6;border-bottom: 2px solid #2277c6;">Jejak Pendapat</h2>
<?php
$tanya=mysql_query("SELECT * FROM poling WHERE aktif='Y' and status='Pertanyaan'");
$t=mysql_fetch_array($tanya);
echo " <div style='color:#000; font-weight:bold;'>$t[pilihan] <br></div>";
echo "<form method=POST action='hasil-poling.html'>";
$poling=mysql_query("SELECT * FROM poling WHERE aktif='Y' and status='Jawaban'");
while ($p=mysql_fetch_array($poling)){
echo "<input class=marginpoling type=radio name=pilihan value='$p[id_poling]'/>
<class style=\"color:#666;font-size:12px;\"> $p[pilihan]<br />";}
echo "<br><center><input style='width: 110px; padding:2px' type=submit class=simplebtn value='PILIH' />
</form>
<a href=lihat-poling.html>
<input style='width: 110px; padding:2px;' type=button class=simplebtn value='LIHAT HASIL' /></a></center>";
?>
</div>
<!-- BEGIN .widget -->
<div class="widget">
<h3>Komentar Terakhir</h3>
<div class="widget-comments">
<ul>
<?php
$komentar = mysql_query("SELECT * FROM komentar order by id_komentar DESC LIMIT 3");
while ($r = mysql_fetch_array($komentar)){
$tgl = tgl_indo($r['tgl']);
$isi_komentar = strip_tags($r['isi_komentar']);
$isi = substr($isi_komentar,0,100);
$isi = substr($isi_komentar,0,strrpos($isi," "));
$test = md5(strtolower(trim($r['email'])));
$berita = mysql_query("SELECT * FROM berita WHERE id_berita =$r[id_berita]");
$b = mysql_fetch_array($berita);
echo "<li>
<div class='comment-photo'>
<span class='hover-effect'>";
if ($r[email] == ''){
echo "<img style='width:50px; height:50px;' src='foto_user/blank.png' alt='avatar-1' />";
}else{
echo "<img style='width:50px; height:50px;' src=\"http://www.gravatar.com/avatar/".$test.".jpg?s=100&d=".$_GET['d']."\" />";
}
echo "</span>
</div>
<div class='comment-content'>
<h3>$r[nama_komentar]</h3>
<p>$isi ...</p>
<span class='meta'>
<a href='berita-$b[judul_seo].html'><span class='icon-text'></span>View Article</a>
</span>
</div>
</li>";
}
?>
</ul>
</div>
<!-- END .widget -->
</div>
<!-- BEGIN .widget -->
<div class="widget">
<h3>Video Terbaru</h3>
<div class="latest-galleries">
<?php
$hari_ini=date("Ymd");
$sebelum=mktime(0, 0, 0, date("m"), date("d") - 7, date("Y"));
$tgl_sebelumnya=date("Ymd", $sebelum);
$terkini2=mysql_query("select * from video ORDER BY id_video DESC LIMIT 3");
while($d=mysql_fetch_array($terkini2)){
$baca = $d[dilihat]+1;
$tgl = tgl_indo($d['tanggal']);
$judul = substr($d[jdl_video],0,35);
echo "<div class='gallery-widget'>
<div class='gallery-photo' rel='hover-parent'>
<a href='#' class='slide-left icon-text'></a>
<a href='#' class='slide-right icon-text'></a>
<ul>
<li>
<iframe itemprop='contentURL' class='youtube-player' type='text/html' width='100%' height='220' src='$d[youtube]?rel=0&showinfo=0&wmode=opaque' frameborder='0' allowfullscreen></iframe>
</li>
</ul>
</div>
<div class='gallery-content'>
<h4><a href=play-$d[id_video]-$d[video_seo].html title='$d[jdl_video]'>$judul . . .</a></h4>
<span class='meta'>
<span class='right'>$d[hari], $tgl - Dilihat $baca Kali</span>
<a href='play-$d[id_video]-$d[video_seo].html'><span class='icon-text'></span>Lihat Video</a>
</span>
</div>
</div>";
}
?>
</div>
<!-- END .widget -->
<a href="<?php echo "semua-playlist.html"; ?>" class="more">View All Video</a>
</div>