The Third Reminders email bug fix - contributed by arnabnaha
[openemr.git] / interface / batchcom / batchPhoneList.php
blob4c582fa8af48472ee850b190c3b64ef760779425
1 <?php
2 /*
3 batch list processor, included from batchcom
4 */
6 // create a list for phone calls
7 // menu for fields could be added in the future
9 ?>
10 <html>
11 <head>
12 <?php html_header_show();?>
13 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
14 <link rel="stylesheet" href="batchcom.css" type="text/css">
15 </head>
16 <body class="body_top">
17 <span class="title"><?php xl('Batch Communication Tool','e')?></span>
18 <br><br>
19 <span class="pclist" ><?php xl('Phone Call List report','e')?></span>
20 <br><br>
22 <?php
24 echo ("<table class='batchcom'>"); //will do css
26 echo ("<thead bgcolor='#ECECEC'><th width='22%'>".xl('Name') ."</th>");
27 echo ("<th align='Center' width='15%'>".xl('DOB') ."</th>");
28 echo ("<th align='Center' width='15%'>".xl('Home')."</th>");
29 echo ("<th align='Center' width='15%'>".xl('Work') ."</th>");
30 echo ("<th align='Center' width='15%'>".xl('Contact') ."</th>");
31 echo ("<th align='Center' width='15%'>".xl('Cell') ."</th></thead>\n");
33 while ($row=sqlFetchArray($res)) {
35 echo ("<tr><td width='22%'>${row['title']} ");
36 echo ("${row['fname']} ");
37 echo ("${row['lname']} </td>");
38 echo ("<td align='Center'>${row['DOB']} </td>");
39 echo ("<td align='right'>${row['phone_home']} </td>");
40 echo ("<td align='right'>${row['phone_biz']} </td>");
41 echo ("<td align='right'>${row['phone_contact']} </td>");
42 echo ("<td align='right'>${row['phone_cell']} </td></tr>\n");
45 echo ("</table>");