elseifpesan == 3 { pesan = Anda Harus Login terlebih dahulu; } elseifpesan == logout { pesan = Anda Berhasil Log Out;
bgpesan = 00FF00; } elseifpesan == 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 }? tdtr
trtd User IDtdtd:tdtd input type=text name=user_id
tdtrtrtd Passwordtdtd:tdtd
input type=password name=pass tdtrtrtd colspan=3 align=center
button type=submit name=loginbLoginbbutton button type=reset name=resetbResetbbutton
tdtr form
trtd colspan=3 align=center Belum punya akun? Daftar a
href=register.phpdisiniabrbr Lupa password? Klik a href=re-password.phpdisinia
td tr
trtd colspan=3 height=180pxtr table
div td
tr table
div div id=footphrstrongfont id=tfootCopyright copy; 2013 Aplikasi Try
Out SNMPTN Online | Designed and Created by Isnan Habibifontstrongpdiv div
center div id=teks_jalanfont 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 fontdivdiv
?php } ?
4. File Daftar PTN ptn.php
?php includeincludekoneksi.php;
ifisset_SESSION[signed_in]{
if_SESSION[signed_in] == true {header location:userhome.php; }
}else{ ?
titleTO ONLINE : Daftar PTNtitle link rel=shortcut icon href=iconnav.png
link rel=stylesheet href=csspagestyle.css type=textcss link href=cssmenutab.css rel=stylesheet type=textcss
script src=jsmenutab.js type=textjavascriptscript body background=iconlogo.jpg
center div id=content align=center
div id=headdivhr 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=0000FFb hrUniversitas Peserta Try Out Online Wilayah
Universitas Sumatera Utara
?php if_GET[wil] 1 or _GET[wil] 3{ echo 1, 2 dan 3; } else { echo _GET[wil];
} ?
hrbfonttd tr tr td width=400 valign=top
?php ifisset_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_querysql; ifhasil{
? table border=0 cellpadding=3 width=400
tr bgcolor=33CC99 th align=centerfont color=FFFFFFNOfontth
th align=centerfont color=FFFFFFKode PTNfontth th align=centerfont color=FFFFFFNama Universitasfontth
th align=centerfont color=FFFFFFLogofontth tr
trtd colspan=4hrtdtr ?php
no=1; whilerow = mysql_fetch_arrayhasil{
ifno 2 ==0 { ifisset_GET[kode] and _GET[kode]==row[kode_ptn]{
clr=33CC99; }else{ clr = CCCCAA;}
}else { ifisset_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
tda href=ptn.php?wil=?php echo _GET[wil]; ?kode=?php echo row[kode_ptn];?font color=000099?php echo row[nama_ptn];
?fontabri?php echo row[link_ptn]; ?itd align=center tdimg 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 ifisset_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_querysql; ifresult{ ?
table border=0 cellpadding=3 width=430 tr bgcolor=33CC99
th align=centerfont color=FFFFFFNOfontth th align=centerfont color=FFFFFFKode Jurusanfontth
th align=centerfont color=FFFFFFNama Jurusanfontth th align=centerfont color=FFFFFFPassing Gradefontth
tr trtd colspan=4hrtdtr
?php no=1; whilerow=mysql_fetch_arrayresult{
ifno 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
Universitas Sumatera Utara
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_querysql;
ifresult{ ? table border=0 cellpadding=3 width=430
tr bgcolor=33CC99 th align=centerfont color=FFFFFFNOfontth
th align=centerfont color=FFFFFFKode Jurusanfontth th align=centerfont color=FFFFFFNama Jurusanfontth
th align=centerfont color=FFFFFFPassing Gradefontth tr
trtd colspan=4hrtdtr
?php no=1;
whilerow=mysql_fetch_arrayresult{ ifno 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=textjavascript
var menutab1 = new Spry.Widget.menutabmenutab1; script
div?php }?td
trtable div
div style=background-color:CFCdiv div id=footphrstrongfont id=tfootCopyright copy; 2013 Aplikasi Try
Out SNMPTN Online | Designed and Created by Isnan Habibifontstrongpdiv div
center div id=teks_jalanfont 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 fontdivdiv
?php } ?
5. File Tata Cara cara.php