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

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

<h6><font color="#549423">Home / Banner Promosi</font><br />
Anda telah login sebanyak : <font color="#0000FF"><?= $a[counter];?></font> kali</h6>
<hr />
<h3><font color="#FF0000">Banner Promosi</font></h3>
<h5><strong><?= $panggil ?> <font color="#0000FF"><?= $a[nama];?></font></strong> Yth,<br>
    Halaman ini untuk memilih banner promosi bisnis 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 email='$_SESSION[user_email]' 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))
        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">
                            Banner Promosi Anda :
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <form role="form" method="post" action="">

                                        <div align="justify">
                                        Silahkan pilih dan pasang banner-banner promosi bisnis <strong><font color="#ff6700"><?= strtolower(trim($_SESSION[user_bisnis])) ?></font></strong> dibawah ini di web, blog, forum, iklan baris dan lain-lain. Dapatkan mitra-mitra bisnis <strong><font color="#ff6700"><?= strtolower(trim($_SESSION[user_bisnis])) ?></font></strong> anda sebanyak-banyaknya. Semakin banyak mitra-mitra bisnis <strong><font color="#ff6700"><?= strtolower(trim($_SESSION[user_bisnis])) ?></font></strong> yang anda miliki maka semakin besar pula kesempatan anda dalam mendapatkan penghasilan yang lebih besar bersama bisnis <strong><font color="#ff6700"><?= strtolower(trim($_SESSION[user_bisnis])) ?></font></strong>.
                                        <br><br>

                                        <strong>1. Banner 468 x 60</strong><br /><br />
                                        <img class="img-responsive" src="../images/banner-468.gif" border="1" width="468" height="60"><br />
                                        <textarea class="form-control" readonly><a href="http://<?=$_SERVER["HTTP_HOST"];?>/<?= $_SESSION[user_session] ?>"><img src="http://<?=$_SERVER["HTTP_HOST"];?>/images/banner-468.gif" width="468" height="60"></a></textarea>
                                        <hr>

                                        <strong>2. Banner 125 x 125</strong><br /><br />
                                        <img class="img-responsive" src="../images/banner-125.gif" border="1" width="125" height="125"><br />
                                        <textarea class="form-control" readonly><a href="http://<?=$_SERVER["HTTP_HOST"];?>/<?= $_SESSION[user_session] ?>"><img src="http://<?=$_SERVER["HTTP_HOST"];?>/images/banner-125.gif" width="125" height="125"></a></textarea>
                                        <hr>

                                        <strong>3. Banner 300 x 250</strong><br /><br />
                                        <img class="img-responsive" src="../images/banner-300.gif" border="1" width="300" height="250"><br />
                                        <textarea class="form-control" readonly><a href="http://<?=$_SERVER["HTTP_HOST"];?>/<?= $_SESSION[user_session] ?>"><img src="http://<?=$_SERVER["HTTP_HOST"];?>/images/banner-300.gif" width="300" height="250"></a></textarea>

                                        </div>

                                    </form>


<? // AW3
	break;
}
?>

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

                    Terima Kasih<br />

                    <div class="bingkai-foto-8lg">
                         <center>
                             <img src="../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 Support Bisnis Team <font color=#0000ff><?= $_SESSION[user_title1] ?> <?= $_SESSION[user_title2] ?></font><br />
                    <?= $_SESSION[user_caption] ?><br />
                    design website by <a href="http://www.<?= $set_develop ?>/" target="_blank"><font color="#ff6700">www.<?= $set_develop ?></font></a><br /><br />

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