blockquote font div
div--akhir kiri --
-- awal tengah -- -- akhir tengah --
-- awal kanan -- -- akhir kanan --
-- awal bawah -- div
-- akhir bingkai -- br
br body
html
4.2.6 Proses Bisnis DFD no 6 Proses SMS
Pada script ini menjelaskan tentang admin yang akan memproses sms yang akan dikirimkan kepada user peserta dengan menggunakan sms gateway yang memakai
aplikasi gammu. Seperti tabel 4.6 berikut :
Tabel 4.6 Script Proses SMS
?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
link rel=stylesheet href=..csslayout.css type=textcss link rel=stylesheet href=..cssmain.css type=textcss
script type=textjavascript src=..jsjquery- 1.4.jsscript
script type=textjavascript document.readyfunction {
karakter.keyupfunction { var len = this.value.length;
if len = 160 { this.value = this.value.substring0, 160;
} hitung.text160 - len;
}; };
script 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: 000;}
A:hover {color: 0099FF;} style
body-- awal bingkai-- br
div id=bingkai_e -- awal atas --
div id=atas_e div id=atas2
?php include header.php? div
div id=atas4 ?php include menu.php?
div div--akhir atas --
--akhir kiri -- div id=kiri_e
div id=kiri2_e br
br font face=celibri, Arial, Helvetica, sans-serif
size=2 br
blockquote font face=celibri, Arial, Helvetica, sans-serif
size=2
bSMSb
hr width=400 align=left size=5 color=orange br
br br
form method=post action=kelola_sms.php?op=send
table
tr valign=toptdPesan SMS Max. 160 karaktertdtd:tdtd
textarea name=pesan rows=10 cols=50 id=karaktertextarea
br span id=hitung160span Karakter Tersisa
tdtr trtdtdtdtdtdnbsp;tdtr
trtdtdtdtdtdinput type=submit name=submit value=Kirim SMStdtr
table form
?php
if isset_GET[op] {
if _GET[op] == send {
include..koneksidbconfig.php;
tampil=mysql_queryselect from user where status = Peserta order by id_user;
ketemu=mysql_num_rowstampil;
whiler=mysql_fetch_arraytampil{
nohp2 = r[no_tlp]; echo br;
echo ketemu; echo br;
echo nohp2;
include koneksi.php; nohp = nohp2;
modem = _POST[modem]; modem = modem2;
pesan = _POST[pesan]; query = INSERT INTO outbox
DestinationNumber, SenderID, TextDecoded, CreatorID VALUES nohp, sms, pesan, Gammu 1.28.90;
hasil = mysql_queryquery; if hasil{
echo pSMS dalam proses pengirimanp;
echo br; }else{ echo pPengiriman SMS
gagalp; echo br;
}
} if hasil{
echo pSMS Berhasil dikirimp; echo br;
}else{ echo pPengiriman SMS gagalp;
echo br; }
} }
? font
blockquote font div
div--akhir kiri --
-- awal tengah -- -- akhir tengah --
-- awal kanan -- -- akhir kanan --
-- awal bawah -- div
-- akhir bingkai -- br
br body
html
4.2.7 Proses Bisnis DFD no 7 Proses Data Event