A-1
LAMPIRAN A
LISTING PROGRAM
• Berita.html <?php include "inc.session.php"; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(../images/17.gif); } --> </style></head> <body>
A-2 <form id="form5" name="form5" method="post"
action="beritanewsim1.php"> <p> </p>
<p> </p> <p> </p>
<table width="414" border="1" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="31" colspan="2"><label></label> <div align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button23.swf" /> <param name="quality" value="high" />
<embed src="button23.swf" width="105" height="23" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
A-3 <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button24.swf" /> <param name="quality" value="high" />
<embed src="button24.swf" width="105" height="23" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button28.swf" /> <param name="quality" value="high" />
<embed src="button28.swf" width="105" height="23" quality="high"
A-4 gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object> </div></td> </tr>
<tr>
<td width="89" height="31"><strong>Oleh</strong></td> <td width="325"><input name="txtusername" type="text" id="txtusername" size="30" maxlength="30" /></td>
</tr> <tr>
<td height="78"><strong>Komentar </strong></td> <td><textarea name="txtisi" cols="45" rows="4" id="txtisi"></textarea></td>
</tr> <tr>
<td height="35" colspan="2" align="left"><label></label> <strong>
<input type="submit" name="Submit" value="Simpan" /> <label>
Belum ada user buat dulu di <a
href="FormDaftarUser.html">sini.</a></label> </strong>
A-5 <label> </label><div align="center"></div></td>
</tr> </table> <p> </p> </form> <p> </p> </body> </html> • Berita1.html <?php include "inc.session.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title> <style type="text/css">
<!-- body {
A-6 background-image: url(../images/17.gif); } --> </style></head> <body>
<form id="form5" name="form5" method="post" action="beritanewsim1.php">
<p> </p> <p> </p> <p> </p>
<table width="414" border="1" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="31" colspan="2"><label></label> <div align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button23.swf" /> <param name="quality" value="high" />
A-7 <embed src="button23.swf" width="105" height="23"
quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button24.swf" /> <param name="quality" value="high" />
<embed src="button24.swf" width="105" height="23" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
A-8 <param name="BGCOLOR" value="#66605B" />
<param name="movie" value="button28.swf" /> <param name="quality" value="high" />
<embed src="button28.swf" width="105" height="23" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object> </div></td> </tr>
<tr>
<td width="89" height="31"><strong>Oleh</strong></td> <td width="325"><input name="txtusername" type="text" id="txtusername" size="30" maxlength="30" /></td>
</tr> <tr>
<td height="78"><strong>Komentar </strong></td> <td><textarea name="txtisi" cols="45" rows="4" id="txtisi"></textarea></td>
</tr> <tr>
A-9 <strong>
<input type="submit" name="Submit" value="Simpan" /> <label>
Belum ada user buat dulu di <a
href="FormDaftarUser.html">sini.</a></label> </strong> <label> </label></td> </tr> </table> <p> </p> </form> <p> </p> </body> </html> • Berita2.html <?php include "inc.session.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
A-10 <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(../images/17.gif); } --> </style></head> <body>
<form id="form5" name="form5" method="post" action="beritanewsim2.php">
<p> </p> <p> </p> <p> </p>
<table width="414" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="31" colspan="2"><label></label> <div align="center">
A-11 <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button23.swf" /> <param name="quality" value="high" />
<embed src="button23.swf" width="105" height="23" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button24.swf" /> <param name="quality" value="high" />
<embed src="button24.swf" width="105" height="23" quality="high"
A-12 gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#66605B" /> <param name="movie" value="button28.swf" /> <param name="quality" value="high" />
<embed src="button28.swf" width="105" height="23" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#66605B" ></embed>
</object> </div></td> </tr>
<tr>
<td width="89" height="31"><strong>Oleh</strong></td> <td width="325"><input name="txtusername" type="text" id="txtusername" size="30" maxlength="30" /></td>
A-13 <tr>
<td height="78"><strong>Komentar </strong></td> <td><textarea name="txtisi" cols="45" rows="4" id="txtisi"></textarea></td>
</tr> <tr>
<td height="35" colspan="2" align="left"><label></label> <strong>
<input type="submit" name="Submit" value="Simpan" /> <label>
Belum ada user buat dulu di <a
href="FormDaftarUser.html">sini.</a></label> </strong> <label> </label></td> </tr> </table> <p> </p> </form> <p> </p> </body> </html> • FormDaftarUser.html
A-14 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(../images/17.gif); margin-top: 0px; } a:link { text-decoration: underline; } a:visited { text-decoration: underline; } a:hover { text-decoration: none; }
A-15 a:active { text-decoration: underline; } --> </style></head> <body>
<form id="form1" name="form1" method="post" action="insertdafteruser.php">
<p> </p> <p> </p> <p> </p>
<table width="870" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><map name="Map" id="Map24"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
A-16 <area shape="poly" coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map22"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map2"> <area shape="poly" coords="59,185,36,180,22,163,20,145,20,128,21,115,24,102,33,102,43,10 1,46,101,57,83,67,74,76,66,97,51,111,49,122,52,139,45,162,42,177,47,19 0,60,197,69,221,82,229,103,231,115,232,129,222,145,217,158,214,171,21 0,185,205,196,113,201,101,195,100,182,89,180" href="home.php" target="_self" /> </map>
A-17 <map name="Map" id="Map26">
<area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map27"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map28"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
A-18 </map>
<map name="Map" id="Map29"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map210"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map211"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157
A-19 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map212"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map213"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map214"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3
A-20 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map215"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map216"> <area shape="poly"
coords="63,146,40,141,26,124,24,106,24,89,25,76,28,63,37,63,47,62,50,6 2,61,44,71,35,80,27,101,12,115,10,126,13,143,6,166,3,181,8,194,21,201,3 0,225,43,233,64,235,76,236,90,226,106,221,119,218,132,214,146,209,157 ,117,162,105,156,104,143,93,141" href="file:///C|/Documents and
Settings/COMPAQ/My Documents/Rusly/home.php" target="_self" /> </map>
<map name="Map" id="Map217"> <area shape="poly"
A-21 3,65,45,75,36,84,28,105,13,119,11,130,14,147,7,170,4,185,9,198,22,205,3 1,229,44,237,65,239,77,240,91,230,107,225,120,222,133,218,147,213,158 ,121,163,109,157,108,144,97,142" href="file:///C|/Documents and Settings/COMPAQ/My Documents/Rusly/home.php" /> </map>
<map name="Map" id="Map25"> <area shape="poly"
coords="66,147,43,142,29,125,27,107,27,90,28,77,31,64,40,64,50,63,53,6 3,64,45,74,36,83,28,104,13,118,11,129,14,146,7,169,4,184,9,197,22,204,3 1,228,44,236,65,238,77,239,91,229,107,224,120,221,133,217,147,212,158 ,120,163,108,157,107,144,96,142" href="home.html" target="_self" /> </map> <table width="566" border="1" align="center"
cellpadding="2" cellspacing="1"> <tr>
<td height="44" colspan="2"><h3>Daftar Baru </h3></td> </tr>
<tr>
<td width="105"><strong>Username</strong></td> <td width="444"><label>
<input name="txtUser" type="text" id="txtUser" size="20" maxlength="18" />
</label></td> </tr>
A-22 <tr>
<td><strong>Password</strong></td> <td><label>
<input name="txtPassword" type="password" id="txtPassword" size="20" maxlength="18" /> </label></td> </tr> <tr> <td><strong>Email</strong></td> <td><label>
<input name="txtEmail" type="text" id="txtEmail" size="25" maxlength="15" /> </label></td> </tr> <tr> <td><strong>Nama</strong></td> <td><label>
<input name="txtNama" type="text" id="txtNama" size="25" maxlength="18" />
</label></td> </tr>
<tr>
A-23 <td><label>
<input name="txtAlamat" type="text" id="txtAlamat" size="40" maxlength="25" /> </label></td> </tr> <tr> <td><strong>Telepon</strong></td> <td><label>
<input name="txtTelepon" type="text" id="txtTelepon" size="18" maxlength="18" /> </label></td> </tr> <tr> <td> </td> <td><label>
<input type="submit" name="Submit" value="Submit" /> </label>
<label>
<input type="reset" name="Submit2" value="Reset" /> <a href="home.html">Click di sini untuk kembali ke home. </a></label></td>
</tr>
A-24 </tr> </table> <p> </p> </form> </body> </html> • Forum.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(../images/10c.jpg); } a:link { text-decoration: underline;
A-25 } a:visited { text-decoration: underline; } a:hover { text-decoration: none; } a:active { text-decoration: underline; } --> </style></head> <body>
<form id="form1" name="form1" method="post" action=""> <p> </p>
<table width="759" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" rowspan="2"
bgcolor="#CCCCCC"><h2><strong>Luna Forum</strong></h2></td> <td width="116" height="27" bgcolor="#CCCCCC"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
A-26 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="BGCOLOR" value="#CCCCCC" /> <param name="movie" value="button25.swf" /> <param name="quality" value="high" />
<embed src="button25.swf" width="105" height="23" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.c gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#CCCCCC" ></embed>
</object></td> </tr>
<tr>
<td width="116" height="27" bgcolor="#CCCCCC"><a href="adminedit.php">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=5,0,0,0" width="105" height="23">
<param name="movie" value="button26.swf" /> <param name="quality" value="high" />
<param name="bgcolor" value="#CCCCCC" /> <embed src="button26.swf" quality="high"
A-27 gi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="105" height="23" bgcolor="#CCCCCC"></embed> </object> </a></td> </tr> <tr> <td width="87" bgcolor="#CCCCCC"><div align="center"><strong>No.</strong></div></td> <td colspan="2" bgcolor="#CCCCCC"><div align="center"><strong>Judul</strong></div></td> <td height="30" bgcolor="#CCCCCC"> </td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>1.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Rumor seputar Luna online !!! </strong></td> <td height="30" bgcolor="#FFFFFF"><a href="beritanewsim.php"><strong>Selengkapnya</strong></a></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>2.</strong></div></td>
A-28 <td colspan="2" bgcolor="#FFFFFF"><strong>Para cheater Luna bersiaplah !!! </strong></td> <td height="30" bgcolor="#FFFFFF"><strong><a href="beritanewsim1.php">Selengkapnya</a></strong></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>3.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Panduan Quest untuk para pemula !!! </strong></td>
<td height="30" bgcolor="#FFFFFF"><strong><a href="beritanewsim2.php">Selengkapnya</a></strong></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>4.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Event Lucky Box 3rd </strong></td>
<td height="30" bgcolor="#FFFFFF"><a
href="beritanewsim3.php"><strong>Selengkapnya</strong></a></td> </tr>
A-29 <td bgcolor="#FFFFFF"><div
align="center"><strong>5.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Item Mall paling terbaru</strong></td> <td height="30" bgcolor="#FFFFFF"><a href="beritanewsim4.php"><strong>Selengkapnya</strong></a></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>6.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Event Update : Cute Pet </strong></td> <td height="30" bgcolor="#FFFFFF"><a href="beritanewsim5.php"><strong>Selengkapnya</strong></a></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>7.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Event Universal Coin </strong></td>
<td height="30" bgcolor="#FFFFFF"><a
href="beritanewsim6.php"><strong>Selengkapnya</strong></a></td> </tr>
A-30 <tr>
<td bgcolor="#FFFFFF"><div
align="center"><strong>8.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Pemenang Event Cute Hairstyle </strong></td> <td height="30" bgcolor="#FFFFFF"><a href="beritanewsim7.php"><strong>Selengkapnya</strong></a></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>9.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Warnet Event at Gliter.Net </strong></td> <td height="30" bgcolor="#FFFFFF"><a href="beritanewsim8.php"><strong>Selengkapnya</strong></a></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="center"><strong>10.</strong></div></td>
<td colspan="2" bgcolor="#FFFFFF"><strong>Download Manual Patch 2010 </strong></td>
<td height="30" bgcolor="#FFFFFF"><a
A-31 </tr> </table> <p> </p> <p> </p> </form> </body> </html> • Adminedit.php <?php include "inc.session.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title><style type="text/css"> <!--
A-32 background-image: url(../images/17.gif); } .style3 {color: #CCCCCC} a:link { text-decoration: underline; } a:visited { text-decoration: underline; } a:hover { text-decoration: none; } a:active { text-decoration: underline; } --> </style></head> <body>
<form action="admineditsim.php" method="post" name="form1" target="_self" id="form1">
<p> </p> <p> </p>
A-33 <p> </p>
<table width="400" border="1" align="center" cellpadding="2" cellspacing="1">
<tr>
<td colspan="2"><strong>Ubah Password </strong></td> </tr>
<tr>
<td><span class="style3">Username</span></td> <td><label>
<input name="txtusername" type="text" id="txtusername" size="30" maxlength="30" />
</label></td> </tr>
<tr>
<td><span class="style3">Password lama</span></td>
<td><input name="txtPassLama" type="password" id="txtPassLama" size="30" maxlength="30" /></td>
</tr> <tr>
<td><span class="style3">Password baru </span></td>
<td><input name="txtPassBaru" type="password" id="txtPassBaru" size="30" maxlength="30" /></td>
A-34 <tr>
<td><span class="style3"> Ketik Ulang </span></td> <td><label>
<input name="txtPassBaru2" type="password" id="txtPassBaru2" size="30" maxlength="30" />
</label></td> </tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Simpan" /> <input type="reset" name="Submit2" value="Reset" /> <a href="forum.html">Kembali ke forum</a> </td> </tr> </table> <p> </p> <p> </p> </form> </body> </html> • Admineditsim.php <?php include "inc.session.php";
A-35 $connect=mysql_connect("localhost","root","") or
die("Please check your server connection!"); mysql_select_db("lunaguide"); $txtusername = $_POST['txtusername']; $txtPassLama = $_POST['txtPassLama']; $txtPassBaru = $_POST['txtPassBaru']; $txtPassBaru2 = $_POST['txtPassBaru2']; if(trim($txtPassLama) == "") {
echo "<b>Password Lama</b> belum diisi, tolong diisi"; include "adminEdit.php";
}
else if (strlen(trim($txtPassBaru)) <= 4 ) {
echo "<b>Password Baru</b> minimal 6 digit, tolong diperbaiki"; include "adminEdit.php";
}
else if (trim($txtPassBaru) != trim($txtPassBaru2)) {
echo "<b>Password Baru</b> dan <b>Ketik Ulang</b> harus sama";
include "adminEdit.php"; }
A-36 $sqlPeriksa = "SELECT * FROM useraccount WHERE
username='$txtusername'
AND password='$txtPassLama'"; $qryPeriksa = mysql_query($sqlPeriksa) or die (mysql_error()); $hslPeriksa = mysql_num_rows($qryPeriksa);
if ($hslPeriksa >= 1 ) {
$sqlUbah = "UPDATE useraccount SET password ='$txtPassBaru'
WHERE username ='$txtusername'"; mysql_query($sqlUbah)
or die ("Gagal Perintah SQL". mysql_error());
# Jika sukses
echo "<b>Ubah</b> Password Berhasil"; include "forum.html";
} else {
# Jika gagal
echo "<b>PASSWORD LAMA</b> TIDAK SESUAI DENGAN DATABASE";
include "adminedit.php"; }
A-37 ?> • Beritanewsim.php <?php include "inc.session.php"; ?> <?php $txtisi = $_POST['txtisi']; $txtusername = $_POST['txtusername']; #=============KONEKSI====================== $connect= mysql_connect ("localhost", "root", "") or die ("Please check your server connection!");
mysql_select_db("LunaGuide"); #========================================== if(trim($txtisi) == "" ) { echo""; } else { $tanggal = date('Y-m-d');
A-38 $insert ="INSERT INTO rumor
(tanggal,username,isi) VALUES ('$tanggal','$txtusername','$txtisi')"; $hasil= mysql_query($insert) or die(mysql_error());
}
$select = "SELECT * FROM rumor";
$result= mysql_query($select) or die(mysql_error()); echo "<center><h1>RUMOR</h1></center>";
echo "<h3>Rumor yg beredar.. Lyto bkalan ngerilis 2 game baru lg..
Fifa online and Luna Online..
Nah.. Luna Online tu ada sistem farm n family.. Sekarang sudah Open Beta dan bisa di mainkan... ^^ </h3>";
echo "<table width=1200 border=1 align=center bgcolor=#cccccc>";
echo "<tr>";
echo "<td width=50> <center> <b> User </b></center></td>\n";
echo "<td width=50> <center> <b> Tanggal </b></center></td>\n";
A-39 echo "<td width=300> <center> <b> Komentar
</b></center></td>\n"; echo "</tr>\n"; while ($row=mysql_fetch_assoc($result)) { extract($row); echo "<tr>\n"; foreach($row as $value){ echo "<td>\n"; echo $value; echo "</td>\n"; } echo "</tr>\n"; } echo "</table>\n"; include ("berita.html"); ?> • Beritanewsim1.php <?php include "inc.session.php"; ?> <?php
A-40
$txtisi = $_POST['txtisi'];
$txtusername = $_POST['txtusername'];
#=============KONEKSI====================== $connect= mysql_connect ("localhost", "root", "") or die ("Please check your server connection!");
mysql_select_db("LunaGuide"); #========================================== if(trim($txtisi) == "" ) { echo""; } else { $tanggal = date('Y-m-d');
$insert ="INSERT INTO cheater
(tanggal,username,isi) VALUES ('$tanggal','$txtusername','$txtisi')"; $hasil= mysql_query($insert) or die(mysql_error()); }
$select = "SELECT * FROM cheater";
A-41 echo "<center><h2>Para Cheater Luna Bersiaplah
!!!</h2></center>";
echo "<h3>Rumor yg beredar.. Lyto bkalan ngerilis 2 game baru lg..
Fifa online and Luna Online..
Nah.. Luna Online tu ada sistem farm n family.. Sekarang sudah Open Beta dan bisa di mainkan... ^^</h3>";
echo "<table width=1200 border=1 align=center bgcolor=#cccccc>";
echo "<tr>";
echo "<td width=50> <center> <b> User </b></center></td>\n";
echo "<td width=50> <center> <b> Tanggal </b></center></td>\n";
echo "<td width=300> <center> <b> Komentar </b></center></td>\n"; echo "</tr>\n"; while ($row=mysql_fetch_assoc($result)) { extract($row); echo "<tr>\n"; foreach($row as $value){
A-42 echo "<td>\n"; echo $value; echo "</td>\n"; } echo "</tr>\n"; } echo "</table>\n"; include ("berita1.html"); ?> • Beritanewsim2.php <?php include "inc.session.php"; ?> <?php $txtisi = $_POST['txtisi']; $txtusername = $_POST['txtusername']; #=============KONEKSI====================== $connect= mysql_connect ("localhost", "root", "") or die ("Please check your server connection!");
mysql_select_db("LunaGuide");
A-43 if(trim($txtisi) == "" ) { echo""; } else { $tanggal = date('Y-m-d'); $insert ="INSERT INTO quest
(tanggal,username,isi) VALUES ('$tanggal','$txtusername','$txtisi')"; $hasil= mysql_query($insert) or die(mysql_error()); }
$select = "SELECT * FROM quest";
$result= mysql_query($select) or die(mysql_error()); echo "<center><h1>QUEST</h1></center>";
echo "<h3>Luna Online memiliki berbagai macam quest yang menunggumu untuk diselesaikan. Tentunya kamu akan mendapatkan exp tambahan atau uang untuk setiap quest yang bisa diselesaikan. Setiap quest di Luna mempunyai cerita bersambung dan bila kamu mengikutinya dari awal sampai akhir maka kamu akan mengetahui sejarah-sejarah mengenai Luna Online. Tanda seru berwarna biru di atas npc artinya kamu bisa mendapatkan quest dari npc tersebut.
Atau dengan cara melihat peta, npc yang memiliki quest akan mempunyai tanda seru berwarna biru.Untuk menampilkan daftar quest aktif, kamu
A-44 dapat menekan tombol shortcut (Q). Pada kolom A, tampilan ini
menunjukan quest yang sedang aktif pada karakter kamu. Setiap quest mempunyai hadiah yang akan diberikan apabila kamu berhasil
menyelesaikan questnya dan bisa di cek pada kolom F.</h3>"; echo "<table width=1200 border=1 align=center bgcolor=#cccccc>";
echo "<tr>";
echo "<td width=50> <center> <b> User </b></center></td>\n";
echo "<td width=50> <center> <b> Tanggal </b></center></td>\n";
echo "<td width=300> <center> <b> Komentar </b></center></td>\n"; echo "</tr>\n"; while ($row=mysql_fetch_assoc($result)) { extract($row); echo "<tr>\n"; foreach($row as $value){ echo "<td>\n"; echo $value; echo "</td>\n"; }
A-45 echo "</tr>\n"; } echo "</table>\n"; include ("berita2.html"); ?> • Inc.session.php <?php session_start(); if(! (session_is_registered(SES_USER))) {
echo "<div align=center><b> PERHATIAN ..!!! </b><br>"; echo "UNTUK MENGAKSES, KAMU HARUS LOGIN DULU? </div>"; include "login.php"; exit; } ?> • Insertdaftaruser.php <?php $user = $_POST['txtUser']; $password = $_POST['txtPassword']; $email = $_POST['txtEmail']; $nama = $_POST['txtNama'];
A-46
$alamat = $_POST['txtAlamat'];
$telepon = $_POST['txtTelepon'];
if (($user!="") and ($password!="") and ($email!="")) {
$connect= mysql_connect ("localhost", "root", "") or die ("Please check your server connection!");
mysql_select_db("LunaGuide");
$query="INSERT INTO useraccount (username, password, email, nama, telepon, alamat) VALUES ('$user', '$password', '$email', '$nama', '$telepon', '$alamat')";
$result= mysql_query($query) or die(mysql_error()); echo "<br>";
echo "<br>";
include ("login.php"); echo "<br>";
echo "<br>";
echo "Account Berhasil Dibuat"; }
else {
echo "Data tidak lengkap, Account gagal dibuat!"; echo "<a href=formdaftaruser.html>Kembali";
A-47 } ?> • Login.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(../images/17.gif); } a:link { text-decoration: underline; } a:visited { text-decoration: underline; } a:hover {
A-48 text-decoration: none; } a:active { text-decoration: underline; } .style3 {color: #CCCCCC} --> </style></head> <body>
<form action="loginperiksa.php" method="post" name="form1" target="_self" id="form1">
<p> </p> <p> </p> <p> </p>
<table width="329" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="38" colspan="2"><strong>Login Forum </strong></td> </tr>
<tr>
<td width="104" height="33"><span class="style3">User ID </span></td>
A-49 <input name="txtuser" type="text" id="txtuser" size="30"
maxlength="30" /> </label></td> </tr> <tr> <td height="33"><span class="style3">Password</span></td> <td><label>
<input name="txtpassword" type="password" id="txtpassword" size="30" maxlength="30" />
</label></td> </tr>
<tr>
<td height="40" colspan="2" align="center"><label> <input type="submit" name="Submit" value="Log In" /> </label>
<label>
<input type="reset" name="Submit2" value="Reset" /> <a href="FormDaftarUser.html"></a></label></td> </tr>
<tr>
<td height="31" colspan="2"><div align="center"><a
href="FormDaftarUser.html">Click di sini untuk daftar.</a></div></td> </tr>
A-50 <tr>
<td height="32" colspan="2"><label></label> <label>
<div align="center"><a href="home.html">Click di sini untuk kembali ke Home</a>... </div>
</label></td> </tr> </table> <p> </p> <p> </p> </form> </body> </html> • Loginkeluar.php <?php session_start(); session_unregister("SES_USER");
echo "<meta http-equiv='refresh' content='0; url=home.html'>"; exit;
A-51
• Loginperiksa.php
<?php
session_start();
$connect=mysql_connect("localhost","root","") or die("Please check your server connection!"); mysql_select_db("lunaguide"); $txtUser = $_POST['txtuser']; $txtPass = $_POST['txtpassword']; //JIKA BELOM DIISI================================================= = if(trim($txtUser) == "") {
echo "<b>User ID</b> belum diisi, tolong diisi"; include "login.php";
}
//==================================================== ==========
//JIKA KURANG DARI 5
HURUF=============================================== ==========
else if (strlen(trim($txtPass)) <= 4 ) {
A-52 include "login.php"; } //==================================================== ========== else {
$sqlPeriksa = "SELECT * FROM useraccount WHERE username='$txtUser'
AND password='$txtPass'"; $qryPeriksa = mysql_query($sqlPeriksa) or die(mysql_error()); $hslPeriksa = mysql_num_rows($qryPeriksa);
if ($hslPeriksa >= 1 ) { # Jika sukses
$SES_USER = $txtUser;
session_register("SES_USER");
//echo "BERHASIL MELAKUKAN LOGIN"; # Redireksi menuju index.php
echo "<meta http-equiv='refresh' content='0; url=forum.html'>";
exit; }
else {
A-53 echo "<b>LOGIN dan PASSWORD</b> TIDAK
DIKENALI";
include "login.php"; }
} ?>