-
Notifications
You must be signed in to change notification settings - Fork 3
/
i_info.php
executable file
·43 lines (32 loc) · 1.19 KB
/
i_info.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
******************************************************************
* CMS-TOKO-BIASAWAE v1.0 (code : Daun Muda). 2018
******************************************************************
* Dikembangkan oleh : Agus Muhajir *
* http://github.com/hajirodeon *
* http://hajirodeon.wordpress.com *
* http://facebook.com/hajirodeon *
* sms/wa/telegram : 081-829-88-54 *
* email : hajirodeon@gmail.com *
* ****************************************************************
*/
//query
$qtyk = mysqli_query($koneksi, "SELECT * FROM m_info ".
"ORDER BY postdate DESC LIMIT 0,5");
$rtyk = mysqli_fetch_assoc($qtyk);
do
{
$nomer = $nomer + 1;
$e_kd = nosql($rtyk['kd']);
$e_postdate = balikin($rtyk['postdate']);
$e_nama = balikin($rtyk['judul']);
$url_cantik = trim(seo_friendly_url($e_nama));
echo '<div align="left">
<a href="'.$sumber.'/info.php?'.$url_cantik.'&artkd='.$e_kd.'" title="'.$e_nama.'">
<p>'.$e_nama.'</p>
</a>
</div>';
}
while ($rtyk = mysqli_fetch_assoc($qtyk));
?>