Example #1
0
    echo $mostra;
    $_SESSION["MSG"] = "";
    ?>
</div></td>
			</tr>
		    <?php 
}
?>
              <tr>
                <td class="texto">
                  <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="2">
                    <tr>
                      <td width="15%" class="texto" align="right"><div align="right" class="style1 style2"><b>Consultor </b> </div></td>
                      <td width="26%"  align="left" class="texto">
					<?php 
$arrayUsuario = populaCombo("pessoa", "idpes", "nome", "", "nome");
?>
					<select name="cbConsultor" tmt:invalidindex="0" tmt:message="Selecione um consultor" />
					<option>Todos os consultores</option>
					<?php 
for ($i = 0; $i < count($arrayUsuario); ++$i) {
    ?>
					<option value="<?php 
    echo $arrayUsuario[$i][0];
    ?>
"><?php 
    echo $arrayUsuario[$i][1];
    ?>
</option>
					<?php 
}
Example #2
0
    echo $mostra;
    $_SESSION["MSG"] = "";
    ?>
</div></td>
			</tr>
		    <?php 
}
?>
              <tr>
                <td class="texto">
                  <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="2">
                    <tr>
                      <td width="15%" class="texto" align="right"><div align="right" class="style1 style2"><b>Escola </b> </div></td>
                      <td  align="left" class="texto">
					<?php 
$arrayUsuario = populaCombo("escola", "idesc", "nome_fantasia", "", "nome_fantasia");
?>
					<select name="codescola" id="codescola" tmt:invalidindex="0" tmt:message="Selecione um consultor" />                    
					<option>Selecine a Escola </option>
					<?php 
for ($i = 0; $i < count($arrayUsuario); ++$i) {
    ?>
					<option value="<?php 
    echo $arrayUsuario[$i][0];
    ?>
"><?php 
    echo $arrayUsuario[$i][1];
    ?>
</option>
					<?php 
}