Ejemplo n.º 1
0
					</div>
    <div class="control-group">
    <br>
  <label class="control-label" for="asunto">Asunto</label>
  <div class="controls">
    <input id="asunto" name="asunto" size="40%" type="text" placeholder="" class="input-large" required="" value="<?php 
echo $asunto;
?>
" />    
  </div>
</div>
					
				<div class="control-group">
   <div class="controls">
      <input id="de" name="de" type="hidden" placeholder="" class="input-large" size="42%" readonly value="<?php 
echo _damecargo($usuario_datos[3]);
?>
" required="" />
  </div>
</div>

<!-- Text input-->

<!-- Text input-->
    <input id="fecha" name="fecha" type="hidden" placeholder="" class="input-medium" value="<?php 
echo date("d/m/Y");
?>
" required="" readonly />
 
  
	<br>
Ejemplo n.º 2
0
$pos = strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox');
if ($pos === false) {
    ?>
<link rel="stylesheet" type="text/css" href="chrome.css" /><?php 
} else {
    ?>
<link rel="stylesheet" type="text/css" href="mozilla.css" /><?php 
}
?>
</head> 

<?php 
$cedula_empleado = $usuario_datos[3];
$gerencia = explode(" - ", $usuario_datos[14]);
$nombre_empleado = strtoupper($usuario_datos[1] . ' ' . $usuario_datos[2]);
$cargo_empleado = _damecargo($cedula_empleado);
$mensaje = $_POST['texto'];
$para = $_POST['para'];
$asunto = $_POST['asunto'];
$nota = $_POST['nota'];
$ano = $_POST['ano'];
$de1 = $_POST['de1'];
$des = explode("-", $de1);
$de = $_POST['de'];
$fecha = date('d-m-Y');
$ano = date('Y');
$actual = explode("20", $ano);
$usu = $usuario_datos[9];
_bienvenido_mysql();
$sql = mysql_query("SELECT id,ge_abre, conse\nFROM `gerencias`\nWHERE `nombre` LIKE '%{$gerencia['0']}%'");
while ($row = mysql_fetch_array($sql)) {
Ejemplo n.º 3
0
$arreglo_php = array();
if (mysql_num_rows($res) == 0) {
    array_push($arreglo_php, "No hay datos");
} else {
    while ($entrega = mysql_fetch_array($res)) {
        array_push($arreglo_php, $entrega["nombre"]);
    }
}
?>
						<input type="text" class="input-large" required="" onChange="conMayusculas(this)" onkeydown="return validarLetras(event)"  id="buscar" size="42" name="de1"/>
					</div>
					
				<div class="control-group">
   <div class="controls">
      <input id="de" name="de" type="hidden" placeholder="" class="input-large" size="42%" readonly value="<?php 
echo $usuario_datos[1] . ' ' . $usuario_datos[2] . '-' . _damecargo($usuario_datos[3]);
?>
" required="" />
  </div>
</div>

<!-- Text input-->
<div class="control-group">
    <br>
  <label class="control-label" for="asunto">Asunto</label>
  <div class="controls">
    <input id="asunto" name="asunto" size="40%" type="text" placeholder="" class="input-large" required="" value="<?php 
echo $asunto;
?>
" />    
  </div>