<!DOCTYPE html>
<?
//***************************************************
// http://www.niadesain.com
// Solusi Hemat Script Bisnis Online Anda
// Menerima Jasa Pembuatan Website & Template Website
//***************************************************
?>

<?
	$duit       = rupiah($rpadmin);
	$spon_nama  = $db->dataku("nama", $sponsor);
	$spon_mail  = $db->dataku("email", $sponsor);
	$bank_sp    = $db->dataku("bank", $sponsor);
	$hpadmin    = $db->config("hpsms");
	$bankadmin  = $db->config("bank");
	$bankadmin1 = $db->config("bank1");
        $bankadmin3 = $db->config("bank3");
        $bankadmin4 = $db->config("bank4");
	$pengelola  = $db->config("name");
	$rp_admin   = rupiah($rpadmin);
	$rp_spon    = rupiah($rpreferer);
	$rp_spon2   = rupiah($rpreferer2);
	$sponsor2   = $db->dataku("sponsor", $sponsor);
	$spon_nama2 = $db->dataku("nama", $sponsor2);
	$spon_mail2 = $db->dataku("email", $sponsor2);
	$bank_sp2   = $db->dataku("bank", $sponsor2);
	$hp2        = $db->dataku("hp", $sponsor2);

	$data       = preg_replace("/{USERNAME}/", $username, $data);
	$data       = preg_replace("/{EMAIL}/", $email, $data);
	$data       = preg_replace("/{ALAMAT}/", $alamat, $data);
	$data       = preg_replace("/{PASSWORD}/", $password2, $data);
	$data       = preg_replace("/{KOTA}/", $kota, $data);
	$data       = preg_replace("/{PROPINSI}/", $propinsi, $data);
	$data       = preg_replace("/{DPRP}/", $duit, $data);
	$data       = preg_replace("/{HP}/", $hp, $data);
	$data       = preg_replace("/{NAMA}/", $nama, $data);
	$data       = preg_replace("/{SPONSORID}/", $sponsor, $data);
	$data       = preg_replace("/{NAMASPON}/", $spon_nama, $data);
	$data       = preg_replace("/{SPON_MAIL}/", $spon_mail, $data);
	$data       = preg_replace("/{RPSPONSOR}/", $rp_spon, $data);
	$data       = preg_replace("/{BANKSPONSOR}/", $bank_sp, $data);
	$data       = preg_replace("/{TELPSP}/", $spon_telp, $data);
	$data       = preg_replace("/{SPONSORID2}/", $sponsor2, $data);
	$data       = preg_replace("/{NAMASPON2}/", $spon_nama2, $data);
	$data       = preg_replace("/{SPON_MAIL2}/", $spon_mail2, $data);
	$data       = preg_replace("/{RPSPONSOR2}/", $rp_spon2, $data);
	$data       = preg_replace("/{BANKSPONSOR2}/", $bank_sp2, $data);
	$data       = preg_replace("/{TELPSP2}/", $spon_telp2, $data);
	$data       = preg_replace("/{HP2}/", $hp2, $data);
	$data       = preg_replace("/{HPADMIN}/", $hpadmin, $data);
	$data       = preg_replace("/{BANKADMIN}/", $bankadmin, $data);
	$data       = preg_replace("/{BANKADMIN1}/", $bankadmin1, $data);
        $data       = preg_replace("/{BANKADMIN3}/", $bankadmin3, $data);
        $data       = preg_replace("/{BANKADMIN4}/", $bankadmin4, $data);
	$data       = preg_replace("/{RPADMIN}/", $rp_admin, $data);
	$data       = preg_replace("/{PENGELOLA}/", $pengelola, $data);
	$data       = preg_replace("/{PAKET}/", $paket, $data);
?>


    <!--Head Website-->
    <? include "headwebsite.php"; ?>



    <section id="middle">
        <div class="container">
            <div class="row">
                <div class="col-sm-6 wow fadeInDown">
                    <div class="skill" align="left">
                        <!--<h2>Informasi <strong><font color="#ff6700">Pendaftaran</font></strong> </h2>-->
                        <font size="5"><strong><font color="#ff6700">Informasi</font> <font color="#333333">Pendaftaran</font></strong></font><hr />
                        <p>Dengan Hormat, <?= $aw_jenismitra_hide; ?></p>
                        <p>
                           Bpk/Ibu : <strong><font color="#ff6700"><?= $nama; ?></font></strong> Yth,
                           selamat data pendaftaran untuk menjadi member pebisnis <strong><font color="#ff6700"><?= $set_bisnis ?></font></strong>
                           bersama team <a href="./<?= $id ?>"><font color="0000ff"><?= $cs_domain ?></font></a> telah kami terima, dan dalam beberapa menit kedepan, email petunjuk
                           akan terkirim otomatis ke alamat email Anda.
                           <br /><br />
                           Untuk selanjutnya agar permohonan Anda segera diproses dan keanggotaan segera diaktifkan silahkan melakukan transfer ke salah satu rekening bank <a href="./<?= $id ?>"><font color="0000ff"><?= $cs_domain ?></font></a>, sesuai dengan pilihan paket bisnis yang Anda pilih, yaitu :
                           <hr />

                                                   <em><u>Detail Rincian Biaya :</u>
                                                       <ul>
                                                           <li>Paket bisnis <?= $set_bisnis ?> pilihan Anda : <font color="#0000ff"><?= $produk; ?></font></li>
                                                           <li>Pendaftaran : <font color="#0000ff"><?= rupiah($rpadmin); ?></font></li>
                                                           <li>3 digit terakhir no.hp Anda : <font color="#0000ff"><?= substr($nilaiawaldigit, -3); ?></font></li>
                                                           <li>Total biaya pendaftaran : <font color="#0000ff"><?= rupiah($rpadmin); ?></font> + <font color="#0000ff"><?= substr($nilaiawaldigit, -3); ?></font> = <strong><font color="#0000FF"><?= rupiah($rpadmintambahdigit); ?></font></strong></li>
                                                       </ul>
                                                   </em>

                           <hr />
                           

                           <em>Keterangan :
                               <ul>
                                   <li>Total biaya pendaftaran telah di tambahkan 3 digit terakhir no.hp anda. Tujuan ditambahkan 3 digit terakhir no.hp anda adalah untuk memudahkan proses crosscek transferan bank, sehingga mempercepat proses aktivasi bisnis <?= $set_bisnis ?> anda.</li>
                                   <li><strong>Username</strong> dan <strong>password</strong> sudah kami kirim ke email anda, tetapi untuk mengantisipasi jika email tidak terkirim, silahkan catat data <strong>username</strong> dan <strong>password</strong> anda.</li>
                                   <li>Buka email dan lihat di kotak masuk (inbox), jika tidak masuk pada folder inbox, cek di folder spam/bulk pada email anda.</li>
                               </ul>
                           </em>
                           
                           <hr />
                           <font color=#f2f2f2><?= $set_develop ?></font><br />
                           Terima Kasih<br />

                           <div class="bingkai-foto-8lg">
                               <center>
                                   <img src="images/logo.png" alt="<?= $set_awtit ?>" title="<?= $cs_domain ?> - <?= $set_caption ?>">
                               </center>
                           </div>

                           <!--<img src="images/logo.png" alt="<?= $set_awtit ?>" title="<?= $cs_domain ?> - <?= $set_caption ?>"><br />-->
                           <a href="./<?= $id ?>" title="<?= $set_caption ?>" alt="<?= $set_develop ?>"><?= $cs_domain ?></a><br />
                           Web Support Bisnis Team <font color=#0000ff><?= $set_title1 ?> <?= $set_title2 ?></font><br />
                           <?= $set_caption ?>
                           <br /><br />

                        <!--</p>-->
                    </div>
                </div><!--/.col-sm-6-->

                <div class="col-sm-6 wow fadeInDown">
                    <div class="accordion">                        
                        <div class="panel-group" id="accordion1">

                          <!-- Login Username -->
                          <div class="panel panel-default">
                            <div class="panel-heading active">
                              <h3 class="panel-title">
                                <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1">
                                  <strong><font color="#ff6700">Detail</font></strong> Informasi
                                  <i class="fa fa-angle-right pull-right"></i>
                                </a>
                              </h3>
                            </div>

                            <div id="collapseOne1" class="panel-collapse collapse in">
                              <div class="panel-body">
                                  <div class="media accordion-inner">

                                        <div class="media-body" align="justify">

                                                    <div class="row contact-wrap">
                                                        <div class="status alert alert-success" style="display: none"></div>
                                                        <form id="" class="contact-form" name="contact-form" method="" action="" onSubmit="">
                                                            <div class="col-sm-5-aw col-sm-offset-1-aw">
                                                                <div class="form-group">
                                                                    <input type="text" name="idhide" class="form-control" value="<?=$id?>" style="display: none">
                                                                    <input type="text" name="cs_domain" class="form-control" value="<?=$cs_domain?>" style="display: none">
                                                                </div>

                                                                <!--
                                                                <div class="form-group">
                                                                    <label><u>Data Rekening Bank :</u></label>
                                                                </div>
                                                                -->

                                                                <h3><i class="fa fa-user"></i> &nbsp;<strong>Data <font color="#ff6700">Rekening</font> Bank <i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i></strong></h3>

                                      <? if (trim($bankadmin) !=''){ ?>
                                                                <div class="pull-left">
                                                                    <img class="img-responsive" src="http://<?= $cs_domain ?>/member/logo/rekbank1.jpg" width="261" height="85" border="1">
                                                                    <table><tr><td height="5"></td></tr></table>
                                                                </div>                                                                
                                                                <div class="form-group" align="left">                                                                    
                                                                    <label><font color="#0000ff"><?= $bankadmin; ?></font></label>
                                                                </div>
                                                          <? } ?>

                                     <? if (trim($bankadmin1) !=''){ ?>
                                                                <div class="pull-left">
                                                                    <img class="img-responsive" src="http://<?= $cs_domain ?>/member/logo/rekbank2.jpg" width="261" height="85" border="1">
                                                                    <table><tr><td height="5"></td></tr></table>
                                                                </div>
                                                                <div class="form-group" align="left">
                                                                    <label><font color="#0000ff"><?= $bankadmin1; ?></font></label>
                                                                </div>
                                                          <? } ?>

                                     <? if (trim($bankadmin3) !=''){ ?>
                                                                <div class="pull-left">
                                                                    <img class="img-responsive" src="http://<?= $cs_domain ?>/member/logo/rekbank3.jpg" width="261" height="85" border="1">
                                                                    <table><tr><td height="5"></td></tr></table>
                                                                </div>
                                                                <div class="form-group" align="left">
                                                                    <label><font color="#0000ff"><?= $bankadmin3; ?></font></label>
                                                                </div>
                                                          <? } ?>

                                     <? if (trim($bankadmin4) !=''){ ?>
                                                                <div class="pull-left">
                                                                    <img class="img-responsive" src="http://<?= $cs_domain ?>/member/logo/rekbank4.jpg" width="261" height="85" border="1">
                                                                    <table><tr><td height="5"></td></tr></table>
                                                                </div>
                                                                <div class="form-group" align="left">
                                                                    <label><font color="#0000ff"><?= $bankadmin4; ?></font></label>
                                                                </div>
                                                          <? } ?>

                                                                <hr />

                                                                <h3><i class="fa fa-user"></i> &nbsp;<strong>Data <font color="#ff6700">Login</font> Anda <i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i></strong></h3>
                                                                <div class="form-group">
                                                                    <label><font color="#ff6700">Username :</font> <font color="#0000FF"><?= $username; ?></font></label><br />
                                                                    <label><font color="#ff6700">Password &nbsp;&nbsp;:</font> <font color="#0000FF"><?= $password; ?></font></label>
                                                                </div>
                                                                <hr />

                                                                <div class="form-group">
                                                                    <em>Keterangan :
                                                                        <ul>
                                                                            <li><strong>Username</strong> dan <strong>password</strong> sudah kami kirim ke email anda, tetapi untuk mengantisipasi jika email tidak terkirim, silahkan catat data <strong>username</strong> dan <strong>password</strong> anda.</li>
                                                                            <li>Buka email dan lihat di kotak masuk (inbox), jika tidak masuk pada folder inbox, cek di folder spam/bulk pada email anda.</li>
                                                                        </ul>
                                                                    </em>
                                                                    <hr />
                                                                    
                                                                    <a href="./<?= $id ?>"><button type="submit" name="submit" class="btn btn-primary btn-lg">Tutup</button></a>
                                                                </div>

                                                            </div>
                                                        </form>
                                                    </div>
                                        </div>
                                  </div>
                              </div>
                            </div>
                          </div>
                          <!-- //Login Username -->





                        </div><!--/#accordion1-->
                    </div>
                </div>

            </div><!--/.row-->
        </div><!--/.container-->
    </section><!--/#middle-->

    <!--Website Support-->
    <? include "websitesupport.php"; ?>