<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 ($_GET['id']) { $vi = $_GET['id']; $c = new Control(); $arr = $c->Controle_contato($vi, $a, $b); for ($i = 0; $i < count($arr); $i++) { ?> <form id="Contato" action="novo_contato.php?action=edit" method="POST" class="search_form general_form"> <fieldset> <div class="forms"> <div class="row"> <label>Estabelecimento:</label> </div> <div class="row"> <label>Assunto:</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="assunto" id="assunto" value="<?php echo $arr[$i]->assunto['assunto']; ?>
<div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%"> <thead> <tr> <th>#Id</th> <th>Estabelecimento</th> <th>Assunto</th> <th>Ações</th> </tr> </thead> <tbody> <?php define('TABLE1', 'odd gradeX'); define('TABLE2', 'odd gradeA'); $c = new Control(); $arr = $c->Controle_contato($id, 1, $id_usuario_admin); for ($i = 0; $i < count($arr); $i++) { ?> <tr class="<? if($i % 2){ echo TABLE1; }else{ echo TABLE2; }?>" <?php if ($arr[$i]->novo['novo'] == 1) { ?> style="font-weight: bold;" <?php } ?> > <td><?php echo $arr[$i]->id_contato['id_contato']; ?> </td> <td><?php echo $arr[$i]->nome_estabelecimento['nome_estabelecimento'];