add calllog
--- a/.gitmodules
+++ b/.gitmodules
@@ -3,5 +3,5 @@
url = git://github.com/uskr/pynma.git
[submodule "js/flotr2"]
path = js/flotr2
- url = git://github.com/HumbleSoftware/Flotr2.git
+ url = https://github.com/HumbleSoftware/Flotr2.git
--- /dev/null
+++ b/calllog.php
@@ -1,1 +1,22 @@
+<?php
+include ('common.inc.php');
+ $sth = $conn->prepare( 'select * from recordings
+ order by call_timestamp desc limit 10');
+ $sth->execute(Array());
+
+$row = 0;
+echo "<table>";
+foreach ($sth->fetchAll() as $data) {
+
+
+ echo "<tr>";
+ for ($c=0; $c < count($data); $c++) {
+ echo '<td>'.$data[$c] . "</td>\n";
+ }
+ echo "</tr>";
+ }
+ $row++;
+echo "</table>";
+?>
+