5 include_once("../../globals.php");
6 include_once("$srcdir/patient.inc");
7 include_once("$srcdir/options.inc.php");
9 //the maximum number of patient records to display:
12 $browsenum = (is_numeric($_REQUEST['browsenum'])) ?
$_REQUEST['browsenum'] : 1;
16 <?php
html_header_show();?
>
17 <link rel
='stylesheet' href
="<?php echo $css_header;?>" type
="text/css">
20 <body
class="body_top">
22 <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
>
24 <form border
='0' method
='post' name
="find_patient" action
="browse.php?browsenum=<?php echo ".htmlspecialchars( $browsenum, ENT_QUOTES
)."?>">
26 <input type
='entry' size
='10' name
='patient'>
27 <select name
="findBy" size
='1'>
28 <option value
="ID"><?php
echo htmlspecialchars(xl('ID'), ENT_NOQUOTES
); ?
></option
>
29 <option value
="Last" selected
><?php
echo htmlspecialchars(xl('Last Name'), ENT_NOQUOTES
); ?
></option
>
30 <option value
="SSN"><?php
echo htmlspecialchars(xl('SSN'), ENT_NOQUOTES
); ?
></option
>
31 <option value
="DOB"><?php
echo htmlspecialchars(xl('DOB'), ENT_NOQUOTES
); ?
></option
>
33 <a href
="javascript:document.find_patient.submit();" class=link
><?php
echo htmlspecialchars(xl('Find'), ENT_NOQUOTES
); ?
></a
> 
; 
;
34 <a href
="javascript:auto_populate_employer_address();" class=link_submit
><?php
echo htmlspecialchars(xl('Copy Values'), ENT_NOQUOTES
); ?
></a
>
38 if (isset($_GET{set_pid
})) {
39 if (!isset($_POST{insurance
})) {
40 $insurance = "primary";
42 $insurance = $_POST{insurance
};
45 $result = getPatientData($_GET{set_pid
});
46 // $result2 = getEmployerData($_GET{set_pid}); // not used!
47 $result3 = getInsuranceData($_GET{set_pid
}, $insurance);
50 <script language
=javascript
>
52 function auto_populate_employer_address(){
53 var df
= opener
.document
.demographics_form
;
54 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_fname
.value
='<?php echo htmlspecialchars($result3{subscriber_fname}, ENT_QUOTES);?>';
55 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_mname
.value
='<?php echo htmlspecialchars($result3{subscriber_mname}, ENT_QUOTES);?>';
56 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_lname
.value
='<?php echo htmlspecialchars($result3{subscriber_lname}, ENT_QUOTES);?>';
57 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_street
.value
='<?php echo htmlspecialchars($result3{subscriber_street}, ENT_QUOTES);?>';
58 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_city
.value
='<?php echo htmlspecialchars($result3{subscriber_city}, ENT_QUOTES);?>';
59 df
.form_i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_state
.value
='<?php echo htmlspecialchars($result3{subscriber_state}, ENT_QUOTES);?>';
60 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_postal_code
.value
='<?php echo htmlspecialchars($result3{subscriber_postal_code}, ENT_QUOTES);?>';
61 if (df
.form_i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_country
) // in case this is commented out
62 df
.form_i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_country
.value
='<?php echo htmlspecialchars($result3{subscriber_country}, ENT_QUOTES);?>';
63 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_phone
.value
='<?php echo htmlspecialchars($result3{subscriber_phone}, ENT_QUOTES);?>';
64 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_DOB
.value
='<?php echo htmlspecialchars($result3{subscriber_DOB}, ENT_QUOTES);?>';
65 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_ss
.value
='<?php echo htmlspecialchars($result3{subscriber_ss}, ENT_QUOTES);?>';
66 df
.form_i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_sex
.value
='<?php echo htmlspecialchars($result3{subscriber_sex}, ENT_QUOTES);?>';
68 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>plan_name
.value
='<?php echo htmlspecialchars($result3{plan_name}, ENT_QUOTES);?>';
69 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>policy_number
.value
='<?php echo htmlspecialchars($result3{policy_number}, ENT_QUOTES);?>';
70 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>group_number
.value
='<?php echo htmlspecialchars($result3{group_number}, ENT_QUOTES);?>';
71 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>provider
.value
='<?php echo htmlspecialchars($result3{provider}, ENT_QUOTES);?>';
73 // One clinic comments out the subscriber employer stuff.
74 if (df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer
) {
75 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer
.value
='<?php echo htmlspecialchars($result3{subscriber_employer}, ENT_QUOTES);?>';
76 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer_street
.value
='<?php echo htmlspecialchars($result3{subscriber_employer_street}, ENT_QUOTES);?>';
77 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer_city
.value
='<?php echo htmlspecialchars($result3{subscriber_employer_city}, ENT_QUOTES);?>';
78 df
.form_i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer_state
.value
='<?php echo htmlspecialchars($result3{subscriber_employer_state}, ENT_QUOTES);?>';
79 df
.i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer_postal_code
.value
='<?php echo htmlspecialchars($result3{subscriber_employer_postal_code}, ENT_QUOTES);?>';
80 df
.form_i
<?php
echo htmlspecialchars($browsenum, ENT_QUOTES
);?
>subscriber_employer_country
.value
='<?php echo htmlspecialchars($result3{subscriber_employer_country}, ENT_QUOTES);?>';
86 <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
);?
>>
87 <input type
="hidden" name
="browsenum" value
="<?php echo htmlspecialchars($browsenum, ENT_QUOTES);?>">
88 <span
class=bold
> <?php
echo htmlspecialchars(xl('Insurance Provider'), ENT_NOQUOTES
); ?
>:</span
>
89 <select name
=insurance onchange
="javascript:document.insurance_form.submit();">
90 <option value
="primary" <?php
echo ($insurance == "primary") ?
"selected" : ""?
>><?php
echo htmlspecialchars(xl('Primary'), ENT_NOQUOTES
); ?
></option
>
91 <option value
="secondary" <?php
echo ($insurance == "secondary") ?
"selected" : ""?
>><?php
echo htmlspecialchars(xl('Secondary'), ENT_NOQUOTES
); ?
></option
>
92 <option value
="tertiary" <?php
echo ($insurance == "tertiary") ?
"selected" : ""?
>><?php
echo htmlspecialchars(xl('Tertiary'), ENT_NOQUOTES
); ?
></option
>
98 <td
><span
class=text
><?php
echo htmlspecialchars(xl('First Name'), ENT_NOQUOTES
); ?
>:</span
></td
>
99 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_fname
}, ENT_NOQUOTES
);?
></span
></td
>
102 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Middle Name'), ENT_NOQUOTES
); ?
>:</span
></td
>
103 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_mname
}, ENT_NOQUOTES
);?
></span
></td
>
106 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Last Name'), ENT_NOQUOTES
); ?
>:</span
></td
>
107 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_lname
}, ENT_NOQUOTES
);?
></span
></td
>
110 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Address'), ENT_NOQUOTES
); ?
>:</span
></td
>
111 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_street
}, ENT_NOQUOTES
);?
></span
></td
>
114 <td
><span
class=text
><?php
echo htmlspecialchars(xl('City'), ENT_NOQUOTES
); ?
>:</span
></td
>
115 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_city
}, ENT_NOQUOTES
);?
></span
></td
>
118 <td
><span
class=text
><?php
echo htmlspecialchars(xl('State'), ENT_NOQUOTES
); ?
>:</span
></td
>
119 <td
><span
class=text
>
121 //Modified 7/2009 by BM to incorporate data types
122 echo generate_display_field(array('data_type'=>$GLOBALS['state_data_type'],'list_id'=>$GLOBALS['state_list']), $result3{subscriber_state
});
127 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Zip Code'), ENT_NOQUOTES
); ?
>:</span
></td
>
128 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_postal_code
}, ENT_NOQUOTES
);?
></span
></td
>
131 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Country'), ENT_NOQUOTES
); ?
>:</span
></td
>
132 <td
><span
class=text
>
134 //Modified 7/2009 by BM to incorporate data types
135 echo generate_display_field(array('data_type'=>$GLOBALS['country_data_type'],'list_id'=>$GLOBALS['country_list']), $result3{subscriber_country
});
140 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Phone'), ENT_NOQUOTES
); ?
>:</span
></td
>
141 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_phone
}, ENT_NOQUOTES
);?
></span
></td
>
144 <td
><span
class=text
><?php
echo htmlspecialchars(xl('DOB'), ENT_NOQUOTES
); ?
>:</span
></td
>
145 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_DOB
}, ENT_NOQUOTES
);?
></span
></td
>
148 <td
><span
class=text
><?php
echo htmlspecialchars(xl('SS'), ENT_NOQUOTES
); ?
>:</span
></td
>
149 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_ss
}, ENT_NOQUOTES
);?
></span
></td
>
152 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Primary Insurance Provider'), ENT_NOQUOTES
); ?
>:</span
></td
>
153 <td
><span
class=text
><?php
echo htmlspecialchars($result3{provider_name
}, ENT_NOQUOTES
);?
></span
></td
>
156 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Plan Name'), ENT_NOQUOTES
); ?
>:</span
>
157 </td
><td
><span
class=text
><?php
echo htmlspecialchars($result3{plan_name
}, ENT_NOQUOTES
);?
></span
></td
>
160 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Group Number'), ENT_NOQUOTES
); ?
>:</span
></td
>
161 <td
><span
class=text
><?php
echo htmlspecialchars($result3{group_number
}, ENT_NOQUOTES
);?
></span
></td
>
165 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Policy Number'), ENT_NOQUOTES
); ?
>:</span
></td
>
166 <td
><span
class=text
><?php
echo htmlspecialchars($result3{policy_number
}, ENT_NOQUOTES
);?
></span
></td
>
169 <?php
if (empty($GLOBALS['omit_employers'])) { ?
>
172 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Employer'), ENT_NOQUOTES
); ?
>:</span
></td
>
173 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_employer
}, ENT_NOQUOTES
);?
></span
></td
>
176 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Employer Address'), ENT_NOQUOTES
); ?
>:</span
></td
>
177 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_employer_street
}, ENT_NOQUOTES
);?
></span
></td
>
180 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Employer Zip Code'), ENT_NOQUOTES
); ?
>:</span
></td
>
181 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_employer_postal_code
}, ENT_NOQUOTES
);?
></span
></td
>
184 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Employer City'), ENT_NOQUOTES
); ?
>:</span
></td
>
185 <td
><span
class=text
><?php
echo htmlspecialchars($result3{subscriber_employer_city
}, ENT_NOQUOTES
);?
></span
></td
>
188 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Employer State'), ENT_NOQUOTES
); ?
>:</span
></td
>
189 <td
><span
class=text
>
191 //Modified 7/2009 by BM to incorporate data types
192 echo generate_display_field(array('data_type'=>$GLOBALS['state_data_type'],'list_id'=>$GLOBALS['state_list']), $result3{subscriber_employer_state
});
197 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Employer Country'), ENT_NOQUOTES
); ?
>:</span
></td
>
198 <td
><span
class=text
>
200 //Modified 7/2009 by BM to incorporate data types
201 echo generate_display_field(array('data_type'=>$GLOBALS['country_data_type'],'list_id'=>$GLOBALS['country_list']), $result3{subscriber_employer_country
});
209 <td
><span
class=text
><?php
echo htmlspecialchars(xl('Subscriber Sex'), ENT_NOQUOTES
); ?
>:</span
></td
>
210 <td
><span
class=text
><?php
echo generate_display_field(array('data_type'=>'1','list_id'=>'sex'), $result3{subscriber_sex
}); ?
></span
></td
>
215 <a href
="javascript:auto_populate_employer_address();" class=link_submit
><?php
echo htmlspecialchars(xl('Copy Values'), ENT_NOQUOTES
); ?
></a
>
221 <table border
=0 cellpadding
=5 cellspacing
=0>
224 <span
class=bold
><?php
echo htmlspecialchars(xl('Name'), ENT_NOQUOTES
); ?
></span
>
226 <span
class=bold
><?php
echo htmlspecialchars(xl('SS'), ENT_NOQUOTES
); ?
></span
>
228 <span
class=bold
><?php
echo htmlspecialchars(xl('DOB'), ENT_NOQUOTES
); ?
></span
>
230 <span
class=bold
><?php
echo htmlspecialchars(xl('ID'), ENT_NOQUOTES
); ?
></span
>
237 $findby = $_POST['findBy'];
238 $patient = $_POST['patient'];
239 if ($findby == "Last" && $result = getPatientLnames("$patient", "*,DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS")) {
240 foreach ($result as $iter) {
245 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
246 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
247 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
248 htmlspecialchars($iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
250 print "<td><a class=text target=_top href='browse.php?browsenum=" .
251 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
252 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
253 htmlspecialchars($iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
254 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
255 print "<td><a class=text target=_top href='browse.php?browsenum=" .
256 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
257 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
258 htmlspecialchars($iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
260 print "<td><a class=text target=_top href='browse.php?browsenum=" .
261 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
262 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
265 print "<td><a class=text target=_top href='browse.php?browsenum=" .
266 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
267 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
268 htmlspecialchars($iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";
274 if ($findby == "ID" && $result = getPatientId("$patient", "*, DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS")) {
275 foreach ($result as $iter) {
280 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
281 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
282 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
283 htmlspecialchars($iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
285 print "<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{"ss"}, ENT_NOQUOTES
) . "</a></td>";
289 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
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{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
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
) . "'> </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
) . "'>" .
303 htmlspecialchars($iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";
309 if ($findby == "DOB" && $result = getPatientDOB("$patient", "*, DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS")) {
310 foreach ($result as $iter) {
315 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
316 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
317 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
318 htmlspecialchars($iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
320 print "<td><a class=text target=_top href='browse.php?browsenum=" .
321 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
322 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
323 htmlspecialchars($iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
324 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
325 print "<td><a class=text target=_top href='browse.php?browsenum=" .
326 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
327 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
328 htmlspecialchars($iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
330 print "<td><a class=text target=_top href='browse.php?browsenum=" .
331 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
332 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
335 print "<td><a class=text target=_top href='browse.php?browsenum=" .
336 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
337 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
338 htmlspecialchars($iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";
344 if ($findby == "SSN" && $result = getPatientSSN("$patient", "*, DATE_FORMAT(DOB,'%m/%d/%Y') as DOB_TS")) {
345 foreach ($result as $iter) {
350 print "<tr><td><a class=text target=_top href='browse.php?browsenum=" .
351 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
352 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
353 htmlspecialchars($iter{"lname"}.", ".$iter{"fname"}, ENT_NOQUOTES
) .
355 print "<td><a class=text target=_top href='browse.php?browsenum=" .
356 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
357 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
358 htmlspecialchars($iter{"ss"}, ENT_NOQUOTES
) . "</a></td>";
359 if ($iter{"DOB"} != "0000-00-00 00:00:00") {
360 print "<td><a class=text target=_top href='browse.php?browsenum=" .
361 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
362 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
363 htmlspecialchars($iter{"DOB_TS"}, ENT_NOQUOTES
) . "</a></td>";
365 print "<td><a class=text target=_top href='browse.php?browsenum=" .
366 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
367 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'> </a></td>";
370 print "<td><a class=text target=_top href='browse.php?browsenum=" .
371 htmlspecialchars($browsenum, ENT_QUOTES
) . "&set_pid=" .
372 htmlspecialchars($iter{"pid"}, ENT_QUOTES
) . "'>" .
373 htmlspecialchars($iter{"pubpid"}, ENT_NOQUOTES
) . "</a></td>";