<span class="title_wrapper_left"></span> <span class="title_wrapper_right"></span> </div> <!--[if !IE]>end title wrapper<![endif]--> <!--[if !IE]>start section content<![endif]--> <div class="section_content"> <!--[if !IE]>start section content top<![endif]--> <? include('includes/alerta.php') ?> <div class="sct"> <div class="sct_left"> <div class="sct_right"> <div class="sct_left"> <div class="sct_right"> <?php $c = new Control(); $arr = $c->Controle_aluno($_SESSION['idAluno']); for ($i = 0; $i < count($arr); $i++) { ?> <h3>Editar aluno: <?php echo $arr[$i]->nome['nome']; ?> </h3> <form id="alunoIN" action="?action=edit" method="POST" class="search_form general_form"> <fieldset> <div class="forms"> <div class="row"> <label>Nome:</label> <div class="inputs"> <span class="input_wrapper"> <input class="text" name="nome" id="nome" value="<?php
<thead> <tr> <th><a href="#" class="desc"></a></th> <th><a href="#">Nome</a></th> <th><a href="#">E-mail</a></th> <th><a href="#">Telefone</a></th> <th><a href="#">Celular</a></th> <th style="width: 96px;">Ações</th> </tr> </thead> <tbody> <?php define('TABLE1', 'first'); define('TABLE2', 'second'); $c = new Control(); $arr = $c->Controle_aluno($id = null, $_GET['ed']); for ($i = 0; $i < count($arr); $i++) { ?> <tr class="<? if($i % 2){ echo TABLE1; }else{ echo TABLE2; }?>"> <td>#<?php echo $arr[$i]->idaluno['idaluno']; ?> </td> <td><?php echo $arr[$i]->nome['nome']; ?> </td> <td><?php echo $arr[$i]->email['email']; ?> </td>
<span class="title_wrapper_left"></span> <span class="title_wrapper_right"></span> </div> <!--[if !IE]>end title wrapper<![endif]--> <!--[if !IE]>start section content<![endif]--> <div class="section_content"> <!--[if !IE]>start section content top<![endif]--> <div class="sct"> <div class="sct_left"> <div class="sct_right"> <div class="sct_left"> <div class="sct_right"> <?php if (isset($_GET['nu'])) { $c = new Control(); $arr = $c->Controle_aluno($_GET['nu'], $_GET['ed'] = null); for ($i = 0; $i < count($arr); $i++) { ?> <h3>Editar aluno: <?php echo $arr[$i]->nome['nome']; ?> </h3> <form id="Aluno" action="?action=edit" method="POST" class="search_form general_form"> <fieldset> <div class="forms"> <div class="row"> <label>Nome:</label> <div class="inputs"> <span class="input_wrapper"> <input class="text" name="nome" id="nome" value="<?php