ASWADI

admin.php

Mar 13th, 2016
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1. <?php
  2. session_start();
  3. if(!isset($_SESSION['nama_user'])){
  4.     echo "<script>location.href='index.php'</script>";
  5. }
  6. ?>
  7. <html>
  8. <head>
  9.     <meta charset="utf-8">
  10.     <meta name="viewport" content="width=device-width, initial-scale=1">
  11.     <title>SmartSchool</title>
  12.     <link rel="stylesheet" href="../css/jquery.mobile-1.4.5.min.css">
  13.     <script src="../js/jquery.js"></script>
  14.     <script src="../js/index.js"></script>
  15.     <script src="../js/jquery.mobile-1.4.5.min.js"></script>
  16. </head>
  17. <body>
  18. <!-- Start of first page: #one -->
  19. <div data-role="page" id="one">
  20.     <div data-role="header">
  21.         <h1>SmartSchool</h1>
  22.     </div><!-- /header -->
  23.     <div role="main" class="ui-content">
  24.         <p><a href="add.php" class="ui-btn ui-shadow ui-corner-all">Tambah Sekolah</a></p>
  25.     <p><a href="lihat.php" class="ui-btn ui-shadow ui-corner-all">Lihat Sekolah</a></p>
  26.         <p><a href="index.php?out=yes" class="ui-btn ui-shadow ui-corner-all">Loguot</a></p>
  27.  
  28.     </div><!-- /content -->
  29.     <div data-role="footer" data-theme="a">
  30.         <h4>Copyright@CSD 2016</h4>
  31.     </div>
  32.  
  33. </body>
  34. </html>
Add Comment
Please, Sign In to add comment