2 if($parent_admit) $bgimg='tableHeaderbg3.gif';
3 else $bgimg='tableHeaderbg_gr.gif'
4 $tbg= 'background="'.$root_path.'gui/img/common/'.$theme_com_icon.'/'.$bgimg.'"';
6 <table border
=0 cellpadding
=4 cellspacing
=1 width
=100%
>
8 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDDate; ?
></td
>
9 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDNotes; ?
></td
>
10 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDDetails; ?
></td
>
11 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDBy; ?
></td
>
12 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDEncounterNr; ?
></td
>
16 while($row=$result->FetchRow()){
17 if($toggle) $bgc='#f3f3f3';
23 <tr bgcolor
="<?php echo $bgc; ?>" valign
="top">
24 <td
><FONT SIZE
=-1 FACE
="Arial"><?php
if(!empty($row['date'])) echo @formatDate2Local
($row['date'],$date_format); ?
></td
>
25 <td
><FONT SIZE
=-1 FACE
="Arial" color
="#000033"><?php
echo $row['notes']; ?
></td
>
26 <td align
="center"><a href
="#"><img
<?php
echo createComIcon($root_path,'info3.gif','0'); ?
>></a
></td
>
27 <td
><FONT SIZE
=-1 FACE
="Arial"><?php
if($row['personell_nr']) echo $row['personell_nr']; ?
></td
>
28 <td
><FONT SIZE
=-1 FACE
="Arial"><?php
echo $HTTP_SESSION_VARS['sess_full_en']; ?
></td
>
36 <img
<?php
echo createComIcon($root_path,'bul_arrowgrnlrg.gif','0','absmiddle'); ?
>>
37 <a href
="<?php echo $thisfile.URL_APPEND.'&pid='.$HTTP_SESSION_VARS['sess_pid'].'&target='.$target.'&mode=new&type_nr='.$type_nr; ?>">
38 <?php
echo $LDEnterNewRecord; ?
>