Location: PHPKode > projects > WebETB > patient/index.php4
<?php
/******************************************************************************/
/*	MODUL:	patient/index.php4      														*/
/*																										*/
/* DATUM:	27.03.2006, Version 0.1															*/
/* BESCHR.:	Uebersicht der diesem Einsatz zugeordneten Patienten              */
/*																										*/
/*	AUTOR:   Marcus Groh																			*/
/*	LIZENZ:  GPL v2 vom Juni 1991 															*/
/*																										*/
/*	AENDERUNGEN:	13.01.2006        -initiale Version								   */
/*                27.03.2006 v 0.1, -Versionskennzeichnung eingefuehrt        */
/*                                  -Code unter GPL v2 gestellt               */
/*                                  -Tabellenname dynamisiert                 */
/*																										*/
/******************************************************************************/
$allowed_groups=array("elw","san","reg","trans");
include ('../_include/header_1.php4');
if (isset($listit))
{     
      if ( $list_order == "0" )
      {
         $list_text="ausstehende Behandlung";
         $list_order="0";
      }
      else if ( $list_order == "1" )
      {
         $list_text="abgeschlossene Behandlung";
         $list_order="1";
      }
      else
      {
         $list_text="ALLE";
         $list_order="2";
      } 
      $last_list_order = $list_order;
      $last_list_text = $list_text;
      $listit = "";  
}
else
{
      if ( !isset($last_list_order) )
      {
            $list_text="ausstehende Behandlung";
            $list_order="0";
      }
      else
      {
            $list_order = $last_list_order;
            $list_text = $last_list_text;
      }
   
}
?>
   <center>
   <br>
      <form action="" name="list_pats" method=POST>
         <table border="0" cellpadding="0" cellspacing="0" width="400">
         <tr>
            <td style="background-color: #E0E0E0;">&nbsp;&nbsp;Sortieren nach:</td>
            <td style="background-color: #E0E0E0;" width="20">&nbsp;</td>
            <td style="background-color: #E0E0E0;"><select name="list_order" size=1 style="width: 200px; border-width: 1px solid silver;">
               <option selected value="0" >Ausstehender Behandlung
               <option          value="1">Abgeschlossener Behandlung
               <option          value="2">Alle
            </td>
            <td style="background-color: #E0E0E0;"><input type=submit VALUE="OK" style="border: 1px solid silver;"></td>
         </tr>
         </table>
         <input type="hidden" name="listit" value="TRUE">
      </form>
   
         <table border="0" cellspacing="0" cellpadding="0" width="736">
         <tr>
            <th colspan="6" ALIGN="CENTER">Patientenliste - <? echo $list_text; ?></th>
            <th width="16" style="background-color: #E0E0E0;" ><img src="../_img/spacer.gif" width="16" border="0"></th>
         </tr>
         <tr>
            <td width="100" height="20"><p id="GR07">
                            <a href ="list_pat.php4?order=num&dire=u" target="_PAT"><img src="../_img/up.png" border="0" width="10" height="10" title="Aufsteigend"></a>
                            Nummer
                            <a href ="list_pat.php4?order=num&dire=d" target="_PAT"><img src="../_img/down.png" border="0" width="10" height="10" title="Absteigend"></a></p></td>
            <td width="150" height="20"><p id="GR07">
                            <a href ="list_pat.php4?order=nname&dire=u" target="_PAT"><img src="../_img/up.png" border="0" width="10" height="10" title="Aufsteigend"></a>
                            Nachname
                            <a href ="list_pat.php4?order=nname&dire=d" target="_PAT"><img src="../_img/down.png" border="0" width="10" height="10" title="Absteigend"></a></p></td>
            <td width="130" height="20"><p id="GR07">
                            <a href ="list_pat.php4?order=vname&dire=u" target="_PAT"><img src="../_img/up.png" border="0" width="10" height="10" title="Aufsteigend"></a>
                            Vorname
                            <a href ="list_pat.php4?order=vname&dire=d" target="_PAT"><img src="../_img/down.png" border="0" width="10" height="10" title="Absteigend"></a></p></td>
            <td width="250" height="20"><p id="GR07">Diagnose</p></td>
            <td width="70" height="20"><p id="GR07">
                            <a href ="list_pat.php4?order=times&dire=u" target="_PAT"><img src="../_img/up.png" border="0" width="10" height="10" title="Aufsteigend"></a>
                            Zeit
                            <a href ="list_pat.php4?order=times&dire=d" target="_PAT"><img src="../_img/down.png" border="0" width="10" height="10" title="Absteigend"></a></p></td>
            <td width="20"><p id="GR07">&nbsp;</p></td>
            <td width="16" style="background-color: #E0E0E0;"><img src="../_img/spacer.gif" height="1" width="16" border="0"></td>
         </tr>
         <tr>
           <td colspan="6" height="1" width="720" style="background-color: #000000;"><img src="../_img/spacer.gif" height="1" width="720" border="0"></td>
           <td width="16" style="background-color: #E0E0E0;" ><img src="../_img/spacer.gif" height="1" width="16" border="0"></td>
        </tr>
         <tr>
            <td colspan="7">
               <iframe src="list_pat.php4" HEIGHT="500" WIDTH="736" name="_PAT" FRAMEBORDER="0" FRAMESPACING="0" BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" TOPMARGIN="0" NORESIZE SCROLLING="yes"></iframe>
            </td>
         </tr>
         </table>
         </center>
<?   
include ('../_include/footer_1.php4');

?>
Return current item: WebETB