diff --git a/agc_2-X/trunk/UPGRADE b/agc_2-X/trunk/UPGRADE index 66464522..04ae068b 100644 --- a/agc_2-X/trunk/UPGRADE +++ b/agc_2-X/trunk/UPGRADE @@ -248,6 +248,10 @@ OTHER CHANGES: 65. Added option to define a carrier across all active asterisk servers +66. Added campaign option to move USERONLY scheduled callbacks to ANYONE + callbacks after X minutes being LIVE without the agent calling them + back. + diff --git a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl index 3fb49473..387f09ae 100644 --- a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl +++ b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl @@ -109,9 +109,10 @@ # 160305-2253 - Added --teod flag to log Timeclock End of Day processes to log file # Limited max-stats process to only run on voicemail server, also added alt-logging flags to cm.agi calls # 160306-1040 - Added option for carriers to be defined for all active asterisk servers +# 160324-1655 - Added callback_useronly_move_minutes option # -$build = '160306-1040'; +$build = '160324-1655'; $DB=0; # Debug flag $teodDB=0; # flag to log Timeclock End of Day processes to log file @@ -3696,6 +3697,70 @@ if ($active_asterisk_server =~ /Y/) +################################################################################ +##### START scheduled callbacks move old USERONLY triggered to ANYONE +################################################################################ +# only run this on active voicemail servver +if ( ($active_voicemail_server =~ /$server_ip/) && ((length($active_voicemail_server)) eq (length($server_ip))) ) + { + ##### BEGIN gather campaign settings ##### + $CBcampaign_id=$MT; + $CBcallback_useronly_move_minutes=$MT; + $stmtA = "SELECT campaign_id,callback_useronly_move_minutes FROM vicidial_campaigns where active='Y' and callback_useronly_move_minutes > 0 order by campaign_id;"; + if ($DBX) {print "$stmtA\n";} + $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; + $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; + $sthArows=$sthA->rows; + $i=0; + while ($sthArows > $i) + { + @aryA = $sthA->fetchrow_array; + $CBcampaign_id[$i] = $aryA[0]; + $CBcallback_useronly_move_minutes[$i] = $aryA[1]; + $i++; + } + $sthA->finish(); + + if ($DB) {print " old live scheduled callbacks move active campaigns: $i\n";} + + $i=0; + while ($sthArows > $i) + { + $CBmoveCOUNT=0; + $stmtA = "SELECT count(*) from vicidial_callbacks where campaign_id='$CBcampaign_id[$i]' and status='LIVE' and recipient='USERONLY' and callback_time < (NOW() - INTERVAL $CBcallback_useronly_move_minutes[$i] MINUTE);"; + if ($DBX) {print "$stmtA\n";} + $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; + $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; + $sthArowsX=$sthA->rows; + if ($sthArowsX > 0) + { + @aryA = $sthA->fetchrow_array; + $CBmoveCOUNT = $aryA[0]; + } + $sthA->finish(); + + if ($CBmoveCOUNT > 0) + { + $stmtA = "UPDATE vicidial_callbacks SET recipient='ANYONE',status='ACTIVE' where campaign_id='$CBcampaign_id[$i]' and status='LIVE' and recipient='USERONLY' and callback_time < (NOW() - INTERVAL $CBcallback_useronly_move_minutes[$i] MINUTE);"; + $affected_rows = $dbhA->do($stmtA) or die "Couldn't execute query: |$stmtA|\n"; + if ($DBX) {print "Callback USERONLY old move query: |$affected_rows|$stmtA|\n";} + + if ($teodDB) + { + $event_string = "Callback USERONLY old moved: $affected_rows|$CBmoveCOUNT|$CBcampaign_id[$i]|$CBcallback_useronly_move_minutes[$i]|"; + &teod_logger; + } + } + $i++; + } + } +################################################################################ +##### END scheduled callbacks move old USERONLY triggered to ANYONE +################################################################################ + + + + ################################################################################ ##### BEGIN Audio Store sync @@ -3783,7 +3848,6 @@ if ($sthBrows > 0) $stmtA="UPDATE vicidial_process_triggers SET trigger_run='0' where trigger_id='$trigger_id';"; $affected_rows = $dbhA->do($stmtA); - $MT[0]=''; $trigger_results=''; if ($DB) {print "running process trigger: $trigger_id\n";} @triggers = split(/\|/,$trigger_lines); diff --git a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql index f0bb9144..a174a4c9 100644 --- a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql +++ b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql @@ -954,7 +954,8 @@ agent_display_fields VARCHAR(50) default '', am_message_wildcards ENUM('Y','N') default 'N', manual_dial_timeout VARCHAR(3) default '', routing_initiated_recordings ENUM('Y','N') default 'N', -manual_dial_hopper_check ENUM('Y','N') default 'N' +manual_dial_hopper_check ENUM('Y','N') default 'N', +callback_useronly_move_minutes MEDIUMINT(5) UNSIGNED default '0' ) ENGINE=MyISAM; CREATE TABLE vicidial_lists ( @@ -3742,4 +3743,4 @@ UPDATE vicidial_configuration set value='1766' where name='qc_database_version'; UPDATE system_settings set vdc_agent_api_active='1'; -UPDATE system_settings SET db_schema_version='1456',db_schema_update_date=NOW(),reload_timestamp=NOW(); +UPDATE system_settings SET db_schema_version='1457',db_schema_update_date=NOW(),reload_timestamp=NOW(); diff --git a/agc_2-X/trunk/extras/upgrade_2.12.sql b/agc_2-X/trunk/extras/upgrade_2.12.sql index 4defa874..dbb0db40 100644 --- a/agc_2-X/trunk/extras/upgrade_2.12.sql +++ b/agc_2-X/trunk/extras/upgrade_2.12.sql @@ -559,3 +559,7 @@ ALTER TABLE vicidial_admin_log MODIFY event_sql MEDIUMTEXT; ALTER TABLE vicidial_admin_log MODIFY event_notes MEDIUMTEXT; UPDATE system_settings SET db_schema_version='1456',db_schema_update_date=NOW() where db_schema_version < 1456; + +ALTER TABLE vicidial_campaigns ADD callback_useronly_move_minutes MEDIUMINT(5) UNSIGNED default '0'; + +UPDATE system_settings SET db_schema_version='1457',db_schema_update_date=NOW() where db_schema_version < 1457; diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php b/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php index 29a99f80..3f27c45d 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_time_sheet.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # CHANGES # @@ -24,6 +24,7 @@ # 141114-0908 - Finalized adding QXZ translation to all admin files # 141230-1523 - Added code for on-the-fly language translations display # 151227-1735 - Added option for searching archived data +# 160325-1428 - Changes for sidebar update # $startMS = microtime(); @@ -293,6 +294,7 @@ $HEADER.=""._QXZ("$report_name"); ##### BEGIN Set variables to make header show properly ##### $ADD = '3'; $hh = 'users'; +$sh = 'sheet'; $LOGast_admin_access = '1'; $ADMIN = 'admin.php'; $page_width='770'; diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 8bb0b14a..dcc5ff38 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -17,9 +17,9 @@ require("functions.php"); $page_width='770'; $section_width='750'; -$header_font_size='3'; -$subheader_font_size='2'; -$subcamp_font_size='2'; +$header_font_size='12'; +$subheader_font_size='11'; +$subcamp_font_size='11'; $header_selected_bold='<b>'; $header_nonselected_bold=''; $users_color = '#FFFF99'; @@ -103,6 +103,12 @@ $reports_color = '#E6E6E6'; $sc_color = '#C6C6C6'; $sg_color = '#C6C6C6'; $subcamp_color = '#C6C6C6'; + +$Msubhead_color = '#E6E6E6'; +$Mselected_color = '#C6C6C6'; +$Mhead_color = '#A3C3D6'; +$Mmain_bgcolor = '#015B91'; + ### @@ -2050,6 +2056,8 @@ if (isset($_GET["webphone_volume"])) {$webphone_volume=$_GET["webphone_volume elseif (isset($_POST["webphone_volume"])) {$webphone_volume=$_POST["webphone_volume"];} if (isset($_GET["webphone_debug"])) {$webphone_debug=$_GET["webphone_debug"];} elseif (isset($_POST["webphone_debug"])) {$webphone_debug=$_POST["webphone_debug"];} +if (isset($_GET["callback_useronly_move_minutes"])) {$callback_useronly_move_minutes=$_GET["callback_useronly_move_minutes"];} + elseif (isset($_POST["callback_useronly_move_minutes"])) {$callback_useronly_move_minutes=$_POST["callback_useronly_move_minutes"];} if (isset($script_id)) {$script_id= strtoupper($script_id);} @@ -2422,6 +2430,7 @@ if ($non_latin < 1) $alt_ivr_logging = preg_replace('/[^0-9]/','',$alt_ivr_logging); $question = preg_replace('/[^0-9]/','',$question); $alt_dtmf_log = preg_replace('/[^0-9]/','',$alt_dtmf_log); + $callback_useronly_move_minutes = preg_replace('/[^0-9]/','',$callback_useronly_move_minutes); $drop_call_seconds = preg_replace('/[^-0-9]/','',$drop_call_seconds); $timer_alt_seconds = preg_replace('/[^-0-9]/','',$timer_alt_seconds); @@ -3735,12 +3744,13 @@ else # 160306-1053 - Added new webphone options, added option to have carriers on all active asterisk servers # 160312-1931 - Added select/deselect all options to AC-CID modify page. Reworked max stats calculations # 160313-0756 - Changed AC-CID changes to log to the same entry instead of one per record +# 160325-1435 - Changes for sidebar, added callback_useronly_move_minutes campaign feature # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time -$admin_version = '2.12-543a'; -$build = '160313-0756'; +$admin_version = '2.12-544a'; +$build = '160325-1435'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -4188,29 +4198,29 @@ if ( (!isset($ADD)) or (strlen($ADD)<1) ) {$ADD="999990";} if ($ADD=='0') {$ADD="999990";} ### set the sections and headers -if ($ADD=="1") {$hh='users'; echo _QXZ("Add New User");} -if ($ADD=="1A") {$hh='users'; echo _QXZ("Copy User");} +if ($ADD=="1") {$hh='users'; $sh='new'; echo _QXZ("Add New User");} +if ($ADD=="1A") {$hh='users'; $sh='copy'; echo _QXZ("Copy User");} if ($ADD==11) {$hh='campaigns'; $sh='basic'; echo _QXZ("Add New Campaign");} if ($ADD==12) {$hh='campaigns'; $sh='basic'; echo _QXZ("Copy Campaign");} -if ($ADD==111) {$hh='lists'; echo _QXZ("Add New List");} -if ($ADD==121) {$hh='lists'; echo _QXZ("Add New DNC");} -if ($ADD==171) {$hh='ingroups'; echo _QXZ("Filter Phone Group Numbers");} -if ($ADD==1111) {$hh='ingroups'; echo _QXZ("Add New In-Group");} -if ($ADD==1211) {$hh='ingroups'; echo _QXZ("Copy In-Group");} -if ($ADD==1311) {$hh='ingroups'; echo _QXZ("Add New DID");} -if ($ADD==1411) {$hh='ingroups'; echo _QXZ("Copy DID");} -if ($ADD==1511) {$hh='ingroups'; echo _QXZ("Add Call Menu");} -if ($ADD==1611) {$hh='ingroups'; echo _QXZ("Copy Call Menu");} -if ($ADD==1711) {$hh='ingroups'; echo _QXZ("Add Filter Phone Group");} -if ($ADD==1811) {$hh='ingroups'; echo _QXZ("Add New EMAIL In-Group");} -if ($ADD==18111) {$hh='ingroups'; echo _QXZ("Add New CHAT In-Group");} -if ($ADD==1911) {$hh='ingroups'; echo _QXZ("Copy EMAIL In-Group");} -if ($ADD==19111) {$hh='ingroups'; echo _QXZ("Copy CHAT In-Group");} -if ($ADD==11111) {$hh='remoteagent'; echo _QXZ("Add New Remote Agents");} -if ($ADD==12111) {$hh='remoteagent'; echo _QXZ("Add Extension Group");} -if ($ADD==111111) {$hh='usergroups'; echo _QXZ("Add New Users Group");} -if ($ADD==1111111) {$hh='scripts'; echo _QXZ("Add New Script");} -if ($ADD==11111111) {$hh='filters'; echo _QXZ("Add New Filter");} +if ($ADD==111) {$hh='lists'; $sh='new'; echo _QXZ("Add New List");} +if ($ADD==121) {$hh='lists'; $sh='dnc'; echo _QXZ("Add New DNC");} +if ($ADD==171) {$hh='ingroups'; $sh='addFPG'; echo _QXZ("Filter Phone Group Numbers");} +if ($ADD==1111) {$hh='ingroups'; $sh='newIG'; echo _QXZ("Add New In-Group");} +if ($ADD==1211) {$hh='ingroups'; $sh='copyIG'; echo _QXZ("Copy In-Group");} +if ($ADD==1311) {$hh='ingroups'; $sh='newDID'; echo _QXZ("Add New DID");} +if ($ADD==1411) {$hh='ingroups'; $sh='copyDID'; echo _QXZ("Copy DID");} +if ($ADD==1511) {$hh='ingroups'; $sh='newCM'; echo _QXZ("Add Call Menu");} +if ($ADD==1611) {$hh='ingroups'; $sh='copyCM'; echo _QXZ("Copy Call Menu");} +if ($ADD==1711) {$hh='ingroups'; $sh='newFPG'; echo _QXZ("Add Filter Phone Group");} +if ($ADD==1811) {$hh='ingroups'; $sh='newEG'; echo _QXZ("Add New EMAIL In-Group");} +if ($ADD==18111) {$hh='ingroups'; $sh='newCG'; echo _QXZ("Add New CHAT In-Group");} +if ($ADD==1911) {$hh='ingroups'; $sh='copyEG'; echo _QXZ("Copy EMAIL In-Group");} +if ($ADD==19111) {$hh='ingroups'; $sh='copyCG'; echo _QXZ("Copy CHAT In-Group");} +if ($ADD==11111) {$hh='remoteagent'; $sh='new'; echo _QXZ("Add New Remote Agents");} +if ($ADD==12111) {$hh='remoteagent'; $sh='newEG'; echo _QXZ("Add Extension Group");} +if ($ADD==111111) {$hh='usergroups'; $sh='new'; echo _QXZ("Add New Users Group");} +if ($ADD==1111111) {$hh='scripts'; $sh='new'; echo _QXZ("Add New Script");} +if ($ADD==11111111) {$hh='filters'; $sh='new'; echo _QXZ("Add New Filter");} if ($ADD==111111111) {$hh='admin'; $sh='times'; echo _QXZ("Add New Call Time");} if ($ADD==131111111) {$hh='admin'; $sh='shifts'; echo _QXZ("Add New Shift");} if ($ADD==1111111111) {$hh='admin'; $sh='times'; echo _QXZ("Add New State Call Time");} @@ -4231,8 +4241,8 @@ if ($ADD==192111111111) {$hh='admin'; $sh='sc'; echo _QXZ("ADD SETTINGS CONTAINE if ($ADD==193111111111) {$hh='admin'; $sh='sg'; echo _QXZ("ADD STATUS GROUP");} if ($ADD==1111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("ADD NEW CONFERENCE");} if ($ADD==11111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("ADD NEW AGENT CONFERENCE");} -if ($ADD=='2') {$hh='users'; echo _QXZ("New User Addition");} -if ($ADD=='2A') {$hh='users'; echo _QXZ("New Copied User Addition");} +if ($ADD=='2') {$hh='users'; $sh='new'; echo _QXZ("New User Addition");} +if ($ADD=='2A') {$hh='users'; $sh='copy'; echo _QXZ("New Copied User Addition");} if ($ADD==20) {$hh='campaigns'; $sh='basic'; echo _QXZ("New Copied Campaign Addition");} if ($ADD==21) {$hh='campaigns'; $sh='basic'; echo _QXZ("New Campaign Addition");} if ($ADD==22) {$hh='campaigns'; $sh='status'; echo _QXZ("New Campaign Status Addition");} @@ -4244,22 +4254,22 @@ if ($ADD==28) {$hh='campaigns'; $sh='dialstat'; echo _QXZ("Campaign Dial Statu if ($ADD==29) {$hh='campaigns'; $sh='listmix'; echo _QXZ("Campaign List Mix Added");} if ($ADD==201) {$hh='campaigns'; $sh='preset'; echo _QXZ("Campaign Preset Added");} if ($ADD==202) {$hh='campaigns'; $sh='accid'; echo _QXZ("Campaign Areacode CID Modify");} -if ($ADD==211) {$hh='lists'; echo _QXZ("New List Addition");} -if ($ADD==2111) {$hh='ingroups'; echo _QXZ("New In-Group Addition");} -if ($ADD==2011) {$hh='ingroups'; echo _QXZ("New Copied In-Group Addition");} -if ($ADD==2311) {$hh='ingroups'; echo _QXZ("New DID Addition");} -if ($ADD==2411) {$hh='ingroups'; echo _QXZ("New Copied DID Addition");} -if ($ADD==2511) {$hh='ingroups'; echo _QXZ("New Call Menu");} -if ($ADD==2611) {$hh='ingroups'; echo _QXZ("New Call Menu");} -if ($ADD==2711) {$hh='ingroups'; echo _QXZ("New Filter Phone Group");} -if ($ADD==2811) {$hh='ingroups'; echo _QXZ("New Email Group Addition");} -if ($ADD==2911) {$hh='ingroups'; echo _QXZ("New Copied Email Group Addition");} -if ($ADD==29111) {$hh='ingroups'; echo _QXZ("New Copied Chat Group Addition");} -if ($ADD==21111) {$hh='remoteagent'; echo _QXZ("New Remote Agents Addition");} -if ($ADD==22111) {$hh='remoteagent'; echo _QXZ("New Group Extension Addition");} -if ($ADD==211111) {$hh='usergroups'; echo _QXZ("New Users Group Addition");} -if ($ADD==2111111) {$hh='scripts'; echo _QXZ("New Script Addition");} -if ($ADD==21111111) {$hh='filters'; echo _QXZ("New Filter Addition");} +if ($ADD==211) {$hh='lists'; $sh='new'; echo _QXZ("New List Addition");} +if ($ADD==2111) {$hh='ingroups'; $sh='newIG'; echo _QXZ("New In-Group Addition");} +if ($ADD==2011) {$hh='ingroups'; $sh='copyIG'; echo _QXZ("New Copied In-Group Addition");} +if ($ADD==2311) {$hh='ingroups'; $sh='newDID'; echo _QXZ("New DID Addition");} +if ($ADD==2411) {$hh='ingroups'; $sh='copyDID'; echo _QXZ("New Copied DID Addition");} +if ($ADD==2511) {$hh='ingroups'; $sh='newCM'; echo _QXZ("New Call Menu");} +if ($ADD==2611) {$hh='ingroups'; $sh='copyCM'; echo _QXZ("New Call Menu");} +if ($ADD==2711) {$hh='ingroups'; $sh='newFPG'; echo _QXZ("New Filter Phone Group");} +if ($ADD==2811) {$hh='ingroups'; $sh='newEG'; echo _QXZ("New Email Group Addition");} +if ($ADD==2911) {$hh='ingroups'; $sh='copyEG'; echo _QXZ("New Copied Email Group Addition");} +if ($ADD==29111) {$hh='ingroups'; $sh='copyCG'; echo _QXZ("New Copied Chat Group Addition");} +if ($ADD==21111) {$hh='remoteagent'; $sh='new'; echo _QXZ("New Remote Agents Addition");} +if ($ADD==22111) {$hh='remoteagent'; $sh='newEG'; echo _QXZ("New Group Extension Addition");} +if ($ADD==211111) {$hh='usergroups'; $sh='new'; echo _QXZ("New Users Group Addition");} +if ($ADD==2111111) {$hh='scripts'; $sh='new'; echo _QXZ("New Script Addition");} +if ($ADD==21111111) {$hh='filters'; $sh='new'; echo _QXZ("New Filter Addition");} if ($ADD==211111111) {$hh='admin'; $sh='times'; echo _QXZ("New Call Time Addition");} if ($ADD==231111111) {$hh='admin'; $sh='shifts'; echo _QXZ("New Shift Addition");} if ($ADD==2111111111) {$hh='admin'; $sh='times'; echo _QXZ("New State Call Time Addition");} @@ -4284,7 +4294,7 @@ if ($ADD==21111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("ADDING NEW if ($ADD==221111111111111) {$hh='admin'; $sh='status'; echo _QXZ("ADDING SYSTEM STATUSES");} if ($ADD==231111111111111) {$hh='admin'; $sh='status'; echo _QXZ("ADDING STATUS CATEGORY");} if ($ADD==241111111111111) {$hh='admin'; $sh='status'; echo _QXZ("ADDING QC STATUS CODE");} -if ($ADD==3) {$hh='users'; echo _QXZ("Modify User");} +if ($ADD==3) {$hh='users'; $sh='list'; echo _QXZ("Modify User");} if ($ADD==30) {$hh='campaigns'; echo _QXZ("Campaign Not Allowed");} if ($ADD==31) { @@ -4323,7 +4333,7 @@ if ($ADD==38) {$hh='campaigns'; $sh='dialstat'; echo _QXZ("Campaign Dial Statu if ($ADD==39) {$hh='campaigns'; $sh='listmix'; echo _QXZ("Campaign List Mixes");} if ($ADD==301) {$hh='campaigns'; $sh='preset'; echo _QXZ("Campaign Presets");} if ($ADD==302) {$hh='campaigns'; $sh='accid'; echo _QXZ("Campaign Areacode CID");} -if ($ADD==311) {$hh='lists'; echo _QXZ("Modify List");} +if ($ADD==311) {$hh='lists'; $sh='list'; echo _QXZ("Modify List");} if ($ADD==3111) {$hh='ingroups'; echo _QXZ("Modify In-Group");} if ($ADD==3311) {$hh='ingroups'; echo _QXZ("Modify DID");} if ($ADD==3321) {$hh='ingroups'; echo _QXZ("Modify DID RA Extension Overrides");} @@ -4361,9 +4371,9 @@ if ($ADD==311111111111111) {$hh='admin'; $sh='settings'; echo _QXZ("MODIFY SYSTE if ($ADD==321111111111111) {$hh='admin'; $sh='status'; echo _QXZ("MODIFY SYSTEM STATUSES");} if ($ADD==331111111111111) {$hh='admin'; $sh='status'; echo _QXZ("MODIFY STATUS CATEGORY");} if ($ADD==341111111111111) {$hh='admin'; $sh='status'; echo _QXZ("MODIFY QC STATUS CODE");} -if ($ADD=="4A") {$hh='users'; echo _QXZ("Modify User - Admin");} -if ($ADD=="4B") {$hh='users'; echo _QXZ("Modify User - Admin");} -if ($ADD==4) {$hh='users'; echo _QXZ("Modify User");} +if ($ADD=="4A") {$hh='users'; $sh='list'; echo _QXZ("Modify User - Admin");} +if ($ADD=="4B") {$hh='users'; $sh='list'; echo _QXZ("Modify User - Admin");} +if ($ADD==4) {$hh='users'; $sh='list'; echo _QXZ("Modify User");} if ($ADD==41) {$hh='campaigns'; $sh='detail'; echo _QXZ("Modify Campaign");} if ($ADD==42) {$hh='campaigns'; $sh='status'; echo _QXZ("Modify Campaign Status");} if ($ADD==43) {$hh='campaigns'; $sh='hotkey'; echo _QXZ("Modify Campaign HotKey");} @@ -4374,7 +4384,7 @@ if ($ADD==48) {$hh='campaigns'; $sh='qc'; echo _QXZ("Modify Campaign QC Settin if ($ADD==49) {$hh='campaigns'; $sh='listmix'; echo _QXZ("Modify Campaign List Mix");} if ($ADD==401) {$hh='campaigns'; $sh='preset'; echo _QXZ("Modify Campaign Preset");} if ($ADD=='40A') {$hh='campaigns'; $sh='survey'; echo _QXZ("Modify Campaign Survey");} -if ($ADD==411) {$hh='lists'; echo _QXZ("Modify List");} +if ($ADD==411) {$hh='lists'; $sh='list'; echo _QXZ("Modify List");} if ($ADD==4111) {$hh='ingroups'; echo _QXZ("Modify In-Group");} if ($ADD==4311) {$hh='ingroups'; echo _QXZ("Modify DID");} if ($ADD==4511) {$hh='ingroups'; echo _QXZ("Modify Call Menu");} @@ -4410,12 +4420,12 @@ if ($ADD==411111111111111) {$hh='admin'; $sh='settings'; echo _QXZ("MODIFY SYSTE if ($ADD==421111111111111) {$hh='admin'; $sh='status'; echo _QXZ("MODIFY SYSTEM STATUSES");} if ($ADD==431111111111111) {$hh='admin'; $sh='status'; echo _QXZ("MODIFY STATUS CATEGORIES");} if ($ADD==441111111111111) {$hh='admin'; $sh='status'; echo _QXZ("MODIFY QC STATUS CODE");} -if ($ADD==5) {$hh='users'; echo _QXZ("Delete User");} +if ($ADD==5) {$hh='users'; $sh='list'; echo _QXZ("Delete User");} if ($ADD==51) {$hh='campaigns'; $sh='detail'; echo _QXZ("Delete Campaign");} if ($ADD==52) {$hh='campaigns'; $sh='detail'; echo _QXZ("Logout Agents");} if ($ADD==53) {$hh='campaigns'; $sh='detail'; echo _QXZ("Emergency VDAC Jam Clear");} -if ($ADD==511) {$hh='lists'; echo _QXZ("Delete List");} -if ($ADD==512) {$hh='lists'; echo _QXZ("Clear List");} +if ($ADD==511) {$hh='lists'; $sh='list'; echo _QXZ("Delete List");} +if ($ADD==512) {$hh='lists'; $sh='list'; echo _QXZ("Clear List");} if ($ADD==5111) {$hh='ingroups'; echo _QXZ("Delete In-Group");} if ($ADD==5311) {$hh='ingroups'; echo _QXZ("Delete DID");} if ($ADD==5511) {$hh='ingroups'; echo _QXZ("Delete Call Menu");} @@ -4444,7 +4454,7 @@ if ($ADD==592111111111) {$hh='admin'; $sh='sc'; echo _QXZ("DELETE SETTINGS CONTA if ($ADD==593111111111) {$hh='admin'; $sh='sg'; echo _QXZ("DELETE STATUS GROUP");} if ($ADD==5111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("DELETE CONFERENCE");} if ($ADD==51111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("DELETE AGENT CONFERENCE");} -if ($ADD==6) {$hh='users'; echo _QXZ("Delete User");} +if ($ADD==6) {$hh='users'; $sh='list'; echo _QXZ("Delete User");} if ($ADD==61) {$hh='campaigns'; $sh='detail'; echo _QXZ("Delete Campaign");} if ($ADD==62) {$hh='campaigns'; $sh='detail'; echo _QXZ("Logout Agents");} if ($ADD==63) {$hh='campaigns'; $sh='detail'; echo _QXZ("Emergency VDAC Jam Clear");} @@ -4454,8 +4464,8 @@ if ($ADD==67) {$hh='campaigns'; $sh='pause'; echo _QXZ("Delete Agent Pause Cod if ($ADD==68) {$hh='campaigns'; $sh='dialstat'; echo _QXZ("Campaign Dial Status Removed");} if ($ADD==69) {$hh='campaigns'; $sh='listmix'; echo _QXZ("Campaign List Mix Removed");} if ($ADD==601) {$hh='campaigns'; $sh='preset'; echo _QXZ("Campaign Preset Removed");} -if ($ADD==611) {$hh='lists'; echo _QXZ("Delete List");} -if ($ADD==612) {$hh='lists'; echo _QXZ("Clear List");} +if ($ADD==611) {$hh='lists'; $sh='list'; echo _QXZ("Delete List");} +if ($ADD==612) {$hh='lists'; $sh='list'; echo _QXZ("Clear List");} if ($ADD==6111) {$hh='ingroups'; echo _QXZ("Delete In-Group");} if ($ADD==6311) {$hh='ingroups'; echo _QXZ("Delete DID");} if ($ADD==6511) {$hh='ingroups'; echo _QXZ("Delete Call Menu");} @@ -4486,7 +4496,7 @@ if ($ADD==693111111111) {$hh='admin'; $sh='sg'; echo _QXZ("DELETE STATUS GROUP") if ($ADD==6111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("DELETE CONFERENCE");} if ($ADD==61111111111111) {$hh='admin'; $sh='conference'; echo _QXZ("DELETE AGENT CONFERENCE");} if ($ADD==73) {$hh='campaigns'; echo _QXZ("Dialable Lead Count");} -if ($ADD==7111111) {$hh='scripts'; echo _QXZ("Preview Script");} +if ($ADD==7111111) {$hh='scripts'; $sh='list'; echo _QXZ("Preview Script");} if ($ADD==700000000000000) {$hh='reports'; echo _QXZ("ADMIN CHANGE LOG");} if ($ADD==710000000000000) {$hh='reports'; echo _QXZ("USER ADMIN CHANGE LOG");} if ($ADD==720000000000000) {$hh='reports'; echo _QXZ("SECTION ADMIN CHANGE LOG");} @@ -4494,25 +4504,25 @@ if ($ADD==730000000000000) {$hh='reports'; echo _QXZ("DETAIL ADMIN CHANGE LOG"); if ($ADD==800000000000000) {$hh='reports'; echo _QXZ("ADMIN REPORT LOG");} if ($ADD==810000000000000) {$hh='reports'; echo _QXZ("USER ADMIN REPORT LOG");} if ($ADD==830000000000000) {$hh='reports'; echo _QXZ("DETAIL ADMIN REPORT LOG");} -if ($ADD=="0A") {$hh='users'; echo _QXZ("Users List");} -if ($ADD==8) {$hh='users'; echo _QXZ("CallBacks Within Agent");} +if ($ADD=="0A") {$hh='users'; $sh='list'; echo _QXZ("Users List");} +if ($ADD==8) {$hh='users'; $sh='list'; echo _QXZ("CallBacks Within Agent");} if ($ADD==81) {$hh='campaigns'; $sh='list'; echo _QXZ("CallBacks Within Campaign");} -if ($ADD==811) {$hh='lists'; echo _QXZ("CallBacks Within List");} +if ($ADD==811) {$hh='lists'; $sh='list'; echo _QXZ("CallBacks Within List");} if ($ADD==8111) {$hh='usergroups'; echo _QXZ("CallBacks Within User Group");} -if ($ADD==10) {$hh='campaigns'; $sh='list'; echo _QXZ("Campaigns");} -if ($ADD==100) {$hh='lists'; echo _QXZ("Lists");} -if ($ADD==1000) {$hh='ingroups'; echo _QXZ("In-Groups");} -if ($ADD==1300) {$hh='ingroups'; echo _QXZ("DIDs");} -if ($ADD==1320) {$hh='ingroups'; echo _QXZ("Modify DID RA Extension Overrides");} -if ($ADD==1500) {$hh='ingroups'; echo _QXZ("Call Menus");} -if ($ADD==1700) {$hh='ingroups'; echo _QXZ("Filter Phone Groups");} -if ($ADD==1800) {$hh='ingroups'; echo _QXZ("Email In-Groups");} -if ($ADD==1900) {$hh='ingroups'; echo _QXZ("Chat In-Groups");} -if ($ADD==10000) {$hh='remoteagent'; echo _QXZ("Remote Agents");} -if ($ADD==12000) {$hh='remoteagent'; echo _QXZ("Extension Groups");} -if ($ADD==100000) {$hh='usergroups'; echo _QXZ("User Groups");} -if ($ADD==1000000) {$hh='scripts'; echo _QXZ("Scripts");} -if ($ADD==10000000) {$hh='filters'; echo _QXZ("Filters");} +if ($ADD==10) {$hh='campaigns'; $sh='list'; echo _QXZ("Campaigns");} +if ($ADD==100) {$hh='lists'; $sh='list'; echo _QXZ("Lists");} +if ($ADD==1000) {$hh='ingroups'; $sh='listIG'; echo _QXZ("In-Groups");} +if ($ADD==1300) {$hh='ingroups'; $sh='listDID'; echo _QXZ("DIDs");} +if ($ADD==1320) {$hh='ingroups'; $sh='didRA'; echo _QXZ("Modify DID RA Extension Overrides");} +if ($ADD==1500) {$hh='ingroups'; $sh='listCM'; echo _QXZ("Call Menus");} +if ($ADD==1700) {$hh='ingroups'; $sh='listFPG'; echo _QXZ("Filter Phone Groups");} +if ($ADD==1800) {$hh='ingroups'; $sh='listEG'; echo _QXZ("Email In-Groups");} +if ($ADD==1900) {$hh='ingroups'; $sh='listCG'; echo _QXZ("Chat In-Groups");} +if ($ADD==10000) {$hh='remoteagent'; $sh='list'; echo _QXZ("Remote Agents");} +if ($ADD==12000) {$hh='remoteagent'; $sh='listEG'; echo _QXZ("Extension Groups");} +if ($ADD==100000) {$hh='usergroups'; $sh='list'; echo _QXZ("User Groups");} +if ($ADD==1000000) {$hh='scripts'; $sh='list'; echo _QXZ("Scripts");} +if ($ADD==10000000) {$hh='filters'; $sh='list'; echo _QXZ("Filters");} if ($ADD==100000000) {$hh='admin'; $sh='times'; echo _QXZ("Call Times");} if ($ADD==130000000) {$hh='admin'; $sh='shifts'; echo _QXZ("Shifts");} if ($ADD==1000000000) {$hh='admin'; $sh='times'; echo _QXZ("State Call Times");} @@ -4532,9 +4542,9 @@ if ($ADD==192000000000) {$hh='admin'; $sh='sc'; echo _QXZ("SETTINGS CONTAINTER L if ($ADD==193000000000) {$hh='admin'; $sh='sg'; echo _QXZ("STATUS GROUP LIST");} if ($ADD==1000000000000) {$hh='admin'; $sh='conference'; echo _QXZ("CONFERENCE LIST");} if ($ADD==10000000000000) {$hh='admin'; $sh='conference'; echo _QXZ("AGENT CONFERENCE LIST");} -if ($ADD==100000000000000) {$hh='qc'; echo _QXZ("Quality Control");} -if ($ADD==881) {$hh='qc'; echo _QXZ("Quality Control Campaign")," $campaign_id";} -if ($ADD==550) {$hh='users'; echo _QXZ("Search Form");} +if ($ADD==100000000000000) {$hh='qc'; $sh='list'; echo _QXZ("Quality Control");} +if ($ADD==881) {$hh='qc'; $sh='enter'; echo _QXZ("Quality Control Campaign")," $campaign_id";} +if ($ADD==550) {$hh='users'; $sh='search'; echo _QXZ("Search Form");} if ($ADD==551) {$hh='users'; echo _QXZ("SEARCH PHONES");} if ($ADD==660) {$hh='users'; echo _QXZ("Search Results");} if ($ADD==661) {$hh='users'; echo _QXZ("SEARCH PHONES RESULTS");} @@ -8772,7 +8782,7 @@ if ($ADD==20) $rslt=mysql_to_mysqli($stmtX, $link); } - $stmt="INSERT INTO vicidial_campaigns (campaign_name,campaign_id,active,dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,lead_order,park_ext,park_file_name,web_form_address,allow_closers,hopper_level,auto_dial_level,next_agent_call,local_call_time,voicemail_ext,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,amd_send_to_vmx,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,lead_filter_id,drop_call_seconds,drop_action,safe_harbor_exten,display_dialable_count,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code,dial_method,available_only_ratio_tally,adaptive_dropped_percentage,adaptive_maximum_level,adaptive_latest_server_time,adaptive_intensity,adaptive_dl_diff_target,concurrent_transfers,auto_alt_dial,auto_alt_dial_statuses,agent_pause_codes_active,campaign_description,campaign_changedate,campaign_stats_refresh,campaign_logindate,dial_statuses,disable_alter_custdata,no_hopper_leads_logins,list_order_mix,campaign_allow_inbound,manual_dial_list_id,default_xfer_group,queue_priority,drop_inbound_group,qc_enabled,qc_statuses,qc_lists,qc_web_form_address,qc_script,survey_first_audio_file,survey_dtmf_digits,survey_ni_digit,survey_opt_in_audio_file,survey_ni_audio_file,survey_method,survey_no_response_action,survey_ni_status,survey_response_digit_map,survey_xfer_exten,survey_camp_record_dir,disable_alter_custphone,display_queue_count,qc_get_record_launch,qc_show_recording,qc_shift_id,manual_dial_filter,agent_clipboard_copy,agent_extended_alt_dial,use_campaign_dnc,three_way_call_cid,three_way_dial_prefix,web_form_target,vtiger_search_category,vtiger_create_call_record,vtiger_create_lead_record,vtiger_screen_login,cpd_amd_action,agent_allow_group_alias,default_group_alias,vtiger_search_dead,vtiger_status_call,survey_third_digit,survey_fourth_digit,survey_third_audio_file,survey_fourth_audio_file,survey_third_status,survey_fourth_status,survey_third_exten,survey_fourth_exten,drop_lockout_time,quick_transfer_button,prepopulate_transfer_preset,drop_rate_group,view_calls_in_queue,view_calls_in_queue_launch,grab_calls_in_queue,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,waitforsilence_options,agent_select_territories,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,queuemetrics_callstatus_override,extension_appended_cidname,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,inbound_queue_no_dial,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,ivr_park_call_agi,manual_preview_dial,realtime_agent_time_stats,use_auto_hopper,auto_hopper_multi,auto_trim_hopper,api_manual_dial,manual_dial_call_time_check,display_leads_count,lead_order_randomize,lead_order_secondary,per_call_notes,my_callback_option,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_resume_precall,auto_pause_precall_code,manual_dial_cid,post_phone_time_diff_alert,custom_3way_button_transfer,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,safe_harbor_audio,safe_harbor_menu_id,survey_menu_id,callback_days_limit,dl_diff_target_method,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,na_call_url,survey_recording,pllb_grouping,pllb_grouping_limit,call_count_limit,call_count_target,callback_hours_block,callback_list_calltime,user_group,hopper_vlc_dup_check,safe_harbor_audio_field,pause_after_next_call,owner_populate,use_other_campaign_dnc,allow_emails,allow_chats,amd_inbound_group,amd_callmenu,survey_wait_sec,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,cpd_unknown_action,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,am_message_wildcards,manual_dial_timeout,routing_initiated_recordings,manual_dial_hopper_check) SELECT \"$campaign_name\",\"$campaign_id\",\"N\",dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,lead_order,park_ext,park_file_name,web_form_address,allow_closers,hopper_level,auto_dial_level,next_agent_call,local_call_time,voicemail_ext,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,amd_send_to_vmx,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,lead_filter_id,drop_call_seconds,drop_action,safe_harbor_exten,display_dialable_count,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code,dial_method,available_only_ratio_tally,adaptive_dropped_percentage,adaptive_maximum_level,adaptive_latest_server_time,adaptive_intensity,adaptive_dl_diff_target,concurrent_transfers,auto_alt_dial,auto_alt_dial_statuses,agent_pause_codes_active,campaign_description,campaign_changedate,campaign_stats_refresh,campaign_logindate,dial_statuses,disable_alter_custdata,no_hopper_leads_logins,\"DISABLED\",campaign_allow_inbound,manual_dial_list_id,default_xfer_group,queue_priority,drop_inbound_group,qc_enabled,qc_statuses,qc_lists,qc_web_form_address,qc_script,survey_first_audio_file,survey_dtmf_digits,survey_ni_digit,survey_opt_in_audio_file,survey_ni_audio_file,survey_method,survey_no_response_action,survey_ni_status,survey_response_digit_map,survey_xfer_exten,survey_camp_record_dir,disable_alter_custphone,display_queue_count,qc_get_record_launch,qc_show_recording,qc_shift_id,manual_dial_filter,agent_clipboard_copy,agent_extended_alt_dial,use_campaign_dnc,three_way_call_cid,three_way_dial_prefix,web_form_target,vtiger_search_category,vtiger_create_call_record,vtiger_create_lead_record,vtiger_screen_login,cpd_amd_action,agent_allow_group_alias,default_group_alias,vtiger_search_dead,vtiger_status_call,survey_third_digit,survey_fourth_digit,survey_third_audio_file,survey_fourth_audio_file,survey_third_status,survey_fourth_status,survey_third_exten,survey_fourth_exten,drop_lockout_time,quick_transfer_button,prepopulate_transfer_preset,drop_rate_group,view_calls_in_queue,view_calls_in_queue_launch,grab_calls_in_queue,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,waitforsilence_options,agent_select_territories,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,queuemetrics_callstatus_override,extension_appended_cidname,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,inbound_queue_no_dial,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,ivr_park_call_agi,manual_preview_dial,realtime_agent_time_stats,use_auto_hopper,auto_hopper_multi,auto_trim_hopper,api_manual_dial,manual_dial_call_time_check,display_leads_count,lead_order_randomize,lead_order_secondary,per_call_notes,my_callback_option,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_resume_precall,auto_pause_precall_code,manual_dial_cid,post_phone_time_diff_alert,custom_3way_button_transfer,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,safe_harbor_audio,safe_harbor_menu_id,survey_menu_id,callback_days_limit,dl_diff_target_method,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,na_call_url,survey_recording,pllb_grouping,pllb_grouping_limit,call_count_limit,call_count_target,callback_hours_block,callback_list_calltime,user_group,hopper_vlc_dup_check,safe_harbor_audio_field,pause_after_next_call,owner_populate,use_other_campaign_dnc,allow_emails,allow_chats,amd_inbound_group,amd_callmenu,survey_wait_sec,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,cpd_unknown_action,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,am_message_wildcards,manual_dial_timeout,routing_initiated_recordings,manual_dial_hopper_check from vicidial_campaigns where campaign_id='$source_campaign_id';"; + $stmt="INSERT INTO vicidial_campaigns (campaign_name,campaign_id,active,dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,lead_order,park_ext,park_file_name,web_form_address,allow_closers,hopper_level,auto_dial_level,next_agent_call,local_call_time,voicemail_ext,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,amd_send_to_vmx,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,lead_filter_id,drop_call_seconds,drop_action,safe_harbor_exten,display_dialable_count,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code,dial_method,available_only_ratio_tally,adaptive_dropped_percentage,adaptive_maximum_level,adaptive_latest_server_time,adaptive_intensity,adaptive_dl_diff_target,concurrent_transfers,auto_alt_dial,auto_alt_dial_statuses,agent_pause_codes_active,campaign_description,campaign_changedate,campaign_stats_refresh,campaign_logindate,dial_statuses,disable_alter_custdata,no_hopper_leads_logins,list_order_mix,campaign_allow_inbound,manual_dial_list_id,default_xfer_group,queue_priority,drop_inbound_group,qc_enabled,qc_statuses,qc_lists,qc_web_form_address,qc_script,survey_first_audio_file,survey_dtmf_digits,survey_ni_digit,survey_opt_in_audio_file,survey_ni_audio_file,survey_method,survey_no_response_action,survey_ni_status,survey_response_digit_map,survey_xfer_exten,survey_camp_record_dir,disable_alter_custphone,display_queue_count,qc_get_record_launch,qc_show_recording,qc_shift_id,manual_dial_filter,agent_clipboard_copy,agent_extended_alt_dial,use_campaign_dnc,three_way_call_cid,three_way_dial_prefix,web_form_target,vtiger_search_category,vtiger_create_call_record,vtiger_create_lead_record,vtiger_screen_login,cpd_amd_action,agent_allow_group_alias,default_group_alias,vtiger_search_dead,vtiger_status_call,survey_third_digit,survey_fourth_digit,survey_third_audio_file,survey_fourth_audio_file,survey_third_status,survey_fourth_status,survey_third_exten,survey_fourth_exten,drop_lockout_time,quick_transfer_button,prepopulate_transfer_preset,drop_rate_group,view_calls_in_queue,view_calls_in_queue_launch,grab_calls_in_queue,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,waitforsilence_options,agent_select_territories,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,queuemetrics_callstatus_override,extension_appended_cidname,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,inbound_queue_no_dial,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,ivr_park_call_agi,manual_preview_dial,realtime_agent_time_stats,use_auto_hopper,auto_hopper_multi,auto_trim_hopper,api_manual_dial,manual_dial_call_time_check,display_leads_count,lead_order_randomize,lead_order_secondary,per_call_notes,my_callback_option,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_resume_precall,auto_pause_precall_code,manual_dial_cid,post_phone_time_diff_alert,custom_3way_button_transfer,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,safe_harbor_audio,safe_harbor_menu_id,survey_menu_id,callback_days_limit,dl_diff_target_method,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,na_call_url,survey_recording,pllb_grouping,pllb_grouping_limit,call_count_limit,call_count_target,callback_hours_block,callback_list_calltime,user_group,hopper_vlc_dup_check,safe_harbor_audio_field,pause_after_next_call,owner_populate,use_other_campaign_dnc,allow_emails,allow_chats,amd_inbound_group,amd_callmenu,survey_wait_sec,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,cpd_unknown_action,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,am_message_wildcards,manual_dial_timeout,routing_initiated_recordings,manual_dial_hopper_check,callback_useronly_move_minutes) SELECT \"$campaign_name\",\"$campaign_id\",\"N\",dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,lead_order,park_ext,park_file_name,web_form_address,allow_closers,hopper_level,auto_dial_level,next_agent_call,local_call_time,voicemail_ext,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,amd_send_to_vmx,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,lead_filter_id,drop_call_seconds,drop_action,safe_harbor_exten,display_dialable_count,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code,dial_method,available_only_ratio_tally,adaptive_dropped_percentage,adaptive_maximum_level,adaptive_latest_server_time,adaptive_intensity,adaptive_dl_diff_target,concurrent_transfers,auto_alt_dial,auto_alt_dial_statuses,agent_pause_codes_active,campaign_description,campaign_changedate,campaign_stats_refresh,campaign_logindate,dial_statuses,disable_alter_custdata,no_hopper_leads_logins,\"DISABLED\",campaign_allow_inbound,manual_dial_list_id,default_xfer_group,queue_priority,drop_inbound_group,qc_enabled,qc_statuses,qc_lists,qc_web_form_address,qc_script,survey_first_audio_file,survey_dtmf_digits,survey_ni_digit,survey_opt_in_audio_file,survey_ni_audio_file,survey_method,survey_no_response_action,survey_ni_status,survey_response_digit_map,survey_xfer_exten,survey_camp_record_dir,disable_alter_custphone,display_queue_count,qc_get_record_launch,qc_show_recording,qc_shift_id,manual_dial_filter,agent_clipboard_copy,agent_extended_alt_dial,use_campaign_dnc,three_way_call_cid,three_way_dial_prefix,web_form_target,vtiger_search_category,vtiger_create_call_record,vtiger_create_lead_record,vtiger_screen_login,cpd_amd_action,agent_allow_group_alias,default_group_alias,vtiger_search_dead,vtiger_status_call,survey_third_digit,survey_fourth_digit,survey_third_audio_file,survey_fourth_audio_file,survey_third_status,survey_fourth_status,survey_third_exten,survey_fourth_exten,drop_lockout_time,quick_transfer_button,prepopulate_transfer_preset,drop_rate_group,view_calls_in_queue,view_calls_in_queue_launch,grab_calls_in_queue,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,waitforsilence_options,agent_select_territories,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,queuemetrics_callstatus_override,extension_appended_cidname,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,inbound_queue_no_dial,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,ivr_park_call_agi,manual_preview_dial,realtime_agent_time_stats,use_auto_hopper,auto_hopper_multi,auto_trim_hopper,api_manual_dial,manual_dial_call_time_check,display_leads_count,lead_order_randomize,lead_order_secondary,per_call_notes,my_callback_option,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_resume_precall,auto_pause_precall_code,manual_dial_cid,post_phone_time_diff_alert,custom_3way_button_transfer,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,safe_harbor_audio,safe_harbor_menu_id,survey_menu_id,callback_days_limit,dl_diff_target_method,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,na_call_url,survey_recording,pllb_grouping,pllb_grouping_limit,call_count_limit,call_count_target,callback_hours_block,callback_list_calltime,user_group,hopper_vlc_dup_check,safe_harbor_audio_field,pause_after_next_call,owner_populate,use_other_campaign_dnc,allow_emails,allow_chats,amd_inbound_group,amd_callmenu,survey_wait_sec,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,cpd_unknown_action,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,am_message_wildcards,manual_dial_timeout,routing_initiated_recordings,manual_dial_hopper_check,callback_useronly_move_minutes from vicidial_campaigns where campaign_id='$source_campaign_id';"; $rslt=mysql_to_mysqli($stmt, $link); $stmtA="INSERT INTO vicidial_campaign_stats (campaign_id) values('$campaign_id');"; @@ -12780,7 +12790,7 @@ if ($ADD==41) {$pause_max = ($dial_timeout + 10);} if ($dial_timeout < 4) {$dial_timeout='30';} - $stmtA="UPDATE vicidial_campaigns set campaign_name='$campaign_name',active='$active',dial_status_a='$dial_status_a',dial_status_b='$dial_status_b',dial_status_c='$dial_status_c',dial_status_d='$dial_status_d',dial_status_e='$dial_status_e',lead_order='$lead_order',allow_closers='$allow_closers',hopper_level='$hopper_level', auto_trim_hopper='$auto_trim_hopper', use_auto_hopper='$use_auto_hopper', auto_hopper_multi='$auto_hopper_multi', $adlSQL next_agent_call='$next_agent_call', local_call_time='$local_call_time', voicemail_ext='$voicemail_ext', dial_timeout='$dial_timeout', dial_prefix='$dial_prefix', campaign_cid='$campaign_cid', campaign_vdad_exten='$campaign_vdad_exten', web_form_address='" . mysqli_real_escape_string($link, $web_form_address) . "', park_ext='$park_ext', park_file_name='$park_file_name', campaign_rec_exten='$campaign_rec_exten', campaign_recording='$campaign_recording', campaign_rec_filename='$campaign_rec_filename', campaign_script='$script_id', get_call_launch='$get_call_launch', am_message_exten='$am_message_exten', amd_send_to_vmx='$amd_send_to_vmx', xferconf_a_dtmf='$xferconf_a_dtmf',xferconf_a_number='$xferconf_a_number',xferconf_b_dtmf='$xferconf_b_dtmf',xferconf_b_number='$xferconf_b_number',lead_filter_id='$lead_filter_id',alt_number_dialing='$alt_number_dialing',scheduled_callbacks='$scheduled_callbacks',drop_action='$drop_action',drop_call_seconds='$drop_call_seconds',safe_harbor_exten='$safe_harbor_exten',wrapup_seconds='$wrapup_seconds',wrapup_message='$wrapup_message',closer_campaigns=$closer_campaignsSQL,use_internal_dnc='$use_internal_dnc',allcalls_delay='$allcalls_delay',omit_phone_code='$omit_phone_code',dial_method='$dial_method',available_only_ratio_tally='$available_only_ratio_tally',adaptive_dropped_percentage='$adaptive_dropped_percentage',adaptive_maximum_level='$adaptive_maximum_level',adaptive_latest_server_time='$adaptive_latest_server_time',adaptive_intensity='$adaptive_intensity',adaptive_dl_diff_target='$adaptive_dl_diff_target',concurrent_transfers='$concurrent_transfers',auto_alt_dial='$auto_alt_dial',agent_pause_codes_active='$agent_pause_codes_active',campaign_description='$campaign_description',campaign_changedate='$SQLdate',campaign_stats_refresh='$campaign_stats_refresh',disable_alter_custdata='$disable_alter_custdata',no_hopper_leads_logins='$no_hopper_leads_logins',list_order_mix='$list_order_mix',campaign_allow_inbound='$campaign_allow_inbound',manual_dial_list_id='$manual_dial_list_id',default_xfer_group='$default_xfer_group',xfer_groups='$XFERgroups_value',queue_priority='$queue_priority',drop_inbound_group='$drop_inbound_group',disable_alter_custphone='$disable_alter_custphone',display_queue_count='$display_queue_count',manual_dial_filter='$manual_dial_filter',agent_clipboard_copy='$agent_clipboard_copy',agent_extended_alt_dial='$agent_extended_alt_dial',use_campaign_dnc='$use_campaign_dnc',three_way_call_cid='$three_way_call_cid',three_way_dial_prefix='$three_way_dial_prefix',web_form_target='$web_form_target',vtiger_search_category='$vtiger_search_category',vtiger_create_call_record='$vtiger_create_call_record',vtiger_create_lead_record='$vtiger_create_lead_record',vtiger_screen_login='$vtiger_screen_login',cpd_amd_action='$cpd_amd_action',agent_allow_group_alias='$agent_allow_group_alias',default_group_alias='$default_group_alias',vtiger_search_dead='$vtiger_search_dead',vtiger_status_call='$vtiger_status_call',drop_lockout_time='$drop_lockout_time',quick_transfer_button='$quick_transfer_button',prepopulate_transfer_preset='$prepopulate_transfer_preset',drop_rate_group='$drop_rate_group',view_calls_in_queue='$view_calls_in_queue',view_calls_in_queue_launch='$view_calls_in_queue_launch',grab_calls_in_queue='$grab_calls_in_queue',call_requeue_button='$call_requeue_button',pause_after_each_call='$pause_after_each_call',no_hopper_dialing='$no_hopper_dialing',agent_dial_owner_only='$agent_dial_owner_only',agent_display_dialable_leads='$agent_display_dialable_leads',web_form_address_two='" . mysqli_real_escape_string($link, $web_form_address_two) . "',waitforsilence_options='$waitforsilence_options',agent_select_territories='$agent_select_territories',crm_popup_login='$crm_popup_login',crm_login_address='" . mysqli_real_escape_string($link, $crm_login_address) . "',timer_action='$timer_action',timer_action_message='$timer_action_message',timer_action_seconds='$timer_action_seconds',start_call_url='" . mysqli_real_escape_string($link, $start_call_url) . "',dispo_call_url='" . mysqli_real_escape_string($link, $dispo_call_url) . "',xferconf_c_number='$xferconf_c_number',xferconf_d_number='$xferconf_d_number',xferconf_e_number='$xferconf_e_number',use_custom_cid='$use_custom_cid',scheduled_callbacks_alert='$scheduled_callbacks_alert',queuemetrics_callstatus_override='$queuemetrics_callstatus',extension_appended_cidname='$extension_appended_cidname',scheduled_callbacks_count='$scheduled_callbacks_count',manual_dial_override='$manual_dial_override',blind_monitor_warning='$blind_monitor_warning',blind_monitor_message='" . mysqli_real_escape_string($link, $blind_monitor_message) . "',blind_monitor_filename='$blind_monitor_filename',inbound_queue_no_dial='$inbound_queue_no_dial',timer_action_destination='$timer_action_destination',enable_xfer_presets='$enable_xfer_presets',hide_xfer_number_to_dial='$hide_xfer_number_to_dial',manual_dial_prefix='$manual_dial_prefix',customer_3way_hangup_logging='$customer_3way_hangup_logging',customer_3way_hangup_seconds='$customer_3way_hangup_seconds',customer_3way_hangup_action='$customer_3way_hangup_action',ivr_park_call='$ivr_park_call',ivr_park_call_agi='$ivr_park_call_agi',manual_preview_dial='$manual_preview_dial',realtime_agent_time_stats='$realtime_agent_time_stats',api_manual_dial='$api_manual_dial',manual_dial_call_time_check='$manual_dial_call_time_check',lead_order_randomize='$lead_order_randomize',lead_order_secondary='$lead_order_secondary',per_call_notes='$per_call_notes',my_callback_option='$my_callback_option',agent_lead_search='$agent_lead_search',agent_lead_search_method='$agent_lead_search_method',queuemetrics_phone_environment='$queuemetrics_phone_environment',auto_pause_precall='$auto_pause_precall',auto_resume_precall='$auto_resume_precall',auto_pause_precall_code='$auto_pause_precall_code',manual_dial_cid='$manual_dial_cid',post_phone_time_diff_alert='$post_phone_time_diff_alert',custom_3way_button_transfer='$custom_3way_button_transfer',available_only_tally_threshold='$available_only_tally_threshold',available_only_tally_threshold_agents='$available_only_tally_threshold_agents',dial_level_threshold='$dial_level_threshold',dial_level_threshold_agents='$dial_level_threshold_agents',safe_harbor_audio='$safe_harbor_audio',safe_harbor_menu_id='$safe_harbor_menu_id',callback_days_limit='$callback_days_limit',dl_diff_target_method='$dl_diff_target_method',disable_dispo_screen='$disable_dispo_screen',disable_dispo_status='$disable_dispo_status',screen_labels='$screen_labels',status_display_fields='$status_display_fields',na_call_url='" . mysqli_real_escape_string($link, $na_call_url) . "',pllb_grouping='$pllb_grouping',pllb_grouping_limit='$pllb_grouping_limit',call_count_limit='$call_count_limit',call_count_target='$call_count_target',callback_hours_block='$callback_hours_block',callback_list_calltime='$callback_list_calltime',user_group='$user_group',hopper_vlc_dup_check='$hopper_vlc_dup_check',in_group_dial='$in_group_dial',in_group_dial_select='$in_group_dial_select',safe_harbor_audio_field='$safe_harbor_audio_field',pause_after_next_call='$pause_after_next_call',owner_populate='$owner_populate',use_other_campaign_dnc='$use_other_campaign_dnc',allow_emails='$allow_emails',allow_chats='$allow_chats',amd_inbound_group='$amd_inbound_group',amd_callmenu='$amd_callmenu',manual_dial_lead_id='$manual_dial_lead_id',dead_max='$dead_max',dispo_max='$dispo_max',pause_max='$pause_max',dead_max_dispo='$dead_max_dispo',dispo_max_dispo='$dispo_max_dispo',max_inbound_calls='$max_inbound_calls',manual_dial_search_checkbox='$manual_dial_search_checkbox',hide_call_log_info='$hide_call_log_info',timer_alt_seconds='$timer_alt_seconds',wrapup_bypass='$wrapup_bypass',wrapup_after_hotkey='$wrapup_after_hotkey',callback_active_limit='$callback_active_limit',callback_active_limit_override='$callback_active_limit_override',comments_all_tabs='$comments_all_tabs',comments_dispo_screen='$comments_dispo_screen',comments_callback_screen='$comments_callback_screen',qc_comment_history='$qc_comment_history',show_previous_callback='$show_previous_callback',clear_script='$clear_script',cpd_unknown_action='$cpd_unknown_action',manual_dial_search_filter='$manual_dial_search_filter',web_form_address_three='" . mysqli_real_escape_string($link, $web_form_address_three) . "',manual_dial_override_field='$manual_dial_override_field',status_display_ingroup='$status_display_ingroup',customer_gone_seconds='$customer_gone_seconds',agent_display_fields='$agent_display_fields',am_message_wildcards='$am_message_wildcards',manual_dial_timeout='$manual_dial_timeout',routing_initiated_recordings='$routing_initiated_recordings',manual_dial_hopper_check='$manual_dial_hopper_check' where campaign_id='$campaign_id';"; + $stmtA="UPDATE vicidial_campaigns set campaign_name='$campaign_name',active='$active',dial_status_a='$dial_status_a',dial_status_b='$dial_status_b',dial_status_c='$dial_status_c',dial_status_d='$dial_status_d',dial_status_e='$dial_status_e',lead_order='$lead_order',allow_closers='$allow_closers',hopper_level='$hopper_level', auto_trim_hopper='$auto_trim_hopper', use_auto_hopper='$use_auto_hopper', auto_hopper_multi='$auto_hopper_multi', $adlSQL next_agent_call='$next_agent_call', local_call_time='$local_call_time', voicemail_ext='$voicemail_ext', dial_timeout='$dial_timeout', dial_prefix='$dial_prefix', campaign_cid='$campaign_cid', campaign_vdad_exten='$campaign_vdad_exten', web_form_address='" . mysqli_real_escape_string($link, $web_form_address) . "', park_ext='$park_ext', park_file_name='$park_file_name', campaign_rec_exten='$campaign_rec_exten', campaign_recording='$campaign_recording', campaign_rec_filename='$campaign_rec_filename', campaign_script='$script_id', get_call_launch='$get_call_launch', am_message_exten='$am_message_exten', amd_send_to_vmx='$amd_send_to_vmx', xferconf_a_dtmf='$xferconf_a_dtmf',xferconf_a_number='$xferconf_a_number',xferconf_b_dtmf='$xferconf_b_dtmf',xferconf_b_number='$xferconf_b_number',lead_filter_id='$lead_filter_id',alt_number_dialing='$alt_number_dialing',scheduled_callbacks='$scheduled_callbacks',drop_action='$drop_action',drop_call_seconds='$drop_call_seconds',safe_harbor_exten='$safe_harbor_exten',wrapup_seconds='$wrapup_seconds',wrapup_message='$wrapup_message',closer_campaigns=$closer_campaignsSQL,use_internal_dnc='$use_internal_dnc',allcalls_delay='$allcalls_delay',omit_phone_code='$omit_phone_code',dial_method='$dial_method',available_only_ratio_tally='$available_only_ratio_tally',adaptive_dropped_percentage='$adaptive_dropped_percentage',adaptive_maximum_level='$adaptive_maximum_level',adaptive_latest_server_time='$adaptive_latest_server_time',adaptive_intensity='$adaptive_intensity',adaptive_dl_diff_target='$adaptive_dl_diff_target',concurrent_transfers='$concurrent_transfers',auto_alt_dial='$auto_alt_dial',agent_pause_codes_active='$agent_pause_codes_active',campaign_description='$campaign_description',campaign_changedate='$SQLdate',campaign_stats_refresh='$campaign_stats_refresh',disable_alter_custdata='$disable_alter_custdata',no_hopper_leads_logins='$no_hopper_leads_logins',list_order_mix='$list_order_mix',campaign_allow_inbound='$campaign_allow_inbound',manual_dial_list_id='$manual_dial_list_id',default_xfer_group='$default_xfer_group',xfer_groups='$XFERgroups_value',queue_priority='$queue_priority',drop_inbound_group='$drop_inbound_group',disable_alter_custphone='$disable_alter_custphone',display_queue_count='$display_queue_count',manual_dial_filter='$manual_dial_filter',agent_clipboard_copy='$agent_clipboard_copy',agent_extended_alt_dial='$agent_extended_alt_dial',use_campaign_dnc='$use_campaign_dnc',three_way_call_cid='$three_way_call_cid',three_way_dial_prefix='$three_way_dial_prefix',web_form_target='$web_form_target',vtiger_search_category='$vtiger_search_category',vtiger_create_call_record='$vtiger_create_call_record',vtiger_create_lead_record='$vtiger_create_lead_record',vtiger_screen_login='$vtiger_screen_login',cpd_amd_action='$cpd_amd_action',agent_allow_group_alias='$agent_allow_group_alias',default_group_alias='$default_group_alias',vtiger_search_dead='$vtiger_search_dead',vtiger_status_call='$vtiger_status_call',drop_lockout_time='$drop_lockout_time',quick_transfer_button='$quick_transfer_button',prepopulate_transfer_preset='$prepopulate_transfer_preset',drop_rate_group='$drop_rate_group',view_calls_in_queue='$view_calls_in_queue',view_calls_in_queue_launch='$view_calls_in_queue_launch',grab_calls_in_queue='$grab_calls_in_queue',call_requeue_button='$call_requeue_button',pause_after_each_call='$pause_after_each_call',no_hopper_dialing='$no_hopper_dialing',agent_dial_owner_only='$agent_dial_owner_only',agent_display_dialable_leads='$agent_display_dialable_leads',web_form_address_two='" . mysqli_real_escape_string($link, $web_form_address_two) . "',waitforsilence_options='$waitforsilence_options',agent_select_territories='$agent_select_territories',crm_popup_login='$crm_popup_login',crm_login_address='" . mysqli_real_escape_string($link, $crm_login_address) . "',timer_action='$timer_action',timer_action_message='$timer_action_message',timer_action_seconds='$timer_action_seconds',start_call_url='" . mysqli_real_escape_string($link, $start_call_url) . "',dispo_call_url='" . mysqli_real_escape_string($link, $dispo_call_url) . "',xferconf_c_number='$xferconf_c_number',xferconf_d_number='$xferconf_d_number',xferconf_e_number='$xferconf_e_number',use_custom_cid='$use_custom_cid',scheduled_callbacks_alert='$scheduled_callbacks_alert',queuemetrics_callstatus_override='$queuemetrics_callstatus',extension_appended_cidname='$extension_appended_cidname',scheduled_callbacks_count='$scheduled_callbacks_count',manual_dial_override='$manual_dial_override',blind_monitor_warning='$blind_monitor_warning',blind_monitor_message='" . mysqli_real_escape_string($link, $blind_monitor_message) . "',blind_monitor_filename='$blind_monitor_filename',inbound_queue_no_dial='$inbound_queue_no_dial',timer_action_destination='$timer_action_destination',enable_xfer_presets='$enable_xfer_presets',hide_xfer_number_to_dial='$hide_xfer_number_to_dial',manual_dial_prefix='$manual_dial_prefix',customer_3way_hangup_logging='$customer_3way_hangup_logging',customer_3way_hangup_seconds='$customer_3way_hangup_seconds',customer_3way_hangup_action='$customer_3way_hangup_action',ivr_park_call='$ivr_park_call',ivr_park_call_agi='$ivr_park_call_agi',manual_preview_dial='$manual_preview_dial',realtime_agent_time_stats='$realtime_agent_time_stats',api_manual_dial='$api_manual_dial',manual_dial_call_time_check='$manual_dial_call_time_check',lead_order_randomize='$lead_order_randomize',lead_order_secondary='$lead_order_secondary',per_call_notes='$per_call_notes',my_callback_option='$my_callback_option',agent_lead_search='$agent_lead_search',agent_lead_search_method='$agent_lead_search_method',queuemetrics_phone_environment='$queuemetrics_phone_environment',auto_pause_precall='$auto_pause_precall',auto_resume_precall='$auto_resume_precall',auto_pause_precall_code='$auto_pause_precall_code',manual_dial_cid='$manual_dial_cid',post_phone_time_diff_alert='$post_phone_time_diff_alert',custom_3way_button_transfer='$custom_3way_button_transfer',available_only_tally_threshold='$available_only_tally_threshold',available_only_tally_threshold_agents='$available_only_tally_threshold_agents',dial_level_threshold='$dial_level_threshold',dial_level_threshold_agents='$dial_level_threshold_agents',safe_harbor_audio='$safe_harbor_audio',safe_harbor_menu_id='$safe_harbor_menu_id',callback_days_limit='$callback_days_limit',dl_diff_target_method='$dl_diff_target_method',disable_dispo_screen='$disable_dispo_screen',disable_dispo_status='$disable_dispo_status',screen_labels='$screen_labels',status_display_fields='$status_display_fields',na_call_url='" . mysqli_real_escape_string($link, $na_call_url) . "',pllb_grouping='$pllb_grouping',pllb_grouping_limit='$pllb_grouping_limit',call_count_limit='$call_count_limit',call_count_target='$call_count_target',callback_hours_block='$callback_hours_block',callback_list_calltime='$callback_list_calltime',user_group='$user_group',hopper_vlc_dup_check='$hopper_vlc_dup_check',in_group_dial='$in_group_dial',in_group_dial_select='$in_group_dial_select',safe_harbor_audio_field='$safe_harbor_audio_field',pause_after_next_call='$pause_after_next_call',owner_populate='$owner_populate',use_other_campaign_dnc='$use_other_campaign_dnc',allow_emails='$allow_emails',allow_chats='$allow_chats',amd_inbound_group='$amd_inbound_group',amd_callmenu='$amd_callmenu',manual_dial_lead_id='$manual_dial_lead_id',dead_max='$dead_max',dispo_max='$dispo_max',pause_max='$pause_max',dead_max_dispo='$dead_max_dispo',dispo_max_dispo='$dispo_max_dispo',max_inbound_calls='$max_inbound_calls',manual_dial_search_checkbox='$manual_dial_search_checkbox',hide_call_log_info='$hide_call_log_info',timer_alt_seconds='$timer_alt_seconds',wrapup_bypass='$wrapup_bypass',wrapup_after_hotkey='$wrapup_after_hotkey',callback_active_limit='$callback_active_limit',callback_active_limit_override='$callback_active_limit_override',comments_all_tabs='$comments_all_tabs',comments_dispo_screen='$comments_dispo_screen',comments_callback_screen='$comments_callback_screen',qc_comment_history='$qc_comment_history',show_previous_callback='$show_previous_callback',clear_script='$clear_script',cpd_unknown_action='$cpd_unknown_action',manual_dial_search_filter='$manual_dial_search_filter',web_form_address_three='" . mysqli_real_escape_string($link, $web_form_address_three) . "',manual_dial_override_field='$manual_dial_override_field',status_display_ingroup='$status_display_ingroup',customer_gone_seconds='$customer_gone_seconds',agent_display_fields='$agent_display_fields',am_message_wildcards='$am_message_wildcards',manual_dial_timeout='$manual_dial_timeout',routing_initiated_recordings='$routing_initiated_recordings',manual_dial_hopper_check='$manual_dial_hopper_check',callback_useronly_move_minutes='$callback_useronly_move_minutes' where campaign_id='$campaign_id';"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_to_mysqli($stmtA, $link); @@ -19383,7 +19393,7 @@ if ($ADD==31) $enable_vtiger_integration_LU = $row[0]; $vtiger_url_LU = $row[1]; - $stmt="SELECT campaign_id,campaign_name,active,dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,lead_order,park_ext,park_file_name,web_form_address,allow_closers,hopper_level,auto_dial_level,next_agent_call,local_call_time,voicemail_ext,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,amd_send_to_vmx,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,lead_filter_id,drop_call_seconds,drop_action,safe_harbor_exten,display_dialable_count,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code,dial_method,available_only_ratio_tally,adaptive_dropped_percentage,adaptive_maximum_level,adaptive_latest_server_time,adaptive_intensity,adaptive_dl_diff_target,concurrent_transfers,auto_alt_dial,auto_alt_dial_statuses,agent_pause_codes_active,campaign_description,campaign_changedate,campaign_stats_refresh,campaign_logindate,dial_statuses,disable_alter_custdata,no_hopper_leads_logins,list_order_mix,campaign_allow_inbound,manual_dial_list_id,default_xfer_group,xfer_groups,queue_priority,drop_inbound_group,qc_enabled,qc_statuses,qc_lists,qc_shift_id,qc_get_record_launch,qc_show_recording,qc_web_form_address,qc_script,survey_first_audio_file,survey_dtmf_digits,survey_ni_digit,survey_opt_in_audio_file,survey_ni_audio_file,survey_method,survey_no_response_action,survey_ni_status,survey_response_digit_map,survey_xfer_exten,survey_camp_record_dir,disable_alter_custphone,display_queue_count,manual_dial_filter,agent_clipboard_copy,agent_extended_alt_dial,use_campaign_dnc,three_way_call_cid,three_way_dial_prefix,web_form_target,vtiger_search_category,vtiger_create_call_record,vtiger_create_lead_record,vtiger_screen_login,cpd_amd_action,agent_allow_group_alias,default_group_alias,vtiger_search_dead,vtiger_status_call,survey_third_digit,survey_third_audio_file,survey_third_status,survey_third_exten,survey_fourth_digit,survey_fourth_audio_file,survey_fourth_status,survey_fourth_exten,drop_lockout_time,quick_transfer_button,prepopulate_transfer_preset,drop_rate_group,view_calls_in_queue,view_calls_in_queue_launch,grab_calls_in_queue,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,waitforsilence_options,agent_select_territories,campaign_calldate,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,queuemetrics_callstatus_override,extension_appended_cidname,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,inbound_queue_no_dial,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,ivr_park_call_agi,manual_preview_dial,realtime_agent_time_stats,use_auto_hopper,auto_hopper_multi,auto_trim_hopper,api_manual_dial,manual_dial_call_time_check,display_leads_count,lead_order_randomize,lead_order_secondary,per_call_notes,my_callback_option,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_resume_precall,auto_pause_precall_code,manual_dial_cid,post_phone_time_diff_alert,custom_3way_button_transfer,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,safe_harbor_audio,safe_harbor_menu_id,survey_menu_id,callback_days_limit,dl_diff_target_method,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,na_call_url,survey_recording,pllb_grouping,pllb_grouping_limit,call_count_limit,call_count_target,callback_hours_block,callback_list_calltime,user_group,hopper_vlc_dup_check,in_group_dial,in_group_dial_select,safe_harbor_audio_field,pause_after_next_call,owner_populate,use_other_campaign_dnc,allow_emails,amd_inbound_group,amd_callmenu,survey_wait_sec,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,allow_chats,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,cpd_unknown_action,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,am_message_wildcards,manual_dial_timeout,routing_initiated_recordings,manual_dial_hopper_check from vicidial_campaigns where campaign_id='$campaign_id' $LOGallowed_campaignsSQL;"; + $stmt="SELECT campaign_id,campaign_name,active,dial_status_a,dial_status_b,dial_status_c,dial_status_d,dial_status_e,lead_order,park_ext,park_file_name,web_form_address,allow_closers,hopper_level,auto_dial_level,next_agent_call,local_call_time,voicemail_ext,dial_timeout,dial_prefix,campaign_cid,campaign_vdad_exten,campaign_rec_exten,campaign_recording,campaign_rec_filename,campaign_script,get_call_launch,am_message_exten,amd_send_to_vmx,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,alt_number_dialing,scheduled_callbacks,lead_filter_id,drop_call_seconds,drop_action,safe_harbor_exten,display_dialable_count,wrapup_seconds,wrapup_message,closer_campaigns,use_internal_dnc,allcalls_delay,omit_phone_code,dial_method,available_only_ratio_tally,adaptive_dropped_percentage,adaptive_maximum_level,adaptive_latest_server_time,adaptive_intensity,adaptive_dl_diff_target,concurrent_transfers,auto_alt_dial,auto_alt_dial_statuses,agent_pause_codes_active,campaign_description,campaign_changedate,campaign_stats_refresh,campaign_logindate,dial_statuses,disable_alter_custdata,no_hopper_leads_logins,list_order_mix,campaign_allow_inbound,manual_dial_list_id,default_xfer_group,xfer_groups,queue_priority,drop_inbound_group,qc_enabled,qc_statuses,qc_lists,qc_shift_id,qc_get_record_launch,qc_show_recording,qc_web_form_address,qc_script,survey_first_audio_file,survey_dtmf_digits,survey_ni_digit,survey_opt_in_audio_file,survey_ni_audio_file,survey_method,survey_no_response_action,survey_ni_status,survey_response_digit_map,survey_xfer_exten,survey_camp_record_dir,disable_alter_custphone,display_queue_count,manual_dial_filter,agent_clipboard_copy,agent_extended_alt_dial,use_campaign_dnc,three_way_call_cid,three_way_dial_prefix,web_form_target,vtiger_search_category,vtiger_create_call_record,vtiger_create_lead_record,vtiger_screen_login,cpd_amd_action,agent_allow_group_alias,default_group_alias,vtiger_search_dead,vtiger_status_call,survey_third_digit,survey_third_audio_file,survey_third_status,survey_third_exten,survey_fourth_digit,survey_fourth_audio_file,survey_fourth_status,survey_fourth_exten,drop_lockout_time,quick_transfer_button,prepopulate_transfer_preset,drop_rate_group,view_calls_in_queue,view_calls_in_queue_launch,grab_calls_in_queue,call_requeue_button,pause_after_each_call,no_hopper_dialing,agent_dial_owner_only,agent_display_dialable_leads,web_form_address_two,waitforsilence_options,agent_select_territories,campaign_calldate,crm_popup_login,crm_login_address,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,use_custom_cid,scheduled_callbacks_alert,queuemetrics_callstatus_override,extension_appended_cidname,scheduled_callbacks_count,manual_dial_override,blind_monitor_warning,blind_monitor_message,blind_monitor_filename,inbound_queue_no_dial,timer_action_destination,enable_xfer_presets,hide_xfer_number_to_dial,manual_dial_prefix,customer_3way_hangup_logging,customer_3way_hangup_seconds,customer_3way_hangup_action,ivr_park_call,ivr_park_call_agi,manual_preview_dial,realtime_agent_time_stats,use_auto_hopper,auto_hopper_multi,auto_trim_hopper,api_manual_dial,manual_dial_call_time_check,display_leads_count,lead_order_randomize,lead_order_secondary,per_call_notes,my_callback_option,agent_lead_search,agent_lead_search_method,queuemetrics_phone_environment,auto_pause_precall,auto_resume_precall,auto_pause_precall_code,manual_dial_cid,post_phone_time_diff_alert,custom_3way_button_transfer,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,safe_harbor_audio,safe_harbor_menu_id,survey_menu_id,callback_days_limit,dl_diff_target_method,disable_dispo_screen,disable_dispo_status,screen_labels,status_display_fields,na_call_url,survey_recording,pllb_grouping,pllb_grouping_limit,call_count_limit,call_count_target,callback_hours_block,callback_list_calltime,user_group,hopper_vlc_dup_check,in_group_dial,in_group_dial_select,safe_harbor_audio_field,pause_after_next_call,owner_populate,use_other_campaign_dnc,allow_emails,amd_inbound_group,amd_callmenu,survey_wait_sec,manual_dial_lead_id,dead_max,dispo_max,pause_max,dead_max_dispo,dispo_max_dispo,max_inbound_calls,manual_dial_search_checkbox,hide_call_log_info,timer_alt_seconds,wrapup_bypass,wrapup_after_hotkey,callback_active_limit,callback_active_limit_override,allow_chats,comments_all_tabs,comments_dispo_screen,comments_callback_screen,qc_comment_history,show_previous_callback,clear_script,cpd_unknown_action,manual_dial_search_filter,web_form_address_three,manual_dial_override_field,status_display_ingroup,customer_gone_seconds,agent_display_fields,am_message_wildcards,manual_dial_timeout,routing_initiated_recordings,manual_dial_hopper_check,callback_useronly_move_minutes from vicidial_campaigns where campaign_id='$campaign_id' $LOGallowed_campaignsSQL;"; $rslt=mysql_to_mysqli($stmt, $link); $row=mysqli_fetch_row($rslt); $campaign_name = $row[1]; @@ -19632,6 +19642,7 @@ if ($ADD==31) $manual_dial_timeout=$row[244]; $routing_initiated_recordings=$row[245]; $manual_dial_hopper_check=$row[246]; + $callback_useronly_move_minutes=$row[247]; if (preg_match('/DISABLED/', $list_order_mix)) {$DEFlistDISABLE = ''; $DEFstatusDISABLED=0;} @@ -20589,7 +20600,7 @@ if ($ADD==31) echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Park Call IVR").": </td><td align=left><select size=1 name=ivr_park_call><option value='DISABLED'>"._QXZ("DISABLED")."</option><option value='ENABLED'>"._QXZ("ENABLED")."</option><option value='ENABLED_PARK_ONLY'>"._QXZ("ENABLED_PARK_ONLY")."</option><option value='ENABLED_BUTTON_HIDDEN'>"._QXZ("ENABLED_BUTTON_HIDDEN")."</option><option value='$ivr_park_call' SELECTED>"._QXZ("$ivr_park_call")."</option></select>$NWB#campaigns-ivr_park_call$NWE</td></tr>\n"; - echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Park Call IVR AGI").": </td><td align=left><input type=text name=ivr_park_call_agi size=80 maxlength=1000 value=\"$ivr_park_call_agi\">$NWB#campaigns-ivr_park_call_agi$NWE</td></tr>\n"; + echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Park Call IVR AGI").": </td><td align=left><input type=text name=ivr_park_call_agi size=70 maxlength=1000 value=\"$ivr_park_call_agi\">$NWB#campaigns-ivr_park_call_agi$NWE</td></tr>\n"; echo "<tr bgcolor=#8EBCFD><td align=right>"._QXZ("Timer Action").": </td><td align=left><select size=1 name=timer_action><option value='NONE' selected>"._QXZ("NONE")."</option><option value='D1_DIAL'>"._QXZ("D1_DIAL")."</option><option value='D2_DIAL'>"._QXZ("D2_DIAL")."</option><option value='D3_DIAL'>"._QXZ("D3_DIAL")."</option><option value='D4_DIAL'>"._QXZ("D4_DIAL")."</option><option value='D5_DIAL'>"._QXZ("D5_DIAL")."</option><option value='D1_DIAL_QUIET'>"._QXZ("D1_DIAL_QUIET")."</option><option value='D2_DIAL_QUIET'>"._QXZ("D2_DIAL_QUIET")."</option><option value='D3_DIAL_QUIET'>"._QXZ("D3_DIAL_QUIET")."</option><option value='D4_DIAL_QUIET'>"._QXZ("D4_DIAL_QUIET")."</option><option value='D5_DIAL_QUIET'>"._QXZ("D5_DIAL_QUIET")."</option><option value='MESSAGE_ONLY'>"._QXZ("MESSAGE_ONLY")."</option><option value='WEBFORM'>"._QXZ("WEBFORM")."</option>$eswHTML<option value='HANGUP'>"._QXZ("HANGUP")."</option><option value='CALLMENU'>"._QXZ("CALLMENU")."</option><option value='EXTENSION'>"._QXZ("EXTENSION")."</option><option value='IN_GROUP'>"._QXZ("IN_GROUP")."</option><option value='$timer_action' selected>"._QXZ("$timer_action")."</option></select>$NWB#campaigns-timer_action$NWE</td></tr>\n"; @@ -20599,12 +20610,6 @@ if ($ADD==31) echo "<tr bgcolor=#8EBCFD><td align=right>"._QXZ("Timer Action Destination").": </td><td align=left><input type=text name=timer_action_destination size=25 maxlength=30 value=\"$timer_action_destination\">$NWB#campaigns-timer_action_destination$NWE</td></tr>\n"; - if ($SSoutbound_autodial_active > 0) - { - echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Manual Alt Num Dialing").": </td><td align=left><select size=1 name=alt_number_dialing><option value='Y'>"._QXZ("Y")."</option><option value='N'>"._QXZ("N")."</option><option value='SELECTED'>"._QXZ("SELECTED")."</option><option value='SELECTED_TIMER_ALT'>"._QXZ("SELECTED_TIMER_ALT")."</option><option value='SELECTED_TIMER_ADDR3'>"._QXZ("SELECTED_TIMER_ADDR3")."</option><option value='$alt_number_dialing' SELECTED>"._QXZ("$alt_number_dialing")."</option></select>$NWB#campaigns-alt_number_dialing$NWE</td></tr>\n"; - - echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Timer Alt Seconds").": </td><td align=left><input type=text name=timer_alt_seconds size=5 maxlength=4 value=\"$timer_alt_seconds\">$NWB#campaigns-timer_alt_seconds$NWE</td></tr>\n"; - } echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Scheduled Callbacks").": </td><td align=left><select size=1 name=scheduled_callbacks><option value='Y'>"._QXZ("Y")."</option><option value='N'>"._QXZ("N")."</option><option value='$scheduled_callbacks' SELECTED>"._QXZ("$scheduled_callbacks")."</option></select>$NWB#campaigns-scheduled_callbacks$NWE</td></tr>\n"; echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Scheduled Callbacks Alert").": </td><td align=left><select size=1 name=scheduled_callbacks_alert><option value='NONE'>"._QXZ("NONE")."</option><option value='BLINK'>"._QXZ("BLINK")."</option><option value='RED'>"._QXZ("RED")."</option><option value='BLINK_RED'>"._QXZ("BLINK_RED")."</option><option value='BLINK_DEFER'>"._QXZ("BLINK_DEFER")."</option><option value='RED_DEFER'>"._QXZ("RED_DEFER")."</option><option value='BLINK_RED_DEFER'>"._QXZ("BLINK_RED_DEFER")."</option><option value='$scheduled_callbacks_alert' SELECTED>"._QXZ("$scheduled_callbacks_alert")."</option></select>$NWB#campaigns-scheduled_callbacks_alert$NWE</td></tr>\n"; @@ -20625,6 +20630,8 @@ if ($ADD==31) echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Show Previous Callback").": </td><td align=left><select size=1 name=show_previous_callback><option value='DISABLED'>"._QXZ("DISABLED")."</option><option value='ENABLED'>"._QXZ("ENABLED")."</option><option value='$show_previous_callback' SELECTED>"._QXZ("$show_previous_callback")."</option></select>$NWB#campaigns-show_previous_callback$NWE</td></tr>\n"; + echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Scheduled Callbacks Useronly Move Minutes").": </td><td align=left><input type=text name=callback_useronly_move_minutes size=6 maxlength=5 value=\"$callback_useronly_move_minutes\">$NWB#campaigns-callback_useronly_move_minutes$NWE</td></tr>\n"; + if ($SSoutbound_autodial_active > 0) { echo "<tr bgcolor=#8EBCFD><td align=right>"._QXZ("Drop Call Seconds").": </td><td align=left><input type=text name=drop_call_seconds size=5 maxlength=2 value=\"$drop_call_seconds\">$NWB#campaigns-drop_call_seconds$NWE</td></tr>\n"; @@ -20766,6 +20773,13 @@ if ($ADD==31) echo "<tr bgcolor=#8EBCFD><td align=right>"._QXZ("In-Group Manual Dial Select").": </td><td align=left><select size=1 name=in_group_dial_select><option value='CAMPAIGN_SELECTED'>"._QXZ("CAMPAIGN_SELECTED")."</option><option value='ALL_USER_GROUP'>"._QXZ("ALL_USER_GROUP")."</option><option value='$in_group_dial_select' SELECTED>"._QXZ("$in_group_dial_select")."</option></select>$NWB#campaigns-in_group_dial_select$NWE</td></tr>\n"; + if ($SSoutbound_autodial_active > 0) + { + echo "<tr bgcolor=#8EBCFD><td align=right>"._QXZ("Manual Alt Num Dialing").": </td><td align=left><select size=1 name=alt_number_dialing><option value='Y'>"._QXZ("Y")."</option><option value='N'>"._QXZ("N")."</option><option value='SELECTED'>"._QXZ("SELECTED")."</option><option value='SELECTED_TIMER_ALT'>"._QXZ("SELECTED_TIMER_ALT")."</option><option value='SELECTED_TIMER_ADDR3'>"._QXZ("SELECTED_TIMER_ADDR3")."</option><option value='$alt_number_dialing' SELECTED>"._QXZ("$alt_number_dialing")."</option></select>$NWB#campaigns-alt_number_dialing$NWE</td></tr>\n"; + + echo "<tr bgcolor=#8EBCFD><td align=right>"._QXZ("Timer Alt Seconds").": </td><td align=left><input type=text name=timer_alt_seconds size=5 maxlength=4 value=\"$timer_alt_seconds\">$NWB#campaigns-timer_alt_seconds$NWE</td></tr>\n"; + } + echo "<tr bgcolor=#B6D3FC><td align=right>"._QXZ("Agent Screen Clipboard Copy").": </td><td align=left><select size=1 name=agent_clipboard_copy><option value='NONE'>"._QXZ("NONE")."</option><option>lead_id</option><option>list_id</option><option>title</option><option>first_name</option><option>middle_initial</option><option>last_name</option><option>phone_code</option><option>phone_number</option><option>address1</option><option>address2</option><option>address3</option><option>city</option><option>state</option><option>province</option><option>postal_code</option><option>country_code</option><option>alt_phone</option><option>comments</option><option>date_of_birth</option><option>email</option><option>gender</option><option>gmt_offset_now</option><option>security_phrase</option><option>vendor_lead_code</option><option value='$agent_clipboard_copy' SELECTED>"._QXZ("$agent_clipboard_copy")."</option></select>$NWB#campaigns-agent_clipboard_copy$NWE</td></tr>\n"; # if ($SSoutbound_autodial_active > 0) @@ -36131,51 +36145,51 @@ if ($ADD==999998) <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <TITLE><?php echo _QXZ("Administration: Admin"); ?> -

+
 
1) { + if ( (strlen($list_sh) > 25) and (strlen($campaigns_hh) > 25) ) { ?> - > + > 1) { + if (strlen($times_sh) > 25) { ?> - > + > 1) { + if (strlen($shifts_sh) > 25) { ?> - > + > 1) { + if (strlen($phones_sh) > 25) { ?> - > + > 1) { + if (strlen($conference_sh) > 25) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($server_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($templates_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($carriers_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($emails_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($tts_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($cc_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($moh_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) and ($SSenable_languages > 0) ) { + if ( (strlen($languages_sh) > 25) and (strlen($admin_hh) > 25) and ($SSenable_languages > 0) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($avatar_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) and (strlen($admin_hh) > 1) ) { + if ( (strlen($vm_sh) > 25) and (strlen($admin_hh) > 25) ) { ?> - > + > 1) { + if (strlen($settings_sh) > 25) { ?> - > + > 1) { + if (strlen($label_sh) > 25) { ?> - > + > 1) { + if (strlen($cts_sh) > 25) { ?> - > + > 1) { + if (strlen($sc_sh) > 25) { ?> - > + > 1) { + if (strlen($sg_sh) > 25) { ?> - > + > 1) and (!preg_match('/campaign/i',$hh) ) ) { + if ( (strlen($status_sh) > 25) and (!preg_match('/campaign|user/i',$hh) ) ) { ?> - > + > - > + > 1) { +if (strlen($reports_hh) > 25) { ?> -> +> diff --git a/agc_2-X/trunk/www/vicidial/admin_lists_custom.php b/agc_2-X/trunk/www/vicidial/admin_lists_custom.php index 5c7e124e..debd69be 100644 --- a/agc_2-X/trunk/www/vicidial/admin_lists_custom.php +++ b/agc_2-X/trunk/www/vicidial/admin_lists_custom.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # this screen manages the custom lists fields in ViciDial # @@ -34,6 +34,7 @@ # 141230-0018 - Added code for on-the-fly language translations display # 150626-2120 - Modified mysqli_error() to mysqli_connect_error() where appropriate # 151007-2001 - Fixed issue with field deletion +# 160325-1431 - Changes for sidebar update # $admin_version = '2.12-27'; @@ -294,6 +295,7 @@ if ($action == "HELP") ##### BEGIN Set variables to make header show properly ##### $ADD = '100'; $hh = 'lists'; +$sh = 'custom'; $LOGast_admin_access = '1'; $SSoutbound_autodial_active = '1'; $ADMIN = 'admin.php'; diff --git a/agc_2-X/trunk/www/vicidial/admin_search_lead.php b/agc_2-X/trunk/www/vicidial/admin_search_lead.php index 5ed6bf5d..402a01a2 100644 --- a/agc_2-X/trunk/www/vicidial/admin_search_lead.php +++ b/agc_2-X/trunk/www/vicidial/admin_search_lead.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # AST GUI database administration search for lead info # admin_modify_lead.php @@ -44,6 +44,7 @@ # 150312-1507 - Allow for single quotes in vicidial_list data fields # 150602-1207 - Allow for searching by email address # 151203-2104 - Added option for called_count as search variable +# 160325-1427 - Changes for sidebar update # require("dbconnect_mysqli.php"); @@ -247,6 +248,7 @@ $regexLOGallowed_campaigns = " $LOGallowed_campaigns "; ##### BEGIN Set variables to make header show properly ##### $ADD = '100'; $hh = 'lists'; +$sh = 'search'; $LOGast_admin_access = '1'; $SSoutbound_autodial_active = '1'; $ADMIN = 'admin.php'; diff --git a/agc_2-X/trunk/www/vicidial/dbconnect_mysqli.php b/agc_2-X/trunk/www/vicidial/dbconnect_mysqli.php index d65a1b2d..f496358d 100644 --- a/agc_2-X/trunk/www/vicidial/dbconnect_mysqli.php +++ b/agc_2-X/trunk/www/vicidial/dbconnect_mysqli.php @@ -4,7 +4,7 @@ # # database connection settings and some global web settings # -# Copyright (C) 2015 Matt Florell LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # CHANGES: # 130328-0022 - Converted ereg to preg functions @@ -14,6 +14,7 @@ # 150216-1529 - Removed non-latin set to 0 # 150313-0913 - Added ExpectedDBSchema conf file value # 150626-2120 - Modified mysqli_error() to mysqli_connect_error() where appropriate +# 160325-1434 - Changes for sidebar update # if ( file_exists("/etc/astguiclient.conf") ) @@ -91,5 +92,9 @@ $WeBRooTWritablE = '1'; # $non_latin = '0'; # set to 1 for UTF rules, overridden by system_settings $flag_channels=0; $flag_string = 'VICIast20'; +$Msubhead_color = '#E6E6E6'; +$Mselected_color = '#C6C6C6'; +$Mhead_color = '#A3C3D6'; +$Mmain_bgcolor = '#015B91'; ?> diff --git a/agc_2-X/trunk/www/vicidial/group_hourly_stats.php b/agc_2-X/trunk/www/vicidial/group_hourly_stats.php index 1bb6fc7c..48039b4d 100644 --- a/agc_2-X/trunk/www/vicidial/group_hourly_stats.php +++ b/agc_2-X/trunk/www/vicidial/group_hourly_stats.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # CHANGES # @@ -18,6 +18,7 @@ # 140108-0724 - Added webserver and hostname to report logging # 141114-0043 - Finalized adding QXZ translation to all admin files # 141230-1343 - Added code for on-the-fly language translations display +# 160325-1426 - Changes for sidebar update # $startMS = microtime(); @@ -227,6 +228,7 @@ if ( (!preg_match('/\-\-ALL\-\-/i',$LOGadmin_viewable_groups)) and (strlen($LOGa ##### BEGIN Set variables to make header show properly ##### $ADD = '311111'; $hh = 'usergroups'; +$sh = 'hour'; $LOGast_admin_access = '1'; $ADMIN = 'admin.php'; $page_width='770'; diff --git a/agc_2-X/trunk/www/vicidial/help.php b/agc_2-X/trunk/www/vicidial/help.php index 689dd057..3fab5387 100644 --- a/agc_2-X/trunk/www/vicidial/help.php +++ b/agc_2-X/trunk/www/vicidial/help.php @@ -83,6 +83,7 @@ # 160211-2255 - Added help text for remaining reports # 160305-2115 - Added Alt IVR(call menu) DTMF logging # 160306-1201 - Added new webphone options and server options +# 160324-1940 - Added callback_useronly_move_minutes # @@ -1539,6 +1540,11 @@ if ($SSoutbound_autodial_active > 0)
- +
+ +
+ - +

diff --git a/agc_2-X/trunk/www/vicidial/user_group_bulk_change.php b/agc_2-X/trunk/www/vicidial/user_group_bulk_change.php index b2219fa4..f4742ba9 100644 --- a/agc_2-X/trunk/www/vicidial/user_group_bulk_change.php +++ b/agc_2-X/trunk/www/vicidial/user_group_bulk_change.php @@ -17,6 +17,7 @@ # 141229-1820 - Added code for on-the-fly language translations display # 160105-1232 - Fixed SQL errors # 160106-1318 - Added options.php option to disable this utility +# 160325-1429 - Changes for sidebar update # header ("Content-type: text/html; charset=utf-8"); @@ -173,6 +174,7 @@ while ($i < $groups_to_print) ##### BEGIN Set variables to make header show properly ##### $ADD = '311111'; $hh = 'usergroups'; +$sh = 'bulk'; $LOGast_admin_access = '1'; $ADMIN = 'admin.php'; $page_width='770'; diff --git a/agc_2-X/trunk/www/vicidial/user_stats.php b/agc_2-X/trunk/www/vicidial/user_stats.php index cfd3d05e..71667c52 100644 --- a/agc_2-X/trunk/www/vicidial/user_stats.php +++ b/agc_2-X/trunk/www/vicidial/user_stats.php @@ -50,6 +50,7 @@ # 151227-1839 - Added option to search archived data # 160104-1226 - Added call type field to the agent activity table # 160112-0759 - Added link to direct to recording logging page +# 160325-1430 - Changes for sidebar update # $startMS = microtime(); @@ -416,6 +417,7 @@ else ##### BEGIN Set variables to make header show properly ##### $ADD = '3'; $hh = 'users'; +$sh = 'stats'; $LOGast_admin_access = '1'; $ADMIN = 'admin.php'; $page_width='770'; @@ -429,9 +431,11 @@ $users_color = '#FFFF99'; $users_font = 'BLACK'; $users_color = '#E6E6E6'; $subcamp_color = '#C6C6C6'; + if ($did > 0) { $hh = 'ingroups'; + $sh = 'listdid'; $ADD = '3311'; $ingroups_color = '#FFFF99'; $ingroups_font = 'BLACK'; diff --git a/agc_2-X/trunk/www/vicidial/user_status.php b/agc_2-X/trunk/www/vicidial/user_status.php index 5a0abd9c..43452a23 100644 --- a/agc_2-X/trunk/www/vicidial/user_status.php +++ b/agc_2-X/trunk/www/vicidial/user_status.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # CHANGES # @@ -35,6 +35,7 @@ # 141229-1829 - Added code for on-the-fly language translations display # 150701-1250 - Modified mysqli_error() to mysqli_connect_error() where appropriate # 151211-1458 - Added chat visibility +# 160325-1433 - Changes for sidebar update # $startMS = microtime(); @@ -344,6 +345,7 @@ while ($i < $groups_to_print) ##### BEGIN Set variables to make header show properly ##### $ADD = '3'; $hh = 'users'; +$sh = 'status'; $LOGast_admin_access = '1'; $ADMIN = 'admin.php'; $page_width='770'; diff --git a/agc_2-X/trunk/www/vicidial/user_territories.php b/agc_2-X/trunk/www/vicidial/user_territories.php index a60b85c9..aeff478c 100644 --- a/agc_2-X/trunk/www/vicidial/user_territories.php +++ b/agc_2-X/trunk/www/vicidial/user_territories.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 # # This territories script is for use with custom tables in Vtiger which is why # it is separate from the standard admin.php script. user_territories_active in @@ -18,10 +18,11 @@ # 141007-2050 - Finalized adding QXZ translation to all admin files # 141229-1850 - Added code for on-the-fly language translations display # 150626-2120 - Modified mysqli_error() to mysqli_connect_error() where appropriate +# 160325-1432 - Changes for sidebar update # -$version = '2.10-10'; -$build = '150626-2120'; +$version = '2.12-11'; +$build = '160325-1432'; $MT[0]=''; @@ -309,6 +310,7 @@ if ( ($action == "PROCESS_CHANGE_TERRITORY_OWNER_ACCOUNT") and ($enable_vtiger_i ##### BEGIN Set variables to make header show properly ##### $ADD = '0'; $hh = 'users'; +$sh = 'territory'; $LOGast_admin_access = '1'; $ADMIN = 'admin.php'; $page_width='770';
\n"; echo "   \n"; } diff --git a/agc_2-X/trunk/www/vicidial/admin_header.php b/agc_2-X/trunk/www/vicidial/admin_header.php index cffdec6c..1400212d 100644 --- a/agc_2-X/trunk/www/vicidial/admin_header.php +++ b/agc_2-X/trunk/www/vicidial/admin_header.php @@ -57,6 +57,7 @@ # 151203-1922 - Fix for javascript timezone issues in editing of timeclock entries # 151212-0858 - Added Chat link at top of page # 160312-1656 - Added FORM_selectall javascript, also used it to replace IGU_selectall +# 160325-1428 - Changed layout of sidebar links # @@ -123,44 +124,44 @@ if($short_header) else { if ($hh=='users') - {$users_hh="bgcolor =\"$users_color\""; $users_fc="$users_font"; $users_bold="$header_selected_bold";} - else {$users_hh=''; $users_fc='WHITE'; $users_bold="$header_nonselected_bold";} + {$users_hh="CLASS=\"head_style_selected\""; $users_fc="$users_font"; $users_bold="$header_selected_bold";} + else {$users_hh="CLASS=\"head_style\""; $users_fc='WHITE'; $users_bold="$header_nonselected_bold";} if ($hh=='campaigns') - {$campaigns_hh="bgcolor=\"$campaigns_color\""; $campaigns_fc="$campaigns_font"; $campaigns_bold="$header_selected_bold";} - else {$campaigns_hh=''; $campaigns_fc='WHITE'; $campaigns_bold="$header_nonselected_bold";} + {$campaigns_hh="CLASS=\"head_style_selected\""; $campaigns_fc="$campaigns_font"; $campaigns_bold="$header_selected_bold";} + else {$campaigns_hh="CLASS=\"head_style\""; $campaigns_fc='WHITE'; $campaigns_bold="$header_nonselected_bold";} if ($SSoutbound_autodial_active > 0) { if ($hh=='lists') - {$lists_hh="bgcolor=\"$lists_color\""; $lists_fc="$lists_font"; $lists_bold="$header_selected_bold";} - else {$lists_hh=''; $lists_fc='WHITE'; $lists_bold="$header_nonselected_bold";} + {$lists_hh="CLASS=\"head_style_selected\""; $lists_fc="$lists_font"; $lists_bold="$header_selected_bold";} + else {$lists_hh="CLASS=\"head_style\""; $lists_fc='WHITE'; $lists_bold="$header_nonselected_bold";} } if ($hh=='ingroups') - {$ingroups_hh="bgcolor=\"$ingroups_color\""; $ingroups_fc="$ingroups_font"; $ingroups_bold="$header_selected_bold";} - else {$ingroups_hh=''; $ingroups_fc='WHITE'; $ingroups_bold="$header_nonselected_bold";} + {$ingroups_hh="CLASS=\"head_style_selected\""; $ingroups_fc="$ingroups_font"; $ingroups_bold="$header_selected_bold";} + else {$ingroups_hh="CLASS=\"head_style\""; $ingroups_fc='WHITE'; $ingroups_bold="$header_nonselected_bold";} if ($hh=='remoteagent') - {$remoteagent_hh="bgcolor=\"$remoteagent_color\""; $remoteagent_fc="$remoteagent_font"; $remoteagent_bold="$header_selected_bold";} - else {$remoteagent_hh=''; $remoteagent_fc='WHITE'; $remoteagent_bold="$header_nonselected_bold";} + {$remoteagent_hh="CLASS=\"head_style_selected\""; $remoteagent_fc="$remoteagent_font"; $remoteagent_bold="$header_selected_bold";} + else {$remoteagent_hh="CLASS=\"head_style\""; $remoteagent_fc='WHITE'; $remoteagent_bold="$header_nonselected_bold";} if ($hh=='usergroups') - {$usergroups_hh="bgcolor=\"$usergroups_color\""; $usergroups_fc="$usergroups_font"; $usergroups_bold="$header_selected_bold";} - else {$usergroups_hh=''; $usergroups_fc='WHITE'; $usergroups_bold="$header_nonselected_bold";} + {$usergroups_hh="CLASS=\"head_style_selected\""; $usergroups_fc="$usergroups_font"; $usergroups_bold="$header_selected_bold";} + else {$usergroups_hh="CLASS=\"head_style\""; $usergroups_fc='WHITE'; $usergroups_bold="$header_nonselected_bold";} if ($hh=='scripts') - {$scripts_hh="bgcolor=\"$scripts_color\""; $scripts_fc="$scripts_font"; $scripts_bold="$header_selected_bold";} - else {$scripts_hh=''; $scripts_fc='WHITE'; $scripts_bold="$header_nonselected_bold";} + {$scripts_hh="CLASS=\"head_style_selected\""; $scripts_fc="$scripts_font"; $scripts_bold="$header_selected_bold";} + else {$scripts_hh="CLASS=\"head_style\""; $scripts_fc='WHITE'; $scripts_bold="$header_nonselected_bold";} if ($SSoutbound_autodial_active > 0) { if ($hh=='filters') - {$filters_hh="bgcolor=\"$filters_color\""; $filters_fc="$filters_font"; $filters_bold="$header_selected_bold";} - else {$filters_hh=''; $filters_fc='WHITE'; $filters_bold="$header_nonselected_bold";} + {$filters_hh="CLASS=\"head_style_selected\""; $filters_fc="$filters_font"; $filters_bold="$header_selected_bold";} + else {$filters_hh="CLASS=\"head_style\""; $filters_fc='WHITE'; $filters_bold="$header_nonselected_bold";} } if ($hh=='admin') - {$admin_hh="bgcolor=\"$admin_color\""; $admin_fc="$admin_font"; $admin_bold="$header_selected_bold";} - else {$admin_hh=''; $admin_fc='WHITE'; $admin_bold="$header_nonselected_bold";} + {$admin_hh="CLASS=\"head_style_selected\""; $admin_fc="$admin_font"; $admin_bold="$header_selected_bold";} + else {$admin_hh="CLASS=\"head_style\""; $admin_fc='WHITE'; $admin_bold="$header_nonselected_bold";} if ($hh=='reports') - {$reports_hh="bgcolor=\"$reports_color\""; $reports_fc="$reports_font"; $reports_bold="$header_selected_bold";} - else {$reports_hh=''; $reports_fc='WHITE'; $reports_bold="$header_nonselected_bold";} + {$reports_hh="CLASS=\"head_style_selected\""; $reports_fc="$reports_font"; $reports_bold="$header_selected_bold";} + else {$reports_hh="CLASS=\"head_style\""; $reports_fc='WHITE'; $reports_bold="$header_nonselected_bold";} if ($hh=='qc') - {$qc_hh="bgcolor=\"$qc_color\""; $qc_fc="$qc_font"; $qc_bold="$header_selected_bold";} - else {$qc_hh=''; $qc_fc='WHITE'; $qc_bold="$header_nonselected_bold";} + {$qc_hh="CLASS=\"head_style_selected\""; $qc_fc="$qc_font"; $qc_bold="$header_selected_bold";} + else {$qc_hh="CLASS=\"head_style\""; $qc_fc='WHITE'; $qc_bold="$header_nonselected_bold";} echo "\n"; echo "\n"; .chart_td {background-image: url(images/gridline58.gif); background-repeat: repeat-x; background-position: left top; border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; padding:0; border-bottom: 1px solid #e5e5e5; background-color:transparent;} +.head_style + { + background-color: ; + } +.head_style:hover{background-color: #121C3B;} + +.head_style_selected + { + background-color: ; + } +.head_style_selected:hover{background-color: ;} + +.subhead_style + { + background-color: ; + } +.subhead_style:hover{background-color: white;} + +.subhead_style_selected + { + background-color: ; + } +.subhead_style_selected:hover{background-color: ;} + +.horiz_line + { + height: 0px; + margin: 0px; + border-bottom: 1px solid #E6E6E6; + font-size: 1px; + } +.horiz_line_grey + { + height: 0px; + margin: 0px; + border-bottom: 1px solid #9E9E9E; + font-size: 1px; + } --> @@ -1123,6 +1162,11 @@ $SSlevel_8_disable_add = $row[5]; $SSchat_enabled = $row[6]; $SSenable_languages = $row[7]; +if ($header_font_size < 4) {$header_font_size='12';} +if ($subheader_font_size < 4) {$subheader_font_size='11';} +if ($subcamp_font_size < 4) {$subcamp_font_size='11';} + + ?>
@@ -1132,103 +1176,127 @@ $SSenable_languages = $row[7];
System logo
+ - + - 1) { + 25) + { + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='copy') {$copy_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='search') {$search_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='stats') {$stats_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='status') {$status_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='sheet') {$sheet_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='territory') {$territory_sh="CLASS=\"subhead_style_selected\"";} + ?> - >> onclick="window.document.location='?ADD=0A';"> onclick="window.document.location='?ADD=1';">>> onclick="window.document.location='?ADD=1A';"> onclick="window.document.location='?ADD=550';">>>> +   + onclick="window.document.location='./user_stats.php?user=';"> onclick="window.document.location='./user_status.php?user=';"> onclick="window.document.location='./AST_agent_time_sheet.php?agent=';"> 0) or ($user_territories_active > 0) ) { ?> - > + onclick="window.document.location='./user_territories.php?agent=';"> - - + 1) + $list_sh="CLASS=\"subhead_style\""; + $status_sh="CLASS=\"subhead_style\""; + $hotkey_sh="CLASS=\"subhead_style\""; + $recycle_sh="CLASS=\"subhead_style\""; + $autoalt_sh="CLASS=\"subhead_style\""; + $pause_sh="CLASS=\"subhead_style\""; + $listmix_sh="CLASS=\"subhead_style\""; + $preset_sh="CLASS=\"subhead_style\""; + $accid_sh="CLASS=\"subhead_style\""; + + if (strlen($campaigns_hh) > 25) { if ($sh=='basic') {$sh='list';} if ($sh=='detail') {$sh='list';} if ($sh=='dialstat') {$sh='list';} - if ($sh=='list') {$list_sh="bgcolor=\"$subcamp_color\""; $list_fc="$subcamp_font";} - else {$list_sh=''; $list_fc='BLACK';} - if ($sh=='status') {$status_sh="bgcolor=\"$subcamp_color\""; $status_fc="$subcamp_font";} - else {$status_sh=''; $status_fc='BLACK';} - if ($sh=='hotkey') {$hotkey_sh="bgcolor=\"$subcamp_color\""; $hotkey_fc="$subcamp_font";} - else {$hotkey_sh=''; $hotkey_fc='BLACK';} - if ($sh=='recycle') {$recycle_sh="bgcolor=\"$subcamp_color\""; $recycle_fc="$subcamp_font";} - else {$recycle_sh=''; $recycle_fc='BLACK';} - if ($sh=='autoalt') {$autoalt_sh="bgcolor=\"$subcamp_color\""; $autoalt_fc="$subcamp_font";} - else {$autoalt_sh=''; $autoalt_fc='BLACK';} - if ($sh=='pause') {$pause_sh="bgcolor=\"$subcamp_color\""; $pause_fc="$subcamp_font";} - else {$pause_sh=''; $pause_fc='BLACK';} - if ($sh=='listmix') {$listmix_sh="bgcolor=\"$subcamp_color\""; $listmix_fc="$subcamp_font";} - else {$listmix_sh=''; $listmix_fc='BLACK';} - if ($sh=='preset') {$preset_sh="bgcolor=\"$subcamp_color\""; $preset_fc="$subcamp_font";} - else {$preset_sh=''; $preset_fc='BLACK';} - if ($sh=='accid') {$accid_sh="bgcolor=\"$subcamp_color\""; $accid_fc="$subcamp_font";} - else {$accid_sh=''; $accid_fc='BLACK';} + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='status') {$status_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='hotkey') {$hotkey_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='recycle') {$recycle_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='autoalt') {$autoalt_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='pause') {$pause_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listmix') {$listmix_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='preset') {$preset_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='accid') {$accid_sh="CLASS=\"subhead_style_selected\"";} ?> - > - - > - - > - + onclick="window.document.location='?ADD=10';"> + + onclick="window.document.location='?ADD=32';"> + + onclick="window.document.location='?ADD=33';"> + 0) { ?> - > - - > - - > - + onclick="window.document.location='?ADD=35';"> + + onclick="window.document.location='?ADD=36';"> + + onclick="window.document.location='?ADD=39';"> + - > - - > - + onclick="window.document.location='?ADD=37';"> + + onclick="window.document.location='?ADD=301';"> + 0) { ?> - > - + onclick="window.document.location='?ADD=302';"> + 0) { ?> - + + 1) + $list_sh="CLASS=\"subhead_style\""; + $new_sh="CLASS=\"subhead_style\""; + $search_sh="CLASS=\"subhead_style\""; + $lead_sh="CLASS=\"subhead_style\""; + $load_sh="CLASS=\"subhead_style\""; + $dnc_sh="CLASS=\"subhead_style\""; + $custom_sh="CLASS=\"subhead_style\""; + $cpcust_sh="CLASS=\"subhead_style\""; + + if (strlen($lists_hh) > 25) { if ($LOGdelete_from_dnc > 0) {$DNClink = _QXZ("Add-Delete DNC Number");} else {$DNClink = _QXZ("Add DNC Number");} + + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='search') {$search_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='lead') {$lead_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='load') {$load_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='dnc') {$dnc_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='custom') {$custom_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='cpcust') {$cpcust_sh="CLASS=\"subhead_style_selected\"";} + ?> - >> onclick="window.document.location='?ADD=100';"> onclick="window.document.location='?ADD=111';">> onclick="window.document.location='admin_search_lead.php';">>>> onclick="window.document.location='admin_modify_lead.php';"> onclick="window.document.location='?ADD=121';"> onclick="window.document.location='admin_listloader_fourth_gen.php';">>> onclick="window.document.location='';"> onclick="window.document.location='?action=COPY_FIELDS_FORM';"> + + + 1) - { + $list_sh="CLASS=\"subhead_style\""; + $enter_sh="CLASS=\"subhead_style\""; + $modify_sh="CLASS=\"subhead_style\""; + + if (strlen($qc_hh) > 25) + { + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='enter') {$enter_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='modify') {$modify_sh="CLASS=\"subhead_style_selected\"";} + ?> - > + onclick="window.document.location='?ADD=100000000000000';"> - > + onclick="window.document.location='?ADD=100000000000000';"> - > + onclick="window.document.location='?ADD=341111111111111';"> - + 1) + $list_sh="CLASS=\"subhead_style\""; + $new_sh="CLASS=\"subhead_style\""; + + if (strlen($scripts_hh) > 25) { + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";} + ?> - >> onclick="window.document.location='?ADD=1000000';"> onclick="window.document.location='?ADD=1111111';"> 0) { ?> - + + 1) + $list_sh="CLASS=\"subhead_style\""; + $new_sh="CLASS=\"subhead_style\""; + + if (strlen($filters_hh) > 25) { + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";} ?> - >> onclick="window.document.location='?ADD=10000000';"> onclick="window.document.location='?ADD=11111111';"> - + 1) + $listIG_sh="CLASS=\"subhead_style\""; + $newIG_sh="CLASS=\"subhead_style\""; + $copyIG_sh="CLASS=\"subhead_style\""; + $listEG_sh="CLASS=\"subhead_style\""; + $newEG_sh="CLASS=\"subhead_style\""; + $copyEG_sh="CLASS=\"subhead_style\""; + $listCG_sh="CLASS=\"subhead_style\""; + $newCG_sh="CLASS=\"subhead_style\""; + $copyCG_sh="CLASS=\"subhead_style\""; + $listDID_sh="CLASS=\"subhead_style\""; + $newDID_sh="CLASS=\"subhead_style\""; + $copyDID_sh="CLASS=\"subhead_style\""; + $didRA_sh="CLASS=\"subhead_style\""; + $listCM_sh="CLASS=\"subhead_style\""; + $newCM_sh="CLASS=\"subhead_style\""; + $copyCM_sh="CLASS=\"subhead_style\""; + $listFPG_sh="CLASS=\"subhead_style\""; + $newFPG_sh="CLASS=\"subhead_style\""; + $addFPG_sh="CLASS=\"subhead_style\""; + + if (strlen($ingroups_hh) > 25) { + if ($sh=='listIG') {$listIG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newIG') {$newIG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='copyIG') {$copyIG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listEG') {$listEG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newEG') {$newEG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='copyEG') {$copyEG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listCG') {$listCG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newCG') {$newCG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='copyCG') {$copyCG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listDID') {$listDID_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newDID') {$newDID_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='copyDID') {$copyDID_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='didRA') {$didRA_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listCM') {$listCM_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newCM') {$newCM_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='copyCM') {$copyCM_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listFPG') {$listFPG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newFPG') {$newFPG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='addFPG') {$addFPG_sh="CLASS=\"subhead_style_selected\"";} + if ($LOGdelete_from_dnc > 0) {$FPGlink = _QXZ("Add-Delete FPG Number");} else {$FPGlink = _QXZ("Add FPG Number");} ?> - >> onclick="window.document.location='?ADD=1000';"> onclick="window.document.location='?ADD=1111';">> onclick="window.document.location='?ADD=1211';">0) { ?> - >> onclick="window.document.location='?ADD=1800';"> onclick="window.document.location='?ADD=1811';">> onclick="window.document.location='?ADD=1911';"> @@ -1384,208 +1535,225 @@ $SSenable_languages = $row[7]; if ($SSchat_enabled>0) { ?> - >> onclick="window.document.location='?ADD=1900';"> onclick="window.document.location='?ADD=18111';">> onclick="window.document.location='?ADD=19111';"> - >> onclick="window.document.location='?ADD=1300';"> onclick="window.document.location='?ADD=1311';">> onclick="window.document.location='?ADD=1411';">> onclick="window.document.location='?ADD=1320';">>> + onclick="window.document.location='?ADD=1500';"> onclick="window.document.location='?ADD=1511';">> onclick="window.document.location='?ADD=1611';">>> + onclick="window.document.location='?ADD=1700';"> onclick="window.document.location='?ADD=1711';">> onclick="window.document.location='?ADD=171';"> - + 1) + $list_sh="CLASS=\"subhead_style\""; + $new_sh="CLASS=\"subhead_style\""; + $hour_sh="CLASS=\"subhead_style\""; + $bulk_sh="CLASS=\"subhead_style\""; + + if (strlen($usergroups_hh) > 25) { + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='hour') {$hour_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='bulk') {$bulk_sh="CLASS=\"subhead_style_selected\"";} ?> - >> onclick="window.document.location='?ADD=100000';"> onclick="window.document.location='?ADD=111111';">> onclick="window.document.location='group_hourly_stats.php';">> onclick="window.document.location='user_group_bulk_change.php';"> - + 1) + $list_sh="CLASS=\"subhead_style\""; + $new_sh="CLASS=\"subhead_style\""; + $listEG_sh="CLASS=\"subhead_style\""; + $newEG_sh="CLASS=\"subhead_style\""; + if (strlen($remoteagent_hh) > 25) { + if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='listEG') {$listEG_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='newEG') {$newEG_sh="CLASS=\"subhead_style_selected\"";} ?> - >> onclick="window.document.location='?ADD=10000';"> onclick="window.document.location='?ADD=11111';">> onclick="window.document.location='?ADD=12000';">> onclick="window.document.location='?ADD=12111';"> - + 1) + $times_sh="CLASS=\"subhead_style\""; + $shifts_sh="CLASS=\"subhead_style\""; + $templates_sh="CLASS=\"subhead_style\""; + $carriers_sh="CLASS=\"subhead_style\""; + $phones_sh="CLASS=\"subhead_style\""; + $server_sh="CLASS=\"subhead_style\""; + $conference_sh="CLASS=\"subhead_style\""; + $settings_sh="CLASS=\"subhead_style\""; + $label_sh="CLASS=\"subhead_style\""; + $status_sh="CLASS=\"subhead_style\""; + $audio_sh="CLASS=\"subhead_style\""; + $moh_sh="CLASS=\"subhead_style\""; + $languages_sh="CLASS=\"subhead_style\""; + $avatar_sh="CLASS=\"subhead_style\""; + $vm_sh="CLASS=\"subhead_style\""; + $tts_sh="CLASS=\"subhead_style\""; + $cc_sh="CLASS=\"subhead_style\""; + $cts_sh="CLASS=\"subhead_style\""; + $sc_sh="CLASS=\"subhead_style\""; + $sg_sh="CLASS=\"subhead_style\""; + $emails_sh="CLASS=\"subhead_style\""; + if (strlen($admin_hh) > 25) { - if ($sh=='times') {$times_sh="bgcolor=\"$times_color\""; $times_fc="$times_font";} - else {$times_sh=''; $times_fc='BLACK';} - if ($sh=='shifts') {$shifts_sh="bgcolor=\"$shifts_color\""; $shifts_fc="$shifts_font";} - else {$shifts_sh=''; $shifts_fc='BLACK';} - if ($sh=='templates') {$templates_sh="bgcolor=\"$templates_color\""; $templates_fc="$templates_font";} - else {$templates_sh=''; $templates_fc='BLACK';} - if ($sh=='carriers') {$carriers_sh="bgcolor=\"$carriers_color\""; $carriers_fc="$carriers_font";} - else {$carriers_sh=''; $carriers_fc='BLACK';} - if ($sh=='phones') {$phones_sh="bgcolor=\"$server_color\""; $phones_fc="$phones_font";} - else {$phones_sh=''; $phones_fc='BLACK';} - if ($sh=='server') {$server_sh="bgcolor=\"$server_color\""; $server_fc="$server_font";} - else {$server_sh=''; $server_fc='BLACK';} - if ($sh=='conference') {$conference_sh="bgcolor=\"$server_color\""; $conference_fc="$server_font";} - else {$conference_sh=''; $conference_fc='BLACK';} - if ($sh=='settings') {$settings_sh="bgcolor=\"$settings_color\""; $settings_fc="$settings_font";} - else {$settings_sh=''; $settings_fc='BLACK';} - if ($sh=='label') {$label_sh="bgcolor=\"$label_color\""; $label_fc="$label_font";} - else {$label_sh=''; $label_fc='BLACK';} - if ($sh=='status') {$status_sh="bgcolor=\"$status_color\""; $status_fc="$status_font";} - else {$status_sh=''; $status_fc='BLACK';} - if ($sh=='audio') {$audio_sh="bgcolor=\"$audio_color\""; $audio_fc="$audio_font";} - else {$audio_sh=''; $audio_fc='BLACK';} - if ($sh=='moh') {$moh_sh="bgcolor=\"$moh_color\""; $moh_fc="$moh_font";} - else {$moh_sh=''; $moh_fc='BLACK';} - if ($sh=='languages') {$languages_sh="bgcolor=\"$languages_color\""; $languages_fc="$languages_font";} - else {$languages_sh=''; $languages_fc='BLACK';} - if ( preg_match("/avatar/",$SSactive_modules) ) - { - if ($sh=='avatar') {$avatar_sh="bgcolor=\"$avatar_color\""; $avatar_fc="$avatar_font";} - else {$avatar_sh=''; $avatar_fc='BLACK';} - } - if ($sh=='vm') {$vm_sh="bgcolor=\"$vm_color\""; $vm_fc="$vm_font";} - else {$vm_sh=''; $vm_fc='BLACK';} - if ($sh=='tts') {$tts_sh="bgcolor=\"$tts_color\""; $tts_fc="$tts_font";} - else {$tts_sh=''; $tts_fc='BLACK';} - if ($sh=='cc') {$cc_sh="bgcolor=\"$cc_color\""; $cc_fc="$cc_font";} - else {$cc_sh=''; $cc_fc='BLACK';} - if ($sh=='cts') {$cts_sh="bgcolor=\"$cts_color\""; $cts_fc="$cc_font";} - else {$cts_sh=''; $cts_fc='BLACK';} - if ($sh=='sc') {$sc_sh="bgcolor=\"$sc_color\""; $sc_fc="$cc_font";} - else {$sc_sh=''; $sc_fc='BLACK';} - if ($sh=='sg') {$sg_sh="bgcolor=\"$sg_color\""; $sg_fc="$cc_font";} - else {$sg_sh=''; $sg_fc='BLACK';} - if ($sh=='emails') {$emails_sh="bgcolor=\"$subcamp_color\""; $emails_fc="$subcamp_font";} - else {$emails_sh=''; $emails_fc='BLACK';} - + if ($sh=='times') {$times_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='shifts') {$shifts_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='templates') {$templates_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='carriers') {$carriers_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='phones') {$phones_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='server') {$server_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='conference') {$conference_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='settings') {$settings_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='label') {$label_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='status') {$status_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='audio') {$audio_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='moh') {$moh_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='languages') {$languages_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='avatar') {$avatar_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='vm') {$vm_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='tts') {$tts_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='cc') {$cc_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='cts') {$cts_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='sc') {$sc_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='sg') {$sg_sh="CLASS=\"subhead_style_selected\"";} + if ($sh=='emails') {$emails_sh="CLASS=\"subhead_style_selected\"";} ?> - > + onclick="window.document.location='?ADD=100000000';"> - > - > - > - > - > - > - > - > - > - > - > + + onclick="window.document.location='?ADD=130000000';"> + onclick="window.document.location='?ADD=10000000000';"> + onclick="window.document.location='?ADD=130000000000';"> + onclick="window.document.location='?ADD=140000000000';"> + onclick="window.document.location='?ADD=100000000000';"> + onclick="window.document.location='?ADD=1000000000000';"> + onclick="window.document.location='?ADD=311111111111111';"> + onclick="window.document.location='?ADD=180000000000';"> + onclick="window.document.location='?ADD=321111111111111';"> + onclick="window.document.location='?ADD=193000000000';"> + onclick="window.document.location='?ADD=170000000000';"> 0) { ?> - > + onclick="window.document.location='admin_email_accounts.php';"> 0) or ($SSsounds_central_control_active > 0) ) { ?> - > + onclick="window.document.location='audio_store.php';"> - > + onclick="window.document.location='?ADD=160000000000';"> 0) { ?> - > + onclick="window.document.location='admin_languages.php?ADD=163000000000';"> - > + onclick="window.document.location='admin_avatar.php?ADD=162000000000';"> 0) { ?> - > + onclick="window.document.location='?ADD=150000000000';"> 0) { ?> - > + onclick="window.document.location='callcard_admin.php';"> 0) { ?> - > + onclick="window.document.location='?ADD=190000000000';"> - > + onclick="window.document.location='?ADD=192000000000';"> - + - + - - + + + 1) + if (strlen($qc_hh) > 25) { ?> > > > - +
WIDTH=160> - SIZE=> +
WIDTH=160> +
-   > -
+
+   +
-   > -
-   > -
+   +
+   +
-   > -
-   > -
-   > -
-   >
+   +
+   +
+  
-   >
+  
> - SIZE=> +
> +
>   SIZE=>
>   SIZE=>
>   SIZE=>
>  
>  
>  
>   SIZE=>
>   SIZE=>
>   SIZE=>
>  
>  
>  
>   SIZE=>
>   SIZE=>
>  
>  
>   SIZE=>
>  
> SIZE=>
>
  - > -
  +
  + +
  - > -
  + +
  - > -
  - > -
  - > -
  - > + +
  + +
  + +
  + 0) { @@ -1266,10 +1354,10 @@ $SSenable_languages = $row[7]; if (preg_match("/cf_encrypt/",$SSactive_modules)) {$admin_lists_custom = 'admin_lists_custom_encrypt.php';} ?> -
  - > -
  - > +
  + +
  + @@ -1280,47 +1368,63 @@ $SSenable_languages = $row[7]; if (($SSqc_features_active=='1') && ($qc_auth=='1')) { ?> - -
> - SIZE=> +
  - > +
  - > +
  - > +
> - SIZE=> +
> +
  - > -
  +
  + +
  - > +
> SIZE=>
>
  - > -
  +
  + +
  - > +
> - SIZE=> +
> +
  - > -
  +
  + +
  - > -
  - > + +
  + -
+
  - > -
  +
  + +
  - > -
  - > + +
  + -
+
  - > Show Chat Groups -
  +
  + Show Chat Groups +
  - > Add New Chat Group -
  - > Copy Chat Group + Add New Chat Group +
  + Copy Chat Group -
+
  - > -
  +
  + +
  - > -
  - > + +
  + 0) { ?> -
  - > +
  + -
-
  - > -
  +
  + +
  - > -
  - > + +
  + -
-
  - > -
  + +
  + +
  - > -
  + +
  - > +
> - SIZE=> +
> +
  - > -
  +
  + +
  - > -
  + +
  - > -
  - > + +
  +
> - SIZE=> +
> +
  - > -
  +
  + +
  - > -
  + +
  - > -
  + +
  - > +
> - SIZE=> +
> +
COLSPAN=2>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   - SIZE=>
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
>   - SIZE=>
>   +
> - SIZE=> +
> +
> - SIZE=> +
> +
> - SIZE=> + STYLE="font-family:HELVETICA;font-size:;color:">
  - > +
  - > +
  - > +
 
+
 
BGCOLOR=#D9E6FE> @@ -1701,107 +1873,107 @@ if ($SSenable_languages == '1')
>   >     | -    >     |     >     |     >
      | +        |         |    
  >  | - >  | >  | >  | >  | >
   | +  |  |  |  |
  >  | >
   |
  >  | >  | >  | >  | >  | >
   |   |   |   |   | 
  >   |   >   |   >   |   >
    |     |     |  
  >   |   >
    |  
  >   |   >
    |  
  >   |   >   |   >
    |     |  
  >   |     |   >
    |     |  
  >   |   >
    |  
  >   |   >   |   >   |   >   |   >   |   >
    |     |     |     |     |  
  >   |   >
    |  
  >   |   >   |   >   |   >   |   >  
    |     |     |     |    
  >   |   >   |   >  
    |     |    
  >   |   >
    |  
  >
 
  >   |   >
    |  
  >   |   >
    |  
  >   |   >
    |  
  >   |   >
    |  
  >   |   >   |   >
    |     |  
  >   |   >   |   >   |   >
    |     |     |  
>