K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendahok / modul /
server ip : 172.67.156.115

your ip : 172.69.17.109

H O M E


Filename/var/www/html/sman1baleendahok/modul/tag_matpel.php
Size779
Permissionrw-rw-r--
Ownerulung : ulung
Create time27-Apr-2025 11:12
Last modified05-Feb-2025 08:55
Last accessed06-Jul-2025 15:44
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
$tag .='<ul>';
$sql="select * from t_download order by id desc limit 0,5";
if(!$query=mysql_query($sql)) die ("Pengambilan gagal1 berita $id");
while ($row=mysql_fetch_array($query)) {
$judul= $row[judul];
$judul = stripslashes($judul);
$h = strval(substr($row[tanggal],0,2));
$b = strval(substr($row[tanggal],3,2));
$h1 = strval(date("d"));
$b1 = strval(date("m"));
if ($h > $h1) { $h2 = ($h1+30) - $h;$b1= $b1 -1;}
else { $h2 = $h1 - $h; }
if ($b1<>$b) $h2=$h2+10;
$new ="";
if ($h2 < 10) $new ="<img src='../images/baru.gif'>";
$tag .="<li><a href='guru.php?id=lihmateri&kode=$row[id]' >
$judul</a> $new </li>";
}
$tag.='<ul><div style="text-align:right" >::&nbsp;<a href="guru.php?id=materi" >Selengkapnya</a></div>';
?>