<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"> <div style="padding:10px"> <label style="font-size:16px">Curso:</label> <div class="inputs"> <span class="input_wrapper blank"> <select name="concurso_idconcurso" id="concurso_idconcurso" title=""> <option selected value="">---</option> <?php $c = new Control(); $arre = $c->Controle_concurso($idi = null); for ($j = 0; $j < count($arre); $j++) { ?> <option value="<?php print $arre[$j]->idconcurso['idconcurso']; ?> "><?php print $arre[$j]->nome['nome']; ?> </option> <?php } ?> </select> </span> <span class="system negative"></span>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%"> <thead> <tr> <th><a href="#" class="desc"></a></th> <th><a href="#">Nome</a></th> <th><a href="#">Remuneração</a></th> <th><a href="#">Vagas</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_concurso($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]->idconcurso['idconcurso']; ?> </td> <td><?php echo $arr[$i]->nome['nome']; ?> </td> <td><?php echo $arr[$i]->remuneracao['remuneracao']; ?> </td>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%"> <thead> <tr> <th><a href="#" class="desc"></a></th> <th><a href="#">Nome</a></th> <th><a href="#">Remuneração</a></th> <th><a href="#">Vagas</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_concurso($id = null); for ($i = 0; $i < count($arr); $i++) { ?> <tr class="<? if($i % 2){ echo TABLE1; }else{ echo TABLE2; }?>"> <td>#<?php echo $arr[$i]->idconcurso['idconcurso']; ?> </td> <td><?php echo $arr[$i]->nome['nome']; ?> </td> <td><?php echo $arr[$i]->remuneracao['remuneracao']; ?> </td>