small changes and user_stats.php small change for bug 20

git-svn-id: svn://192.168.202.10@253 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2006-09-06 21:18:19 +00:00
parent ea1bf74be7
commit 98ce18c6da
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -38,6 +38,7 @@
# 60718-0955 - changed to use /etc/astguiclient.conf for configs # 60718-0955 - changed to use /etc/astguiclient.conf for configs
# 60720-1142 - added keepalive to MySQL connection every 50 seconds # 60720-1142 - added keepalive to MySQL connection every 50 seconds
# 60814-1733 - added option for no logging to file # 60814-1733 - added option for no logging to file
# 60906-1714 - added updating for special vicidial conference calls
# #
# constants # constants
+3 -2
View File
@@ -125,6 +125,7 @@
# 60822-0512 - Changed phone number fields to be maxlength of 12 # 60822-0512 - Changed phone number fields to be maxlength of 12
# 60829-1531 - Made compatible with WeBRooTWritablE setting in dbconnect.php # 60829-1531 - Made compatible with WeBRooTWritablE setting in dbconnect.php
# 60906-1152 - Added Previous CallBack info display span # 60906-1152 - Added Previous CallBack info display span
# 60906-1715 - Allow for Local phone extension conferences
# #
require("dbconnect.php"); require("dbconnect.php");
@@ -170,8 +171,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
$forever_stop=0; $forever_stop=0;
$version = '2.0.98'; $version = '2.0.99';
$build = '60906-1152'; $build = '60906-1715';
if ($force_logout) if ($force_logout)
{ {
+1 -1
View File
@@ -258,7 +258,7 @@ echo "<B>LAST 50 CALLS:</B>\n";
echo "<TABLE width=550 cellspacing=0 cellpadding=1>\n"; echo "<TABLE width=550 cellspacing=0 cellpadding=1>\n";
echo "<tr><td><font size=2>DATE/TIME </td><td align=left><font size=2>LENGTH</td><td align=left><font size=2> STATUS</td><td align=left><font size=2> PHONE</td><td align=right><font size=2> CAMPAIGN</td><td align=right><font size=2> LIST</td><td align=right><font size=2> LEAD</td></tr>\n"; echo "<tr><td><font size=2>DATE/TIME </td><td align=left><font size=2>LENGTH</td><td align=left><font size=2> STATUS</td><td align=left><font size=2> PHONE</td><td align=right><font size=2> CAMPAIGN</td><td align=right><font size=2> LIST</td><td align=right><font size=2> LEAD</td></tr>\n";
$stmt="select * from vicidial_log where user='" . mysql_real_escape_string($user) . "' order by uniqueid desc limit 50;"; $stmt="select * from vicidial_log where user='" . mysql_real_escape_string($user) . "' order by call_date desc limit 50;";
$rslt=mysql_query($stmt, $link); $rslt=mysql_query($stmt, $link);
$logs_to_print = mysql_num_rows($rslt); $logs_to_print = mysql_num_rows($rslt);