<?
//***************************************************
// http://www.niadesain.com
// Solusi Hemat Script Bisnis Online Anda
// Menerima Jasa Pembuatan Website & Template Website
//***************************************************
?>
    <table width="100%" height="0" border="0" cellpadding="0" cellspacing="0"><!--awrev18-->
    <tr><td bgcolor="#c22d2f"></td></tr>
    </table>

    <section id="main-slider" class="no-margin">
        <div class="carousel slide">
            <ol class="carousel-indicators">
                <li data-target="#main-slider" data-slide-to="0" class="active"></li>
                <li data-target="#main-slider" data-slide-to="1"></li>
                <li data-target="#main-slider" data-slide-to="2"></li>
            </ol>
            <div class="carousel-inner">

                <div class="item active" style="background-image: url(images/slider/bg1.jpg)">
                    <div class="container">
                        <div class="row slide-margin">
                            <div class="col-sm-6">
                                                                                
                                                                                <div class="pull-left"><div class="tab-content-aw-2"><div class="bingkai-foto-4">
                                                                                <!-- Foto Member S -->
                                                                                <?
                                                                                    function showSupertiket_slider1($email2, $namaNya2, $size=0, $rate='g') {
                                                                                        $default2 = urlencode('member/images/no_avatar.gif');
                                                                                        $emailHash2 = md5(strtolower(trim($email2)));
                                                                                        $imgSize2 = ($size == 0 ? 60 : $size);
                                                                                        return '<img src="member/avatar/'.$emailHash2.'?d='.$default2.'&s='.$imgSize2.'&r='.$rate.'" alt="'.$namaNya2.'" />';
                                                                                }
                                                                                        $imelgb2 = $db->dataku("foto", $id);
                                                                                        $titelgb2 = $db->dataku("nama", $id) ;
                                                                                        if ($db->dataku("foto", $id)){
                                                                                            $tampilkangambar_slider1 = "<a href='?scrindo=detailmember&nid=$sponsor_id&id=$id'><img src='member/images/$imelgb2' width='36' height='36' border='0' title='Hubungi : $titelgb2, Hp : $sponsor_hp' /></a>";
                                                                                                }
                                                                                        else {
                                                                                            $tampilkangambar_slider1 = "<a href='?scrindo=detailmember&nid=$sponsor_id&id=$id'><img src=\"member/images/no_avatar.gif\" width=\"36\" height=\"36\" border=\"0\" title=\"Hubungi : $titelgb2, Hp : $sponsor_hp\" /></a>";
                                                                                 }
                                                                                        $sponsor_nm = ucwords(strtolower($sponsor_nm));
                                                                                        //---------------------------------------------
                                                                                        $totnmdigit=strlen($sponsor_nm);
                                                                                        if ($totnmdigit > 24){
                                                                                            $sponsor_nm = substr($sponsor_nm,0,18);
                                                                                        }
                                                                                        else {
                                                                                            $sponsor_nm = $sponsor_nm;
                                                                                        }
                                                                                        //---------------------------------------------
                                                                                        echo "

                                                                                                <table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#00CC00'>
                                                                                                  <tr>
                                                                                                    <td>&nbsp;</td>
                                                                                                    <td>$tampilkangambar_slider1</td>
                                                                                                    <td>&nbsp;&nbsp;</td>
                                                                                                    <td>
                                                                                                        <strong><font size='2' color='#ff6700'>$set_title1</font> $set_title2</strong> <font size='2' color='#0000ff'> $sponsor_idmitra</font>&nbsp;&nbsp;<br />
                                                                                                        <font size='2'>$sponsor_nm, $sponsor_hp</font>&nbsp;&nbsp;                                                                                                        
                                                                                                    </td>
                                                                                                  </tr>
                                                                                                </table>

                                                                                            ";


                                                                                ?>
                                                                                </div></div></div><div class="media-body"></div>
                                                                                
                                                                                

                            
                                <div class="carousel-content">
                                    <div class="bingkai-slide1"><h2 class="animation animated-item-1"><?= $set_slider1 ?></h2></div><!--awrev18-->
                                    <h3 class="animation animated-item-2"><font color="#ffffff"><?= $set_sliderket1 ?></font></h3>
                                    <a class="btn btn-primary btn-lg" href="./?scrindo=join&id=<?= $id ?>">Daftar Sekarang <img src="images/blog/panah_kecil_putih.png"> </a>
                                </div>
                            </div>

                            <div class="col-sm-6 hidden-xs animation animated-item-4">
                                <div class="slider-img">
                                    <img src="images/slider/img1.png" class="img-responsive">
                                </div>
                            </div>

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

                <div class="item" style="background-image: url(images/slider/bg2.jpg)">
                    <div class="container">
                        <div class="row slide-margin">
                            <div class="col-sm-6">

                                                                                <div class="pull-left"><div class="tab-content-aw-2"><div class="bingkai-foto-4">
                                                                                <!-- Foto Member S -->
                                                                                <?
                                                                                        //---------------------------------------------
                                                                                        echo "

                                                                                                <table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#00CC00'>
                                                                                                  <tr>
                                                                                                    <td>&nbsp;</td>
                                                                                                    <td>$tampilkangambar_slider1</td>
                                                                                                    <td>&nbsp;&nbsp;</td>
                                                                                                    <td>
                                                                                                        <strong><font size='2' color='#ff6700'>$set_title1</font> $set_title2</strong> <font size='2' color='#0000ff'> $sponsor_idmitra</font>&nbsp;&nbsp;<br />
                                                                                                        <font size='2'>$sponsor_nm, $sponsor_hp</font>&nbsp;&nbsp;
                                                                                                    </td>
                                                                                                  </tr>
                                                                                                </table>

                                                                                            ";


                                                                                ?>
                                                                                </div></div></div><div class="media-body"></div>
                                                                                
                                                                                

                                <div class="carousel-content">
                                    <div class="bingkai-slide1"><h2 class="animation animated-item-1"><?= $set_slider2 ?></h2></div><!--awrev18-->
                                    <h3 class="animation animated-item-2"><font color="#ffffff"><?= $set_sliderket2 ?></font></h3>
                                    <a class="btn btn-primary btn-lg" href="./?scrindo=join&id=<?= $id ?>">Daftar Sekarang <img src="images/blog/panah_kecil_putih.png"> </a>
                                </div>
                            </div>

                            <div class="col-sm-6 hidden-xs animation animated-item-4">
                                <div class="slider-img">
                                    <img src="images/slider/img2.png" class="img-responsive">
                                </div>
                            </div>

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

                <div class="item" style="background-image: url(images/slider/bg3.jpg)">
                    <div class="container">
                        <div class="row slide-margin">
                            <div class="col-sm-6">

                                                                                <div class="pull-left"><div class="tab-content-aw-2"><div class="bingkai-foto-4">
                                                                                <!-- Foto Member S -->
                                                                                <?
                                                                                        //---------------------------------------------
                                                                                        echo "

                                                                                                <table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#00CC00'>
                                                                                                  <tr>
                                                                                                    <td>&nbsp;</td>
                                                                                                    <td>$tampilkangambar_slider1</td>
                                                                                                    <td>&nbsp;&nbsp;</td>
                                                                                                    <td>
                                                                                                        <strong><font size='2' color='#ff6700'>$set_title1</font> $set_title2</strong> <font size='2' color='#0000ff'> $sponsor_idmitra</font>&nbsp;&nbsp;<br />
                                                                                                        <font size='2'>$sponsor_nm, $sponsor_hp</font>&nbsp;&nbsp;
                                                                                                    </td>
                                                                                                  </tr>
                                                                                                </table>

                                                                                            ";


                                                                                ?>
                                                                                </div></div></div><div class="media-body"></div>

                                                                                

                                <div class="carousel-content">
                                    <div class="bingkai-slide1"><h2 class="animation animated-item-1"><?= $set_slider3 ?></h2></div><!--awrev18-->
                                    <h3 class="animation animated-item-2"><font color="#ffffff"><?= $set_sliderket3 ?></font></h3>
                                    <a class="btn btn-primary btn-lg" href="./?scrindo=join&id=<?= $id ?>">Daftar Sekarang <img src="images/blog/panah_kecil_putih.png"> </a>
                                </div>
                            </div>
                            <div class="col-sm-6 hidden-xs animation animated-item-4">
                                <div class="slider-img">
                                    <img src="images/slider/img3.png" class="img-responsive">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <a class="prev hidden-xs" href="#main-slider" data-slide="prev">
            <i class="fa fa-chevron-left"></i>
        </a>
        <a class="next hidden-xs" href="#main-slider" data-slide="next">
            <i class="fa fa-chevron-right"></i>
        </a>
    </section>

    <table width="100%" height="0" border="0" cellpadding="0" cellspacing="0"><!--awrev18-->
    <tr><td bgcolor="#ff7417"></td></tr>
    </table>