Aplikasi Sistem Informasi Nilai Ujian Siswa Berbasis SMS Gateway (Studi Kasus : SMP Negeri 1 Lima Puluh)

  

LAMPIRAN

Listing Program Aplikasi Sistem Informasi Nilai Ujian Siswa Admin.php (Halaman Utama)

  <html  ns="http://www.w3.org/1999/xhtml"> 

  <head>  

  <title>SMPN  </title> 

  <meta  http‐equiv="Content‐Type" content="text/html; charset=iso‐8859‐1"/> 

  <style  type="text/css"> 

  </head>  

  <body>         

  <div  id="headerLeftColumn"><img src="images/IMG_2327.JPG" width="300" height="170" 

  /></div>    

  <ul><li>Home</li><li>|</li>  

  <li>Visi  & Misi </li><li>|</li> 

  <li>Kode  SMS</li><li>|</li> 

  <li>|  Inbox </li><li>|</li> 

  <li><a  href="lihat_nilai.php" title="lihat nilai">Lihat Nilai</a></li></ul>        

  <table  width="364" height="167" border="2" align="center" cellpadding="7"  cellspacing="1"

   bordercolor="#000000" bgcolor="#FFFF99" style="margin‐top:50px;">                          <form action="loginmasuk.php" method="post">            <tr> <td colspan="2" align="center"><span  class="style28">Administrator</span></td>

    <tr><td

   width="153"><span class="style26">Username</span></td>                              <td width="172"><input name="username" type="text"/></td></tr>                <tr><td><span class="style26">Password</span></td>                <tr><td><input name="password" type="password"/></td></tr>   <td height="39" colspan="2" align="center"><input type="submit" name="Submit"  value="Login"

   /></td></tr>     </table>    <span class="style36">Copyright © Rafiani Reysah</span></span></p>  <p><span

   class="style36">S1 EKSTENSI ILMU KOMPUTER UNIVERSITAS SUMATERA UTARA  </span><br

   /> </p>          </body>

    </html>

   

               

   

  Halaman Untuk Siswa dan Guru lihat_data.php

  <html  ns="http://www.w3.org/1999/xhtml"> 

  <head>  

  <title>SMPN  </title> 

  <meta  http‐equiv="Content‐Type" content="text/html; charset=iso‐8859‐1"/> 

  <style  type="text/css"> 

  </head>  

  <body>         

  <div  id="headerLeftColumn"><img src="images/IMG_2327.JPG" width="300" height="170" 

  /></div>    

  <ul>  

  <li>Home</li><li>|</li>  

  <li>Visi  & Misi </li><li>|</li> 

  <li>Kode  SMS</li><li>|</li> 

  <li>  Inbox</li><li>|</li> 

  <li><a  href="lihat_nilai.php" title="lihat nilai">Lihat Nilai</a></li></ul> 

  <div  align="center"><span class="clearDiv style16"><span class="clearDiv  style17"><span  class="clearDiv

    style19">Nilai Siswa </span></span></span><br /></div>  <table

   width="229" height="178" border="3" bordercolor="#0033FF" bgcolor="#FFFF99">   <tr>         <td width="154"><div align="left"><span class="style5">Nilai Rata‐Rata Tugas</span>  </div></td>

    </tr>   <tr>         <td><div align="left"><span class="style5">Nilai Ulangan Harian 1 </span></div></td>  </tr>

     <tr>         <td><div align="left"><span class="style12">Nilai Ulangan Harian 2 </span></div></td>  </tr>

     <tr>         <td><div align="left"><span class="style5">Nilai Ulangan Tengah Semester    </span></div></td></tr>

     <tr>         <td class="style5"><div align="left">Nilai Ulangan Semester </div></td></tr>     </table>  <p

   class="style37">Selamat Datang....</p>    <p align="center" class="style23">APLIKASI SISTEM INFORMASI NILAI UJIAN SISWA 

  BERBASIS  SMS GATEWAY </p> 

  <p  align="center"><span class="style22">Aplikasi Sistem Informasi Nilai Ujian Siswa ini  dibuat

   untuk mempermudah siswa maupun orang tua siswa SMP Negeri 1 Lima Puluh untuk  memperoleh  data nilai ujian siswa sehingga menjadikan acuan/motivasi untuk siswa dalam  meningkatkan

   kualitas belajarnya. </span><span class="style21"><br /></span></p>   <p align="center"> </p>  <p

   align="left" class="style38"><strong><span class="style39"><a  href="visi_siswa.php">>>  Lihat visi & misi</a></span></strong></p> 

  <p  align="left" class="style40"><strong><a href="kode_sms_siswa.php">>> Lihat Kode 

  SMS</a></strong></p>  

   <p align="left" class="style40"><a href="tugas_siswa.php"><strong>>> Lihat Nilai Rata‐Rata  Tugas

   Siswa</strong></a></p>  <p

   align="left" class="style40"><strong><a href="nuh1_siswa.php">>> Lihat Nilai  Ulangan

   Harian 1 Siswa </a></strong></p>  <p

   align="left" class="style40"><strong><a href="nuh2_siswa.php">>> Lihat Nilai  Ulangan

   Harian 2 Siswa</a></strong></p>  <p

   align="left" class="style40"><strong><a href="nuts.php">>> Lihat Nilai Ulangan  Tengah

   Semester</a></strong></p>   <p align="left" class="style40"><strong><a href="nus_siswa.php">>> Lihat Nilai  Ulangan

   Semester</a> </strong><br /></p>  <div

   align="center">  <p><span

   class="style32"><br />  <span

   class="style36">Copyright © Rafiani Reysah</span></span></p>   <p><span class="style36">S1 EKSTENSI ILMU KOMPUTER UNIVERSITAS SUMATERA UTARA  </span><br

   />  </p>  </body>

    </html>

         

  Tugas_siswa.php

  <?php  require_once('../Connections/konek.php'); ?> 

  <?php   mysql_select_db($database_konek,

   $konek);  $query_tugas

   = "SELECT * FROM  siswa A, tugas B WHERE A.NIS=B.NIS ORDER BY id ASC";  $tugas

   = mysql_query($query_tugas, $konek) or die(mysql_error());  $row_tugas

   = mysql_fetch_assoc($tugas);  $totalRows_tugas

   = mysql_num_rows($tugas);  ?>

   

  <html  ns="http://www.w3.org/1999/xhtml"> 

  <head>  

  <title>SMPN  </title> 

  <meta  http‐equiv="Content‐Type" content="text/html; charset=iso‐8859‐1"/> 

  <style  type="text/css"> 

  </head>  

  <body>         

  <div  id="headerLeftColumn"><img src="images/IMG_2327.JPG" width="300" height="170" 

  /></div>  

  <p  align="justify" class="style20 style41"> Daftar Nilai Rata‐Rata Tugas Siswa </p> 

     <p align="justify" class="style20"> <a href="lihat_nilai.php"><< Kembali</a>      <p align="justify" class="style20"> </p> 

  <table    border="1" bordercolor="#CCFF33">          <tr>                <td bgcolor="#FFFF99"><span class="style38">id</span></td>                <td bgcolor="#FFFF99"><span class="style38">NIS</span></td> 

  <td    bgcolor="#FFFF99"><span class="style38">Nama</span></td> 

  <td    bgcolor="#FFFF99"><span class="style38">Kelas</span></td>                 <td bgcolor="#FFFF99"><span class="style38">AGM</span></td>                 <td bgcolor="#FFFF99"><span class="style38">PKN</span></td>                   <td bgcolor="#FFFF99"><span class="style38">IND</span></td> 

                   <td bgcolor="#FFFF99"><span class="style38">ING</span></td>                   <td bgcolor="#FFFF99"><span class="style38">MM</span></td>                  <td bgcolor="#FFFF99"><span class="style38">IPA</span></td>                  <td bgcolor="#FFFF99"><span class="style38">IPS</span></td>                  <td bgcolor="#FFFF99"><span class="style38">SBD</span></td>                  <td bgcolor="#FFFF99"><span class="style38">PJK</span></td>                  <td bgcolor="#FFFF99"><span class="style38">TIK</span></td>                  <td bgcolor="#FFFF99"><span class="style38">BOGA</span></td>                  <td bgcolor="#FFFF99"><span class="style38">Semester</span></td>                  </tr>                 <?php do { ?>                  <tr>                              <td><span class="style5"><?php echo $row_tugas['id']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['NIS']; ?></span></td> 

  <td><span      class="style5"><?php echo $row_tugas['Nama']; ?></span></td> 

  <td><span      class="style5"><?php echo $row_tugas['Kelas']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['AGM']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['PKN']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['IND']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['ING']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['MM']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['IPA']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['IPS']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['SBD']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['PJK']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['TIK']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['BOGA']; ?></span></td>                              <td><span class="style5"><?php echo $row_tugas['Semester'];  ?></span></td>

                              </tr>                            <?php } while ($row_tugas = mysql_fetch_assoc($tugas)); ?>  </table>

                          <p align="justify" class="style20"><br />  <div

   align="center">  <p><span

   class="style32"><br />  <span

   class="style36">Copyright © Rafiani Reysah</span></span></p>   <p><span class="style36">S1 EKSTENSI ILMU KOMPUTER UNIVERSITAS SUMATERA UTARA  </span><br

   />  </p>  </body>

    </html>

    <?php

    mysql_free_result($tugas);  

  ?>  

  Nuh1_siswa.php

  <?php  require_once('../Connections/konek.php'); ?> 

  <?php   mysql_select_db($database_konek,

   $konek);  $query_nuh1=

   "SELECT * FROM  siswa A, nuh_1 B WHERE A.NIS=B.NIS ORDER BY id ASC"; 

  $nuh1=  mysql_query($query_nuh1, $konek) or die(mysql_error()); 

  $row_nuh1  = mysql_fetch_assoc($nuh1); 

  $totalRows_nuh1=  mysql_num_rows($nuh1); 

  ?>

   

  <html  ns="http://www.w3.org/1999/xhtml"> 

  <head>  

  <title>SMPN  </title> 

  <meta  http‐equiv="Content‐Type" content="text/html; charset=iso‐8859‐1"/> 

  <style  type="text/css"> 

  </head>  

  <body>         

  <div  id="headerLeftColumn"><img src="images/IMG_2327.JPG" width="300" height="170" 

  /></div>  

  <p  align="justify" class="style20 style41"> Daftar Nilai Ulangan Harian 1 Siswa </p> 

     <p align="justify" class="style20"> <a href="lihat_nilai.php"><< Kembali</a>   <p

   align="justify" class="style20"> </p>  <table

     border="1" bordercolor="#CCFF33">          <tr>                <td bgcolor="#FFFF99"><span class="style38">id</span></td>                <td bgcolor="#FFFF99"><span class="style38">NIS</span></td> 

  <td    bgcolor="#FFFF99"><span class="style38">Nama</span></td> 

  <td    bgcolor="#FFFF99"><span class="style38">Kelas</span></td>                 <td bgcolor="#FFFF99"><span class="style38">AGM</span></td>                 <td bgcolor="#FFFF99"><span class="style38">PKN</span></td>                   <td bgcolor="#FFFF99"><span class="style38">IND</span></td>                   <td bgcolor="#FFFF99"><span class="style38">ING</span></td>                   <td bgcolor="#FFFF99"><span class="style38">MM</span></td>                  <td bgcolor="#FFFF99"><span class="style38">IPA</span></td>                  <td bgcolor="#FFFF99"><span class="style38">IPS</span></td>                  <td bgcolor="#FFFF99"><span class="style38">SBD</span></td>                  <td bgcolor="#FFFF99"><span class="style38">PJK</span></td>                  <td bgcolor="#FFFF99"><span class="style38">TIK</span></td>                  <td bgcolor="#FFFF99"><span class="style38">BOGA</span></td>                  <td bgcolor="#FFFF99"><span class="style38">Semester</span></td>                  </tr>                 <?php do { ?>                  <tr>                              <td><span class="style5"><?php echo $row_nuh1['id']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['NIS']; ?></span></td> 

  <td><span      class="style5"><?php echo $row_nuh1['Nama']; ?></span></td> 

  <td><span      class="style5"><?php echo $row_nuh1['Kelas']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['AGM']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['PKN']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['IND']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['ING']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['MM']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['IPA']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['IPS']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['SBD']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['PJK']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['TIK']; ?></span></td> 

                              <td><span class="style5"><?php echo $row_nuh1['BOGA']; ?></span></td>                              <td><span class="style5"><?php echo $row_nuh1['Semester'];  ?></span></td>

                              </tr>                            <?php } while ($row_nuh1 = mysql_fetch_assoc($nuh1)); ?>  </table>

                          <p align="justify" class="style20"><br />  <div

   align="center">  <p><span

   class="style32"><br />  <span

   class="style36">Copyright © Rafiani Reysah</span></span></p>   <p><span class="style36">S1 EKSTENSI ILMU KOMPUTER UNIVERSITAS SUMATERA UTARA  </span><br

   />  </p>  </body>

    </html>

    <?php

    mysql_free_result($nuh1);  

  ?>  

     

  Nuts_siswa.php

  <?php  require_once('../Connections/konek.php'); ?> 

  <?php   mysql_select_db($database_konek,

   $konek);  $query_nuts=

   "SELECT * FROM  siswa A, uts  B WHERE A.NIS=B.NIS ORDER BY id ASC";  $nuts=

   mysql_query($query_nuts, $konek) or die(mysql_error());  $row_nuts=

   mysql_fetch_assoc($nuts);  $totalRows_nuts=

   mysql_num_rows($nuts);  ?>

   

  <html  ns="http://www.w3.org/1999/xhtml"> 

  <head>  

  <title>SMPN  </title> 

  <meta  http‐equiv="Content‐Type" content="text/html; charset=iso‐8859‐1"/> 

  <style  type="text/css"> 

  </head>  

  <body>         

  <div  id="headerLeftColumn"><img src="images/IMG_2327.JPG" width="300" height="170" 

  /></div>  

  <p  align="justify" class="style20 style41"> Daftar Nilai Ulangan Tengah Semester Siswa </p> 

     <p align="justify" class="style20"> <a href="lihat_nilai.php"><< Kembali</a>   <p

   align="justify" class="style20"> </p>  <table

     border="1" bordercolor="#CCFF33">          <tr>                <td bgcolor="#FFFF99"><span class="style38">id</span></td>                <td bgcolor="#FFFF99"><span class="style38">NIS</span></td> 

  <td    bgcolor="#FFFF99"><span class="style38">Nama</span></td> 

  <td    bgcolor="#FFFF99"><span class="style38">Kelas</span></td>                 <td bgcolor="#FFFF99"><span class="style38">AGM</span></td>                 <td bgcolor="#FFFF99"><span class="style38">PKN</span></td>                   <td bgcolor="#FFFF99"><span class="style38">IND</span></td>                   <td bgcolor="#FFFF99"><span class="style38">ING</span></td>