reworked to include filenames
[openemr.git] / interface / batchcom / batchPhoneList.php
blob83d7e08848f163dbb6c5a5f0b63d65f2e74e15b2
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 <link rel=stylesheet href="<?echo $css_header;?>" type="text/css">
13 <link rel=stylesheet href="batchcom.css" type="text/css">
14 </head>
15 <body <?echo $top_bg_line;?> topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0>
16 <span class="title">Batch Communication Tool</span>
17 <br><br>
21 echo ("<table>"); //will do css
23 echo ("<tr><td>Name </td>");
24 echo ("<td>DOB </td>");
25 echo ("<td>Home</td>");
26 echo ("<td>Work </td>");
27 echo ("<td>Contact </td>");
28 echo ("<td>$Cell </td></tr>\n");
31 while ($row=sqlFetchArray($res)) {
33 echo ("<tr><td>${row['title']} ");
34 echo ("${row['fname']} ");
35 echo ("${row['lname']} </td>");
36 echo ("<td>${row['DOB']} </td>");
37 echo ("<td>${row['phone_home']} </td>");
38 echo ("<td>${row['phone_biz']} </td>");
39 echo ("<td>${row['phone_contact']} </td>");
40 echo ("<td>${row['phone_cell']} </td></tr>\n");
43 echo ("</table>");