• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP muestraEstilos类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中muestraEstilos的典型用法代码示例。如果您正苦于以下问题:PHP muestraEstilos类的具体用法?PHP muestraEstilos怎么用?PHP muestraEstilos使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了muestraEstilos类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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">&nbsp;</td>
      <td    scope="col"><div align="left">Almac&eacute;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">&nbsp;</td>
      <td height="36"   scope="col"><div align="left">Mini-Almac&eacute;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">&nbsp;</td>
      <td widtd="84" height="35"  scope="col"><div align="left"><span >Art&iacute;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">&nbsp;</td>
      <td   scope="col">&nbsp;</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" >&nbsp;</p>
<p align="center" >
  <?php 
        if ($_POST['buscar'] and $_POST['nomArticulo'] and $_POST['almacenDestino']) {
            $articulo = $_POST['nomArticulo'];
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:listaServicios.php


示例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);
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:31,代码来源:editExtensiones.php


示例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>
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:31,代码来源:reportesC.php


示例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">&nbsp;</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&oacute;n General</div></td>
    </tr>
    <tr bgcolor="#CCCCCC">
      <th class="style12" scope="col">&nbsp;</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">&nbsp;</th>
      <td class="style19">&nbsp;</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>
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:ventanaGeneraReq.php


示例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'];
        ?>
&amp;nCuenta=<?php 
        echo $myrow['nCuenta'];
        ?>
&amp;almacen=<?php 
        echo $ALMACEN;
        ?>
&amp;almacenFuente=<?php 
        echo $ALMACEN;
        ?>
&amp;nT=<?php 
        echo $nT;
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:67,代码来源:discrimina1.php


示例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)) {
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:listaExternosDescuentos.php


示例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">&nbsp;<em>Escoje el MiniAlmac&eacute;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&deg; 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;
            ?>
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:solicitudesporSurtir.php


示例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&iacute;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>
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:pacientesInternosUrgenciasN.php


示例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&iacute;culos/Servicios x Almac&eacute;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>
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:listadoArticulosxAlmacen.php


示例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);
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:procesoLiberarCtaPx.php


示例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;
            ?>
"/>
//.........这里部分代码省略.........
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:101,代码来源:eCuenta.php


示例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&iacute;culos Facturaci&oacute;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">&nbsp;</th>
      <th bgcolor="#660066" class="blanco" scope="col"><div align="left">Transacci&oacute;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>
开发者ID:rusli-nasir,项目名称:hospitalPhp,代码行数:67,代码来源:cierraCuenta5.php


示例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>
< 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP myContentStorage类代码示例发布时间:2022-05-23
下一篇:
PHP mslib_fe类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap