2 include_once("../../globals.php");
4 //the number of rows to display before resetting and starting a new column:
10 <?php
html_header_show();?
>
12 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
14 <body
class="body_bottom">
16 <table border
=0 cellspacing
=0 cellpadding
=0 height
=100%
>
23 <form method
='post' name
='other_form' action
="diagnosis.php?mode=add&type=OTHER"
24 target
='Diagnosis' onsubmit
='return top.restoreSession()'>
25 <script type
="text/javascript">
26 function clearform(atrib
){
27 document
.other_form
.text
.value
=document
.other_form
.textH
.value
;
28 document
.other_form
.code
.value
=document
.other_form
.codeH
.value
;
29 document
.other_form
.fee
.value
=document
.other_form
.feeH
.value
*document
.other_form
.noofunits
.value
;
30 document
.other_form
.units
.value
=document
.other_form
.noofunits
.value
;
31 document
.other_form
.textH
.value
='';
32 document
.other_form
.codeH
.value
='';
33 document
.other_form
.feeH
.value
='';
34 document
.other_form
.noofunits
.value
='1';
36 function isNumberKey(evt
)
37 {var charCode
= (evt
.which
) ? evt
.which
: event
.keyCode
38 if (charCode
> 31 && (charCode
< 48 || charCode
> 57))
40 alert("<?php xl('Units must be a number', 'e'); ?>");
45 <dt
><span
class=title
><?php
xl('Other', 'e'); ?
></span
></dt
>
50 <td
class="text"><?php
xl('code', 'e'); ?
></td
>
51 <td
class="text"><?php
xl('description', 'e'); ?
></td
>
52 <td
class="text"> 
; 
; 
;<?php
xl('fee', 'e'); ?
></td
>
53 <td
class="text"><?php
xl('units', 'e'); ?
></td
>
57 <input type
=hidden name
=code
>
58 <input type
=hidden name
=text
>
59 <input type
=hidden name
=fee
>
60 <input type
=hidden name
=units
>
61 <td
class="text"><input type
=entry name
=codeH size
=4> 
; 
;</td
>
62 <td
class="text"><input type
=entry name
=textH size
=13 value
=""> 
; 
;</td
>
63 <td
class="text"><?php
xl('$', 'e'); ?
> </span
><input type
=entry name
=feeH size
=5></td
>
64 <td
> <input type
=text name
="noofunits" onkeypress
="return isNumberKey(event)" size
=3 value
=1></td
>
65 <td
> 
;<a
class='text' onclick
="clearform('clear')" href
="javascript:top.restoreSession();document.other_form.submit();">
66 <?php
xl('Save', 'e'); ?
> </a
>