\n";
@@ -22195,14 +22196,17 @@ if ($ADD==34)
else {$camp_listmix_color=$campaigns_color;}
echo "\n";
echo "| $campaign_id: | ";
- echo ""._QXZ("Basic View")." | ";
- echo " "._QXZ("Detail View")." | ";
+
+
+ echo " "._QXZ("Basic View")." | ";
+ echo " "._QXZ("Detail View")." | ";
+
if ($SSoutbound_autodial_active > 0)
{
- echo " "._QXZ("List Mix")." | ";
+ echo " "._QXZ("List Mix")." | ";
}
- echo " "._QXZ("Real-Time Screen")." | \n";
- echo " | \n";
+ echo " "._QXZ("Real-Time Screen")." | \n";
+ echo " | \n";
if ($SSoutbound_autodial_active < 1)
{
echo " | ";
@@ -33260,8 +33264,8 @@ if ($ADD=="0A")
{
echo "\n";
echo "";
- echo " "._QXZ("USER LISTINGS").": ";
- if (preg_match('/display_all/',$status))
+ echo " "._QXZ("USER LISTINGS").": ";
+ if (preg_match('/display_all/',$status))
{
$SQLstatus = '';
echo " "._QXZ("show only active users")."\n";
@@ -33334,7 +33338,7 @@ if ($ADD==10)
if (file_exists('options.php'))
{require('options.php');}
- echo " "._QXZ("CAMPAIGN LISTINGS").":\n";
+ echo " "._QXZ("CAMPAIGN LISTINGS").":\n";
if ( (preg_match('/display_active/',$status)) or ( (!preg_match('/display_all/',$status)) and ($active_only_default_campaigns > 0) ) )
{
$SQLstatus = 'Y';
@@ -33355,18 +33359,18 @@ if ($ADD==10)
echo "\n";
echo "";
- echo "| "._QXZ("CAMPAIGN ID")." | ";
- echo ""._QXZ("NAME")." | ";
- echo ""._QXZ("ACTIVE")." | ";
- echo ""._QXZ("GROUP")." | ";
+ echo ""._QXZ("CAMPAIGN ID")." | ";
+ echo ""._QXZ("NAME")." | ";
+ echo ""._QXZ("ACTIVE")." | ";
+ echo ""._QXZ("GROUP")." | ";
if ($SSoutbound_autodial_active > 0)
{
- echo ""._QXZ("DIAL METHOD")." | ";
- echo " "._QXZ("LEVEL")." | ";
- echo ""._QXZ("LEAD ORDER")." | ";
- echo ""._QXZ("DIAL STATUSES")." | ";
+ echo ""._QXZ("DIAL METHOD")." | ";
+ echo " "._QXZ("LEVEL")." | ";
+ echo ""._QXZ("LEAD ORDER")." | ";
+ echo ""._QXZ("DIAL STATUSES")." | ";
}
- echo ""._QXZ("MODIFY")." | \n";
+ echo ""._QXZ("MODIFY")." | \n";
$o=0; $p=0;
while ($campaigns_to_print > $o)
@@ -33437,7 +33441,7 @@ if ($ADD==100)
$rslt=mysql_to_mysqli($stmt, $link);
$lists_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("LIST LISTINGS").":\n";
+ echo " "._QXZ("LIST LISTINGS").":\n";
echo "\n";
echo "";
echo "| "._QXZ("LIST ID")." | ";
@@ -33528,7 +33532,7 @@ if ($ADD==1000)
$rslt=mysql_to_mysqli($stmt, $link);
$ingroups_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("INBOUND GROUP LISTINGS").":\n";
+ echo " "._QXZ("INBOUND GROUP LISTINGS").":\n";
echo "\n";
echo "";
echo "| "._QXZ("IN-GROUP")." | ";
@@ -33967,7 +33971,7 @@ if ($ADD==10000)
$rslt=mysql_to_mysqli($stmt, $link);
$remoteagents_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("REMOTE AGENTS LISTINGS").":\n";
+ echo " "._QXZ("REMOTE AGENTS LISTINGS").":\n";
echo "\n";
echo "";
echo "| "._QXZ("USER")." | ";
@@ -34061,7 +34065,7 @@ if ($ADD==100000)
$rslt=mysql_to_mysqli($stmt, $link);
$usergroups_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("USER GROUPS LISTINGS").":\n";
+ echo " "._QXZ("USER GROUPS LISTINGS").":\n";
echo "\n";
echo "";
echo "| "._QXZ("USER GROUP")." | ";
@@ -34100,7 +34104,7 @@ if ($ADD==1000000)
$rslt=mysql_to_mysqli($stmt, $link);
$scripts_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("SCRIPTS LISTINGS").":\n";
+ echo " "._QXZ("SCRIPTS LISTINGS").":\n";
echo "\n";
echo "";
echo "| "._QXZ("SCRIPT ID")." | ";
@@ -34143,7 +34147,7 @@ if ($ADD==10000000)
$rslt=mysql_to_mysqli($stmt, $link);
$filters_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("LEAD FILTER LISTINGS").":\n";
+ echo " "._QXZ("LEAD FILTER LISTINGS").":\n";
echo "\n";
echo "";
echo "| "._QXZ("FILTER ID")." | ";
@@ -35090,7 +35094,7 @@ if (($ADD==100000000000000) && ($qc_auth=='1'))
$rslt=mysql_to_mysqli($stmt, $link);
$vicidialconf_to_print = mysqli_num_rows($rslt);
- echo " "._QXZ("VICIDIAL QUALITY LISTINGS").":\n";
+ echo " "._QXZ("Quality Control Listings").":\n";
echo "\n";
echo "";
echo "| "._QXZ("CAMPAIGN ID")." | ";
@@ -35780,7 +35784,9 @@ if ($ADD==999999)
-
+
+
+ ()
|
|
@@ -36145,7 +36151,7 @@ if ($ADD==999998)
-
+
";
- echo "\n";
- echo "";
- echo "| "._QXZ("System Summary").": | ";
- echo " ";
-
$stmt="SELECT closer_campaigns from vicidial_campaigns;";
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
@@ -36783,34 +36782,50 @@ if ($ADD==999990)
}
}
- echo "";
- echo "| "._QXZ("Agents Logged In")." | ";
- echo " "._QXZ("Agents In Calls")." | ";
- echo " "._QXZ("Active Calls")." | ";
- echo " "._QXZ("Calls Ringing")." | ";
- echo " ";
- echo "";
- echo "| $agent_total | ";
- echo " $agent_incall | ";
- echo " $active_calls | ";
- echo " $ringing_calls | ";
- echo " ";
+ $section_width=700;
+ echo " ";
+ echo "";
+ echo "\n";
echo "";
- echo "| | "; # Padding
+ echo " | ";
+ echo ""._QXZ("Agents Logged In")." | ";
+ echo " | ";
+ echo " | ";
+ echo ""._QXZ("Agents In Calls")." | ";
+ echo " | ";
+ echo " | ";
+ echo ""._QXZ("Active Calls")." | ";
+ echo " | ";
+ echo " | ";
+ echo ""._QXZ("Calls Ringing")." | ";
+ echo " ";
+ echo "";
+ echo "| $agent_total | ";
+ echo "$agent_incall | ";
+ echo "$agent_incall | ";
+ echo "$ringing_calls | ";
+ echo " ";
+ echo " ";
+ echo "
";
+
+
+ echo "\n";
+ echo "";
+ echo "| "._QXZ("System Summary").": | ";
echo " ";
echo "";
- echo "| "._QXZ("Records")." | ";
- echo " "._QXZ("Active")." | ";
- echo " "._QXZ("Inactive")." | ";
- echo " "._QXZ("Total")." | ";
+ echo " "._QXZ("Records")." | ";
+ echo " "._QXZ("Active")." | ";
+ echo " "._QXZ("Inactive")." | ";
+ echo " "._QXZ("Total")." | ";
echo " ";
- echo "| "._QXZ("Users").": | ".($users["Y"]+0)." | ".($users["N"]+0)." | ".($users["Y"]+$users["N"]+0)." | \n";
- echo "| "._QXZ("Campaigns").": | ".($campaigns["Y"]+0)." | ".($campaigns["N"]+0)." | ".($campaigns["Y"]+$campaigns["N"]+0)." | \n";
- echo "| "._QXZ("Lists").": | ".($lists["Y"]+0)." | ".($lists["N"]+0)." | ".($lists["Y"]+$lists["N"]+0)." | \n";
- echo "| "._QXZ("In-Groups").": | ".($ingroups["Y"]+0)." | ".($ingroups["N"]+0)." | ".($ingroups["Y"]+$ingroups["N"]+0)." | \n";
- echo "| "._QXZ("DIDs").": | ".($dids["Y"]+0)." | ".($dids["N"]+0)." | ".($dids["Y"]+$dids["N"]+0)." | \n";
+ echo "| "._QXZ("Users").": | ".($users["Y"]+0)." | ".($users["N"]+0)." | ".($users["Y"]+$users["N"]+0)." | \n";
+ echo "| "._QXZ("Campaigns").": | ".($campaigns["Y"]+0)." | ".($campaigns["N"]+0)." | ".($campaigns["Y"]+$campaigns["N"]+0)." | \n";
+ echo "| "._QXZ("Lists").": | ".($lists["Y"]+0)." | ".($lists["N"]+0)." | ".($lists["Y"]+$lists["N"]+0)." | \n";
+ echo "| "._QXZ("In-Groups").": | ".($ingroups["Y"]+0)." | ".($ingroups["N"]+0)." | ".($ingroups["Y"]+$ingroups["N"]+0)." | \n";
+ echo "| "._QXZ("DIDs").": | ".($dids["Y"]+0)." | ".($dids["N"]+0)." | ".($dids["Y"]+$dids["N"]+0)." | \n";
// New voicemailbox code
$stmt="(SELECT voicemail_id,count(*),messages,old_messages,'vm','vm' from vicidial_voicemail where on_login_report='Y' $LOGadmin_viewable_groupsSQL group by voicemail_id) UNION (SELECT voicemail_id,count(*),messages,old_messages,extension,server_ip from phones where on_login_report='Y' $LOGadmin_viewable_groupsSQL group by voicemail_id) order by voicemail_id;";
@@ -36822,10 +36837,10 @@ if ($ADD==999990)
echo " | "; # Padding
echo "";
echo "";
- echo "| Voicemail Box | \n";
- echo " New | \n";
- echo " Old | \n";
- echo " Total | \n";
+ echo " Voicemail Box | \n";
+ echo " New | \n";
+ echo " Old | \n";
+ echo " Total | \n";
echo " \n";
while($row=mysqli_fetch_array($rslt))
@@ -36833,11 +36848,11 @@ if ($ADD==999990)
echo "\n";
if ($row[4] == 'vm')
{
- echo "| $row[0]: | \n";
+ echo "$row[0]: | \n";
}
else
{
- echo "$row[0]: | \n";
+ echo "$row[0]: | \n";
}
echo "$row[2] | \n";
echo "$row[3] | \n";
@@ -36874,7 +36889,7 @@ if ($ADD==999990)
$rslt=mysql_to_mysqli($stmt, $link);
echo "\n";
echo "";
- echo "| "._QXZ("Total Stats for Today").": | ";
+ echo ""._QXZ("Total Stats for Today").": | ";
echo "["._QXZ("view max stats")."] | ";
echo " ";
echo "";
@@ -36923,7 +36938,7 @@ if ($ADD==999990)
echo "\n";
echo "";
- echo "| "._QXZ("Total Stats for Yesterday").": | ";
+ echo ""._QXZ("Total Stats for Yesterday").": | ";
echo "["._QXZ("view max stats")."] | ";
echo " ";
echo "";
diff --git a/agc_2-X/trunk/www/vicidial/admin_header.php b/agc_2-X/trunk/www/vicidial/admin_header.php
index 1400212d..ad9d2103 100644
--- a/agc_2-X/trunk/www/vicidial/admin_header.php
+++ b/agc_2-X/trunk/www/vicidial/admin_header.php
@@ -58,9 +58,125 @@
# 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
+# 160327-0146 - Changes to design
#
+##### BEGIN populate dynamic header content #####
+if ($hh=='users')
+ {
+ $users_hh="CLASS=\"head_style_selected\""; $users_fc="$users_font"; $users_bold="$header_selected_bold";
+ $users_icon=" ";
+ }
+else
+ {
+ $users_hh="CLASS=\"head_style\""; $users_fc='WHITE'; $users_bold="$header_nonselected_bold";
+ $users_icon=" ";
+ }
+if ($hh=='campaigns')
+ {
+ $campaigns_hh="CLASS=\"head_style_selected\""; $campaigns_fc="$campaigns_font"; $campaigns_bold="$header_selected_bold";
+ $campaigns_icon=" ";
+ }
+else
+ {
+ $campaigns_hh="CLASS=\"head_style\""; $campaigns_fc='WHITE'; $campaigns_bold="$header_nonselected_bold";
+ $campaigns_icon=" ";
+ }
+if ($hh=='lists')
+ {
+ $lists_hh="CLASS=\"head_style_selected\""; $lists_fc="$lists_font"; $lists_bold="$header_selected_bold";
+ $lists_icon=" ";
+ }
+else
+ {
+ $lists_hh="CLASS=\"head_style\""; $lists_fc='WHITE'; $lists_bold="$header_nonselected_bold";
+ $lists_icon=" ";
+ }
+if ($hh=='ingroups')
+ {
+ $ingroups_hh="CLASS=\"head_style_selected\""; $ingroups_fc="$ingroups_font"; $ingroups_bold="$header_selected_bold";
+ $inbound_icon=" ";
+ }
+else
+ {
+ $ingroups_hh="CLASS=\"head_style\""; $ingroups_fc='WHITE'; $ingroups_bold="$header_nonselected_bold";
+ $inbound_icon=" ";
+ }
+if ($hh=='remoteagent')
+ {
+ $remoteagent_hh="CLASS=\"head_style_selected\""; $remoteagent_fc="$remoteagent_font"; $remoteagent_bold="$header_selected_bold";
+ $remoteagents_icon=" ";
+ }
+else
+ {
+ $remoteagent_hh="CLASS=\"head_style\""; $remoteagent_fc='WHITE'; $remoteagent_bold="$header_nonselected_bold";
+ $remoteagents_icon=" ";
+ }
+if ($hh=='usergroups')
+ {
+ $usergroups_hh="CLASS=\"head_style_selected\""; $usergroups_fc="$usergroups_font"; $usergroups_bold="$header_selected_bold";
+ $usergroups_icon=" ";
+ }
+else
+ {
+ $usergroups_hh="CLASS=\"head_style\""; $usergroups_fc='WHITE'; $usergroups_bold="$header_nonselected_bold";
+ $usergroups_icon=" ";
+ }
+if ($hh=='scripts')
+ {
+ $scripts_hh="CLASS=\"head_style_selected\""; $scripts_fc="$scripts_font"; $scripts_bold="$header_selected_bold";
+ $scripts_icon=" ";
+ }
+else
+ {
+ $scripts_hh="CLASS=\"head_style\""; $scripts_fc='WHITE'; $scripts_bold="$header_nonselected_bold";
+ $scripts_icon=" ";
+ }
+if ($hh=='filters')
+ {
+ $filters_hh="CLASS=\"head_style_selected\""; $filters_fc="$filters_font"; $filters_bold="$header_selected_bold";
+ $filters_icon=" ";
+ }
+else
+ {
+ $filters_hh="CLASS=\"head_style\""; $filters_fc='WHITE'; $filters_bold="$header_nonselected_bold";
+ $filters_icon=" ";
+ }
+if ($hh=='admin')
+ {
+ $admin_hh="CLASS=\"head_style_selected\""; $admin_fc="$admin_font"; $admin_bold="$header_selected_bold";
+ $admin_icon=" ";
+ }
+else
+ {
+ $admin_hh="CLASS=\"head_style\""; $admin_fc='WHITE'; $admin_bold="$header_nonselected_bold";
+ $admin_icon=" ";
+ }
+if ($hh=='reports')
+ {
+ $reports_hh="CLASS=\"head_style_selected\""; $reports_fc="$reports_font"; $reports_bold="$header_selected_bold";
+ $reports_icon=" ";
+ }
+else
+ {
+ $reports_hh="CLASS=\"head_style\""; $reports_fc='WHITE'; $reports_bold="$header_nonselected_bold";
+ $reports_icon=" ";
+ }
+if ($hh=='qc')
+ {
+ $qc_hh="CLASS=\"head_style_selected\""; $qc_fc="$qc_font"; $qc_bold="$header_selected_bold";
+ $qc_icon=" ";
+ }
+else
+ {
+ $qc_hh="CLASS=\"head_style\""; $qc_fc='WHITE'; $qc_bold="$header_nonselected_bold";
+ $qc_icon=" ";
+ }
+##### END populate dynamic header content #####
+
+
+
######################### SMALL HTML HEADER BEGIN #######################################
if($short_header)
{
@@ -71,26 +187,26 @@ if($short_header)
if ( ($reports_only_user < 1) and ($qc_only_user < 1) )
{
?>
- |
- |
+ |
+ |
+ |
- |
+ |
- |
- |
- |
- |
- |
- |
- |
- |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
@@ -123,46 +239,6 @@ if($short_header)
######################### FULL HTML HEADER BEGIN #######################################
else
{
-if ($hh=='users')
- {$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="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="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="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="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="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="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="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="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="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="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";
border-bottom: 1px solid #9E9E9E;
font-size: 1px;
}
+
+.sub_sub_head_links
+ {
+ font-family:HELVETICA;
+ font-size:11;
+ color:BLACK;
+ {
-->
@@ -1182,10 +1265,16 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if ( ($reports_only_user < 1) and ($qc_only_user < 1) )
{
?>
+
+ |
+ | >
+
+ |
+
|
| WIDTH=160>
-
+
|
|
| >
-
+
|
|
- | > |
+ | > |
|
| >
-
+
|
|
| >
-
+
|
|
- | > |
+ | > |
|
| >
-
+
|
|
| >
-
+
|
|
| >
-
+
|
|
| >
-
+
|
-
- |
- | >
-
- |
-
|
| >
-
+
|
|
| >
- STYLE="font-family:HELVETICA;font-size:;color:">
+
|
HEIGHT=15>
- | | | ()
+ | | | ()
"._QXZ("Change language")."";
+ echo " | "._QXZ("Change language")."";
}
?>
@@ -1875,99 +1957,99 @@ if ($SSenable_languages == '1')
25) and (strlen($campaigns_hh) > 25) ) {
?>
- >| |
- | | |
+ >| |
+ | | |
25) {
?>
- >| |
- | | | | |
+ >| |
+ | | | | |
25) {
?>
- >| | |
+ >| | |
25) {
?>
- >| | | | | | |
+ >| | | | | | |
25) {
?>
- >| | | | |
+ >| | | | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | |
+ >| | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | |
+ >| | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | | |
+ >| | | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | | |
+ >| | | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | |
+ >| | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | | | | | |
+ >| | | | | | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | |
+ >| | |
25) and (strlen($admin_hh) > 25) and ($SSenable_languages > 0) ) {
?>
- >| | | | | |
+ >| | | | | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | | |
+ >| | | |
25) and (strlen($admin_hh) > 25) ) {
?>
- >| | |
+ >| | |
25) {
?>
- >| |
+ >| |
25) {
?>
- >| | |
+ >| | |
25) {
?>
- >| | |
+ >| | |
25) {
?>
- >| | |
+ >| | |
25) {
?>
- >| | |
+ >| | |
25) and (!preg_match('/campaign|user/i',$hh) ) ) {
?>
- >| | | |
+ >| | | |
- >| | | | |
+ >| | | | |
| | |
|
|
|