echo $sitepath; ?> admin.php/admin" method="post"> USER<br/> <input type="text" name="user"/><br/> PASS<br/> <input type="password" name="pass"/><br/><br/> <input type="submit" name="submit" value="Tambah"/> </form> <h1>Daftar Admin</h1> <?php echo $msg; ?> <table border='1' cellspacing="0" cellpadding="0" width="500"> <?php $admins = db_fetchs("SELECT * FROM admin ORDER BY id DESC"); for ($i = 1; $i <= $admins[0]; $i++) { ?> <tr><td><?php echo $i; ?> </td> <td><?php echo $admins[$i][1]; ?> </td> <td><a href="<?php echo $sitepath; ?> admin.php/delete3/<?php echo $admins[$i][0];
<div style="width:195px; height:315px; background:url(<?php echo $sitepath; ?> images/content_24.png);"><div style="padding-top:70px;text-align: center; color: #FFF;"><b><font size="+4"><?php $today = time(); $count = ($stamp - $today) / 86400; if ($count >= 0) { echo ceil($count); } else { echo 0; } ?> </font><br/>HARI LAGI</b></div> <div style="padding-top: 20px; text-align:center;"> <div class="slideshow" style="position:absolute;"> <?php $gambar = db_fetchs("SELECT * FROM slider ORDER BY id DESC"); for ($i = 1; $i <= $gambar[0]; $i++) { ?> <img src="<?php echo $sitepath; ?> slide/<?php echo $gambar[$i][1]; ?> " width="170" height="150"/> <?php } ?> </div></div> </div>
<tr> <td colspan="12" rowspan="5"> <!-- <img src="<?php echo $sitepath; ?> images/content_23.png" width="583" height="340" alt="">--> <div id="content_2" class="content"> <table width="100%" height="100%" id="loader2"><tr> <td align="center" valign="middle"><img src="<?php echo $sitepath; ?> images/loading.gif" width="16" height="16"/> <b>Loading, Please Wait...</b></td></tr></table> <div id="panel2"> <?php is_numeric($request[1]) ? $page = ($request[1] - 1) * 5 : ($page = 0); $artikel = db_fetchs("SELECT * FROM artikel ORDER BY id DESC LIMIT {$page},5"); if ($artikel) { for ($i = 1; $i <= $artikel[0]; $i++) { ?> <font size="+1"><?php echo $artikel[$i][3]; ?> </font><small><br/> <i>Ditulis oleh <?php echo getUserbyID($artikel[$i][1]); ?> pada <?php echo date("d M Y H:i", $artikel[$i][2]); ?> </i></small><br/> <?php