Esempio n. 1
0
		(function(){
			$('ul.sf-menu').superfish();
			$("#lista_empresa").toggle();
		});

		</script>

		<ul class="sf-menu" style="z-index:10;">
			<li class="current" style="z-index:10;">
				<a href="/cad_tudo/principal.php?t=ficha"><img src="/images/Icons/group.png" width="24" height="24" />Cadastro de Cliente</a>
	    </li>
			<li class="current" style="z-index:10;">
				<a href="/cad_tudo/principal.php?t=usuario"><img src="/images/Icons/group.png" width="24" height="24" />Usuário</a>
	    </li>
           
           		 
			
         
			
           
		</ul>
<div id="logado" align="center"><?php 
echo MostraValor("id_usuario", $sslogado, $conexao);
?>
 | 
<a href="/cad_tudo/principal.php?p=cadastra&voltar=1&t=usuario&id=<?php 
echo $sslogado;
?>
">Meus dados</a><br />
<br />
<a href="/" style="color:#003;"><img src="/images/Icons/user_white.png" width="24" height="24" border="0" /> LOGOUT</a></div>
Esempio n. 2
0
				$campo = mysql_field_name($tabela,$j);
				$id_campo = mysql_result($tabela,$x,mysql_field_name($tabela,0));
		
				if ($campo !="senha"){				
					$html .= '<td align="left"><a href="?mod='.$_GET['mod'].'&smod='.$_GET['smod'].'&t='.$_GET['t'].'&p=cadastra&id='.$id_campo.' ">';
					
					if (substr($campo,0,2) == "id")
						{
						
						//$html .= @MostraValor( $campo , mysql_result($tabela,$x, $campo ), $conexao);
						
						
						if ( $filtro != "" )
							$html .= utf8_encode( @MostraValor( $campo , mysql_result($tabela,$x, $campo ), $conexao) );	
						else
						 	$html .= @MostraValor( $campo , mysql_result($tabela,$x, $campo ), $conexao);
						
						
						}
					
					else if (substr($campo,0,4) == "data")
						$html .= @Mostra_Data( mysql_result($tabela,$x, $campo ));
					else if ( strtoupper( $campo )  == strtoupper("foto") )
						$html .=  '<img  src="produtos/'.mysql_result($tabela,$x,$campo).'"  height="100" />';
						
					else{
						
						if ( $filtro != "" )
							$html .= str_replace( strtoupper ( $filtro  ), "<span style='font-weight:bold;background-color:#FF0;'>".strtoupper($filtro)."</span>", strtoupper( utf8_encode( mysql_result($tabela,$x, $campo ) ) ) ) .'</a></td>';	
						else
							$html .= ( mysql_result($tabela,$x, $campo )).'</a></td>';