<?php
 
session_start();
include("DMMYSQLG.php");
?>
<html>
<head>
<title>Agregar Prospecto Moral</title>
</head>
<link rel="stylesheet" href="css/estilo1.css" type="text/css"/>
<script type="text/javascript" language="JavaScript1.2" src="DSSCRIPT.js"></script>
<body>
<form name="frm1" id="frm1" method="post" action="DRA0000_AC2.php" >
<?php
 
for($j=0;$j<=119;$j++)
{
	$c[]= "t" . $j;
	echo '<input name="' . $c[$j-1] . '" type="hidden" value="' . $_POST[$c[$j-1]] .'">';
}
?>
  <table width="887"  align="center">
    
    <tr>
      <th colspan="3">Caracteristicas del Financiamiento (Para ser llenado Por el distribuidor) </th>
    </tr>
    <tr>
      <td width="372">Tipo de producto:
        <select name="t81" tabindex="1" >
		<?php

			if(isset($_POST['t81'])){ 	
				echo '<option>' . $_POST['t81'] .  '</option>';
			}
			?>
          <option>---------</option>
          <option>Wor</option>
          <option>Multiopcion</option>
        </select></td>
      <td width="492544" colspan="2">Precio: 
      <input name="t88" type="text" tabindex="8"
	  
	  <?php

				if(isset($_POST['t88'])){ 
			echo 'value="' . $_POST['t88'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
    </tr>
    <tr>
      <td>Plan:
      <input name="t82" type="text" tabindex="2" size="50"
	  <?php

				if(isset($_POST['t82'])){ 
			echo 'value="' . $_POST['t82'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
      <td colspan="2">Enganche:
      <input name="t89" type="text" tabindex="9"
	  <?php

				if(isset($_POST['t89'])){ 
			echo 'value="' . $_POST['t89'] .  '"';
			}
		?> onBlur="may(this)"/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Plazo:
      <input name="t90" type="text" tabindex="10"
	  <?php

				if(isset($_POST['t90'])){ 
			echo 'value="' . $_POST['t90'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
    </tr>
    <tr>
      <td>Marca:
      <input name="t83" type="text" tabindex="3" size="50"<?php

				if(isset($_POST['t83'])){ 
			echo 'value="' . $_POST['t83'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
      <td colspan="2">Unidad a Cuenta: 
      <input name="t91" type="text" tabindex="11"<?php

				if(isset($_POST['t91'])){ 
			echo 'value="' . $_POST['t91'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
    </tr>
    <tr>
      <td>Modelo:
      <input name="t84" type="text" tabindex="4" size="50"
	  <?php

				if(isset($_POST['t84'])){ 
			echo 'value="' . $_POST['t84'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
      <td colspan="2">Seguro:
      <input name="t92" type="text" tabindex="12"
	  <?php

				if(isset($_POST['t92'])){ 
			echo 'value="' . $_POST['t92'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
    </tr>
    <tr>
      <td>A&ntilde;o:
        <select name="t85" tabindex="5" >
		<?php

			if(isset($_POST['t85'])){ 	
				echo '<option>' . $_POST['t85'] .  '</option>';
			}
			?>
          <option>---------</option>
          <option>NUEVO</option>
          <option>SEMI-NUEVO</option>
        </select></td>
      <td colspan="2">Monto a Financiar: 
      <input name="t93" type="text" tabindex="13"
	  <?php

				if(isset($_POST['t93'])){ 
			echo 'value="' . $_POST['t93'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
    </tr>
    <tr>
      <td>Seguro:
        <select name="t86" tabindex="6" >
		<?php

			if(isset($_POST['t86'])){ 	
				echo '<option>' . $_POST['t86'] .  '</option>';
			}
			?>
          <option>---------</option>
          <option>FINANCIADO</option>
          <option>CONTADO</option>
        </select></td>
      <td colspan="2">Mensualidad:
      <input name="t94" type="text" tabindex="14"
	  <?php

				if(isset($_POST['t94'])){ 
			echo 'value="' . $_POST['t94'] .  '"';
			}
		?> onBlur="may(this)"/>		</td>
    </tr>
    <tr>
      <td>Tipo de Moneda:
        <input name="t87" type="text" tabindex="7" size="40"
	  <?php

				if(isset($_POST['t87'])){ 
			echo 'value="' . $_POST['t87'] .  '"';
			}
		?> onBlur="may(this)"/></td>
      <td colspan="2">Sucursal:
        <input name="t95" type="text" tabindex="15"
		<?php

				if(isset($_POST['t95'])){ 
			echo 'value="' . $_POST['t95'] .  '"';
			}
		?> onBlur="may(this)"/>
		
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Estado:
<input name="t96" type="text" tabindex="16"
<?php

				if(isset($_POST['t96'])){ 
			echo 'value="' . $_POST['t96'] .  '"';
			}
		?> onBlur="may(this)"/>	  </td>
    </tr>
    <tr>
      <td colspan="3">
        <div align="center">
           
          <input type="submit" name="Submit3" value="Regresar" onClick="openpage('DRA11118.php','_self')">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<input type="submit" name="Submit" value="Agregar Prospecto" >
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <input type="button" name="Submit2" value="Regresar al Principio" onClick="openpage('DRA11116.php','_self')">
        </div>      </td>
    </tr>
  </table>
</form>
</body>
</html>
