4 $sanitize_all_escapes=true;
7 //STOP FAKE REGISTER GLOBALS
8 $fake_register_globals=false;
11 include_once("../../globals.php");
12 include_once("$srcdir/patient.inc");
13 include_once("$srcdir/options.inc.php");
15 //the maximum number of patient records to display:
18 $browsenum = (is_numeric($_REQUEST['browsenum'])) ?
$_REQUEST['browsenum'] : 1;
22 <?php
html_header_show();?
>
23 <link rel
='stylesheet' href
="<?php echo $css_header;?>" type
="text/css">
26 <body
class="body_top">
28 <a href
="javascript:window.close();"><font
class=title
><?php
echo htmlspecialchars( xl('Browse for Record'), ENT_NOQUOTES
); ?
></font
><font
class=back
><?php
echo htmlspecialchars( $tback, ENT_NOQUOTES
);?
></font
></a
>
30 <form border
='0' method
='post' name
="find_patient" action
="browse.php?browsenum=<?php echo ".htmlspecialchars( $browsenum, ENT_QUOTES
)."?>">
32 <?php
//<a href="javascript:document.find_patient.action='finder/patient_finder_keyboard.php';document.find_patient.submit();" class=link>Find Patient:</a>?>
33 <input type
='entry' size
='10' name
='patient'>
34 <select name
="findBy" size
='1'>
35 <option value
="ID"><?php
echo htmlspecialchars( xl('ID'), ENT_NOQUOTES
); ?
></option
>
36 <option value
="Last" selected
><?php
echo htmlspecialchars( xl('Last Name'), ENT_NOQUOTES
); ?
></option
>
37 <option value
="SSN"><?php
echo htmlspecialchars( xl('SSN'), ENT_NOQUOTES
); ?
></option
>
38 <option value
="DOB"><?php
echo htmlspecialchars( xl('DOB'), ENT_NOQUOTES
); ?
></option
>
40 <a href
="javascript:document.find_patient.submit();" class=link
><?php
echo htmlspecialchars( xl('Find'), ENT_NOQUOTES
); ?
></a
> 
; 
;
41 <a href
="javascript:auto_populate_employer_address();" class=link_submit
><?php
echo htmlspecialchars( xl('Copy Values'), ENT_NOQUOTES
); ?
></a
>
45 if (isset($_GET{set_pid
})) {
46 if (!isset($_POST{insurance
})){
47 $insurance = "primary";
49 $insurance = $_POST{insurance
};
51 $result = getPatientData($_GET{set_pid
});
52 // $result2 = getEmployerData($_GET{set_pid}); // not used!
53 $result3 = getInsuranceData($_GET{set_pid
},$insurance);
56 <script language
=javascript
>
58 function auto_populate_employer_address(){
59 var df
= opener
.document
.demographics_form
;
60 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_fname
.value
='<?php echo htmlspecialchars( $result3{subscriber_fname}, ENT_QUOTES);?>';
61 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_mname
.value
='<?php echo htmlspecialchars( $result3{subscriber_mname}, ENT_QUOTES);?>';
62 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_lname
.value
='<?php echo htmlspecialchars( $result3{subscriber_lname}, ENT_QUOTES);?>';
63 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_street
.value
='<?php echo htmlspecialchars( $result3{subscriber_street}, ENT_QUOTES);?>';
64 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_city
.value
='<?php echo htmlspecialchars( $result3{subscriber_city}, ENT_QUOTES);?>';
65 df
.form_i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_state
.value
='<?php echo htmlspecialchars( $result3{subscriber_state}, ENT_QUOTES);?>';
66 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_postal_code
.value
='<?php echo htmlspecialchars( $result3{subscriber_postal_code}, ENT_QUOTES);?>';
67 if (df
.form_i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_country
) // in case this is commented out
68 df
.form_i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_country
.value
='<?php echo htmlspecialchars( $result3{subscriber_country}, ENT_QUOTES);?>';
69 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_phone
.value
='<?php echo htmlspecialchars( $result3{subscriber_phone}, ENT_QUOTES);?>';
70 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_DOB
.value
='<?php echo htmlspecialchars( $result3{subscriber_DOB}, ENT_QUOTES);?>';
71 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_ss
.value
='<?php echo htmlspecialchars( $result3{subscriber_ss}, ENT_QUOTES);?>';
72 df
.form_i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_sex
.value
='<?php echo htmlspecialchars( $result3{subscriber_sex}, ENT_QUOTES);?>';
74 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>plan_name
.value
='<?php echo htmlspecialchars( $result3{plan_name}, ENT_QUOTES);?>';
75 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>policy_number
.value
='<?php echo htmlspecialchars( $result3{policy_number}, ENT_QUOTES);?>';
76 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>group_number
.value
='<?php echo htmlspecialchars( $result3{group_number}, ENT_QUOTES);?>';
77 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>provider
.value
='<?php echo htmlspecialchars( $result3{provider}, ENT_QUOTES);?>';
79 // One clinic comments out the subscriber employer stuff.
80 if (df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer
) {
81 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer
.value
='<?php echo htmlspecialchars( $result3{subscriber_employer}, ENT_QUOTES);?>';
82 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer_street
.value
='<?php echo htmlspecialchars( $result3{subscriber_employer_street}, ENT_QUOTES);?>';
83 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer_city
.value
='<?php echo htmlspecialchars( $result3{subscriber_employer_city}, ENT_QUOTES);?>';
84 df
.form_i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer_state
.value
='<?php echo htmlspecialchars( $result3{subscriber_employer_state}, ENT_QUOTES);?>';
85 df
.i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer_postal_code
.value
='<?php echo htmlspecialchars( $result3{subscriber_employer_postal_code}, ENT_QUOTES);?>';
86 df
.form_i
<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>subscriber_employer_country
.value
='<?php echo htmlspecialchars( $result3{subscriber_employer_country}, ENT_QUOTES);?>';
92 <form method
=post name
=insurance_form action
=browse
.php?browsenum
=<?php
echo htmlspecialchars( $browsenum, ENT_QUOTES
);?
>&set_pid
=<?php
echo htmlspecialchars( $_GET{set_pid
}, ENT_QUOTES
);?
>>
93 <input type
="hidden" name
="browsenum" value
="<?php echo htmlspecialchars( $browsenum, ENT_QUOTES);?>">
94 <span
class=bold
> <?php
echo htmlspecialchars( xl('Insurance Provider'), ENT_NOQUOTES
); ?
>:</span
>
95 <select name
=insurance onchange
="javascript:document.insurance_form.submit();">
96 <option value
="primary" <?php
echo ($insurance == "primary") ?
"selected" : ""?
>><?php
echo htmlspecialchars( xl('Primary'), ENT_NOQUOTES
); ?
></option
>
97 <option value
="secondary" <?php
echo ($insurance == "secondary") ?
"selected" : ""?
>><?php
echo htmlspecialchars( xl('Secondary'), ENT_NOQUOTES
); ?
></option
>
98 <option value
="tertiary" <?php
echo ($insurance == "tertiary") ?
"selected" : ""?
>><?php
echo htmlspecialchars( xl('Tertiary'), ENT_NOQUOTES
); ?
></option
>
104 <td
><span
class=text
><?php
echo htmlspecialchars( xl('First Name'), ENT_NOQUOTES
); ?
>:</span
></td
>
105 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_fname
}, ENT_NOQUOTES
);?
></span
></td
>
108 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Middle Name'), ENT_NOQUOTES
); ?
>:</span
></td
>
109 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_mname
}, ENT_NOQUOTES
);?
></span
></td
>
112 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Last Name'), ENT_NOQUOTES
); ?
>:</span
></td
>
113 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_lname
}, ENT_NOQUOTES
);?
></span
></td
>
116 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Address'), ENT_NOQUOTES
); ?
>:</span
></td
>
117 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_street
}, ENT_NOQUOTES
);?
></span
></td
>
120 <td
><span
class=text
><?php
echo htmlspecialchars( xl('City'), ENT_NOQUOTES
); ?
>:</span
></td
>
121 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_city
}, ENT_NOQUOTES
);?
></span
></td
>
124 <td
><span
class=text
><?php
echo htmlspecialchars( xl('State'), ENT_NOQUOTES
); ?
>:</span
></td
>
125 <td
><span
class=text
>
127 //Modified 7/2009 by BM to incorporate data types
128 echo generate_display_field(array('data_type'=>$GLOBALS['state_data_type'],'list_id'=>$GLOBALS['state_list']),$result3{subscriber_state
});
133 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Zip Code'), ENT_NOQUOTES
); ?
>:</span
></td
>
134 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_postal_code
}, ENT_NOQUOTES
);?
></span
></td
>
137 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Country'), ENT_NOQUOTES
); ?
>:</span
></td
>
138 <td
><span
class=text
>
140 //Modified 7/2009 by BM to incorporate data types
141 echo generate_display_field(array('data_type'=>$GLOBALS['country_data_type'],'list_id'=>$GLOBALS['country_list']),$result3{subscriber_country
});
146 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Phone'), ENT_NOQUOTES
); ?
>:</span
></td
>
147 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_phone
}, ENT_NOQUOTES
);?
></span
></td
>
150 <td
><span
class=text
><?php
echo htmlspecialchars( xl('DOB'), ENT_NOQUOTES
); ?
>:</span
></td
>
151 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_DOB
}, ENT_NOQUOTES
);?
></span
></td
>
154 <td
><span
class=text
><?php
echo htmlspecialchars( xl('SS'), ENT_NOQUOTES
); ?
>:</span
></td
>
155 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_ss
}, ENT_NOQUOTES
);?
></span
></td
>
158 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Primary Insurance Provider'), ENT_NOQUOTES
); ?
>:</span
></td
>
159 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{provider_name
}, ENT_NOQUOTES
);?
></span
></td
>
162 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Plan Name'), ENT_NOQUOTES
); ?
>:</span
>
163 </td
><td
><span
class=text
><?php
echo htmlspecialchars( $result3{plan_name
}, ENT_NOQUOTES
);?
></span
></td
>
166 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Group Number'), ENT_NOQUOTES
); ?
>:</span
></td
>
167 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{group_number
}, ENT_NOQUOTES
);?
></span
></td
>
171 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Policy Number'), ENT_NOQUOTES
); ?
>:</span
></td
>
172 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{policy_number
}, ENT_NOQUOTES
);?
></span
></td
>
175 <?php
if (empty($GLOBALS['omit_employers'])) { ?
>
178 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Employer'), ENT_NOQUOTES
); ?
>:</span
></td
>
179 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_employer
}, ENT_NOQUOTES
);?
></span
></td
>
182 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Employer Address'), ENT_NOQUOTES
); ?
>:</span
></td
>
183 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_employer_street
}, ENT_NOQUOTES
);?
></span
></td
>
186 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Employer Zip Code'), ENT_NOQUOTES
); ?
>:</span
></td
>
187 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_employer_postal_code
}, ENT_NOQUOTES
);?
></span
></td
>
190 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Employer City'), ENT_NOQUOTES
); ?
>:</span
></td
>
191 <td
><span
class=text
><?php
echo htmlspecialchars( $result3{subscriber_employer_city
}, ENT_NOQUOTES
);?
></span
></td
>
194 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Employer State'), ENT_NOQUOTES
); ?
>:</span
></td
>
195 <td
><span
class=text
>
197 //Modified 7/2009 by BM to incorporate data types
198 echo generate_display_field(array('data_type'=>$GLOBALS['state_data_type'],'list_id'=>$GLOBALS['state_list']),$result3{subscriber_employer_state
});
203 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Employer Country'), ENT_NOQUOTES
); ?
>:</span
></td
>
204 <td
><span
class=text
>
206 //Modified 7/2009 by BM to incorporate data types
207 echo generate_display_field(array('data_type'=>$GLOBALS['country_data_type'],'list_id'=>$GLOBALS['country_list']),$result3{subscriber_employer_country
});
215 <td
><span
class=text
><?php
echo htmlspecialchars( xl('Subscriber Sex'), ENT_NOQUOTES
); ?
>:</span
></td
>
216 <td
><span
class=text
><?php
echo generate_display_field(array('data_type'=>'1','list_id'=>'sex'),$result3{subscriber_sex
}); ?
></span
></td
>
221 <a href
="javascript:auto_populate_employer_address();" class=link_submit
><?php
echo htmlspecialchars( xl('Copy Values'), ENT_NOQUOTES
); ?
></a
>
227 <table border
=0 cellpadding
=5 cellspacing
=0>
230 <span
class=bold
><?php
echo htmlspecialchars( xl('Name'), ENT_NOQUOTES
); ?
></span
>
232 <span
class=bold
><?php
echo htmlspecialchars( xl('SS'), ENT_NOQUOTES
); ?
></span
>
234 <span
class=bold
><?php
echo htmlspecialchars( xl('DOB'), ENT_NOQUOTES
); ?
></span
>
236 <span
class=bold
><?php
echo htmlspecialchars( xl('ID'), ENT_NOQUOTES
); ?
></span
>
243 $findby = $_POST['findBy'];
244 $patient = $_POST['patient'];
245 if ($findby == "Last" && $result = getPatientLnames("$patient","*,DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS") ) {
246 foreach ($result as $iter) {
251 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
252 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
253 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
254 htmlspecialchars( $iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
256 print "<td><a class=text target=_top href='browse.php?browsenum=" .
257 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
258 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
259 htmlspecialchars( $iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
260 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
261 print "<td><a class=text target=_top href='browse.php?browsenum=" .
262 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
263 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
264 htmlspecialchars( $iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
266 print "<td><a class=text target=_top href='browse.php?browsenum=" .
267 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
268 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
270 print "<td><a class=text target=_top href='browse.php?browsenum=" .
271 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
272 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
273 htmlspecialchars( $iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";
279 if ($findby == "ID" && $result = getPatientId("$patient","*, DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS") ) {
280 foreach ($result as $iter) {
285 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
286 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
287 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
288 htmlspecialchars( $iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
290 print "<td><a class=text target=_top href='browse.php?browsenum=" .
291 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
292 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
293 htmlspecialchars( $iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
294 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
295 print "<td><a class=text target=_top href='browse.php?browsenum=" .
296 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
297 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
298 htmlspecialchars( $iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
300 print "<td><a class=text target=_top href='browse.php?browsenum=" .
301 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
302 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
304 print "<td><a class=text target=_top href='browse.php?browsenum=" .
305 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
306 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
307 htmlspecialchars( $iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";
313 if ($findby == "DOB" && $result = getPatientDOB("$patient","*, DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS") ) {
314 foreach ($result as $iter) {
319 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
320 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
321 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
322 htmlspecialchars( $iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
324 print "<td><a class=text target=_top href='browse.php?browsenum=" .
325 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
326 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
327 htmlspecialchars( $iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
328 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
329 print "<td><a class=text target=_top href='browse.php?browsenum=" .
330 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
331 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
332 htmlspecialchars( $iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
334 print "<td><a class=text target=_top href='browse.php?browsenum=" .
335 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
336 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
338 print "<td><a class=text target=_top href='browse.php?browsenum=" .
339 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
340 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
341 htmlspecialchars( $iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";
347 if ($findby == "SSN" && $result = getPatientSSN("$patient","*, DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS") ) {
348 foreach ($result as $iter) {
353 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
354 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
355 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
356 htmlspecialchars( $iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
358 print "<td><a class=text target=_top href='browse.php?browsenum=" .
359 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
360 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
361 htmlspecialchars( $iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
362 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
363 print "<td><a class=text target=_top href='browse.php?browsenum=" .
364 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
365 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
366 htmlspecialchars( $iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
368 print "<td><a class=text target=_top href='browse.php?browsenum=" .
369 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
370 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
372 print "<td><a class=text target=_top href='browse.php?browsenum=" .
373 htmlspecialchars( $browsenum, ENT_QUOTES
) . "&set_pid=" .
374 htmlspecialchars( $iter{"pid"}, ENT_QUOTES
) . "'>" .
375 htmlspecialchars( $iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";