</form> <p class="aviso"><?php echo $aviso; ?> </p> <?php $sqlp = $sqlb11 . " ORDER BY fecha_reunion DESC"; $tbl = new cTabla($sqlp); $tbl->setEventKey("setPeriodo"); $tbl->Show("", false); $per = isset($_POST["cPeriodo"]) ? $_POST["cPeriodo"] : EACP_PER_SOLICITUDES; if ($per != EACP_PER_SOLICITUDES) { $xP = new cPeriodoDeCredito($per); $xHT = new cHTMLObject(); echo $xHT->setInHTML($xP->setCambiar($per)); } ?> </fieldset> </body> <script > function setPeriodo(Id){ document.frmupdateperiodo.cPeriodo.value = Id; } function setTerminar(){ window.location = "../utils/clssalir.php"; } function jsToAction(){ if ( document.getElementById("idPeriodo").value == "nuevo" ){ jsGenericWindow("./frmperiodos.php"); }
} $xe = my_query($sql); $msg .= trim($xe["info"]) == "" ? "" : $xe["info"] . "\r\n"; $msg .= "{$iReg}\tSUCESS\t{$cpostal}\tSe Agrega colonia {$ncolonia} \r\n"; } else { $msg .= "{$iReg}\tALERTA\tLa Linea({$iReg}) no se Imprimio [" . substr($bufer, 0, 20) . "]({$cpostal} :: {$ncolonia})\r\n"; } } $iReg++; } } fclose($gestor); $html = new cHTMLObject(); $xlog = new cFileLog("carga_batch-colonias-" . date("Ymd"), true); $xlog->setWrite($msg); $htmlmsg = $html->setInHTML($msg); $xBtn = new cHButton(""); echo $xBtn->getSalir(); $xlog->setClose(); echo $xlog->getLinkDownload("Archivo de Resultados de la Carga"); //echo "<p class ='aviso'>$htmlmsg</p>"; //echo $msg; } else { echo "<p class='aviso'>EL TIPO DE ARCHIVO DE " . $usrFiles[$i]['name'] . "(" . $mExt . ") NO SE ACEPTA</p>"; } } } } if (!isset($iReg)) { $iReg = 0; }