LICENSE: AGPLv2 # # CHANGES # 90310-0709 - First Build # 90508-0542 - Added Call Menu option, changed script to use long PHP tags # 90514-0605 - Added audio prompt selection functions # 90530-1206 - Changed List Mix to allow for 40 mixes and a default populate option # 90531-2339 - Added Dynamic options for Call Menu # 90612-0852 - Changed relative links # 90635-0943 - Added javascript for dynamic menus in In-Groups # 90627-0548 - Added no-agent-no-queue options # 90628-1016 - Added Text-to-speech options # 90830-2213 - Added Music On Hold options # 90904-1534 - Added launch_moh_chooser # 90916-2334 - Added Voicemail options # 91223-1030 - Added VIDPROMPT options for in-group routing in Call Menus # 100311-2210 - Added callcard_enabled Admin element # 100428-1039 - Added custom fields display # 100507-1339 - Added copy carrier submenu # 100616-2350 - Added VIDPROMPT call menu options # 100728-0904 - Changed Lead Loader link to the new 3rd gen lead loader # 100802-2127 - Changed Admin to point to links page instead of Phones listings # 100831-2255 - Added password strength checking function # 100914-1311 - Removed other links for reports-only users # 101022-1323 - Added IGU_selectall function # 101107-1133 - Added auto-refresh code # 110215-1720 - Added the Add a new lead link # 110322-1228 - Added user ID logged in as next to Logout link # 110624-1439 - Added Screen Labels sub-section to Admin # 110831-2048 - Added AC-CID to campaign submenu # 110922-1707 - Added RA-EXTEN to campaign submenu # 111015-2305 - Added Contacts menu to Admin # 111106-0939 - Changes for user group restrictions # 111116-0208 - Added ALT and ADDR3 in-group handle methods # 120402-2134 - Changed lead loader link to fourth gen # 121116-1412 - Added QC functionality # 121123-0911 - Added Call Times Holidays Inbound functionality # 121214-2238 - Added email menus # 130221-1830 - Added Level 8 disable add option # 130610-1040 - Finalized changing of all ereg instances to preg # 130615-2314 - Changed Reports only and QC only headers # 130824-2324 - Changed to mysqli PHP functions # 140126-1022 - Added VMAIL_NO_INST option # 140706-0828 - Incorporated QC includes into code # 141001-2200 - Finalized adding QXZ translation to all admin files # 141128-1009 - Added code for languages section # 141230-0927 - Changed single-quote QXZ arguments to double-quotes # 150227-1614 - Formatting issue #831 # 150307-0915 - Fixes for QXZ # 150806-1023 - Added code for Admin -> Settings Containers # 150808-2043 - Added compatibility for custom fields data option # 151020-0654 - Added Status Groups # ######################### SMALL HTML HEADER BEGIN ####################################### if($short_header) { ?> 0) { ?>
System logo                                                          
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";} } 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";} 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";} 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";} 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";} 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";} } 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";} 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";} 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";} echo "\n"; echo "\n"; ##### BEGIN - bar chart CSS style ##### ?> \n"; if ( ($SSadmin_modify_refresh > 1) and (preg_match("/^3|^4/",$ADD)) ) { echo "\n"; } else { echo "\n"; } echo "\n"; $stmt="SELECT admin_home_url,enable_tts_integration,callcard_enabled,custom_fields_enabled,allow_emails,level_8_disable_add,allow_chats,enable_languages from system_settings;"; $rslt=mysql_to_mysqli($stmt, $link); $row=mysqli_fetch_row($rslt); $admin_home_url_LU = $row[0]; $SSenable_tts_integration = $row[1]; $SScallcard_enabled = $row[2]; $SScustom_fields_enabled = $row[3]; $SSemail_enabled = $row[4]; $SSlevel_8_disable_add = $row[5]; $SSchat_enabled = $row[6]; $SSenable_languages = $row[7]; ?>
System logo
1) { ?> >>>>>>> 0) or ($user_territories_active > 0) ) { ?> > 1) { 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';} ?> > > > 0) { ?> > > > > > 0) { ?> > 0) { ?> 1) { if ($LOGdelete_from_dnc > 0) {$DNClink = _QXZ("Add-Delete DNC Number");} else {$DNClink = _QXZ("Add DNC Number");} ?> >>>>>>>> 1) { ?> > > > 1) { ?> >> 0) { ?> 1) { ?> >> 1) { if ($LOGdelete_from_dnc > 0) {$FPGlink = _QXZ("Add-Delete FPG Number");} else {$FPGlink = _QXZ("Add FPG Number");} ?> >>>>>>>>>>>>>>>>>>> 1) { ?> >>>> 1) { ?> >>>> 1) { 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';} ?> > >>>>>>>>>>> 0) { ?> > 0) or ($SSsounds_central_control_active > 0) ) { ?> >> 0) { ?> >> 0) { ?> > 0) { ?> > 0) { ?> >> 0) { ?> 1) { ?> > > >
WIDTH=160> SIZE=>
  >
  >
  >
  >
  >
  >
  >
  >
> SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
>   SIZE=>
> SIZE=>
  >
  >
  >
  >
  >
  > 0) { $admin_lists_custom = 'admin_lists_custom.php'; if (preg_match("/cf_encrypt/",$SSactive_modules)) {$admin_lists_custom = 'admin_lists_custom_encrypt.php';} ?>
  >
  >
> SIZE=>
  >
  >
  >
> SIZE=>
  >
  >
> SIZE=>
  >
  >
> SIZE=>
  >
  >
  >
0) { ?>
  >
  >
  >
0) { ?>
  > Show Chat Groups
  > 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=>
  >
  >
  >
 
BGCOLOR=#D9E6FE> HEIGHT=15> 1) { ?> > 1) { ?> > 1) { ?> > 1) { ?> > 1) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) and ($SSenable_languages > 0) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) and (strlen($admin_hh) > 1) ) { ?> > 1) { ?> > 1) { ?> > 1) { ?> > 1) { ?> > 1) { ?> > 1) and (!preg_match('/campaign/i',$hh) ) ) { ?> >> 1) { ?> >
| | () "._QXZ("Change language").""; } ?>  
>   >     |     >     |     >     |     >
  >  | >  | >  | >  | >  | >
  >  | >
  >  | >  | >  | >  | >  | >
  >   |   >   |   >   |   >
  >   |   >
  >   |   >
  >   |   >   |   >
  >   |     |   >
  >   |   >
  >   |   >   |   >   |   >   |   >   |   >
  >   |   >
  >   |   >   |   >   |   >   |   >  
  >   |   >   |   >  
  >   |   >
  >
  >   |   >
  >   |   >
  >   |   >
  >   |   >
  >   |   >   |   >
  >   |   >   |   >   |   >
>