本文整理汇总了PHP中muestraEstilos类的典型用法代码示例。如果您正苦于以下问题:PHP muestraEstilos类的具体用法?PHP muestraEstilos怎么用?PHP muestraEstilos使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了muestraEstilos类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: listadoServicios
public function listadoServicios($titulo, $ventana, $entidad, $almacenSolicitante, $codigo, $basedatos)
{
if (!$_POST['almacenDestino']) {
$_POST['almacenDestino'] = $ALMACEN;
}
?>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana","widtd=350,height=270,scrollbars=YES")
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<body>
<div class="page_right">
<h1 ><?php
echo $titulo;
?>
</h1>
<form id="form2" name="form2" metdod="post" action="">
<!--<table widtd="482" class="table-forma">-->
<table widtd="482" class="table-template-left">
<tr>
<td scope="col"> </td>
<td scope="col"><div align="left">Almacén</div></td>
<td scope="col">
<div align="left">
<?php
require CONSTANT_PATH_CONFIGURACION . "/componentes/comboAlmacen.php";
$comboAlmacen = new comboAlmacen();
$comboAlmacen->despliegaAlmacen($entidad, 'style12', $almacenSolicitante, $almacenDestino, $basedatos);
?>
</div></td>
</tr>
<tr>
<td scope="col"> </td>
<td height="36" scope="col"><div align="left">Mini-Almacén</div></td>
<td scope="col">
<div align="left">
<?php
$comboAlmacen1 = new comboAlmacen();
if (!$_POST['almacenDestino']) {
$_POST['almacenDestino'] = $almacenSolicitante;
}
$comboAlmacen1->despliegaMiniAlmacen($entidad, 'style12', $_POST['almacenDestino'], $almacenDestino, $basedatos);
?>
</div></td>
</tr>
<tr >
<td widtd="10" scope="col"> </td>
<td widtd="84" height="35" scope="col"><div align="left"><span >Artículo </span></div></td>
<td widtd="388" scope="col"><div align="left"><span >
<input name="nomArticulo" type="text" id="nomArticulo" size="60"
value="<?php
if ($_POST['nomArticulo']) {
echo $_POST['nomArticulo'];
}
?>
"/>
</span></div>
</td>
</tr>
<tr>
<td scope="col"> </td>
<td scope="col"> </td>
<td scope="col"><div align="left">
<input name="buscar" type="submit" id="buscar" value="buscar" />
<?php
if ($_POST['nomArticulo'] === '*') {
?>
<span >Este proceso puede demorar varios minutos...</span>
<?php
}
?>
</div>
<label>
</label></td>
</tr>
</table>
</form>
<p align="center" > </p>
<p align="center" >
<?php
if ($_POST['buscar'] and $_POST['nomArticulo'] and $_POST['almacenDestino']) {
$articulo = $_POST['nomArticulo'];
//.........这里部分代码省略.........
示例2: muestraEstilos
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
.Estilo1 {color: #FFFFFF;
background:#000066;
}
-->
</style>
<?php
$showStyles=new muestraEstilos();
$showStyles->styles();
?>
</head>
<BODY >
<?php
$sSQL3= "Select * From clientesInternos WHERE entidad='".$entidad."' and folioVenta = '".$_GET['folioVenta']."' ";
$result3=mysql_db_query($basedatos,$sSQL3);
示例3: muestraEstilos
}
?>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/wz_tooltip.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<?php
$estilo = new muestraEstilos();
$estilo->styles();
?>
</head>
<body onLoad="inicio();">
<div class="page_right">
<p align="center" class="titulos">Lista de Convenios </p>
<form id="form2" name="form2" method="post" action="">
<!--<table width="775" class="table table-striped" >-->
<table width="775" class="table-template-left" >
<tr>
<th width="57" height="25" >#</th>
<th width="316" >Nombre del Cliente</th>
<th width="53" align="center" >Grupo</th>
示例4: compraDirecta
public function compraDirecta($fecha1, $hora1, $departamento, $basedatos, $usuario, $entidad)
{
if ($_GET['keyR'] and ($_GET['inactiva'] or $_GET['activa'])) {
if ($_GET['inactiva'] == "inactiva") {
$q = "UPDATE OC set \r\n\r\n\tstatus='cancelado'\r\n\t\tWHERE keyR='" . $_GET['keyR'] . "'";
//mysql_db_query($basedatos,$q);
echo mysql_error();
}
}
?>
<?php
if ($_POST['actualizar']) {
if ($_POST['departamento'] and is_numeric($_POST['cantidad']) and $_POST['descripcion']) {
$agregaSaldo = "INSERT INTO OC ( codigo,id_almacen,usuario,fecha,hora,ID_EJERCICIO,cantidad,status,id_requisicion,prioridad,statusCompras,id_proveedor,entidad,proveedor1,descripcion,precioUnitario\r\n) values ('1','" . $_POST['departamento'] . "',\r\n'" . $usuario . "','" . $fecha1 . "','" . $hora1 . "','" . $ID_EJERCICIOM . "','" . $_POST['cantidad'] . "','request','" . $myrow333['req'] . "',\r\n'" . $_POST['prioridad'] . "','comprar','" . $_POST['proveedor'] . "','" . $entidad . "','" . $_POST['proveedor1'] . "','" . $_POST['descripcion'] . "','" . $_POST['precioUnitario'] . "')";
mysql_db_query($basedatos, $agregaSaldo);
echo mysql_error();
print '<p class="style1">' . 'Se solicit� el art�culo: ' . $_POST['descripcion'] . '</p>';
} else {
print 'Te faltan campos por llenar';
}
}
?>
<script language=javascript>
function ventanaSecundariaF (URL){
window.open(URL,"ventanaSecundariaF","width=700,height=600,scrollbars=YES")
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.style1 {color: #0000FF}
-->
</style>
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<body>
<form id="form2" name="form2" method="post" action="#">
<p align="center" class="titulos"> </p>
<div align="center"><?php
//echo $departamento;
?>
</div>
<img src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/imagenes/bordestablas/borde1.png" width="435" height="24" />
<table width="310" border="0" align="center" cellpadding="4" cellspacing="0">
<tr bgcolor="#FFFF00">
<th colspan="3" class="style12" scope="col"><span class="titulos">CONTROL DE COMPRA</span></th>
</tr>
<tr bgcolor="#CCCCCC">
<th width="1" height="42" class="style12" scope="col"><div align="center"></div></th>
<td width="30" class="negromid"><div align="center">Cant</div></td>
<td width="265" class="negromid"><div align="center">Descripción General</div></td>
</tr>
<tr bgcolor="#CCCCCC">
<th class="style12" scope="col"> </th>
<td class="style19"><span class="Estilo24">
<input name="cantidad" type="text" class="camposmid" id="cantidad" value ="<?php
echo $myrow2['descripcion'];
?>
" size="4" onKeyPress="return checkIt(event)"/>
</span></td>
<td rowspan="2" class="style19"><span class="style12">
<textarea name="descripcion" cols="60" class="camposmid" id="descripcion"><?php
echo $myrow2['descripcionGeneral'];
?>
</textarea>
</span></td>
</tr>
<tr bgcolor="#CCCCCC">
<th class="style12" scope="col"> </th>
<td class="style19"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<th width="1" class="style12" scope="col"></th>
<td class="style12"><div align="center" class="style18"></div></td>
<td class="style12"><div align="center">
<input name="actualizar" type="image" src="../../imagenes/btns/addorden.png" id="actualizar" value="Agregar OC" />
<input type="hidden" name="departamento" value="<?php
echo $departamento;
?>
" />
</div></td>
</tr>
//.........这里部分代码省略.........
示例5: eCuenta
//.........这里部分代码省略.........
{
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
// End -->
</script>
<script>
var win = null;
function nueva(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
<BODY >
<h1 align="center" class="titulos">Ajustes a Cuentas </h1>
<form id="form1" name="form1" method="post" action="">
<table width="800" class="table-forma">
<tr align="center" >
<td width="151"><span >FOLIO DE VENTA</span></td>
<td width="68"><span >FECHA</span></td>
<td width="453"><span >PACIENTE:</span> <a href="#"
onclick="javascript:ventanaSecundaria7('<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/cargos/despliegaCargos.php?numeroE=<?php
echo $myrow['numeroE'];
?>
&nCuenta=<?php
echo $myrow['nCuenta'];
?>
&almacen=<?php
echo $ALMACEN;
?>
&almacenFuente=<?php
echo $ALMACEN;
?>
&nT=<?php
echo $nT;
示例6: listaExternosDescuentos
public function listaExternosDescuentos($ALMACEN, $entidad, $TITULO, $ventana, $basedatos)
{
?>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana","width=800,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<script src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/jquery.js" type="text/javascript"></script>
<!-Hoja de estilos del calendario -->
<link rel="stylesheet" type="text/css" media="all" href="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-brown.css" title="win2k-cold-1" />
<!-- librer�a principal del calendario -->
<script type="text/javascript" src="../calendario/calendar.js"></script>
<!-- librer�a para cargar el lenguaje deseado -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/lang/calendar-es.js"></script>
<!-- librer�a que declara la funci�n Calendar.setup, que ayuda a generar un calendario en unas pocas l�neas de c�digo -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-setup.js"></script>
<script language="javascript" type="text/javascript">
var win = null;
function nueva(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
</script>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/wz_tooltip.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<head>
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
<meta http-equiv="refresh" content="30" >
</head>
<body>
<div class="page_right">
<?php
if ($_GET['fechaInicial']) {
$date = $_GET['fechaInicial'];
} else {
$date = $fecha1;
}
?>
<form id="form10" name="form10" method="get" action="#">
<h1 align="center" >Aplicar Descuentos Pacientes Externos</h1>
<p align="center" >Fecha:
<input onChange="this.form.submit();" name="fechaInicial" type="text" id="campo_fecha" size="10" maxlength="10" readonly=""
value="<?php
echo $date;
?>
"/>
</label>
<input name="button" type="image"src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/imagenes/btns/fecha.png" /></p>
<!--<table width="536" class="table table-striped">-->
<table width="536" class="table-template">
<tr >
<th width="49" scope="col"><div align="center">Folio</div></th>
<th width= "238" scope="col"><div align="center">Nombre del paciente:</div></th>
<th scope="col"><div align="center">Departamento</div></th>
<th scope="col"><div align="center">Usuario</div></th>
<th scope="col"><div align="center">Aplicar</div></th>
</tr>
<tr >
<?php
$fecha1 = date("Y-m-d");
$sSQL = "SELECT *\r\nFROM\r\nclientesInternos\r\nwhere\r\nentidad='" . $entidad . "'\r\nand\r\nstatus!='cancelado'\r\nand\r\ntipoPaciente='externo'\r\nand\r\nfecha='" . $date . "'\r\nand\r\nstatusCaja!='pagado'\r\nand\r\nfolioVenta!=''\r\n\r\nORDER BY paciente ASC\r\n ";
if ($result = mysql_db_query($basedatos, $sSQL)) {
//.........这里部分代码省略.........
示例7: despliegaSolicitudes
public function despliegaSolicitudes($entidad, $titulo, $bali, $basedatos)
{
?>
<script language="JavaScript" type="text/javascript">
/**
* funcion demo del evento onclick en la tabla
*/
function envia()
{
document.forms[0].submit();
}
/**
* funcion de captura de pulsaci�n de tecla en Internet Explorer
*/
var tecla;
function capturaTecla(e)
{
if(document.all)
tecla=event.keyCode;
else
{
tecla=e.which;
}
if(tecla==13)
{
document.forms[0].submit();
}
}
document.onkeydown = capturaTecla;
</script>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana1","width=700,height=600,scrollbars=YES")
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<META HTTP-EQUIV="Refresh"
CONTENT="30">
<body>
<?php
require CONSTANT_PATH_CONFIGURACION . "/componentes/comboAlmacen.php";
?>
<form id="form1" name="form1" method="post" action="#">
<h1 align="center" class="titulos"><?php
echo $titulo;
?>
</h1>
<p align="center"> <em>Escoje el MiniAlmacén a Surtir</em> <?php
$comboAlmacen1 = new comboAlmacen();
$comboAlmacen1->despliegaMiniAlmacen($entidad, 'style7', $bali, $almacenDestino, $basedatos);
if (!$bali) {
$bali = $_POST['almacenDestino1'];
}
?>
</p>
<table width="551" border="0.2" align="center">
<tr>
<th width="61" bgcolor="#660066" class="style12" scope="col"><div align="left" class="blancomid">N° Cta.</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blancomid">Nombre del paciente:</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blancomid">Dpto. Solicita</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blancomid">Cuarto</div></th>
</tr>
<tr>
<?php
$sSQL = "SELECT *\r\nFROM\r\ncargosCuentaPaciente \r\nwhere\r\nentidad='" . $entidad . "'\r\nand\r\nalmacenDestino='" . $bali . "'\r\nand\r\nstatusCargo='standby'\r\nand\r\nfolioVenta!=''\r\norder by keyCAP ASC\r\n\r\n ";
$result = mysql_db_query($basedatos, $sSQL);
while ($myrow = mysql_fetch_array($result)) {
if ($col) {
$color = '#FFCCFF';
$col = "";
} else {
$color = '#FFFFFF';
$col = 1;
}
?>
<td height="24" bgcolor="<?php
echo $color;
?>
" class="normalmid"><?php
echo $myrow['keyClientesInternos'];
?>
</span></td>
<td width="288" bgcolor="<?php
echo $color;
?>
//.........这里部分代码省略.........
示例8: listadoPIT
public function listadoPIT($entidad, $TITULO, $ventana, $bali, $basedatos)
{
?>
<script language="JavaScript" type="text/javascript">
/**
* funcion demo del evento onclick en la tabla
*/
function envia()
{
document.forms[0].submit();
}
/**
* funcion de captura de pulsaci�n de tecla en Internet Explorer
*/
var tecla;
function capturaTecla(e)
{
if(document.all)
tecla=event.keyCode;
else
{
tecla=e.which;
}
if(tecla==13)
{
document.forms[0].submit();
}
}
document.onkeydown = capturaTecla;
</script>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana1","width=800,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<?php
if ($_GET['transfer'] == 'yes') {
$transfer = 'no';
$q = "UPDATE clientesInternos set \r\nsolicitaTransferencia='si',\r\nalmacenTransferencia='" . $_GET['almacenTransferencia'] . "',\r\nstatus='ontransfer'\r\nWHERE \r\nkeyClientesInternos='" . $_GET['keyCI'] . "'";
mysql_db_query($basedatos, $q);
echo mysql_error();
} else {
$transfer = 'yes';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<META HTTP-EQUIV="Refresh"
CONTENT="60">
<body>
<form id="form1" name="form1" method="post" action="#">
<h1 align="center" class="titulos"><?php
echo $TITULO;
?>
</h1>
<span class="style12"></span>
<table width="499" border="0.2" align="center">
<tr>
<th width="50" bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">N� Cuenta </div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">Nombre del paciente</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">Cubículo</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">Transferir</div></th>
</tr>
<tr>
<?php
$sSQL = "SELECT *\r\nFROM\r\nclientesInternos \r\nWHERE entidad='" . $entidad . "' AND\r\nstatusCuenta = 'abierta'\r\nand\r\n(status='activa' or status='ontransfer')\r\nand \r\ntipoPaciente='urgencias'\r\nand\r\nsolicitaTransferencia=''\r\nORDER BY keyClientesInternos ASC\r\n ";
if ($result = mysql_db_query($basedatos, $sSQL)) {
while ($myrow = mysql_fetch_array($result)) {
$sSQL31 = "SELECT status FROM\r\nclientesInternos\r\nWHERE \r\nkeyClientesInternos='" . $myrow['keyClientesInternos'] . "'";
$result31 = mysql_db_query($basedatos, $sSQL31);
$myrow31 = mysql_fetch_array($result31);
if ($col) {
$color = '#FFCCFF';
$col = "";
} else {
$color = '#FFFFFF';
$col = 1;
}
?>
<td height="24" bgcolor="<?php
echo $color;
?>
" class="codigos"><?php
echo $myrow['keyClientesInternos'];
?>
</span></td>
//.........这里部分代码省略.........
示例9: consultarArticulosxAlmacen
public function consultarArticulosxAlmacen($almacen, $entidad, $basedatos)
{
?>
<?php
$articulo = $_POST['nomArticulo'];
?>
<?php
if ($_GET['codigo'] and ($_GET['inactiva'] or $_GET['activa'])) {
if ($_GET['inactiva'] == "inactiva") {
$q = "UPDATE articulos set \r\n\r\n\t\tactivo='I'\r\n\t\tWHERE keyPA='" . $_GET['keyPA'] . "'";
mysql_db_query($basedatos, $q);
echo mysql_error();
} else {
$q = "UPDATE articulos set \r\n\r\n\t\tactivo='A'\r\n\t\tWHERE keyPA='" . $_GET['keyPA'] . "'";
mysql_db_query($basedatos, $q);
echo mysql_error();
}
}
if (!$_POST['nomArticulo']) {
$_POST['nomArticulo'] = $_GET['nomArticulo'];
}
if (!$_POST['almacenDestino']) {
$_POST['almacenDestino'] = $_GET['almacenDestino'];
}
if (!$_POST['almacenDestino1']) {
$_POST['almacenDestino1'] = $_GET['almacenDestino1'];
}
?>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana","width=350,height=189,scrollbars=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria2 (URL){
window.open(URL,"ventana2","width=660,height=800,scrollbars=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria20 (URL){
window.open(URL,"ventana20","width=350,height=170,scrollbars=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria9 (URL){
window.open(URL,"ventanaSecundaria9","width=900,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<SCRIPT LANGUAGE="JavaScript">
function checkIt(evt) {
evt = (evt) ? evt : window.event
var charCode = (evt.which) ? evt.which : evt.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57)) {
status = "Este campo s�lo acepta n�meros."
return false
}
status = ""
return true
}
</SCRIPT>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/wz_tooltip.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<body>
<div class="page_right">
<h1 align="center" >Artículos/Servicios x Almacén </h1>
<form id="form2" name="form2" method="post" action="">
<!--<table width="399" class="table-forma">-->
<table width="399" class="table-template-left">
<?php
if (verificaCargoTotal::verificaCT($seguro, $basedatos)) {
?>
<?php
}
?>
<tr >
<td width="88" scope="col"><div align="left">Departamento</div></td>
<td width="301" scope="col"> <div align="left" >
<?php
require CONSTANT_PATH_CONFIGURACION . "/componentes/comboAlmacen.php";
$comboAlmacen = new comboAlmacen();
$comboAlmacen->despliegaAlmacen($entidad, 'combos', $almacenSolicitante, $almacenDestino, $basedatos);
?>
</div></td>
</tr>
//.........这里部分代码省略.........
示例10: listaInternos
public function listaInternos($estado, $fecha1, $hora1, $usuario, $ALMACEN, $entidad, $TITULO, $ventana, $basedatos)
{
?>
<script language=javascript>
function ventanaSecundaria11 (URL){
window.open(URL,"ventana11","width=800,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<?php
if ($_GET['alta'] == 'activar') {
$sSQL31 = "Select * From clientesInternos WHERE keyClientesInternos='" . $_GET['nT'] . "'";
$result31 = mysql_db_query($basedatos, $sSQL31);
$myrow31 = mysql_fetch_array($result31);
$numeroE = $myrow31['numeroE'];
$nCuenta = $myrow31['nCuenta'];
$keyClientesInternos = $myrow31['keyClientesInternos'];
$cuarto = $myrow31['cuarto'];
$q = "UPDATE procesoAlta set \r\nstatus='request' ,\r\nusuario='" . $usuario . "',\r\nfecha='" . $fecha1 . "',\r\nhora='" . $hora1 . "',\r\nnPaso='" . $paso . "'\r\nWHERE \r\nalmacen='" . $ALMACEN . "'\r\nand\r\nentidad='" . $entidad . "'\r\nand\r\nkeyClientesInternos='" . $_GET['nT'] . "'";
mysql_db_query($basedatos, $q);
echo mysql_error();
$_GET['alta'] = '';
} else {
$_GET['alta'] = 'activar';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<META HTTP-EQUIV="Refresh"
CONTENT="60">
<body>
<form id="form1" name="form1" method="get" action="#">
<h1 align="center" class="titulos"><?php
echo $TITULO;
?>
</h1>
<table width="739" border="0.2" align="center">
<tr>
<th width="50" bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco"># Folio</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">Nombre del paciente:</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">Seguro</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">
<div align="center">Usuario</div>
</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">
<div align="center">Fecha </div>
</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">
<div align="center">Cuarto</div>
</div></th>
<th bgcolor="#660066" class="style12" scope="col"><div align="left" class="blanco">
<div align="center">Status</div>
</div></th>
</tr>
<tr>
<?php
$almacenesCierreCuenta = new articulosDetalles();
$sSQL = "SELECT *\r\nFROM\r\nclientesInternos \r\nWHERE \r\nentidad='" . $entidad . "'\r\nAND\r\n(tipoPaciente='interno' or tipoPaciente='urgencias')\r\nand\r\nstatusCuenta = 'abierta'\r\nand\r\nstatus='activa'\r\nand \r\n(statusDeposito='pagado' or statusDeposito='cxc' or statusDeposito='urgencias')\r\nORDER BY keyClientesInternos DESC\r\n ";
if ($result = mysql_db_query($basedatos, $sSQL)) {
while ($myrow = mysql_fetch_array($result)) {
if ($col) {
$color = '#FFCCFF';
$col = "";
} else {
$color = '#FFFFFF';
$col = 1;
}
$seguro = $myrow['seguro'];
$nT = $myrow['keyClientesInternos'];
$sSQL1711 = "\r\n\tSELECT \r\nnomCliente\r\nFROM\r\nclientes\r\nWHERE \r\nnumCliente = '" . $seguro . "'\r\n\r\n";
$result1711 = mysql_db_query($basedatos, $sSQL1711);
$myrow1711 = mysql_fetch_array($result1711);
$seguro = $myrow1711['nomCliente'];
if ($seguro) {
$tipoCliente = 'aseguradora';
} else {
$tipoCliente = 'particular';
}
if (!$seguro) {
$seguro = 'particular';
}
$sSQL11 = "\r\n\tSELECT \r\n*\r\nFROM\r\nprocesoAlta\r\nWHERE \r\n\r\nentidad='" . $entidad . "'\r\nand\r\nkeyClientesInternos = '" . $nT . "'\r\nand\r\nalmacen='" . $ALMACEN . "'\r\n\r\n";
$result11 = mysql_db_query($basedatos, $sSQL11);
$myrow11 = mysql_fetch_array($result11);
$sSQL12 = "\r\nSELECT \r\n*\r\nFROM\r\nalmacenes\r\nWHERE \r\nentidad='" . $entidad . "'\r\nand\r\nalmacen = '" . $ALMACEN . "'\r\nand\r\naltaEspecial='si'\r\n";
$result12 = mysql_db_query($basedatos, $sSQL12);
$myrow12 = mysql_fetch_array($result12);
//.........这里部分代码省略.........
示例11: listaExternos
public function listaExternos($usuario, $ALMACEN, $entidad, $TITULO, $fecha1, $ventana, $basedatos)
{
$sSQLC = "Select * From statusCaja where entidad='" . $entidad . "' and usuario='" . $usuario . "' order by keySTC DESC ";
$resultC = mysql_db_query($basedatos, $sSQLC);
$myrowC = mysql_fetch_array($resultC);
if ($myrowC['status'] == 'abierta') {
//*******************Comienzo la validaci�n*****************
?>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana","width=800,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<script language="javascript" type="text/javascript">
var win = null;
function nueva(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
</script>
<!-Hoja de estilos del calendario -->
<link rel="stylesheet" type="text/css" media="all" href="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-brown.css" title="win2k-cold-1" />
<!-- librer�a principal del calendario -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar.js"></script>
<!-- librer�a para cargar el lenguaje deseado -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/lang/calendar-es.js"></script>
<!-- librer�a que declara la funci�n Calendar.setup, que ayuda a generar un calendario en unas pocas l�neas de c�digo -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-setup.js"></script>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/wz_tooltip.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.Estilo24 {font-size: 13px}
-->
</style>
<head>
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
<meta http-equiv="refresh" content="30" >
</head>
<body>
<?php
if ($_GET['fechaInicial']) {
$date = $_GET['fechaInicial'];
} else {
$date = $fecha1;
}
?>
<form id="form10" name="form10" method="get" action="#">
<h1 align="center" class="titulo"> <?php
echo $TITULO;
?>
</h1>
<p align="center" class="titulo">
<label>
<input onChange="this.form.submit();" name="fechaInicial" type="text" class="Estilo24" id="campo_fecha" size="10" maxlength="9" readonly=""
value="<?php
echo $date;
?>
"/>
//.........这里部分代码省略.........
示例12: eCuenta
//.........这里部分代码省略.........
<!-Hoja de estilos del calendario -->
<link rel="stylesheet" type="text/css" media="all" href="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-tas.css" title="win2k-cold-1" />
<!-- librer�a principal del calendario -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar.js"></script>
<!-- librer�a para cargar el lenguaje deseado -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/lang/calendar-es.js"></script>
<!-- librer�a que declara la funci�n Calendar.setup, que ayuda a generar un calendario en unas pocas l�neas de c�digo -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-setup.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
$estilo = new muestraEstilos();
$estilo->styles();
?>
<style type="text/css">
<!--
.Estilo1 {color: #FFFFFF;
background:#000066;
}
-->
</style>
</head>
<BODY >
<h1 align="center" class="titulos">Solicitar servicios/artículos Facturación </h1>
<form id="form1" name="form1" method="post" action="">
<table width="413" border="0" align="center" cellpadding="1" cellspacing="1" bordercolor="#990099" class="Estilo24">
<tr>
<th width="10" class="Estilo24" scope="col"> </th>
<th bgcolor="#660066" class="blanco" scope="col"><div align="left">Transacción: </div></th>
<th bgcolor="#660066" class="blanco" scope="col"><div align="left"><?php
echo $keyClientesInternos = $nCliente = $myrow3['keyClientesInternos'];
?>
<input name="numeroE" type="hidden" class="Estilo24" id="numeroE"
value="<?php
echo $nCliente = $_POST['numeroE'];
?>
" readonly=""/>
</label></div> </th>
示例13: despliegaCitas
public function despliegaCitas($entidad, $ventana, $fecha1, $hora1, $almacen, $basedatos)
{
$almacenDestino = $almacen;
$forma = $_GET['forma'];
$campoDespliega = $_GET['campoDespliega'];
$campoDespliegaFecha = $_GET['campoDespliegaFecha'];
require CONSTANT_PATH_CONFIGURACION . "/componentes/comboAlmacen.php";
?>
<script src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/jquery.js" type="text/javascript"></script>
<!-Hoja de estilos del calendario -->
<link rel="stylesheet" type="text/css" media="all" href="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-system.css" title="win2k-cold-1" />
<!-- librer�a principal del calendario -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar.js"></script>
<!-- librer�a para cargar el lenguaje deseado -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/lang/calendar-es.js"></script>
<!-- librer�a que declara la funci�n Calendar.setup, que ayuda a generar un calendario en unas pocas l�neas de c�digo -->
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/calendario/calendar-setup.js"></script>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana","width=300,height=200,scrollbars=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria7 (URL){
window.open(URL,"ventana7","width=600,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria2 (URL){
window.open(URL,"ventana2","width=800,height=600,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria4 (URL){
window.open(URL,"ventana4","width=660,height=400,scrollbars=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria5 (URL){
window.open(URL,"ventana5","width=630,height=700,scrollbars=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria8 (URL){
window.open(URL,"ventana8","width=500,height=300,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria9 (URL){
window.open(URL,"ventana9","width=500,height=300,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<?php
if ($_GET['keyClientesInternos'] and ($_GET['inactiva'] or $_GET['activa'])) {
if ($_GET['inactiva'] == "inactiva") {
$q = "UPDATE clientesInternos set \r\n\r\n\tstatus='cancelado'\r\n\t\tWHERE keyClientesInternos='" . $_GET['keyClientesInternos'] . "'";
mysql_db_query($basedatos, $q);
echo mysql_error();
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
<meta http-equiv="refresh" content="90">
//.........这里部分代码省略.........
示例14: historialPacientes
public function historialPacientes($entidad, $TITULO, $basedatos)
{
?>
<script language=javascript>
function ventanaSecundaria (URL){
window.open(URL,"ventana1","width=800,height=750,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<script language=javascript>
function ventanaSecundaria3 (URL){
window.open(URL,"ventana3","width=600,height=750,scrollbars=YES,resizable=YES, maximizable=YES")
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<head>
<?php
$estilo = new muestraEstilos();
$estilo->styles();
?>
<script src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/scripts/autocomplete.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/stylesheets/autocomplete.css" type="text/css" />
</head>
<body>
<h4 align="center"><?php
echo $TITULO;
?>
</h4>
<form id="frmSearch" action="" method="post" name="frmSearch">
<div align="center">
<table width="200" border="0">
<tr>
<td>Paciente</td><input type="hidden" name="numeroE" id="numeroE" />
<td><span id="sprytextfield1">
<label>
<input type="text" name="paciente" id="paciente" />
</label>
<span class="textfieldRequiredMsg">Se necesita un valor.</span></span></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><label>
<input type="submit" name="button" id="button" value="Buscar" />
<span class="style7">
<input name="expediente" type="hidden" id="expediente" value="<?php
echo $_POST['expediente'];
?>
" />
</span></label></td>
</tr>
</table>
<p> </p>
</div>
</form>
<p> </p>
<form id="form1" name="form1" method="post" action="modificaPacientes.php">
<table width="365" border="0" align="center" cellpadding="4" cellspacing="0">
<tr bgcolor="#FFFF00">
<th width="71" class="style12" scope="col"><div align="left"><span class="style11 style13"># Paciente </span></div></th>
<th class="style12" scope="col"><div align="left"><span class="style11 style13">Nombre del paciente:</span></div></th>
</tr>
<tr>
<?php
$apellido3 = $_POST['txtSearch'];
//$apellido3=substr($apellido3,"0","6");
$apellido3 = trim($apellido3);
if ($apellido3) {
$sSQL = "SELECT *\r\n FROM\r\npacientes\r\nWHERE \r\nentidad='" . $entidad . "'\r\nAND\r\nnumCliente like '%{$apellido3}%'\r\nor \r\nnombreCompleto like '%{$apellido3}%'\r\n\r\n ";
if ($result = mysql_db_query($basedatos, $sSQL)) {
while ($myrow = mysql_fetch_array($result)) {
if ($col) {
$color = '#FFCCFF';
$col = "";
} else {
$color = '#FFFFFF';
$col = 1;
}
$nombrePaciente = $myrow['nombre1'] . " " . $myrow['nombre2'] . " " . $myrow['apellido1'] . " " . $myrow['apellido2'] . " " . $myrow['apellido3'];
//.........这里部分代码省略.........
示例15: consultarArticulos
//.........这里部分代码省略.........
}
}
echo 'Se eliminaron cambios en el sistema...';
}
?>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/editp/spec/support/jquery.js"></script>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/editp/spec/support/jquery.ui.js"></script>
<script type="text/javascript" src="<?php
echo CONSTANT_PATH_SIMA_RAIZ;
?>
/js/editp/lib/jquery.editinplace.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
$estilos = new muestraEstilos();
$estilos->styles();
?>
</head>
<body>
<div class="page_right">
<h1 align="center" >Listado por GPO </h1>
<form id="form1" name="form1" method="post" >
<!--<table width="474" class="table-forma">-->
<table width="474" class="table-template">
<tr>
<td height="21" scope="col"><div align="center" >Almacén </div></td>
<td scope="col"><div align="left">
<?php
$aCombo = "Select * From almacenes where entidad='" . $entidad . "' AND\r\nactivo='A' and stock='si' order by descripcion ASC";
$rCombo = mysql_db_query($basedatos, $aCombo);
?>
<select name="almacenDestino" class="combos" id="almacenDestino" />
<option value="">---</option>