<?php

require_once '../functions/funciones.php';
$key = $_GET['edit'];
//echo $key;
$newkey = obtener_notas($key);
$tipos = list_tipo_notas();
$estados = list_estatus_notas();
?>
<script>
	function refreshParent()
	{
    	window.opener.location.reload(true);
	}
</script>
<link type="text/css" rel="stylesheet" href="../css/bootstrap.css"  media="screen,projection"/></link>
<body onunload="javascript:refreshParent()">


<form class="form-horizontal form" action="../functions/f-notice.php" method="post">
	<?php 
while ($list = mysql_fetch_array($newkey)) {
    ?>
	<div class="modal fade" id="" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
	  <div class="modal-dialog">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	        <h4 class="modal-title" id="">Editar Nota <small>ID <?php 
    echo $key;
    ?>
Example #2
0
<?php

$tipos = list_tipo_notas();
$estatus = list_estatus_notas();
$NETipos = list_tipo_notas();
$NEEstatus = list_estatus_notas();
?>

<div class="page-header">
	<h2>Avisos y Notas Importantes</h2>
</div>

<form name = "notas-v" method="POST" action="functions/f-notas.php">

	<table class="table table-striped table-hover">

		<thead>
			<tr>
				<th class="col-xs-1"> Fecha </th>
				<th class="col-xs-1"> Estatus </th>
				<th class="col-xs-8"> Contenido Nota </th>
				<th class="col-xs-1"> Ticket</th>
				<th class="col-xs-1"> </th>
			</tr>
		</thead>

		<tbody>
<?php 
$res = listadoNotas();
while ($lista = mysql_fetch_array($res)) {
    if ($lista['importancia'] == 1) {