Realtime screen cleaned up with a normal HTML table

Discussions about new features or changes in existing features

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Realtime screen cleaned up with a normal HTML table

Postby Noah » Sat Jan 25, 2014 10:34 am

Hi Vici admins:

We updated the realtime screen to normalize the ascii table to an html table.
Give us a call if you need a hand. Mycallcloud.com

http://www.freeimagehosting.net/newuploads/5pzrq.jpg

diff AST_timeonVDADall.php AST_timeonVDADall.backup2.php
1012c1012
< .olive {color: white; background-color: green}
---
> .olive {color: white; background-color: #808000}
2256d2255
< $Aecho .= "<table border=1 class=realtime>";
2257a2257
> $Aecho .= "<table class=CSSTableGenerator border=1>";
2259,2260c2259,2260
< $HDbegin = "+";
< $HTbegin = "";
---
> $HDbegin = "<tr>";
> $HTbegin = "<tr>";
2262c2262
< $HTstation = "<th> STATION </th>";
---
> $HTstation = "<th>STATION</th> ";
2264c2264
< $HTphone = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$phoneord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">PHONE</a> </th>";
---
> $HTphone = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$phoneord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">PHONE</a></th> |";
2266c2266
< {$HTphone = "<th> <a href=\"#\" onclick=\"update_variables('orderby','phone');\">PHONE</a> </th>";}
---
> {$HTphone = " <a href=\"#\" onclick=\"update_variables('orderby','phone');\">PHONE</a> |";}
2270c2270
< $HTuser = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$userord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">USER</a> ";
---
> $HTuser = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$userord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">USER</a></th> ";
2272c2272
< {$HTuser = " <th><a href=\"#\" onclick=\"update_variables('orderby','user');\">USER</a> ";}
---
> {$HTuser = " <th><a href=\"#\" onclick=\"update_variables('orderby','user');\">USER</a></th> ";}
2276c2276
< {$HTuser .= "<a href=\"#\" onclick=\"update_variables('UidORname','');\">SHOW ID</a> ";}
---
> {$HTuser .= "<th><a href=\"#\" onclick=\"update_variables('UidORname','');\">SHOW ID</a></th> ";}
2279c2279
< $HTuser .= "<a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=0&orderby=$orderby&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">SHOW ID</a> ";
---
> $HTuser .= "<th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=0&orderby=$orderby&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">SHOW ID</a></th> ";
2285c2285
< {$HTuser .= "<a href=\"#\" onclick=\"update_variables('UidORname','');\">SHOW NAME</a>";}
---
> {$HTuser .= "<th><a href=\"#\" onclick=\"update_variables('UidORname','');\">SHOW NAME</a></th>";}
2288c2288
< $HTuser .= "<a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=1&orderby=$orderby&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">SHOW NAME</a>";
---
> $HTuser .= "<th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=1&orderby=$orderby&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">SHOW NAME</a></th>";
2292c2292
< $HTuser .= "INFO </th>";
---
> $HTuser .= "<th> INFO |</th>";
2298c2298
< {$HTusergroup = " <th><a href=\"#\" onclick=\"update_variables('orderby','group');\">USER GROUP</a> </th>";}
---
> {$HTusergroup = " <th><a href=\"#\" onclick=\"update_variables('orderby','group');\">USER GROUP</a> |</th>";}
2300c2300
< $HTsessionid = " <th>SESSIONID</th>";
---
> $HTsessionid = " <th>SESSIONID |</th>";
2302c2302
< $HTbarge = " <th>BARGE </th>";
---
> $HTbarge = " <th>BARGE |</th>";
2304c2304
< $HTstatus = " <th>STATUS </th>";
---
> $HTstatus = " <th>STATUS |</th>";
2306c2306
< $HTcustphone = " <th>CUST PHONE </th>";
---
> $HTcustphone = " <th>CUST PHONE |</th>";
2308c2308
< $HTserver_ip = " <th>SERVER IP </th>";
---
> $HTserver_ip = " <th>SERVER IP |</th>";
2310c2310
< $HTcall_server_ip = " <th>CALL SERVER IP </th>";
---
> $HTcall_server_ip = " <th>CALL SERVER IP |</th>";
2312c2312
< $HTtime = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$timeord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">MM:SS</a></th>";
---
> $HTtime = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$timeord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">MM:SS</a> |</th>";
2314c2314
< {$HTtime = " <th><a href=\"#\" onclick=\"update_variables('orderby','time');\">MM:SS</a> </th>";}
---
> {$HTtime = " <th><a href=\"#\" onclick=\"update_variables('orderby','time');\">MM:SS</a> |</th>";}
2316c2316
< $HTcampaign = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$campaignord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">CAMPAIGN</a></th>";
---
> $HTcampaign = " <th><a href=\"$PHP_SELF?$usergroupQS$groupQS&RR=$RR&DB=$DB&adastats=$adastats&SIPmonitorLINK=$SIPmonitorLINK&IAXmonitorLINK=$IAXmonitorLINK&usergroup=$usergroup&UGdisplay=$UGdisplay&UidORname=$UidORname&orderby=$campaignord&SERVdisplay=$SERVdisplay&CALLSdisplay=$CALLSdisplay&PHONEdisplay=$PHONEdisplay&CUSTPHONEdisplay=$CUSTPHONEdisplay&with_inbound=$with_inbound&monitor_active=$monitor_active&monitor_phone=$monitor_phone&ALLINGROUPstats=$ALLINGROUPstats&DROPINGROUPstats=$DROPINGROUPstats&NOLEADSalert=$NOLEADSalert&CARRIERstats=$CARRIERstats&PRESETstats=$PRESETstats&AGENTtimeSTATS=$AGENTtimeSTATS\">CAMPAIGN</a> |</th>";
2318c2318
< {$HTcampaign = " <th><a href=\"#\" onclick=\"update_variables('orderby','campaign');\">CAMPAIGN</a></th>";}
---
> {$HTcampaign = " <th><a href=\"#\" onclick=\"update_variables('orderby','campaign');\">CAMPAIGN</a> |</th>";}
2320c2320
< $HTcalls = " <th>CALLS </th>";
---
> $HTcalls = "<th> CALLS |</th>";
2325a2326
>
2329c2330
< $HTstatus = " <th>STATUS </th> ";
---
> $HTstatus = " <th>STATUS </th>";
2331c2332
< $HTpause = " <th>PAUSE </th>";
---
> $HTpause = " <th>PAUSE |</th>";
2351c2352
< $HTsessionid = "<th>SESSIONID </th>";
---
> $HTsessionid = " <th>SESSIONID |</th>";
2369,2370c2370,2371
< $Aline = "$HDbegin$HDusergroup$HDsessionid$HDbarge$HDstatus$HDpause$HDcustphone$HDserver_ip$HDcall_server_ip$HDtime$HDcampaign$HDcalls$HDigcall\n";
< $Bline = "$HTbegin$HTusergroup$HTsessionid$HTbarge$HTstatus$HTpause$HTcustphone$HTserver_ip$HTcall_server_ip$HTtime$HTcampaign$HTcalls$HTigcall\n";
---
> $Aline = "$HDbegin$HDusergroup$HDsessionid$HDbarge$HDstatus$HDpause$HDcustphone$HDserver_ip$HDcall_server_ip$HDtime$HDcampaign$HDcalls$HDigcall"."</th>";
> $Bline = "$HTbegin$HTusergroup$HTsessionid$HTbarge$HTstatus$HTpause$HTcustphone$HTserver_ip$HTcall_server_ip$HTtime$HTcampaign$HTcalls$HTigcall"."</th>";
2375c2376
< $Bline = "$HTbegin$HTstation$HTphone$HTuser$HTusergroup$HTsessionid$HTbarge$HTstatus$HTpause$HTcustphone$HTserver_ip$HTcall_server_ip$HTtime$HTcampaign$HTcalls$HTigcall\n";
---
> $Bline = "$HTbegin$HTstation$HTphone$HTuser$HTusergroup$HTsessionid$HTbarge$HTstatus$HTpause$HTcustphone$HTserver_ip$HTcall_server_ip$HTtime$HTcampaign$HTcalls$HTigcall"."</tr>";
2377c2378
< // $Aecho .= "<table>";
---
> // $Aecho .= "$Aline";
2379c2380,2381
< // $Aecho .= "<table border=2>";
---
> // $Aecho .= "$Aline";
>
2756c2758
< $pausecode = "<td>$pausecode</tr> ";
---
> $pausecode = "$pausecode ";
2798c2800
< {$L="<td> <a href=\"javascript:send_monitor('$Lsessionid','$Lserver_ip','MONITOR');\">LISTEN</a>"; $R='';}
---
> {$L=" <a href=\"javascript:send_monitor('$Lsessionid','$Lserver_ip','MONITOR');\">LISTEN</a>"; $R='';}
2800c2802
< {$R=" | <a href=\"javascript:send_monitor('$Lsessionid','$Lserver_ip','BARGE');\">BARGE</a></td>";}
---
> {$R=" | <a href=\"javascript:send_monitor('$Lsessionid','$Lserver_ip','BARGE');\">BARGE</a>";}
2802c2804
< if ($CUSTPHONEdisplay > 0) {$CP = "<td>$G$custphone$EG</td>";}
---
> if ($CUSTPHONEdisplay > 0) {$CP = " $G$custphone$EG |";}
2805c2807
< if ($UGdisplay > 0) {$UGD = "<td>$G$user_group$EG</td>";}
---
> if ($UGdisplay > 0) {$UGD = " $G$user_group$EG |";}
2808c2810
< if ($SERVdisplay > 0) {$SVD = " <td>$G$server_ip$EG</td><td> $G$call_server_ip$EG </td>";}
---
> if ($SERVdisplay > 0) {$SVD = " $G$server_ip$EG | $G$call_server_ip$EG |";}
2811c2813
< if ($PHONEdisplay > 0) {$phoneD = "<td>$G$phone$EG</td> ";}
---
> if ($PHONEdisplay > 0) {$phoneD = "$G$phone$EG | ";}
2831c2833
< $INGRP = " <td>$G$vac_stage$EG | $G$vac_campaign$EG </td>";
---
> $INGRP = " $G$vac_stage$EG | $G$vac_campaign$EG ";
2838c2840
< $Aecho .= "<tr><td>$UGD $G$sessionid$EG$L$R$Aring_note[$i]| $G$status$EG $CM $pausecode|$CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG |$INGRP</td></tr>";
---
> $Aecho .= "|$UGD $G$sessionid$EG$L$R$Aring_note[$i]| $G$status$EG $CM $pausecode|$CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG |$INGRP";
2842,2849c2844
< $Aecho .= " <tr><td>$G$extension$EG$Aring_note[$i]$phoneD</td>
< <td><a href=\"./user_status.php?user=$Luser\" target=\"_blank\">$G$user$EG</a><a href=\"javascript:ingroup_info('$Luser','$j');\">+</a></td>
< $UGD<td>$G$sessionid$EG$L$R</td>
< <td>$G$status$EG</td>
< $CM$pausecode$CP$SVD<td>$G$call_time_MS$EG</td>
< <td>$G$campaign_id$EG</td>
< <td>$G$calls_today$EG</td>
< <td>$INGRP</td></tr>";
---
> $Aecho .= "| $G$extension$EG$Aring_note[$i]|$phoneD<a href=\"./user_status.php?user=$Luser\" target=\"_blank\">$G$user$EG</a> <a href=\"javascript:ingroup_info('$Luser','$j');\">+</a> |$UGD $G$sessionid$EG$L$R | $G$status$EG $CM $pausecode|$CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG |$INGRP";
2853d2847
<
2855c2849,2851
< $Aecho .= " $agentcount agents logged in on all servers\n";
---
>
> // $Aecho .= "<tr>"."$Aline"."</tr>";
> $Aecho .= "<tr>"." $agentcount agents logged in on all servers"."</tr>";
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
Noah
 
Posts: 90
Joined: Tue Feb 08, 2011 7:14 pm

Re: Realtime screen cleaned up with a normal HTML table

Postby mflorell » Sun Jan 26, 2014 6:54 am

If you would like to contribute this, please open a new Issue Tracker ticket and link to it here.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Realtime screen cleaned up with a normal HTML table

Postby Noah » Mon Jan 27, 2014 12:10 pm

MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
Noah
 
Posts: 90
Joined: Tue Feb 08, 2011 7:14 pm


Return to Features

Who is online

Users browsing this forum: No registered users and 40 guests