</div>
						<hr />
					<br />
					<!-- identificacion oficial-->
					<div class="row form-row">
						<div class="col-md-6">
							<label>Adjuntar Identificaci&oacute;n Oficial</label>
							<input type="file" name="identificacionOficial" style="width:100%" />
						</div>
							<div class="col-md-4">
								<div class=" form-group">
							<label>Tipo de Documento para la Identificacion Fiscal</label>
								<?php 
include_once "../controller/cCatalogos.php";
$cataql = new cCatalogos();
$docdom = $cataql->getTiposDoc(1);
?>
							<select class="form-control" name="tipoDocIden" style="text-transform: uppercase">
								<?php 
while ($iddom = $docdom->NextRow()) {
    ?>
								<option value="<?php 
    echo $iddom['id_adj'];
    ?>
"><?php 
    echo $iddom['tipo'];
    ?>
</option>
								<?php 
}
?>
<?php

if (!isset($_POST['idadjunto'])) {
    include_once "../controller/cCatalogos.php";
    $cata = new cCatalogos();
    $lcata = $cata->getTiposDoc($_GET['tipoajd']);
    ?>
	<h3>SELECCIONE ADJUNTO</h3>
	<form enctype="multipart/form-data" target="../helper/editaAdjuntos.php" method="post">
	<input type="file" name="nvoDocto" />
	<input type="hidden" name="idclte" value="<?php 
    echo $_GET['id'];
    ?>
" />
	<input type="hidden" name="tipo" value="<?php 
    echo $_GET['idadj'];
    ?>
" />
	<input type="hidden" name="id_ad" value="<?php 
    echo $_GET['id_adjunto'];
    ?>
">
	<h3>Seleccione tipo de documento</h3>
	<select name="idadjunto">
		<?php 
    while ($l = $lcata->NextRow()) {
        ?>
		<option value="<?php 
        echo $l['id_adj'];
        ?>
"><?php 
							<div class="row">
								<div class="col-lg-6">
									<label>Identificación Personal</label>
									<input style="width: 100%" type="file" name="idenRep<?php 
    echo $i;
    ?>
" />
								</div>
								<div class="col-lg-4">
									<label>Tipo de Documento de Identificación Personal</label>
									<select class="form-control" style="text-transform: uppercase" name="cbmIdenRep<?php 
    echo $i;
    ?>
" >
										<?php 
    $tiposd = $catgiros->getTiposDoc(1);
    while ($tp = $tiposd->NextRow()) {
        ?>
										<option value="<?php 
        echo $tp['id_adj'];
        ?>
"><?php 
        echo $tp['tipo'];
        ?>
</option>
										<?php 
    }
    ?>
									</select>
								</div>
							</div>
<?php

if (!isset($_POST['idadjunto'])) {
    include_once "../controller/cCatalogos.php";
    $cata = new cCatalogos();
    $lcata = $cata->getTiposDoc($_POST['tipoajd']);
    // print_r($_POST);
    ?>
	<h3>SELECCIONE ADJUNTO</h3>
	<!-- <form enctype="multipart/form-data" target="../helper/editaAdjuntos.php" method="post"> -->
	<form id="formulario_adjunto" method="post" enctype="multipart/form-data"action="../helper/editaAdjuntos3.php">
		<input type="file" name="nvoDocto" />
		<input type="hidden" name="idclte" value="<?php 
    echo $_POST['id'];
    ?>
" />
		<input type="hidden" name="tipo" value="<?php 
    echo $_POST['idadj'];
    ?>
" />
		<input type="hidden" name="id_ad" value="<?php 
    echo $_POST['id_adjunto'];
    ?>
">
		<input type="hidden" name="nombre_archivo" value="<?php 
    echo $_POST['nombre_archivo'];
    ?>
">
		<?php 
    if ($_POST['tipoajd'] == 10) {
        echo "<h3>Introduzca un nombre</h3> <input type='text' name='descripcion'>";