add calllog
add calllog

[submodule "pynma"] [submodule "pynma"]
path = pynma path = pynma
url = git://github.com/uskr/pynma.git url = git://github.com/uskr/pynma.git
[submodule "js/flotr2"] [submodule "js/flotr2"]
path = js/flotr2 path = js/flotr2
url = git://github.com/HumbleSoftware/Flotr2.git url = https://github.com/HumbleSoftware/Flotr2.git
   
file:b/calllog.php (new)
  <?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>";
  ?>