Tampilan Utama Web Server

Lampiran Tampilan Utama Web Server Index.php

  <?php if (!isset($_SESSION)) { session_start(); } ?> <body> <div align="center"><tr> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#0099FF"> <tr> <td align="center"><table width="70%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#0099FF"> <td width="26%"> </td> <td width="32%"> </td> <td width="42%"> </td> </tr> <tr bgcolor="#000099"> <td colspan="3"><p><img src="images/top.png" width="900" height="100"></p> </td> </tr> <tr bgcolor="#00FFFF"> <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%" height="23"><div align="center"><a href="index.php" class="style2">Home</a></div></td> <td width="32%"><div align="center"><a href="smsmanager.php" class="style2">Sms Manager</a> </div></td> <td width="30%"><div align="center"><a href="usermanager.php" class="style2">User Manager</a> </div> <div align="center"><a href="report.php" class="style2"></a></div></td> <td>

  <div align="center">

  </div></td> </tr> </table></td> </tr> <tr bgcolor="#99FF99"> <td bgcolor="#CCFFFF"></td> <td bgcolor="#CCFFFF"> </td> <td bgcolor="#CCFFFF"><div align="right"></div> <table width="100%" border="0"> <tr> <td width="73%"><div align="right">@2009</div></td> <td width="27%"><DIV id=waktu> </tr> </table></td> </tr> <tr bgcolor="#99FFFF"> <td height="375" align="center" valign="top"><table width="80%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#EBE9ED"> <tr> <td><div align="center"><span class="style2">Menu</span></div></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table></td> <td colspan="2"></td> </tr> <tr bgcolor="#000099"> <td colspan="3"><div align="center">Nana @ 2009 </div></td> </tr> <tr bgcolor="#0099FF"> <td> </td> <td> </td> <td> </td> </tr> </table></td> </tr> </table></div> </body> </html>

  Tampilan login Login.php

  <title>Login Form</title> <style type="text/css"> <!-- .style1 { font-family: "Comic Sans MS"; font-weight: bold;

  } .style3 {font-family: "Bauhaus 93"}

  • > </style> <table width="200" border="0" align="center" bgcolor="#0099FF"> <tr> <td><div align="center"> <form name="form1" method="post" action="login-exec.php">

  <table width="100%" border="0"> <tr> <td colspan="3"><div align="center" class="style1">Form Login </div></td> </tr> <tr> <td width="35%"> </td> <td width="30%"> </td> <td width="35%"> </td> </tr> <tr> <td><span class="style3">User</span></td> <td colspan="2"><label> <input name="user1" type="text" id="user" size="15"> </label></td> </tr> <tr> <td><span class="style3">Password</span></td> <td colspan="2"><label> <input name="password1" type="password" id="password" size="15"> </label></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr>

  <td><label></label></td> <td><input type="reset" name="Submit2" value="batal"></td> <td><label> <input type="submit" name="Submit" value="masuk"> </div></td> </tr> </table>

  Login-exec.php

  <title>Login Form</title> <style type="text/css"> <!-- .style1 { font-family: "Comic Sans MS"; font-weight: bold;

  } .style3 {font-family: "Bauhaus 93"}

  • > </style> <tr> <td><span class="style3">User</span></td> <td colspan="2"><label> <input name="user1" type="text" id="user" size="15">

  </label></td> </tr> <tr> <td><span class="style3">Password</span></td> <td colspan="2"><label> <input name="password1" type="password" id="password" size="15"> </label></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td><label></label></td> <td><input type="reset" name="Submit2" value="batal"></td> <td><label> <input type="submit" name="Submit" value="masuk"> </label></td> </tr> <tr> <td colspan="3"><div align="center"></div></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> </table> </form> </div></td> </tr> </table>

  Tampilan Penolakan Not.php

  <!-- .style1 {font-family: "Bauhaus 93"}

  • > </style> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head>

  <body> <h2 align="center" class="style1">MAAF ANDA TIDAK BERHAK MENGAKSES SITUS

  INI</h2> <h2 align="center" class="style1">Terimakasih Atas Perhatiannya </h2> </body> </html>

  Tampilan User Manager Sms manager

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ELEKTRO SMS Gateway</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px;

  } .style1 {font-family: "Comic Sans MS"} .style2 {font-family: "Bauhaus 93"}

  • > </style></head> <body> <div align="center"> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#0099FF"> <tr>

  <td align="center"><table width="70%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#0099FF"> <td width="26%"> </td> <td width="32%"> </td> <td width="42%"> </td> </tr> <tr bgcolor="#000099"> <td colspan="3"><p><img src="images/top.png" width="900" height="100"></p> </td> </tr> <tr bgcolor="#00FFFF"> <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%" height="23"><div align="center" class="style2"><a href="index.php" class="style2">Home</a></div></td> <td width="32%"><div align="center" class="style2"><a href="smsmanager.php" class="style2">Sms Manager</a> </div></td>

  <td width="30%"><div align="center" class="style2"><a href="usermanager.php" class="style2">User Manager</a> </div></td> <td width="0%"><div align="center" class="style2"><a href="report.php" class="style2"></a></div></td> <td width="0%"><span class="style2"></span></td> <td width="8%"><div align="right" class="style2"> <?php if (!empty($commonuser))

  { //echo "hello ,"; //echo ($commonuser); echo (" "); echo ('<a href=logoff.php>Logoff</a>'); } else { echo("<a href=login.php>Login</a>"); echo($commonuser); } ?>

  </div></td> <td width="4%"> </td> </tr> </table></td> </tr> </table></td> </tr> </table></div> </body> </html>

  Tampilan New SMS Newsms.php

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ELEKTRO SMS Gateway</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px;

  } .style2 {font-family: "Bauhaus 93"; }

  • > </style></head> <?php if (!empty($commonuser)) { //echo "hello ,"; //echo ($commonuser);

  echo (" "); echo ('<a href=logoff.php>Logoff</a>'); } else { echo("<a href=login.php>Login</a>"); echo($commonuser); } ?>

  </div> </div></td> <td width="2%"> </td> </tr> </table></td> </tr> <tr bgcolor="#99FF99"> <td bgcolor="#CCFFFF"></td>

  <td bgcolor="#CCFFFF"> </td> <td bgcolor="#CCFFFF"><div align="right"></div> <table width="100%" border="0"> <tr> <td width="73%"><div align="right">@2009</div></td> <td width="27%"><DIV id=waktu>

  <div align="right"><SCRIPT language=javascript> function jam() { var d = new Date(); document.getElementById("waktu").innerHTML = d.getHours() + ":" + d.getMinutes() + ":" + d.getSeconds() ; setTimeout("jam()", 1000);

  } jam(); </SCRIPT></div></div></td> </tr> </table></td> </tr> <tr bgcolor="#99FFFF"> <td height="375" align="center" valign="top" > <table width="80%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#EBE9ED"> <tr> <td><div align="center"><span class="style2">Menu</span></div></td> </tr> <tr> <td class="style1"><a href="newsms.php" class="style2">New SMS </a></td> </tr> <tr> <td class="style1"><a href="inbox.php" class="style2">Inbox</a></td> </tr> <tr> <td class="style1"><a href="outbox.php" class="style2">Outbox</a></td> </tr> <tr> <td class="style1"><a href="phonebook.php" class="style2">PhoneBook</a></td> </tr> <tr bgcolor="#000099"> <td colspan="3"><div align="center">Nana @ 2009 </div></td> </tr> <tr bgcolor="#0099FF"> <td> </td> <td> </td> <td> </td> </tr> </table></td> </tr> </table></div> </body> </html>

  Send-sms.php

  <style type="text/css"> <!-- .style1 {font-family: "Bauhaus 93"}

  • > </style> <span class="style1">No. HP Tujuan :</span> <input type="text" name="nohp"> <span class="style1">Pesan</span> : <textarea name="msg" cols="30" rows="5">Your message here . . .</textarea>

  <br> <input type="submit" name="submit" value="Kirim SMS"> </form>

  Send.php

  <?php mysql_connect("localhost", "root", ""); mysql_select_db("smsd"); $noTujuan = $_POST['nohp']; $message = $_POST['msg']; //echo ($noTujuan); //echo ($message); if ($hasil) echo "SMS berhasil dikirim "; else echo "SMS gagal dikirim"; echo( $query); header("Location:send-sms.php"); ?>

  Tampilan Inbox Inbox.php

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ELEKTRO SMS Gateway</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px;

  } .style2 {font-family: "Bauhaus 93"}

  • > </style></head> </table></td> </tr> <tr bgcolor="#99FFFF"> <td align="center" valign="top" height="375"> <table width="80%" border="0"

  cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#EBE9ED"> <tr> <td><div align="center"><span class="style2">Menu</span></div></td> </tr> <tr> <td class="style1"><a href="newsms.php" class="style2">New SMS </a></td> </tr> <tr> <td class="style1"><a href="inbox.php" class="style2">Inbox</a></td> </tr> <tr> <td class="style1"><a href="outbox.php" class="style2">Outbox</a></td> </tr> <tr> <td class="style1"><a href="phonebook.php" class="style2">PhoneBook</a></td> </tr>

  </table></td> <tr bgcolor="#000099"> <td colspan="3"><div align="center">Nana @ 2009 </div></td> </tr> <tr bgcolor="#0099FF"> <td> </td> <td> </td> <td> </td> </tr> </table></td> </tr> </table></div> </body> </html>

  Sms_read.php

  <meta http-equiv="refresh" content="10"> <html> <head> body {background-color: #CCCCFF} h1 {background-color: #FF8000} h1 {color: #000066} body { background-image: url(''); background-repeat: no-repeat; background-position: right; } {font-size: 10px} </style> </head> <body> <?php function mysql_timestamp_to_human($dt) //mysql timestamp to human readable {

  $yr=strval(substr($dt,0,4)); //year $mo=strval(substr($dt,4,2)); //month $da=strval(substr($dt,6,2)); //day $hr=strval(substr($dt,8,2)); //hour $mi=strval(substr($dt,10,2)); //minute //$se=strval(substr($dt,12,2)); //sec return date("d M Y H:i", mktime ($hr,$mi,0,$mo,$da,$yr)).""; //format of displayed date and time } ?> <?PHP mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database echo "<table border=1>"; //begin creation of table echo "<tr> <th>Date </th><th>Tel. Number</th> <th>Message</th> <th>Reply</th> <th>Deleted</></tr>"; //header of the table while($row = mysql_fetch_array( $result )) { //create variable row

  // Print out the contents of each row into a table echo "<tr><td>"; //begin of row and cell $d= $row['ReceivingDateTime']; //create variable for function at begin //echo mysql_timestamp_to_human($d); //paste normal date echo ($d); echo "</td><td>";// end and begin of cell echo $row['SenderNumber']; //show sender number echo "</td><td>"; //end and begin of cell echo $row['TextDecoded']; //show text of the message echo "</td>"; //end and begin of cell if($row['send']!='V'){ ?>

  <td align="center"><a href="sendinbox.php?no=<?php echo($row['ID']); ?> & send=<?php echo($row['send']); ?>"><font face="Bauhaus 93">X</ font></a> <?php }else{ ?> <td align="center"><a href="sendinbox.php?no=<?php echo($row['ID']); ?> & send=<?php echo($row['send']); ?>"><font face="Bauhaus 93">V</ font></a> echo "</tr></table>"; //end of table ?> <font face="Bauhaus 93">Send SMS to selected phone number : <br /> </font><br /> <textarea cols="50" rows="4" wrap="VIRTUAL" name="msg"> </textarea>  <input type="submit" value="Proses" /> </form> <br><br><br> </body> </html>

  Hapuslagi.php

  <?php // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database { $id=$row['ID']; if ($row['send']=="V") {

  $noTujuan = $row['SenderNumber']; $message = $_POST['msg'];

  } mysql_query("UPDATE inbox SET send='X' WHERE ID =$id"); if ($row['Hapus']=="V") { $qry = "DELETE FROM inbox WHERE ID='$id'" ; mysql_query($qry); }

  } } header("Location:sms_read.php"); ?>

  Sendinbox.php

  // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database if($send=='V'){ $qry = "UPDATE inbox SET send='X' WHERE ID='$id'" ; mysql_query($qry); }else{ $qry = "UPDATE inbox SET send='V' WHERE ID='$id'" ; mysql_query($qry); } ?>

  Hapusinbox.php

  // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database if($send=='V'){ $qry = "UPDATE inbox SET Hapus='X' WHERE ID='$id'" ; mysql_query($qry); }else{ $qry = "UPDATE inbox SET Hapus='V' WHERE ID='$id'" ; mysql_query($qry); }

  Tampilan Outbox Outbox.php

  <?php if (!isset($_SESSION)) { session_start(); } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ELEKTRO SMS Gateway</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- <?php if (!empty($commonuser))

  { //echo "hello ,"; //echo ($commonuser); echo (" "); echo ('<a href=logoff.php>Logoff</a>'); } else { echo("<a href=login.php>Login</a>"); echo($commonuser); } ?>

  </div> </div></td> <td width="2%"> </td> </tr> </table></td> </tr> <tr bgcolor="#99FF99"> <td bgcolor="#CCFFFF"></td> <td bgcolor="#CCFFFF"> </td> <td bgcolor="#CCFFFF"><div align="right"></div> <table width="100%" border="0"> <tr> <td width="73%"><div align="right">@2009</div></td> <td width="27%"><DIV id=waktu>

  </tr> </table></td> </tr> <tr bgcolor="#99FFFF"> <td height="375" align="center" valign="top"> <table width="80%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#EBE9ED"> <tr> <td><div align="center"><span class="style1">Menu</span></div></td> </tr> <tr> <td class="style1"><a href="newsms.php" class="style2">New SMS </a></td> </tr> <tr> <td class="style1"><a href="inbox.php" class="style2">Inbox</a></td> </tr> <tr> <td class="style1"><a href="outbox.php" class="style2">Outbox</a></td> </tr> <tr> <td class="style1"><a href="phonebook.php" class="style2">PhoneBook</a></td> </tr> </tr> <tr bgcolor="#000099"> <td colspan="3"><div align="center">Nana @ 2009 </div></td> </tr> <tr bgcolor="#0099FF"> <td> </td> <td> </td> <td> </td> </tr> </table></td> </tr> </table></div> </body> </html>

  Sms_sent.php

  <meta http-equiv="refresh" content="5"> <html> <head> body {background-color: #CCCCFF} h1 {background-color: #FF8000} h1 {color: #000066} body { background-image: url(''); background-repeat: no-repeat; background-position: right; } </style> </head> <body> <?php function mysql_timestamp_to_human($dt) //mysql timestamp to human readable {

  $yr=strval(substr($dt,0,4)); //year $mo=strval(substr($dt,4,2)); //month $da=strval(substr($dt,6,2)); //day $hr=strval(substr($dt,8,2)); //hour $mi=strval(substr($dt,10,2)); //minute //$se=strval(substr($dt,12,2)); //sec return date("d M Y H:i", mktime ($hr,$mi,0,$mo,$da,$yr)).""; //format of displayed date and time } mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database echo "<table border=1>"; //begin creation of table echo "<tr> <th>Date </th><th>Tel. Number</th> <th>Message</th> <th>Status</th> <th>Delete</th></tr>"; //header of the table while($row = mysql_fetch_array( $result )) { //create variable row

  // Print out the contents of each row into a table echo "<tr><font size='-4'><td>"; //begin of row and cell $d= $row['SendingDateTime']; //create variable for function at begin //echo mysql_timestamp_to_human($d); //paste normal date echo ($d); echo "</td><td>";// end and begin of cell echo $row['DestinationNumber']; //show sender number echo "</td><td>"; //end and begin of cell echo $row['TextDecoded']; //show text of the message echo "</td><td>"; //end and begin of cell echo $row['Status']; //show text of the message echo "</td>"; $c = $row['ID']; if($row['dihapus']!='V'){ ?>

  <td align="center"><a href="pilihdelete.php?no=<?php echo($row['ID']); ?> & send=<?php echo($row['dihapus']); ?>"><font face="Bauhaus 93">X</font ></a></td> <?php }else{ ?> <td align="center"><a href="pilihdelete.php?no=<?php echo($row['ID']); ?> & send=<?php echo($row['dihapus']); ?>"><font face="Bauhaus 93">V</font ></a></td> <?PHP }} echo "</tr></table>"; //end of table ?> <input type="submit" value="Proses" /> </form> <br><br><br> </body> </html>

  Hapusoutbox.php

  <?php // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database { if ($row['dihapus']=="V") {

  $qry = "DELETE FROM sentitems WHERE ID='$id'" ; mysql_query($qry); }

  Pilihdelete.php

  <?php $send = $_GET['send']; $id = $_GET['no']; // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database if($send=='V'){ $qry = "UPDATE sentitems SET dihapus='X' WHERE ID='$id'" ; mysql_query($qry); }else{ $qry = "UPDATE sentitems SET dihapus='V' WHERE ID='$id'" ; mysql_query($qry); } header("location:sms_sent.php"); ?>

  Phonebook.php

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ELEKTRO SMS Gateway</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- </tr> </table></td> </tr> <tr bgcolor="#99FFFF"> <td align="center" valign="top" height="375"> <table width="80%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#EBE9ED"> <tr> <td><div align="center"><span class="style1">Menu</span></div></td> </tr> <tr> <td class="style1"><a href="newsms.php" class="style2 style1">New SMS </a></td> </tr> <tr> <td class="style1"><a href="inbox.php" class="style2 style1">Inbox</a></td> </tr> <tr> <td class="style1"><a href="outbox.php" class="style2 style1">Outbox</a></td> </tr> <tr> <td class="style1"><a href="phonebook.php" class="style2 style1">PhoneBook</a></td> </tr> <tr bgcolor="#000099"> <td colspan="3"><div align="center">Nana @ 2009 </div></td> </tr> <tr bgcolor="#0099FF"> <td> </td> <td> </td> <td> </td> </tr> </table></td> </tr> </table></div> </body> </html>

  Pb.php

  <html> <head> </head> <body> <?php $id = $_GET['id']; // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database <td align="center">&nbsp<input type="hidden" name="id" value=""> </td> <td align="center"><input type="text" name="namabaru"></td> <td align="center"><input type="text" name="nomorbaru"></td> <td align="center"><input type="submit" value="Add Contact" /></td> <td align="center"><input type="hidden" name="id" value="<?php echo($row[no]); ?>"></td> <td align="center"><input type="text" name="namabaru" value="<?php echo($row[nama]); ?>"></td> <td align="center"><input type="text" name="nomorbaru" value="<?php echo($row[telp]); ?>"></td> <td align="center"><input type="submit" value="Update" /></td> <?php } ?> </tr> </form> <form action="sendpb.php" method="POST"> <tr> <?php if($row['send']!='V'){ ?> <td align="center"><a href="sendpbid.php?no=<?php echo($row['no']); ?> & send=<?php echo($row['send']); ?>"><font face="Bauhaus 93">X</font></a></td> <td align="center"><?php echo($row['nama']); ?></td> <td align="center"><?php echo($row['telp']); ?></td> <td align="center"> </tr> } } ?> </table> <br /> <br /> <font face="Bauhaus 93">Send SMS to selected phone number : <br /> </font><br /> <textarea cols="50" rows="4" wrap="VIRTUAL" name="msg"> Your message here . . .</textarea>  <input type="submit" value="Send" /> </form> </body> </html>

  Update.php

  // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database if($id==""){ $qry = "INSERT INTO phoneb (no, nama, telp)

  VALUES ('', '$namabaru', '$nomorbaru')" ; mysql_query($qry); } } ?>

  Sendpb.php

  <?php // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database { if ($row['send']=="V") {

  $noTujuan = $row['telp']; $message = $_POST['msg']; $query = "insert into outbox(InsertIntoDB,SendingDateTime,DestinationNumber,Coding,TextDecoded) values(NOW(),'TIME: Auto NOW()','$noTujuan','Default_No_Compression','$message')";

  $hasil = mysql_query($query); } mysql_query("UPDATE phoneb SET send='X' WHERE no=$id"); } ?>

  Sendpbid.php

  // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database if($send=='V'){ $qry = "UPDATE phoneb SET send='X' WHERE no='$id'" ; mysql_query($qry); }else{ $qry = "UPDATE phoneb SET send='V' WHERE no='$id'" ; mysql_query($qry); } ?>

  Tampilan UserManager Usermanager.php

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ELEKTRO SMS Gateway</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px;

  } .style1 {font-family: "Bauhaus 93"}

  • > </style></head> </tr> </table></td> </tr> <tr bgcolor="#99FFFF">

  <td height="375" align="center" valign="top"> <table width="80%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#EBE9ED"> <tr> <td><div align="center"><span class="style1">User Manager </span></div></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table></td> <tr bgcolor="#000099">

  <td colspan="3"><div align="center">Nana @ 2009 </div></td> </tr> <tr bgcolor="#0099FF"> <td> </td> <td> </td> <td> </td> </tr> </table></td> </tr> </table></div> </body> </html>

  Usermen.php

  <html> <head> <style type="text/css"> <!-- .style1 {font-family: "Bauhaus 93"}

  • > </style> </head> <body> // konek ke database // sesuaikan dengan konfigurasi database Anda

  mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database // menampilkan data phonebook dalam bentuk table <table border="1"> <tr> <td align="center" width="30px"><span class="style1">No.</span></td> <td align="center" width="100px"><span class="style1">Nama User </span></td> <td align="center" width="100px"><span class="style1">Password</span></td> <td align="center" width="100px"><span class="style1">Status</span></td> <td align="center" width="100px"><span class="style1">Edit/Delete</span></td> </tr> <td align="center"><input type="hidden" name="id" value=""></td> <td align="center"><input name="user" type="text" size="15"></td> <td align="center"><input type="text" name="password" size="15"></td>

  <td align="center"><input type="text" name="status" size="15"></td> <td align="center"><input type="submit" value="Add Contact" size="15"></td> <td align="center"><input type="hidden" name="id" value="<?php echo($row[id]); ?>"></td> <td align="center"><input type="text" name="user" value="<?php echo($row[user]); ?>" size="15"></td> <td align="center"><input type="password" name="password" value="<?php echo($row[password]); ?>" size="15"></td> <td align="center"><input type="text" name="status" value="<?php echo($row[status]); ?>" size="15"></td> <td align="center"><input type="submit" value="Update" /></td> <?php } <?php // Ambil data phonebook dari database //$sql = "SELECT * FROM phoneb"; //$qry = mysql_query($sql); $result = mysql_query("SELECT * FROM user"); while($row = mysql_fetch_array( $result )) { //while($row = mysql_fetch_array($qry)) { if($row['id']!=$id){ ?> </table> </body> </html>

  Updateau.php

  // konek ke database // sesuaikan dengan konfigurasi database Anda mysql_connect("localhost", "root", "") or die(mysql_error()); //connect to mysql mysql_select_db("smsd") or die(mysql_error()); //select database if($id==""){ $qry = "INSERT INTO user (id, user, password, status)

  VALUES ('', '$user', '$password','$status')" ; mysql_query($qry); } else { $qry = "UPDATE user SET user='$user', password='$password' , status='$status' WHERE id='$id'" ; mysql_query($qry); } ?> Konfigurasi Modem GSM Modem Kekuatan Besar(Heavy Duty) WAVECOM FASTRACK SUPREME WAVECOM FASTRACK Supreme GSM 900/1800 GPRS/GPS Class 10,AT Command Support.

  Connectivity stack. 7x24 ontime,Tahan tanpa dimatikan. Cocok untuk SMS Gateway, Fax Modem, GPRS/GPS, BROADCAST, Poling SMS, Content Provider, system ATM Bank, Alert System, SMS REminder Quiz Interactive TV, System Pulsa/Voucher Elektronik dll. Efisiensi perusahaan. WAVECOM FASTRACK Supreme Package: