added options for using BLEND INBND _I _B _C to denote CLOSER campaigns

git-svn-id: svn://192.168.202.10@461 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2007-01-15 17:39:31 +00:00
parent 2d63e7daea
commit 87895e6d7a
21 changed files with 67 additions and 46 deletions
@@ -10,6 +10,7 @@
# changes:
# 61102-1616 - first build
# 61215-1131 - added answered calls and drop percent taken from answered calls
# 70111-1600 - added ability to use BLEND/INBND/*_C/*_B/*_I as closer campaigns
#
header ("Content-type: text/html; charset=utf-8");
@@ -241,7 +242,7 @@ echo "<TD ALIGN=LEFT COLSPAN=8>";
################################################################################
###### OUTBOUND CALLS
################################################################################
if (eregi("CLOSER",$group))
if (eregi("(CLOSER|BLEND|INBND|_C$|_B$|_I$)",$group))
{
$stmt="select closer_campaigns from vicidial_campaigns where campaign_id='" . mysql_real_escape_string($group) . "';";
$rslt=mysql_query($stmt, $link);
@@ -290,7 +291,7 @@ $parked_to_print = mysql_num_rows($rslt);
if ($out_live > 9) {$F='<FONT class="r3">'; $FG='</FONT>';}
if ($out_live > 14) {$F='<FONT class="r4">'; $FG='</FONT>';}
if (eregi("CLOSER",$group))
if (eregi("(CLOSER|BLEND|INBND|_C$|_B$|_I$)",$group))
{echo "$NFB$out_total$NFE current active calls&nbsp; &nbsp; &nbsp; \n";}
else
{echo "$NFB$out_total$NFE calls being placed &nbsp; &nbsp; &nbsp; \n";}