Pada script di atas menjelaskan : Setelah user peserta memasukan username dan password dengan benar maka
akan masuk ke dalam menu utama yang telah di sediakan.
4.2.2. Proses Bisnis DFD no 2 Proses Input Event
Pada script ini menjelaskan tentang user peserta yang sudah login dan masuk ke dalam menu utama lalu mulai memilih detail sebuah event. Seperti pada
tabel 4.2 dan tampilan script sebagai berikut :
Tabel 4.2 Script Proses Input Event
?php require..koneksidbconfig.php;
include ..includesession.php; ?
DOCTYPE html PUBLIC -W3CDTD XHTML 1.0 TransitionalEN http:www.w3.orgTRxhtml1DTDxhtml1-transitional.dtd
html xmlns=http:www.w3.org1999xhtml head
meta http-equiv=Content-Type content=texthtml; charset=iso- 8859-1
title
?php include ..title.php?title head
style type=textcss --
A:link {text-decoration: none} A:visited {text-decoration: none}
A:active {text-decoration: none} --
style style type=textcss
A:link {color: 000;} A:visited {color: 0066CC;}
A:hover {color: 0099FF;} style
link rel=stylesheet href=..csslayout.css type=textcss link rel=stylesheet href=..cssmain.css type=textcss
link rel=stylesheet href=..cssling.css type=textcss script type=textjavascript src=jsjquery-1.4.jsscript
script type=textjavascript src=jsjquery.watermark.min.jsscript
script type=textjavascript document.readyfunction {
cari_event.watermarkCari Event ...; username.watermarkUsername ...;
password.watermarkPassword ...; };
script
script type=textjavascript src=jscriptstiny_mcetiny_mce.jsscript
script type=textjavascript tinyMCE.init{
mode : textareas, theme : advanced,
plugins : safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,em
otions,iespell,inlinepopups,insertdatetime,preview,media,searchrep lace,print,contextmenu,paste,directionality,fullscreen,noneditable
,visualchars,nonbreaking,xhtmlxtras,template,wordcount,
Theme options theme_advanced_buttons1 :
bold,italic,underline,strikethrough,|,justifyleft,justifycenter,j ustifyright,justifyfull,styleselect,formatselect,fontselect,fontsi
zeselect, };
script body-- awal bingkai--
br div id=bingkai_all_event
-- awal atas -- div id=atas_e
div id=atas2 ?php include header.php?
div div id=atas3div
div id=atas4 ?php include menu.php?
div div--akhir atas --
--akhir kiri -- div id=kiri_e
div id=kiri2_e br
blockquote h2 style=font-family:Verdana, Arial, Helvetica, sans-
serifDetail Eventhr h2 br
font face=celibri, Arial, Helvetica, sans-serif size=2 style=font-weight:bold
table width=567 border=0 cellpadding=5 cellspacing=1
?php id_event = _GET[id_event];
tampil=mysql_queryselect from event where id_event = id_event;
no = 1;
r=mysql_fetch_arraytampil; ?
tr tdh2?php echo r[event] ?h2tdtr tr td?php echo r[keterangan] ?tdtr
tr td?php echo r[tanggal] ?tdtr tr tdnbsp;tdtr
tr td ?php
id_user = _SESSION[id_user]; id_event = data[id_event];
query2 = SELECT FROM apply where id_user = id_user and id_event = id_event;
hasil2 = mysql_queryquery2; ketemu=mysql_num_rowshasil2;
data2 = mysql_fetch_arrayhasil2; id_user2 = data2[1];
id_apply = data2[id_apply]; id_event2 = data2[id_event];
ifid_event == id_event2 and id_user == id_user2{
ifketemu 0{ ?
a href=proses_batal.php?id_apply=?php echo
id_apply?id_event=?php echo id_event?Batalkana br
?php echo id_apply;
echo br; echo id_user2;
echo br; echo id_event2;
break; }else {
? ?php
echo id_user; echo br;
echo id_user2; echo br;
echo id_event; echo br;
echo id_event2; ?
a href=proses_apply.php?id_event=?php echo id_event;?Apply
Nowa ?php
} ?
tdtr ?php
?
table font
blockquote div
div--akhir kiri -- -- awal tengah --
-- akhir tengah -- -- awal kanan --
-- akhir kanan -- -- awal bawah --
div -- akhir bingkai --
br br
body html
4.2.3 Proses Bisnis DFD no 3 Proses Upload Event