<?
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING));
//***************************************************
// http://www.scriptindonesia.com
// Solusi Hemat Script Bisnis Online Anda
// Menerima Jasa Pembuatan Website & Template Website
//***************************************************
?>

<!-- UPLINE AWAL -->
<!-- Info WebPro -->
<? include "infowebpro.php"; ?>

<h6><font color="#549423">Home / Sponsor Anda</font><br />
Anda telah login sebanyak : <font color="#0000FF"><?= $a[counter];?></font> kali</h6>
<hr />
<h3><font color="#FF0000">Sponsor Anda</font></h3>
<h5><strong><?= $panggil ?> <font color="#0000FF"><?= $a[nama];?></font></strong> Yth,<br>
    Halaman ini untuk melihat data sponsor Anda di <font color="#0000FF"><?= $_SESSION[user_domain] ?></font></h5>
<hr />

                    <div class="progress">
                        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">
                            <span><?= $a[nama];?> - <?= $a[kota];?> - <?= $a[propinsi];?></span>
                        </div>
                    </div>

<!-- /. ROW  -->
<?php
function anti_injection($data){
  $filter = mysql_real_escape_string(stripslashes(strip_tags(htmlspecialchars($data,ENT_QUOTES))));
  return $filter;
}

$sql  = mysql_query("SELECT * FROM member WHERE username='$_SESSION[user_sponsor]' LIMIT 1");
$r    = mysql_fetch_array($sql);
?>

<? //AW1
switch ($page) {
	default :
?>

<script language='javascript'>

//angka saja
function validAngka(a)
{
	if(!/^[0-9.]+$/.test(a.value))
	{
	a.value = a.value.substring(0,a.value.length-1000);
	}
}

</script>

               <div class="row">
                <div class="col-md-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            Informasi Sponsor Anda :
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-md-12" align="left">
                                    <form role="form" method="post" action="">

                                        <div class="form-group">
                                            <label>Nama &nbsp; : &nbsp;<font color="#ff6700"><?= $r[nama];?></font></label>
                                            <br />                                        
                                            <label>No. hp &nbsp;: &nbsp;<font color="#ff6700"><?= $r[hp];?></font></label>
                                            <br />
                                            <label>Kota&nbsp;&nbsp;&nbsp;&nbsp; : &nbsp;<font color="#ff6700"><?= $r[kota];?> - <?= $r[propinsi];?></font></label>
                                            <br />
                                            <label>E-mail&nbsp;&nbsp;: &nbsp;<font color="#0000ff"><?= $r[email];?></font></label>
                                        </div>
Keterangan -> ID. Member sponsor anda adalah : <font color="#0000ff"><?= $r[idmitra];?></font>
                                    </form>

        


<? // AW3

}
?>

                                </div>
                            </div>
                        </div>
                    </div>

                    Terima Kasih<br />

                    <div class="bingkai-foto-8lg">
                         <center>
                             <img src="../mytheme/images/logo.png" alt="<?= $_SESSION[user_domain] ?>" title="<?= $_SESSION[user_domain] ?> - <?= $_SESSION[user_caption] ?>">
                         </center>
                    </div>

                    <!--<img src="../images/logo.png" border="1"><br />-->
                    <a href="http://<?= $_SESSION[user_domain] ?>/<?= $_SESSION[user_session] ?>" target="_blank"><font color="#0000FF"><?= $_SESSION[user_domain] ?></font></a><br>
                    Email : <a href="mailto:<?= $_SESSION[admin_email] ?>"><font color="#0000FF"><?= $_SESSION[admin_email] ?></font></a><br><br>
                    Web <font color=#0000ff><?= $_SESSION[user_title1] ?> <?= $_SESSION[user_title2] ?></font><br />
                    <?= $_SESSION[user_caption] ?><br />
                    design website by tim creatif jabar juara <a href="" target="_blank"><font color="#ff6700"></font></a><br /><br />

                    <!-- End Form Elements -->
                </div>
            </div>