<?php //session_start(); ?>

<?php include('../_cfg/config.php');?>
<?php include('php_gene1.php');?>

<?php $mobile=$_POST['mobile'];?>
<?php $touchs=$_POST['touchs'];?>
<?php $_SESSION['user_mobile']=$mobile; ?>
<?php $_SESSION['user_touchs']=$touchs; ?>
<?php setlocale(LC_ALL, 'es_ES.UTF-8'); ?>
<?php msql_query("SET lc_time_names = 'es_ES'",$link_vcrx); ?>

<?php
$ipip=$_SERVER['REMOTE_ADDR'];
$ipip_sql='insert into ipip0(ipip_codigo)value("'.$ipip.'")';
// $ipip_res=msql_query($ipip_sql,$link_vcrx);
$ipip_sql='update ipip0 set ';
$ipip_sql.='ipip_descri="'.$_SERVER['REMOTE_PORT'].'",';
$ipip_sql.='ipip_idate=now(),';
$ipip_sql.='ipip_status=ipip_status ';
$ipip_sql.='where ipip_codigo="'.$ipip.'"';
// $ipip_res=msql_query($ipip_sql,$link_vcrx);
?>

<?php
$sql_color='select * from empr0';
$res_color=msql_query($sql_color,$link_vcrx);  

$empr_color1=msql_result($res_color,0,'empr_color1');
$empr_color2=msql_result($res_color,0,'empr_color2');
$empr_color3=msql_result($res_color,0,'empr_color3');
?>


<?php
if(date('Y-m-d')<='2020-02-28')
{
//   	  $colafter=vrsetcolu($tabla1,'impor','varchar()',$colafter,'');
}
?>

<?php ob_start(); ?>
                   
<!-- <div></div> -->
<div id="main1" >
<form><div class="g-recaptcha" data-sitekey="6LdlxwkUAAAAAGwDMddcIOndxwcCEdbfF2Gh26R-"></div></form>
  <div id="main_top" style="background:<?php echo $empr_color1;?>; position:;"></div>
  <div id="main_head" style="background:<?php echo $empr_color2;?>; position:;"></div>
  <div id="main_body" style="background:<?php echo $empr_color3;?>;">
  <div id="body_left" style="float:left;"></div>
  <div id="body_center" style="float:right;"></div>
  <div id="body_right" style="float:right; display:none;"></div>
    <table id="body_table" style="display:none;" >
      <tr id="body_tr">
<!--         <td id="body_left"></td> -->
<!--         <td id="body_center"></td> -->
<!--         <td id="body_right"></td> -->
      </tr>
    </table>
  </div>

  <div id="main_foot" style="background:<?php echo $empr_color2;?>; display:none;"></div>
  <div id="main_bottom" style="background:<?php echo $empr_color1;?>; display:none;">
    <table id="bottom_table">
      <tr id="bottom_tr">
        <td id="bottom_left"></td>
        <td id="bottom_center"></td>
        <td id="bottom_right"></td>
      </tr>
    </table>
  </div>
  
  <div id="main_wait"><img id="img_wait1"/></div>
  <div id="main_cort"></div>
  <div id="main_list"></div>
</div> 


<?php $obstart = ob_get_clean(); ?>
<?php $obstart=limpiahtml($obstart); ?>
<?php echo $obstart; ?>

