<?php //include('../cfg/config.php');?>
<?php //$titulo=$_POST['titulo'] ?>

<?php if (1==1){ ?>

<?php $mobile=$_POST['mobile']; ?>
<?php $orient=$_POST['orient']; ?>
<?php $widesc=$_POST['widesc']; ?>
<?php $getcong=$_POST['getcong']; ?>

<?php
$xfontsize=20;
if($mobile=='true' and $orient=='V'){$xfontsize=60;}
if($mobile=='true' and $orient=='H'){$xfontsize=30;}
?>

<br/>

<?php if($mobile=='false') { ?>
<table align="center" width="100%" border=0 >
    <tr>
      <?php $pidtxt='cong'; $pcaption='Congregacion'; $psize=$xfontsize; $plong=6; $pobj=2; $pdefa=$getcong; $ponblur="login_cong(document.getElementById('cong').value);"; include('vrgetnum.php'); ?>
    </tr>
    <tr>
    </tr>
    <tr>
      <td align="center">
      <?php $pidtxt='visita'; $pcaption='ACEPTAR'; $psize=$xfontsize; $ponclick="login_cong(document.getElementById('cong').value);"; include('vrbutton.php'); ?>
      </td>
    </tr>
</table> 
<?php } ?>

<?php if($mobile=='true' and $orient=='V') { ?>
<br/><br/>
<br/><br/>
<table align="center" width="100%" border=1 >
    <tr>
      <?php $pidtxt='cong'; $pcaption='Congregacion'; $psize=$xfontsize; $plong=6; $pobj=2; $pdefa=$getcong; $ponclick="login_cong();"; include('vrgetnum.php'); ?>
    </tr>
    <tr  height="150px">
      <td align="center">
      <?php $pidtxt='visita'; $pcaption='ACEPTAR'; $psize=$xfontsize; $ponclick="login_cong(document.getElementById('cong').value);"; include('vrbutton.php'); ?>
      <?php //$pidtxt='visita'; $pcaption='Aceptar'; $psize=$xfontsize;  $ponclick="login_cong();"; include('vrbutton.php'); ?>
      </td>
    </tr>
</table> 
<?php } ?>


<?php if($mobile=='true' and $orient=='H') { ?>
<!-- <br/><br/> -->
<!-- <br/><br/> -->
<table align="center" width="100%" border=1 >
    <tr>
      <?php $pidtxt='cong'; $pcaption='Congregacion'; $psize=$xfontsize; $plong=6; $pobj=3; $pdefa=$getcong; include('vrgetnum.php'); ?>
<!--     </tr> -->
<!--     <tr  height="150px"> -->
      <td align="center">
      <?php $pidtxt='visita'; $pcaption='Aceptar'; $psize=$xfontsize;  $ponclick="login_cong();"; include('vrbutton.php'); ?>
      </td>
    </tr>
</table> 
<?php } ?>


<?php } ?>