2. File Indek (index.php) - Aplikasi Try Out Snmptn Online Berbasis Web Dengan Menggunakan PHP Dan MYSQL
LAMPIRAN LISTING PROGRAM WEBSITE
1. File koneksi (include/koneksi.php)
<?php session_start(); $con = mysql_connect ("localhost","root",""); mysql_select_db("to_snmptn"); ?>
2. File Indek (index.php)
<?php if(isset($_GET['act'])){ if($_GET['act'] == 'cara'){ include'cara.php';} elseif($_GET['act'] == 'ptn'){ if($_GET['wil'] == 1){ header("location:ptn.php?wil=1");} elseif($_GET['wil'] == 2){header("location:ptn.php?wil=2"); } elseif($_GET['wil'] == 3){header("location:ptn.php?wil=3"); } else{ include'home.php';} } elseif($_GET['act'] == 'penilaian'){ include'penilaian.php';} elseif($_GET['act'] == 'pengumuman'){ include'pengumuman.php';} elseif($_GET['act'] == 'kontak'){include'kontak.php';} elseif($_GET['act'] == 'tentang'){include'tentang.php';} else{ include'home.php';} }else{ include'home.php';} ?>
3. File Beranda (home.php)
<?php include'include/koneksi.php'; if(isset($_SESSION['signed_in'])){ if($_SESSION['signed_in'] == true) { header ("location:user/home.php"); } }else{?> <title>TO ONLINE : Beranda</title> <link rel="shortcut icon" href="icon/nav.png"> <link rel="stylesheet" href="css/pagestyle.css" type="text/css"> <body background="icon/logo.jpg"> <center><div id="content" align="center"> <div id="head"></div><hr> <div id="btn_menu" align="left"> <?php include 'menu.php';?> </div> <div id="body"><hr> <table border="0" width="900px" height="330px"> <tr> <td width="650px" align="center" valign="middle"> <?php include 'slide.php';?> </td> <td width="250px" align="center"> <div id="form1"> <table border="0" width="250px" cellpadding="2"><tr> <form method="POST" action="user/login.php"> <td colspan="3" align="center"><hr> <font face="Trebuchet MS, Arial, Helvetica, sans-serif"> <strong>Silahkan Login!</strong> </font> <hr></td></tr> <tr><td colspan="3"> <?php if(!isset($_GET['pesan'])){ } else { $pesan = $_GET['pesan']; $bgpesan = "FF0000"; if($pesan == 1){$pesan = "Data Login tidak boleh kosong"; } elseif($pesan == 2) { $pesan = "User ID atau Password tidak sesuai"; }
elseif($pesan == 3) { $pesan = "Anda Harus Login terlebih dahulu"; } elseif($pesan == "logout") { $pesan = "Anda Berhasil Log Out"; $bgpesan = "00FF00"; } elseif($pesan == "update") { $pesan = "Profil tersimpan, silahkan login kembali"; $bgpesan = "00FF00"; } else { $pesan = "Silahkan Login dengan benar..";} ?> <div style="background-color:<?php echo $bgpesan;?>" align="center"> <font color="#FFFFFF"><?php echo $pesan;?></font> </div> <?php }?> </td></tr> <tr><td> User ID</td><td>:</td><td> <input type="text" name="user_id" /> </td></tr><tr><td> Password</td><td>:</td><td> <input type="password" name="pass" /> </td></tr><tr><td colspan="3" align="center"> <button type="submit" name="login"><b>Login</b></button> <button type="reset" name="reset"><b>Reset</b></button> </td></tr> </form> <tr><td colspan="3" align="center"> Belum punya akun? Daftar <a href="register.php">disini!</a><br><br> Lupa password? Klik <a href="re-password.php">disini!</a> </td> </tr> <tr><td colspan="3" height="180px"></tr> </table> </div> </td> </tr> </table> </div> <div id="foot"><p><hr><strong><font id="tfoot">Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi</font></strong></p></div> </div> </center> <div id="teks_jalan"><font id="teks_jln"> <marquee> ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ </marquee> </font></div></div> <?php } ?>
4. File Daftar PTN (ptn.php)
<?php include'include/koneksi.php'; if(isset($_SESSION['signed_in'])){ if($_SESSION['signed_in'] == true) {header ("location:user/home.php"); } }else{ ?> <title>TO ONLINE : Daftar PTN</title> <link rel="shortcut icon" href="icon/nav.png"> <link rel="stylesheet" href="css/pagestyle.css" type="text/css" /> <link href="css/menutab.css" rel="stylesheet" type="text/css"> <script src="js/menutab.js" type="text/javascript"></script> <body background="icon/logo.jpg"> <center> <div id="content" align="center"> <div id="head"></div><hr> <div id="btn_menu" align="left"> <?php include 'menu.php';?> </div> <hr> <div id="pbody" style="height:auto;"> <table border="0" width="850px" height="auto"> <tr> <td colspan="2" align="center"> <font face="MS Serif, New York, serif" color="#0000FF"><b> <hr>Universitas Peserta Try Out Online Wilayah
<?php if(($_GET['wil']) < 1 or ($_GET['wil']) > 3){ echo "1, 2 dan 3"; } else { echo $_GET['wil']; } ?> <hr></b></font></td> </tr> <tr> <td width="400" valign="top"> <?php if(!isset($_GET['wil'])){$sql="select * from tbl_ptn";} elseif($_GET['wil'] < 1 || $_GET['wil'] > 3){$sql="select * from tbl_ptn"; } else { $sql="select * from tbl_ptn where wil_ptn=".$_GET['wil']."";} $hasil = mysql_query($sql); if($hasil){ ?> <table border="0" cellpadding="3" width="400"> <tr bgcolor="#33CC99"> <th align="center"><font color="#FFFFFF">NO</font></th> <th align="center"><font color="#FFFFFF">Kode PTN</font></th> <th align="center"><font color="#FFFFFF">Nama Universitas</font></th> <th align="center"><font color="#FFFFFF">Logo</font></th> </tr> <tr><td colspan="4"><hr></td></tr> <?php $no=1; while($row = mysql_fetch_array($hasil)){ if($no % 2 ==0) { if(isset($_GET['kode']) and $_GET['kode']==$row['kode_ptn']){ $clr="#33CC99"; }else{ $clr = "#CCCCAA";} }else { if(isset($_GET['kode'])and $_GET['kode']==$row['kode_ptn']){ $clr="#33CC99"; }else{ $clr = "#CCCCFF";} }?> <tr bgcolor="<?php echo $clr;?>"> <td align="center"><?php echo $no; ?></td> <td align="center"><?php echo $row['kode_ptn']; ?></td> <td><a href="ptn.php?wil=<?php echo $_GET['wil']; ?>&kode=<?php echo $row['kode_ptn'];?>"><font color="#000099"><?php echo $row['nama_ptn']; ?></font></a><br><i><?php echo $row['link_ptn']; ?></i></td align="center"> <td><img src="img/<?php echo $row['logo_ptn']; ?>" width="40" height="40" title="<?php echo $row['nama_ptn']; ?>"></td> </tr> <?php $no++; }?> </table> <?php }?> </td> <td valign="top"> <?php if(isset($_GET['kode'])){ ?> <div style="top:0px;"> <div id="menutab1" class="menutab" style="top:0px;"> <ul class="menutabTabGroup"> <li class="menutabTab" tabindex="0"> IPA </li> <li class="menutabTab" tabindex="0"> IPS </li> </ul> <div class="menutabContentGroup"> <div class="menutabContentxx"> <?php $kode = $_GET['kode']; $sql="select * from tbl_jur where gol_jur='ipa' && kode_ptn='".$kode."' order by passgrade desc"; $result= mysql_query($sql); if($result){ ?> <table border="0" cellpadding="3" width="430"> <th align="center"><font color="#FFFFFF">NO</font></th> <th align="center"><font color="#FFFFFF">Kode Jurusan</font></th> <th align="center"><font color="#FFFFFF">Nama Jurusan</font></th> <th align="center"><font color="#FFFFFF">Passing Grade</font></th> </tr> <tr><td colspan="4"><hr></td></tr> <?php $no=1; while($row=mysql_fetch_array($result)){ if($no % 2 ==0) { $clr = "#CCCCAA";} else { $clr = "#CCCCFF"; }?> <tr bgcolor="<?php echo $clr;?>"> <td align="center"><?php echo $no;?></td> <td align="center"><?php echo $row['kode_jur'];?></td> <td><?php echo $row['nama_jur'];?></td> <td align="center"><?php echo $row['passgrade'];?></td>
</tr> <?php $no++; } ?> </table> <?php } ?> </div> <div class="menutabContentxx"> <?php $kode = $_GET['kode']; $sql="select * from tbl_jur where gol_jur='ips' && kode_ptn='".$kode."' order by passgrade desc"; $result= mysql_query($sql); if($result){ ?> <table border="0" cellpadding="3" width="430"> <tr bgcolor="#33CC99"> <th align="center"><font color="#FFFFFF">NO</font></th> <th align="center"><font color="#FFFFFF">Kode Jurusan</font></th> <th align="center"><font color="#FFFFFF">Nama Jurusan</font></th> <th align="center"><font color="#FFFFFF">Passing Grade</font></th> </tr> <tr><td colspan="4"><hr></td></tr> <?php $no=1; while($row=mysql_fetch_array($result)){ if($no % 2 ==0) { $clr = "#CCCCAA";} else { $clr = "#CCCCFF"; } ?> <tr bgcolor="<?php echo $clr;?>"> <td align="center"><?php echo $no;?></td> <td align="center"><?php echo $row['kode_jur'];?></td> <td><?php echo $row['nama_jur'];?></td> <td align="center"><?php echo $row['passgrade'];?></td> </tr> <?php $no++; } ?> </table> <?php } ?> </div> </div> </div> <script type="text/javascript"> var menutab1 = new Spry.Widget.menutab("menutab1"); </script> </div><?php }?></td> </tr></table> </div> <div style="background-color:#CFC"></div> <div id="foot"><p><hr><strong><font id="tfoot">Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi</font></strong></p></div> </div> </center> <div id="teks_jalan"><font id="teks_jln"> <marquee> ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ </marquee> </font></div></div> <?php } ?>
5. File Tata Cara (cara.php)
<?php include'include/koneksi.php'; if(isset($_SESSION['signed_in'])){ if($_SESSION['signed_in'] == true){header ("location:user/home.php");} }else{?> <title>TO ONLINE : Tata cara</title> <link rel="shortcut icon" href="icon/nav.png"> <link rel="stylesheet" href="css/pagestyle.css" type="text/css" /> <body background="icon/logo.jpg"> <center> <div id="content" align="center"> <div id="head"></div><hr> <div id="btn_menu" align="left"><?php include 'menu.php';?> </div> <div id="body"><hr> <h3><font color="#666666">Tata cara pelaksanaan Try Out SNMPTN Online</font></h3><br>
<div style="background:url(icon/alur_to.png); height:525; width:766;"></div> </div> <div id="foot"><p><hr><strong><font id="tfoot">Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi</font></strong></p></div> </div> </center> <div id="teks_jalan"><font id="teks_jln"> <marquee> ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ </marquee> </font></div></div> <?php } ?>
6. File Penilaian (penilaian.php)
<?php include'include/koneksi.php'; if(isset($_SESSION['signed_in'])){ if($_SESSION['signed_in'] == true){header ("location:user/home.php");} }else{ ?> <title>TO ONLINE : Aturan Penilaian</title> <link rel="shortcut icon" href="icon/nav.png"> <link rel="stylesheet" href="css/pagestyle.css" type="text/css" /> <body background="icon/logo.jpg"> <center> <div id="content" align="center"> <div id="head"></div><hr> <div id="btn_menu" align="left"><?php include 'menu.php';?> </div> <div id="body"><hr> <h3><font color="#666666">Aturan Penilaian Try Out SNMPTN Online</font></h3><br> <table border="0" width="800px" height="330px"> <tr><th align="left" valign="top">SISTEM PENILAIAN SNMPTN</th></tr> <tr> <td valign="top"> <p style="text-align:justify;">Perlu dipahami bahwa penilaian dalam aplikasi try out ini diambil dari cara penilaian SNMPTN ujian tulis yang dinilai berdasarkan aturan, sebagai berikut :</p> <table width="380"> <tr> <td><li>Apabila jawaban Benar, maka bernilai</li></td><td>4 (empat)</td> </tr><tr> <td><li>Apabila jawaban salah, maka bernilai</li></td><td>-1 (minus satu)</td> </tr><tr> <td><li>Apabila tidak dijawab, maka bernilai</li></td><td>0 (nol)</td> </tr> </table> <p style="text-align:justify;"> Dengan aturan tersebut maka jangan menjawab asal-asalan atau menjawab tapi tidak yakin bahwa jawabannya benar. Carilah pertanyaan lain yang dapat dijawab dengan benar (lebih baik satu jawaban benar dari pada banyak menjawab tapi salah). Berikut ilustrasi jawaban dari dua orang peserta : </p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td rowspan="2" valign="top" width="73"><strong>Soal No.</strong></td> <td colspan="2" valign="top" width="113"><strong>Peserta A</strong></td> <td colspan="2" valign="top" width="123"><strong>Peserta B</strong></td> </tr><tr> <td valign="top" width="66">Jawaban</td> <td valign="top" width="47">Skor</td> <td valign="top" width="75">Jawaban</td> <td valign="top" width="47">Skor</td> </tr><tr> <td valign="top" width="73">1</td> <td valign="top" width="66">Benar</td> <td valign="top" width="47">4</td> <td valign="top" width="75">Benar</td> <td valign="top" width="47">4</td> </tr><tr> <td valign="top" width="73">2</td> <td valign="top" width="66">Benar</td> <td valign="top" width="47">4</td>
<td valign="top" width="75">Kosong</td> <td valign="top" width="47">0</td> </tr><tr> <td valign="top" width="73">3</td> <td valign="top" width="66">Salah</td> <td valign="top" width="47">-1</td> <td valign="top" width="75">Kosong</td> <td valign="top" width="47">0</td> </tr><tr> <td valign="top" width="73">4</td> <td valign="top" width="66">Salah</td> <td valign="top" width="47">-1</td> <td valign="top" width="75">Kosong</td> <td valign="top" width="47">0</td> </tr><tr> <td valign="top" width="73">5</td> <td valign="top" width="66">Salah</td> <td valign="top" width="47">-1</td> <td valign="top" width="75">Kosong</td> <td valign="top" width="47">0</td> </tr><tr> <td valign="top" width="73">6</td> <td valign="top" width="66">Salah</td> <td valign="top" width="47">-1</td> <td valign="top" width="75">Kosong</td> <td valign="top" width="47">0</td> </tr><tr> <td valign="top" width="73">7</td> <td valign="top" width="66">Salah</td> <td valign="top" width="47">-1</td> <td valign="top" width="75">Kosong</td> <td valign="top" width="47">0</td> </tr><tr> <td valign="top" width="73"><strong>Jumlah</strong></td> <td valign="top" width="66"></td> <td valign="top" width="47"><strong>3</strong></td> <td valign="top" width="75"></td> <td valign="top" width="47"><strong>4</strong></td> </tr> </table> <p style="text-align:justify;"> Dari ilustrasi di atas bahwa kita jangan terlalu bernafsu menjawab tapi tidak yakin jika jawaban kita benar. Walaupun peserta A mampu menjawab lebih banyak namun banyak yang jawabannya salah. (benar 2 dan salah 5) sehingga skor totalnya hanya 3. Oleh sebab itu jangan berspekulasi. Peserta B, walaupun hanya menjawab 1 benar, namun tidak bersepekulasi menjawab soal lainnya. sehingga skor totalnya 4 (lebih tinggi dari peserta A). Oleh sebab itu jawablah pertanyaan jika dianggap mampu menjawab dengan benar, lebih baik lewat dulu pertanyaan sulit. Jangan terbawa penasaran sehingga menghabiskan waktu untuk mengutak-ngatik soal dan jawaban. </p> </td></tr></table> </div> <div id="foot"><p><hr><strong><font id="tfoot">Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi</font></strong></p></div> </div> </center> <div id="teks_jalan"><font id="teks_jln"> <marquee> ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ </marquee> </font></div></div> <?php } ?>
7. File Pengumuman (pengumuman.php)
<?php include'include/koneksi.php'; if(isset($_SESSION['signed_in'])){ if($_SESSION['signed_in'] == true){header ("location:user/home.php");} }else{ ?> <title>TO ONLINE : Pengumuman TO</title>
<link rel="shortcut icon" href="icon/nav.png"> <link rel="stylesheet" href="css/pagestyle.css" type="text/css" /> <body background="icon/logo.jpg"> <center> <div id="content" align="center"> <div id="head"></div><hr> <div id="btn_menu" align="left"><?php include 'menu.php';?> </div> <div id="body"><hr> <center> <h3><font color="#666666">Tabel Pengumuman Hasil Try Out</font></h3> </center> <br> <table width="870px" cellpadding="3" cellspacing="3" bordercolor="#333333" bordercolordark="#000000"> <tr bgcolor="#009900"> <th width="30"><font color="#FFFFFF">No</font></th> <th width="150"><font color="#FFFFFF">Nama Peserta</font></th> <th width="50"><font color="#FFFFFF">Paket</font></th> <th width="50"><font color="#FFFFFF">TO ke</font></th> <th width="70"><font color="#FFFFFF">Keterangan</font></th> <th width="220"><font color="#FFFFFF">Jurusan</font></th> <th width="220"><font color="#FFFFFF">Universitas</font></th> <th width="220"><font color="#FFFFFF">PS (%)</font></th> </tr> <?php $i = 1; $i2 = 1; $cek=mysql_query("select * from tbl_hasil order by ps desc"); $nama = ""; while($row=mysql_fetch_array($cek)){ if($nama == $row['nama']){} else{ if($i % 2 == 0){$bg = "#555555"; } else {$bg = "#999999";} if($row['ket'] == 'LULUS'){ $bk = "#009900";} else { $bk = "";} ?> <tr bgcolor="<?php echo $bg;?>"> <td align="center"><font color="#FFFFFF"><?php echo $i;?></font></td> <td><font color="#FFFFFF"><?php echo $row['nama'];?></font></td> <td align="center" ><font color="#FFFFFF"><?php echo $row['paket'];?></font></td> <td align="center"><font color="#FFFFFF"><?php echo $row['to_ke'];?></font></td> <td align="center" bgcolor="<?php echo $bk;?>"> <font color="#FFFFFF"><?php echo $row['ket'];?></font></td> <td align="center"><font color="#FFFFFF"><?php echo $row['jur'];?></font></td> <td align="center"><font color="#FFFFFF"><?php echo $row['ptn'];?></font></td> <td align="center"><font color="#FFFFFF"><?php printf("%.2f",$row['ps']);?></font></td> </tr> <?php } $nama = $row['nama']; $i++; }?> <tr><td></td> <td colspan="6"><br> <font color="#FF0000" size="-1"><i>Tabel Pengumuman Hasil Try Out</i></font> </td></tr> </table> <br><br></div> <div id="foot"><p><hr><strong><font id="tfoot">Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi</font></strong></p></div> </div> </center> <div id="teks_jalan"><font id="teks_jln"> ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ </marquee> </font></div></div> <?php } ?>
8. File Tentang (tentang.php)
<title>TO ONLINE : Tentang</title> <link rel="shortcut icon" href="icon/nav.png"> <link rel="stylesheet" href="css/pagestyle.css" type="text/css" /> <body background="icon/logo.jpg">
<center> <div id="content" align="center"> <div id="head"></div><hr> <div id="btn_menu" align="left"><?php include 'menu.php';?> </div> <div id="body"><hr> <h3><font color="#666666">Tentang Aplikasi Try Out SNMPTN Online</font></h3><br> <table width="500px" cellpadding="3" cellspacing="3"> <tr><td colspan="4">&copy; 2013, Aplikasi Try Out SNMPTN Online</td></tr> <tr><td colspan="4">Designed & Created by:</td></tr> <tr><td width="50">&nbsp;</td> <td>Nama</td><td>:</td><td>Isnan Habibi Pulungan</td></tr> <tr><td width="50">&nbsp;</td> <td>Jurusan</td><td>:</td><td>D3 Teknik Informatika</td></tr> <tr><td width="50">&nbsp;</td> <td>Fakultas</td><td>:</td><td>Matematika dan Ilmu Pengetahuan Alam (MIPA)</td></tr> <tr><td width="50">&nbsp;</td> <td>Email</td><td>:</td><td>[email protected]</td></tr> </table> </div> <div id="foot"><p><hr><strong><font id="tfoot">Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi</font></strong></p></div> </div> </center> <div id="teks_jalan"><font id="teks_jln"> <marquee> ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ Selamat Datang di Aplikasi Try Out SNMPTN ONLINE ! ~ </marquee> </font></div></div>
9. Halaman Depan Peserta (User/home.php)
<?php include'../include/koneksi.php'; if($_SESSION['signed_in'] == false){ $pesan = 3; header ("location:../home.php?pesan=".$pesan.""); }else{ $_SESSION['to'] = "no"; $sql= mysql_query("select *from tbl_user where user_id='".$_SESSION['id']."'"); while($user = mysql_fetch_array($sql)){ $user_nama = $user['nama_user']; $user_foto = $user['foto']; $user_motto = $user['motto']; }?> <title><?php echo $user_nama;?> : Beranda</title> <link rel="shortcut icon" href="foto/<?php echo $user_foto;?>"> <link rel="stylesheet" href="../css/pagestyle.css" type="text/css" /> <body background="../icon/logo.jpg"> <center> <div id="content" align="center"> <div style="height:70px;"><?php include 'head.php'; ?></div><hr> <div id="pbody" style="height:auto;"> <table border="0" width="860px" height="550px"> <tr><td width="180px" rowspan="2" align="center"> <div style="top:opx; height:auto; width:180px"> <a href="profil.php" title="<?php echo $user_nama;?>"> <img src="foto/<?php echo $user_foto;?>" width="90px" height="120px" border="2"><br> <font face="MS Serif, New York, serif"> <b><?php echo $user_nama;?></b></font></a></div> <hr><div style="top:0px; height:auto;"> <?php include 'leftmenu.php';?> </div> </td> <td width="680px" height="50px" align="center"> <div><font face="MS Serif, New York, serif"> Hi, <b><?php echo $user_nama;?>!</b><br> Selamat Datang di Aplikasi Try Out SNMPTN Online </font> </div><hr>
</td> </tr><tr> <td widht="680px"> <div style="top:0px; height:400px;"> <table><tr><td > <img src="../img/indonesia.gif" title="Semangat Juang Putra Putri Indonesia" height="200" width="200"> </td><td> <font face="Comic Sans MS, cursive" color="#0033CC"> <h2><em>"<?php echo $user_motto;?>"</em></h2></font> </td> </tr></table> </div> </td></tr> </table> <hr></div> <div style="background-color:#CFC"></div> <div id="foot"><p><hr> <strong><font id="tfoot"> Copyright &copy; 2013 Aplikasi Try Out SNMPTN Online | Designed and Created by Isnan Habibi </font></strong> </p></div></div></center> <?php } ?>