示例#1
0
<?
require("seguranca.php");

require "../controller/salaController.php";

$salaController = new salaController();

$sala = $salaController->excluir();
$sala = $salaController->salvar();
$sala = $salaController->abrir();
if(isset($sala[0]))
extract($sala[0]);

if(!isset($id))
{
	$nome = '';
	$id = 0;
	
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<script src="js/jquery.js"></script>
   		<script src="js/jquery.datetimepicker.full.js"></script>
        <script src="js/dateformat.js"></script>
        
        <!-- <link href="css/select2.min.css" rel="stylesheet" /> -->
示例#2
0
<?

require("seguranca.php");

require "../controller/salaController.php";

$salaController = new salaController();
$lista = $salaController->listarcontroller();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	        
		<script src="js/jquery.js"></script>
   		<script src="js/jquery.datetimepicker.full.js"></script>
        <script src="js/dateformat.js"></script>
        
        <link rel="stylesheet" type="text/css" href="css/estilo.css">
        <link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.css">

  		<script src="js/lib.js"></script>
     
     </head>

<title>Cadastro de Períodos</title>
<body>

<!-- form -->
<div class="form">