Example #1
0
 public function initial($string)
 {
     $datas = explode(" ", $string);
     $tab = '';
     foreach ($datas as $key => $value) {
         $tab .= Strtoupper(substr($value, 0, 1)) . '.';
     }
     return substr($tab, 0, -1);
 }
        ?>
	<tr>
			<td color="336699" align="center" height="26" > <?php 
        echo $dados_usuarios_cpd[matricula];
        ?>
 </td>
			<td color="336699" align="center" height="26" > <?php 
        echo $dados_usuarios_cpd[nomusuario];
        ?>
</a> </td>
			<td color="336699" align="center" height="26" > <?php 
        echo Strtoupper($dados_usuarios_cpd[user]);
        ?>
 </td>					
			<td color="336699" align="center" height="26" > <?php 
        echo Strtoupper($dados_usuarios_cpd[bloqueio]);
        ?>
 </td>
			<td color="336699" align="center" height="26" > <?php 
        echo $dados_usuarios_cpd[datacadastro];
        ?>
 </td>
	</tr>
	<?php 
    }
    ?>
	</table>
	<?php 
}
?>
	
Example #3
0
</head>
<body>
<table border="0"  width="800" align="center">
	<tr>
		<td rowspan="2">
		
		</td>
		</tr>
		<td width="60%" align="right" valign="baseline" >
		<font color="#006600" size="+3"> CONTROLE DE COLETORES </font><br>
		<font color="#006600" size="-1"> <b> Informatica Atacadao Filial <?php 
echo Strtoupper($dados_usuario_logado[filial]);
?>
 <br>
		<font color="#006600"> <B> Bem Vindo: <font color="#006600"> <u> <?php 
echo Strtoupper($dados_usuario_logado[nomusuario]);
?>
  </font> | <a href="logout.php"> SAIR </a>	<br>
	
		<script language="JavaScript">

 // -- made by A1javascripts.com, please keep these credits when using this script
    days = new Array(7)
    days[1] = "Domingo";
    days[2] = "Segunda-feira";
    days[3] = "Terca-feira"; 
    days[4] = "Quarta-feira";
    days[5] = "Quinta-feira";
    days[6] = "Sexta-feira";
    days[7] = "Sabado";
    months = new Array(12)
    echo $lista_mov_coletores2[matricula_user];
    ?>
 </td>
		<td color="336699" align="center" height="26" > <?php 
    echo $lista_mov_coletores2[nome_user];
    ?>
 </td>
		<td color="336699" align="center" height="26" > <?php 
    echo $lista_mov_coletores2[setor_user];
    ?>
 </td>
		<td color="336699" align="center" height="26" > <a href="query_baixa_por_identificador.php?coletor=<?php 
    echo $lista_mov_coletores2[coletor];
    ?>
&movimento=USO&tipo=lista"><?php 
    echo Strtoupper($lista_mov_coletores2[coletor]);
    ?>
</a> </td>
		<td color="336699" align="center" height="26" > <?php 
    echo $lista_mov_coletores2[data_saida];
    ?>
 </td>
		<td color="336699" align="center" height="26" > <?php 
    echo $lista_mov_coletores2[hora_saida];
    ?>
 </td>
	<?php 
}
?>
	</tr>
</tr>
		</tr>
		<tr>
		<?php 
while ($lista_conserto2 = mysql_fetch_array($lista_conserto) and $lista_coletores2 = mysql_fetch_array($lista_coletores)) {
    ?>
		<tr>
			<td color="336699" align="center" width="100" height="26"><?php 
    echo $lista_coletores2[nserie];
    ?>
</td>
			<td color="336699" align="center" width="400" height="26"><?php 
    echo $lista_conserto2[defeito];
    ?>
</td>
			<td color="336699" align="center" width="40" height="26"><?php 
    echo Strtoupper($lista_coletores2[identificador]);
    ?>
</td>
		</tr>
			<?php 
}
?>
		</tr>
		</table>
		<br>
	</td>
</tr>
</table>


</head>