include("../includes/DB_Conectar.php"); $admABMLink_manual="admNotEdit.php"; include("../includes/inc_auth.php"); include("../includes/funciones.php"); function EsHoja($id) { global $conn; $sql = "select count(*) as canthijos from tycDeportes where depDependeDe = $id"; $rs = $conn->execute($sql); if($rs->field("canthijos")==0) return true; return false; } function ArmarRuta($id,$ruta) { global $conn; $sql = "select depNombre,depDependeDe from tycDeportes where depID = $id"; $rs = $conn->execute($sql); $id=$rs->field("depDependeDe"); $nombre=$rs->field("depNombre"); $ruta = $nombre."/".$ruta; if ($id==1){return $ruta;} else{ArmarRuta($id,&$ruta);} return $ruta; } if(!$id){?> execute($sql); } if($borrar){ $sql="delete from tycNotaSubnota where notID='$id' and subID='$subID'"; $conn->execute($sql); } ?>
| Sub-nota | ||
|
|