<?php
include("cls_conexion.php");$CNN=new ClsMySQL();include("conexion23.php");
//+++++
$OK=0;
$N0="";
$N1="";
$N2="";
$N3="";
$N4="";
$N5="";
$N6="";
$N7="";
$N8="";
$N9="";
//
$CX=gn("id","numeracion","hab='SI'");
if($CX==0){
	//return $n;
}else{
	$r=gr("numeracion","id=$CX");
	$N0=$r['n0'];
	$N1=$r['n1'];
	$N2=$r['n2'];
	$N3=$r['n3'];
	$N4=$r['n4'];
	$N5=$r['n5'];
	$N6=$r['n6'];
	$N7=$r['n7'];
	$N8=$r['n8'];
	$N9=$r['n9'];
	$OK=1;
}
?>
<input id="TxtID" type="text" readonly value="<?php echo $CX;?>">
<input id="Txt0" type="text" readonly value="<?php echo $N0;?>">
<input id="Txt1" type="text" readonly value="<?php echo $N1;?>">
<input id="Txt2" type="text" readonly value="<?php echo $N2;?>">
<input id="Txt3" type="text" readonly value="<?php echo $N3;?>">
<input id="Txt4" type="text" readonly value="<?php echo $N4;?>">
<input id="Txt5" type="text" readonly value="<?php echo $N5;?>">
<input id="Txt6" type="text" readonly value="<?php echo $N6;?>">
<input id="Txt7" type="text" readonly value="<?php echo $N7;?>">
<input id="Txt8" type="text" readonly value="<?php echo $N8;?>">
<input id="Txt9" type="text" readonly value="<?php echo $N9;?>">
<input id="TxtOK" type="text" readonly value="<?php echo $OK;?>">