GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/index.php

<?php
include("lib/common.php");
include("lib/globals.php");
include("lib/functions.php");
include"lib/SimpleImage.php";
$page = 'index';
$ipp=@$_SERVER['REMOTE_ADDR'];
$sql_lastip="SELECT * FROM last_location WHERE ip_address='$ipp' AND curt_time > ( NOW( ) - INTERVAL 12 HOUR )";
$res_lastip=execute_query($sql_lastip);
$num_lastip=mysql_num_rows($res_lastip);
$row_lastip=mysql_fetch_array($res_lastip);
global $serverName;
if($num_lastip>0) {
        $_SESSION['countryname']=$row_lastip['location'];
        setcookie('ESORG_COUNTRYNAME', $_SESSION['countryname'], 0, '/', $serverName); // renew cookie
        $ct=$row_lastip['curt_time'];
                        //echo $ctt= strtotime($row_loc['curt_time']) +(5*60);
        $currentDate = strtotime($ct);
        $futureDate = $currentDate+(60*10);
        $formatDate = date("H:i:s", $futureDate);
        $ptime = date("H:i:s",time());
        if($ptime<$formatDate)
        {
                ?>
                <script language="javascript">
                        location.href="<?php echo !isset($_GET['return_url']) ? 'home' : urldecode($_GET['return_url']); ?>";
                </script>
                <?
                exit;
        }
}

if($_POST)
{
         /*if($_POST['countryname'])
          {
                   $countrycode=$_POST['countryname'];
          }
          else if($_POST['countrynameafrica'])
          {
                  $countrycode=$_POST['countrynameafrica'];
          }
          else if($_POST['countrynameusa'])
          {
                  $countrycode=$_POST['countrynameusa'];
          }
          else if($_POST['countrynamecanada'])
          {
                  $countrycode=$_POST['countrynamecanada'];
          }
          else if($_POST['countrynamelatina'])
          {
                  $countrycode=$_POST['countrynamelatina'];
          }
          else if($_POST['countrynameeurope'])
          {
                  $countrycode=$_POST['countrynameeurope'];
          }
          else if($_POST['countrynameasia'])
          {
                  $countrycode=$_POST['countrynameasia'];
                }*/
         //$countrycode=$_POST['countryname'];
                if($_POST['TotlCost'])
                {
                        $_SESSION['countryname'] = $_POST['TotlCost'];
                        setcookie('ESORG_COUNTRYNAME', $_POST['TotlCost'], 0, '/', $serverName); //expires in 
                        $ip=@$_SERVER['REMOTE_ADDR'];
                        $sql_loc="SELECT * FROM last_location WHERE ip_address='$ip'";
                        $res_loc=execute_query($sql_loc);
                        $num_loc=mysql_num_rows($res_loc);
                        if($num_loc>0)
                        {
                                $cuttime=time();
                                $update_loc="UPDATE last_location SET location='".$_POST['TotlCost']."',curt_time=now() where ip_address='$ip' ";
                                execute_query($update_loc);
                        }
                        else
                        {
                                $cuttime=time();
                                $insert_loc="INSERT INTO last_location(id,ip_address,location,curt_time)Values('','$ip','".$_POST['TotlCost']."',now())";
                                execute_query($insert_loc);
                        }
                        ?>
                        <script language="javascript">
                                location.href="<?php echo !isset($_GET['return_url']) ? 'home' : urldecode($_GET['return_url']); ?>";
                        </script>
                        <?
                        exit;
                }else
                {?>
                <script language="javascript">
                        alert('Select your country');
                        location.href="index.php";
                </script>
                <? } 
        }
        ?>
        <? include "includes/header_top.php";?>
        <script type="text/javascript" src="wz_jsgraphics.js"></script>
        <script type="text/javascript" src="js/cvi_map_lib.js"></script>
        <script type="text/javascript" src="js/cvi_tip_lib.js"></script>
        <script type="text/javascript" src="js/maputil.js"></script>
        <script type="text/javascript" src="js/mapper.js"></script>
        <link href="css/tooltip.css" type="text/css" rel="stylesheet">
        <script language="javascript">
                function openafrica()
                {
                        document.getElementById('ctafrica').style.display="block";
                        document.getElementById('TotalCost').value='AO';        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('cteurope').style.display="none"        
                        document.getElementById('ctlatin').style.display="none";
                        document.getElementById('ctcanada').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('ctasia').style.display="none";        
                        document.getElementById('ctaus').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openusa()
                {
                        document.getElementById('ctusa').style.display="block";
                        document.getElementById('TotalCost').value='US';        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctlatin').style.display="none";
                        document.getElementById('ctcanada').style.display="none";
                        document.getElementById('cteurope').style.display="none";
                        document.getElementById('ctasia').style.display="none";        
                        document.getElementById('ctaus').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";        
                }
                function opencanada()
                {
                        document.getElementById('ctcanada').style.display="block";
                        document.getElementById('TotalCost').value='CA';                
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('cteurope').style.display="none"
                        document.getElementById('ctlatin').style.display="none";
                        document.getElementById('ctasia').style.display="none";
                        document.getElementById('ctaus').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openlatin()
                {
                        document.getElementById('ctlatin').style.display="block";
                        document.getElementById('TotalCost').value='AR';        
                        document.getElementById('ctcanada').style.display="none";        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('cteurope').style.display="none"
                        document.getElementById('ctasia').style.display="none";
                        document.getElementById('ctaus').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openeurope()
                {
                        document.getElementById('cteurope').style.display="block";
                        document.getElementById('TotalCost').value='AL';
                        document.getElementById('ctlatin').style.display="none";        
                        document.getElementById('ctcanada').style.display="none";        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('ctasia').style.display="none";
                        document.getElementById('ctaus').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openasia()
                {
                        document.getElementById('ctasia').style.display="block";
                        document.getElementById('TotalCost').value='BH';
                        document.getElementById('cteurope').style.display="none";
                        document.getElementById('ctlatin').style.display="none";        
                        document.getElementById('ctcanada').style.display="none";        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('ctaus').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openaus()
                {
                        document.getElementById('ctaus').style.display="block";
                        document.getElementById('TotalCost').value='AU';
                        document.getElementById('ctasia').style.display="none";        
                        document.getElementById('cteurope').style.display="none";
                        document.getElementById('ctlatin').style.display="none";        
                        document.getElementById('ctcanada').style.display="none";        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('ctindia').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openindia()
                {
                        document.getElementById('ctindia').style.display="block";
                        document.getElementById('TotalCost').value='IN';
                        document.getElementById('ctaus').style.display="none";        
                        document.getElementById('ctasia').style.display="none";        
                        document.getElementById('cteurope').style.display="none";
                        document.getElementById('ctlatin').style.display="none";        
                        document.getElementById('ctcanada').style.display="none";        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                        document.getElementById('ctrussia').style.display="none";
                }
                function openrussia()
                {
                        document.getElementById('ctrussia').style.display="block";
                        document.getElementById('TotalCost').value='RU';
                        document.getElementById('ctindia').style.display="none";        
                        document.getElementById('ctaus').style.display="none";        
                        document.getElementById('ctasia').style.display="none";        
                        document.getElementById('cteurope').style.display="none";
                        document.getElementById('ctlatin').style.display="none";        
                        document.getElementById('ctcanada').style.display="none";        
                        document.getElementById('ctall').style.display="none";
                        document.getElementById('ctafrica').style.display="none";
                        document.getElementById('ctusa').style.display="none";
                }
        </script>
        <script language="javascript">
                function citycheck(cityname)
                {
                        var total=cityname;
                        document.getElementById('TotalCost').value=total;
                }
        </script>                                        
<!--<script language="javascript">
        function validate()
        {
                
                if(document.f1.TotlCost.value=="")
                {
                        alert("Select your Country");
                        document.f1.countryname.focus();
                        return false;
                }
        }
</script>        -->        
<!--<link type="text/css" rel="stylesheet" href="css/jquery.qtip.css" />
        <script type="text/rocketscript" src="js/jquery.qtip.js"></script>-->
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
        <script type="text/javascript" src="js/touchHover.js"></script>
<?php /*?><script src="popup.js"></script>
<?
        $sql_popunder="SELECT * FROM popunder WHERE status='a' ORDER By RAND()";
        $res_popunder=execute_query($sql_popunder);
        while($row_popunder=mysql_fetch_array($res_popunder)){
                ?><?php */?>
                <!--<body onLoad="return doOpen('<?=$row_popunder['popup_url']?>');">-->
                <?php /*?><? } ?><?php */?>
                <body>
                        <div class="entry_body">
                                <? include "includes/entry_header.php";?>        
                                <div class="entry_mainbody">
                                        <div class="mappointer">
                                                <div class="mappt_top">
                                                        <img src="images/map.png" border="0" class="mapper" usemap="#Map" />
                                                        <map name="Map" id="Map">
                                                                <area shape="poly" coords="268,237,282,242" href="#" />
                                                                <area shape="poly" coords="328,336,339,336,347,327,351,318,357,310,366,292,370,280,365,266,371,256,379,249,386,240,389,229,383,229,382,222,366,217,362,205,358,195,358,182,339,182,331,180,323,184,317,180,311,175,308,170,297,170,288,175,281,177,273,187,267,192,262,205,260,216,264,225,269,238,276,241,282,242,288,240,295,240,298,239,305,245,312,251,310,255,314,262,318,277,318,288,315,291,317,302,322,322" href="home?ct=AO" alt="Africa" data-hasqtip="true" aria-describedby="qtip-4" class="noborder icolorD2497D" tooltip="AFRICA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="106,214,83,202,68,199,63,197,57,189,51,177,44,170,39,159,34,154,40,142,42,129,42,118,41,111,34,104,14,107,6,114,4,107,14,100,22,96,45,105,67,110,83,110,100,118,111,130,118,138,118,145,111,156,108,164,106,168,94,168,86,166,78,170,77,177,77,182,85,191,90,194,91,191,93,185,97,188,103,197,106,214" href="home?ct=US" alt="USA" data-hasqtip="true" aria-describedby="qtip-5"  class="noborder icolorD2497D"  tooltip="USA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="221,31,204,36,191,42,181,42,170,40,155,45,142,58,136,67,115,71,97,70,80,74,67,79,51,81,38,82,25,84,17,89,13,96,29,94,45,94,56,102,78,103,97,111,111,117,124,127,125,136,140,123,161,116,160,105,153,92,149,87,153,81,158,72,151,66,148,62,159,56,167,56,175,56,178,69,178,81,181,85,187,82,193,72,202,67,214,68,224,69,223,62,219,58,220,53,224,47,226,44,225,39,225,33" href="home?ct=CA" alt="CANADA" data-hasqtip="true" aria-describedby="qtip-6" class="noborder icolorD2497D"  tooltip="CANADA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="192,395,171,382,169,365,167,360,165,347,163,344,160,344,159,330,158,318,155,309,149,310,136,297,132,282,132,270,133,261,125,257,133,255,137,251,142,246,150,246,156,247,165,252,172,253,185,258,192,263,202,269,209,275,215,277,221,281,222,292,217,311,217,319,205,319,205,325,204,333,197,346,198,354,189,358,188,362,185,366,184,375,190,382,193,389,202,395" href="home?ct=BR" alt="Latin America" data-hasqtip="true" aria-describedby="qtip-7"  class="noborder icolorD2497D"  tooltip="LATIN AMERICA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="282,82,288,74,290,61,287,55,295,45,312,43,320,31,334,20,352,19,358,21,368,35,372,42,378,60,380,76,383,84,387,90,386,97,378,101,371,102,369,102,358,93,349,93,346,93" href="home?ct=GB"  class="noborder icolorD2497D"  tooltip="EUROPE" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="465,320,474,322,489,319,500,324,514,336,513,346,529,331,541,320,542,308,533,291,536,280,548,275,561,267,555,262,537,262,520,252,501,243,489,229,477,235,473,244,471,257,484,265,493,268,499,276,496,281,489,286,484,290,474,292,471,294,468,298,466,310,466,318" href="home?ct=AU"  class="noborder icolorD2497D"  tooltip="AUSTRALIA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="440,12,453,17,464,23,481,23,490,26,496,27,506,27,503,22,516,31,539,33,556,33,564,36,573,41,577,50,564,57,564,70,558,56,548,53,542,53,529,56,536,66,548,77,556,92,550,111,530,102,519,89,503,84,490,76,486,75,479,74,468,74,467,78,464,79,455,78,445,76,442,75,431,76,420,76,410,76,399,74,392,69,379,46,378,36,375,27,383,17,384,15,393,23,399,23,407,20,428,18,424,13,423,9,430,8,438,11,445,12,448,15" href="home?ct=RU" class="noborder icolorD2497D"  tooltip="RUSSIA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);"/>
                                                                <area shape="poly" coords="406,81,422,80,441,83,463,87,475,82,490,85,505,94,517,103,525,120,528,130,530,136,514,137,505,139,501,150,509,165,499,166,486,164,484,146,479,139,472,132,469,128,466,121,465,115,464,111,459,111,452,107,446,104,441,105,436,109,433,108,431,113,427,116,422,119,416,120,410,120,405,124,403,136,400,143,388,143,378,135,374,123,374,111,406,84" href="home?ct=BH" class="noborder icolorD2497D"  tooltip="ASIA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);" />
                                                                <area shape="poly" coords="430,130,436,145,444,157,448,165,450,152,452,146,461,136,464,133,463,127,459,119,454,114,447,112,443,115,437,119,432,123,431,137" href="home?ct=IN"   class="noborder icolorD2497D"  tooltip="INDIA" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);"/>
                                                                <area shape="poly" coords="538,358,545,353,553,351,561,346,567,341,573,338,573,345,569,351,569,353,564,355,561,357,553,360,547,361,542,361,538,359" href="home?ct=NZ"  class="noborder icolorD2497D"  tooltip="New Zealand" onMouseOver="cvi_tip._show(event);" onMouseOut="cvi_tip._hide(event);" onMouseMove="cvi_tip._move(event);"  />
                                                        </map>
                                                </div>
         <!-- <div id="qtip-4" class="qtip qtip-default qtip-tipsy qtip-shadow qtip-pos-tl" tracking="true" role="alert" aria-live="polite" aria-atomic="true" aria-describedby="qtip-4-content" aria-hidden="true" style="">
<div class="qtip-tip" style="background-color: transparent ! important; border: 0px none ! important; height: 6px; width: 6px; line-height: 6px; left: 5px; top: -6px;">
<canvas style="background-color: transparent ! important; border: 0px none ! important;" height="6" width="6"></canvas>
</div>
<div id="qtip-4-content" class="qtip-content" aria-atomic="true">Africa</div>
</div>
-->
<div class="mappt_bot">
        <form action="<?=$_SERVER['PHP_SELF'];?><?php echo isset($_GET['return_url']) ? '?return_url=' . $_GET['return_url'] : null; ?>" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                <div class="choosecnt"></div>
                <div class="countrydrp" id="ctall">
                        <select name="countryname" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                <option value="">Select</option> 
                                <option value="US" >United States</option>
                                <option value="CA" >Canada</option>  
                                <option value="AU" >Australia</option>                        
                                <option value="GB" >United Kingdom</option>  
                                <option value="NZ" >New Zealand</option>     
                                <? 
                                $sql_ct="SELECT * FROM countries where(ccode!='US' AND ccode!='CA' AND ccode!='AU' AND ccode!='GB' AND ccode!='NZ')";
                                $res_ct=execute_query($sql_ct);
                                while($row_ct=mysql_fetch_array($res_ct))
                                { 
                                        ?>
                                        <option value="<?=$row_ct['ccode'] ?>"><?=$row_ct['country'] ?></option>
                                        <? } ?>                              
                                </select>        
                        </div>
                        <div class="countrydrp" id="ctafrica" style="display:none;">
                                <select name="countrynameafrica" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="AO">Angola</option>
                                        <option value="MA">Morocco</option>
                                        <option value="ZA">South Africa</option>
                                        <option value="TZ">Tanzania</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctusa" style="display:none;">
                                <select name="countrynameusa" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="US" >USA</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctcanada" style="display:none;">
                                <select name="countrynamecanada" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="CA" >Canada</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctaus" style="display:none;">
                                <select name="countrynameaus" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="AU" >Australia</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctindia" style="display:none;">
                                <select name="countrynameind" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="IN" >India</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctrussia" style="display:none;">
                                <select name="countryrussia" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="RU" >Russia</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctlatin" style="display:none;">
                                <select name="countrynamelatina" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="AR" >Argentina</option>
                                        <option value="BR">Brazil</option>
                                        <option value="CO">Colombia</option>
                                        <option value="CR">Costa Rica</option>
                                        <option value="EC">Equador</option>
                                        <option value="PE">Peru</option>
                                        <option value="VE">Venezuela</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="cteurope" style="display:none;">
                                <select name="countrynameeurope" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="AL">Albania</option>
                                        <option value="AT">Austria</option>
                                        <option value="BY">Belarus</option>
                                        <option value="BE">Belgium</option>
                                        <option value="BG">Bulgaria</option>
                                        <option value="HR">Croatia</option>
                                        <option value="CZ">Czech Republic</option>
                                        <option value="DK">Denmark</option>
                                        <option value="EE">Estonia</option>
                                        <option value="FI">Finland</option>
                                        <option value="GE">Georgia</option>
                                        <option value="DE">Germany</option>
                                        <option value="GR">Greece</option>
                                        <option value="GG">Guernsey</option>
                                        <option value="HU">Hungary</option>
                                        <option value="IS">Iceland</option>
                                        <option value="IE">Ireland</option>
                                        <option value="IM">Isle of man</option>
                                        <option value="IT">Italy</option>
                                        <option value="JE">Jersey</option>
                                        <option value="LV">Latvia</option>
                                        <option value="LI">Liechtenstein</option>
                                        <option value="LU">Luxembourg</option>
                                        <option value="MK">Macedonia</option>
                                        <option value="MT">Malta</option>
                                        <option value="MD">Moldova Republic</option>
                                        <option value="NL">Netherlands</option>
                                        <option value="NO">Norway</option>
                                        <option value="PL">Poland</option>
                                        <option value="PT">Portugal</option>
                                        <option value="RO">Romania</option>
                                        <option value="RU">Russia</option>                        
                                        <option value="SK">Slovakia</option>
                                        <option value="SL">Slovenia</option>
                                        <option value="ES">Spain</option>
                                        <option value="SE">Sweden</option>
                                        <option value="CH">Switzerland</option>
                                        <option value="TR">Turkey</option>
                                        <option value="UA">Ukraine</option>
                                        <option value="GB">United Kingdom</option>
                                </select> 
                        </div>
                        <div class="countrydrp" id="ctasia" style="display:none;">
                                <select name="countrynameasia" id="countryname" class="countryname_drp" onChange="citycheck(this.value)"> 
                                        <option value="BH">Bahrain</option>
                                        <option value="BD">Bangladesh</option>
                                        <option value="BN">Brunei</option>
                                        <option value="CN">China</option>
                                        <option value="CY">Cyprus</option>
                                        <option value="EG">Egypt</option>
                                        <option value="IN">India</option>
                                        <option value="ID">Indonesia</option>
                                        <option value="IL">Israel</option>
                                        <option value="JP">Japan</option>
                                        <option value="JO">Jordan</option>
                                        <option value="LB">Lebanon</option>
                                        <option value="MO">Macao</option>
                                        <option value="MY">Malaysia</option>
                                        <option value="PK">Pakistan</option>
                                        <option value="QA">Qatar</option>
                                        <option value="RS">Serbia</option>
                                        <option value="SG">Singapore</option>
                                        <option value="TW">Taiwan</option>
                                        <option value="TH">Thailand</option>
                                        <option value="AE">United Arab Emirates</option>
                                        <option value="UZ">Uzbekistan</option>
                                        <option value="VN">Vietnam</option>
                                </select> 
                        </div>
                        <div class="selectedct">
                                <table border="0" cellpadding="0" cellspacing="0" style=" width:100%; margin:0 auto;">
                                        <tr>
                                                <td class="stct_text">SELECTED COUNTRY</td>
                                        </tr>
                                        <tr>
                                                <td class="stct_text22">                    
                                                        <input type="text" style="text-align:center; background-color:transparent; border:none;"  name="TotlCost" id="TotalCost" ></td>
                                                        <!-- style="background-color:transparent; border:none;"-->
                                                </tr>
                                        </table>
                                </div>
                                <div class="enterdiv">
                                        <abbr title="enter"><input type="image" name="submit" src="images/entersite.png" /></abbr>
                                </div>
                        </form>
                        <br class="spacer" />
                </div>
        </div>
        <div style="width:950px; height:122px; border-radius:0 0 5px 5px; background:#fce0ec; float:right; margin-top:5px; margin-right:27px;">
                 <div class="disclaimer" style="height:110px; overflow:auto; ">
                         <? 
                    $sql_content="SELECT * FROM page_content WHERE id=78";
                    $res_content=execute_query($sql_content);
                    $row_content=mysql_fetch_array($res_content);
                    
                    echo stripslashes($row_content['page_content']);
                ?>
                </div>
        </div>
</div>
<br/>
<div style="width:1004px; margin:0 auto; background:#FCE0EC; border-radius:4px;">
            <div style="width:630px;  float:left; ">
                <div style="width:100%; height:35px; color:#000; font-size:24px;">&nbsp;&nbsp;&nbsp;United States</div>
            <?
                                $todate=date('Y-m-d');
                                                                $sql_ccescort="SELECT * FROM escort_details where status='a' AND gender!='Male'  AND country_name='US'";
                                                                $row_ccescort=execute_query($sql_ccescort);
                                                                $num_ccescort=mysql_num_rows($row_ccescort);
                                                                ?>
                                        <div class="city-list"> <?
                                                                        $sql_state="select * from states order by name limit 0,5";
                                                                        $res_state=execute_query($sql_state);                                                                        
                                                                        while($row_state=mysql_fetch_array($res_state))
                                                                        
                                                                         {
                                                                                
                                                                                 
                                                                                         ?>
                                                     <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                                                <h2 style="font-size:14px !important; height:30px; line-height:30px !important;"><?=$row_state['name']?></h2>
                                                                                                <?
                                                                                                
                                                                                                 $sql_eststate="SELECT * FROM citys WHERE states_id='".$row_state['id']."' ORDER BY name";
                                                                                                 $res_eststate=execute_query($sql_eststate);
                                                                                                 $num_eststate=mysql_num_rows($res_eststate);
                                                                                                 
                                                                                                        while($row_eststate=mysql_fetch_array($res_eststate))
                                                                                                        {
                                                                                                                $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url from escort_details where status='a' AND gender!='Male' AND escort_city='".$row_eststate['name']."'  AND country_name='US' ";
                                                                                                        $res_cityescort=execute_query($sql_cityescort);
                                                                                                        $row_cityescort=mysql_fetch_array($res_cityescort);
                                                                                                        $num_cityescort=mysql_num_rows($res_cityescort);
                                                                                                                
                                                                                                                
                                                                                                        ?>
                                                                                                                <div class="updatehdrstylecity">
                                                        <?
                                                        if($num_cityescort>0)
                                                                                                                                {        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'].' ('.$num_cityescort.')';
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                else
                                                                                                                                {
                                                                                                                                        $ctttttt=str_replace(' ','-',$row_eststate['name']);
                                                                                                                                        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$ctttttt?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'];
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                
                                                                                                                                
                                                                                                                        
                                                                                                                        ?>
                                                                                                                </div>
                                                                                                           
                                                                                                                
                                                                                                   <? } ?>
                                                                                                                <br class="spacer" />
                                                                                                </div>
                                                                                           <? 
                                                                                           
                                                                                   
                                                                            }  ?>
                                        <br class="spacer" />
                                                                                
                                                                                </div>
                                        
                                        <div class="city-list"> <?
                                                                        $sql_state="select * from states order by name limit 5,16";
                                                                        $res_state=execute_query($sql_state);                                                                        
                                                                        while($row_state=mysql_fetch_array($res_state))
                                                                        
                                                                         {
                                                                                
                                                                                 
                                                                                         ?>
                                                     <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                                                <h2 style="font-size:14px !important; height:30px; line-height:30px !important;"><?=$row_state['name']?></h2>
                                                                                                <?
                                                                                                
                                                                                                 $sql_eststate="SELECT * FROM citys WHERE states_id='".$row_state['id']."' ORDER BY name";
                                                                                                 $res_eststate=execute_query($sql_eststate);
                                                                                                 $num_eststate=mysql_num_rows($res_eststate);
                                                                                                 
                                                                                                        while($row_eststate=mysql_fetch_array($res_eststate))
                                                                                                        {
                                                                                                                $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url from escort_details where status='a' AND gender!='Male' AND escort_city='".$row_eststate['name']."'  AND country_name='US' ";
                                                                                                        $res_cityescort=execute_query($sql_cityescort);
                                                                                                        $row_cityescort=mysql_fetch_array($res_cityescort);
                                                                                                        $num_cityescort=mysql_num_rows($res_cityescort);
                                                                                                                
                                                                                                                
                                                                                                        ?>
                                                                                                                <div class="updatehdrstylecity">
                                                        <?
                                                        if($num_cityescort>0)
                                                                                                                                {        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'].' ('.$num_cityescort.')';
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                else
                                                                                                                                {
                                                                                                                                        $ctttttt=str_replace(' ','-',$row_eststate['name']);
                                                                                                                                        ?>                                                                                                                        
                                                                                                        
                                                                    <a href="http://<?=$ctttttt?>.<?php echo $serverName; ?>"><?
                                                                        
                                                                    
                                                                      echo $row_eststate['name'];
                                                                      
                                                                      ?>
                                                                     </a> 
                                                                     <?
                                                                                                                                }
                                                                                                                                
                                                                                                                                
                                                                                                                        
                                                                                                                        ?>
                                                                                                                </div>
                                                                                                           
                                                                                                                
                                                                                                   <? } ?>
                                                                                                                <br class="spacer" />
                                                                                                </div>
                                                                                           <? 
                                                                                           
                                                                                   
                                                                            }  ?>
                                        <br class="spacer" />
                                                                                
                                                                                </div>
                                        

                                        
                                        <div class="city-list"> <?
                                                                        $sql_state="select * from states order by name limit 21,11";
                                                                        $res_state=execute_query($sql_state);                                                                        
                                                                        while($row_state=mysql_fetch_array($res_state))
                                                                        
                                                                         {
                                                                                
                                                                                 
                                                                                         ?>
                                                     <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                                                <h2 style="font-size:14px !important; height:30px; line-height:30px !important;"><?=$row_state['name']?></h2>
                                                                                                <?
                                                                                                
                                                                                                 $sql_eststate="SELECT * FROM citys WHERE states_id='".$row_state['id']."' ORDER BY name";
                                                                                                 $res_eststate=execute_query($sql_eststate);
                                                                                                 $num_eststate=mysql_num_rows($res_eststate);
                                                                                                 
                                                                                                        while($row_eststate=mysql_fetch_array($res_eststate))
                                                                                                        {
                                                                                                                $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url from escort_details where status='a' AND gender!='Male' AND escort_city='".$row_eststate['name']."'  AND country_name='US' ";
                                                                                                        $res_cityescort=execute_query($sql_cityescort);
                                                                                                        $row_cityescort=mysql_fetch_array($res_cityescort);
                                                                                                        $num_cityescort=mysql_num_rows($res_cityescort);
                                                                                                                
                                                                                                                
                                                                                                        ?>
                                                                                                                <div class="updatehdrstylecity">
                                                        <?
                                                        if($num_cityescort>0)
                                                                                                                                {        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'].' ('.$num_cityescort.')';
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                else
                                                                                                                                {
                                                                                                                                        $ctttttt=str_replace(' ','-',$row_eststate['name']);
                                                                                                                                        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$ctttttt?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'];
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                
                                                                                                                                
                                                                                                                        
                                                                                                                        ?>
                                                                                                                </div>
                                                                                                           
                                                                                                                
                                                                                                   <? } ?>
                                                                                                                <br class="spacer" />
                                                                                                </div>
                                                                                           <? 
                                                                                           
                                                                                   
                                                                            }  ?>
                                        <br class="spacer" />
                                                                                
                                                                                </div>
                                        
                                        
                                        <div class="city-list"> 
                                                                                <?
                                                                        $sql_state="select * from states order by name limit 32,3";
                                                                        $res_state=execute_query($sql_state);                                                                        
                                                                        while($row_state=mysql_fetch_array($res_state))
                                                                        
                                                                         {
                                                                                
                                                                                 
                                                                                         ?>
                                                     <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                                                <h2 style="font-size:14px !important; height:30px; line-height:30px !important;"><?=$row_state['name']?></h2>
                                                                                                <?
                                                                                                
                                                                                                 $sql_eststate="SELECT * FROM citys WHERE states_id='".$row_state['id']."' ORDER BY name";
                                                                                                 $res_eststate=execute_query($sql_eststate);
                                                                                                 $num_eststate=mysql_num_rows($res_eststate);
                                                                                                 
                                                                                                        while($row_eststate=mysql_fetch_array($res_eststate))
                                                                                                        {
                                                                                                                $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url from escort_details where status='a' AND gender!='Male' AND escort_city='".$row_eststate['name']."'  AND country_name='US' ";
                                                                                                        $res_cityescort=execute_query($sql_cityescort);
                                                                                                        $row_cityescort=mysql_fetch_array($res_cityescort);
                                                                                                        $num_cityescort=mysql_num_rows($res_cityescort);
                                                                                                                
                                                                                                                
                                                                                                        ?>
                                                                                                                <div class="updatehdrstylecity">
                                                        <?
                                                        if($num_cityescort>0)
                                                                                                                                {        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'].' ('.$num_cityescort.')';
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                else
                                                                                                                                {
                                                                                                                                        $ctttttt=str_replace(' ','-',$row_eststate['name']);
                                                                                                                                        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$ctttttt?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'];
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                
                                                                                                                                
                                                                                                                        
                                                                                                                        ?>
                                                                                                                </div>
                                                                                                           
                                                                                                                
                                                                                                   <? } ?>
                                                                                                                <br class="spacer" />
                                                                                                </div>
                                                                                           <? 
                                                                                           
                                                                                   
                                                                            }  ?>
                                        <br class="spacer" />
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                <?
                                                                        $sql_state="select * from states order by name limit 35,15";
                                                                        $res_state=execute_query($sql_state);                                                                        
                                                                        while($row_state=mysql_fetch_array($res_state))
                                                                        
                                                                         {
                                                                                
                                                                                 
                                                                                         ?>
                                                     <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                                                <h2 style="font-size:14px !important; height:30px; line-height:30px !important;"><?=$row_state['name']?></h2>
                                                                                                <?
                                                                                                
                                                                                                 $sql_eststate="SELECT * FROM citys WHERE states_id='".$row_state['id']."' ORDER BY name";
                                                                                                 $res_eststate=execute_query($sql_eststate);
                                                                                                 $num_eststate=mysql_num_rows($res_eststate);
                                                                                                 
                                                                                                        while($row_eststate=mysql_fetch_array($res_eststate))
                                                                                                        {
                                                                                                                $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url from escort_details where status='a' AND gender!='Male' AND escort_city='".$row_eststate['name']."'  AND country_name='US' ";
                                                                                                        $res_cityescort=execute_query($sql_cityescort);
                                                                                                        $row_cityescort=mysql_fetch_array($res_cityescort);
                                                                                                        $num_cityescort=mysql_num_rows($res_cityescort);
                                                                                                                
                                                                                                                
                                                                                                        ?>
                                                                                                                <div class="updatehdrstylecity">
                                                        <?
                                                        if($num_cityescort>0)
                                                                                                                                {        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'].' ('.$num_cityescort.')';
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                else
                                                                                                                                {
                                                                                                                                        $ctttttt=str_replace(' ','-',$row_eststate['name']);
                                                                                                                                        ?>                                                                                                                        
                                                                                                        
                                                                <a href="http://<?=$ctttttt?>.<?php echo $serverName; ?>"><?
                                                                    
                                                                                                                                
                                                                                                                                  echo $row_eststate['name'];
                                                                                                                                  
                                                                                                                                  ?>
                                                                                                                                 </a> 
                                                                 <?
                                                                                                                                }
                                                                                                                                
                                                                                                                                
                                                                                                                        
                                                                                                                        ?>
                                                                                                                </div>
                                                                                                           
                                                                                                                
                                                                                                   <? } ?>
                                                                                                                <br class="spacer" />
                                                                                                </div>
                                                                                           <? 
                                                                                           
                                                                                   
                                                                            }  ?>
                                        <br class="spacer" />
                                                                                
                                                                                </div>
                                        
                                                                                
                                                                                <br class="spacer" />
                                                                        
                                                                                  
                                                                        


            
            
        </div>
        <div style="width:350px; float:right;">
                
                         <div class="city-list">
                        
                        <?
                                $sql_cnt="SELECT * FROM countries  order by country limit 0,122";
                                $res_cnt=execute_query($sql_cnt);
                                while($row_cnt=mysql_fetch_array($res_cnt))
                                {
                                        
                                           $sql_ccescort="SELECT * FROM escort_details where status='a' AND gender!='Male'  AND country_name='".$row_cnt['ccode']."'";
                                           $row_ccescort=execute_query($sql_ccescort);
                                           $num_ccescort=mysql_num_rows($row_ccescort);
                                           if($num_ccescort>0)
                                           { ?>
                                                                <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                <h2 style="font-size:14px !important; height:30px; line-height:20px !important;"><?=$row_cnt['country']?></h2>  
                                <?
                                                                   $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url,count(escort_city) from escort_details where status='a' AND gender!='Male' AND country_name='".$row_cnt['ccode']."'  group By escort_city";
                                                                   $res_cityescort=execute_query($sql_cityescort);
                                                                   while($row_cityescort=mysql_fetch_array($res_cityescort))
                                                                   {
                                                                         ?>
                                                                         <div class="updatehdrstylecity" style="width:140px !important;">
                                                                           <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                                  echo $row_cityescort['escort_city'].' ('.$row_cityescort['count(escort_city)'].')'
                                                                                  ?></a>
                                                                          </div>
                                                                          <? } ?>
                                                                          <br class="spacer" />
                                      
                                   </div>
                                    <? } 
                                        
                                }////end while CCODDE
                        ?>
                </div>
            <div class="city-list">
                        
                        <?
                                $sql_cnt="SELECT * FROM countries order by country limit 122,122";
                                $res_cnt=execute_query($sql_cnt);
                                while($row_cnt=mysql_fetch_array($res_cnt))
                                {
                                        if($row_cnt['ccode']!='US')
                                        {
                                           $sql_ccescort="SELECT * FROM escort_details where status='a' AND gender!='Male'  AND country_name='".$row_cnt['ccode']."'";
                                           $row_ccescort=execute_query($sql_ccescort);
                                           $num_ccescort=mysql_num_rows($row_ccescort);
                                           if($num_ccescort>0)
                                           { ?>
                                                                <div style="float:left; text-align:center; width:140px; margin-top:10px;">
                                                                <h2 style="font-size:14px !important; height:30px; line-height:20px !important;"><?=$row_cnt['country']?></h2>  
                                <?
                                                                   $sql_cityescort="select escort_city, LOWER(REPLACE(REPLACE(escort_city, ' ', '-'), '&', 'and')) AS escort_url,count(escort_city) from escort_details where status='a' AND gender!='Male' AND country_name='".$row_cnt['ccode']."'  group By escort_city";
                                                                   $res_cityescort=execute_query($sql_cityescort);
                                                                   while($row_cityescort=mysql_fetch_array($res_cityescort))
                                                                   {
                                                                         ?>
                                                                         <div class="updatehdrstylecity" style="width:140px !important;">
                                                                           <a href="http://<?=$row_cityescort['escort_url']?>.<?php echo $serverName; ?>"><?
                                                                                  echo $row_cityescort['escort_city'].' <span style=color:#000>('.$row_cityescort['count(escort_city)'].')</span>'
                                                                                  ?></a>
                                                                          </div>
                                                                          <? } ?>
                                                                          <br class="spacer" />
                                      
                                   </div>
                                    <? } 
                                        
                                        }////end if NOT US
                                        
                                }////end while CCODDE
                        ?>
                </div>
        
        </div>
            <br class="spacer" />
    
    </div>


<!--<div style="width:1004px; height:434px; margin:0 auto; background:url(images/indextext-block.jpg) 0 0 no-repeat;">
         <div style="height:20px;"></div>
    <div class="disclaimer" style="height:370px; overflow:auto; ">
               
                
    </div>


</div>-->

<br/><br/>

</div>
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=10474460; 
var sc_invisible=1; 
var sc_security="3ac57042"; 
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="shopify
analytics ecommerce" href="http://statcounter.com/shopify/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/10474460/0/3ac57042/1/"
alt="shopify analytics ecommerce"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->

 <? include "includes/footer.php";?>        

./BlackJoker Mini Shell 1.0