';
+
echo '';
- echo ''.$lang['srv_telephone_dashboard_all_respondents'].' ';
- echo ''.(int)$statusi_all.' ';
- echo '- ';
- echo '100% ';
+ echo ''.$lang['srv_statistic_metric'].' ';
+ echo ''.$lang['srv_statistic_answer_state_frequency'].' ';
+ echo ''.$lang['srv_statistic_answer_state_percent'].' ';
+ echo ' ';
+
+
+ echo '';
+ echo ''.$lang['srv_telephone_dashboard_all_respondents'].' ';
+ echo ''.(int)$statusi_all.' ';
+ echo '100% ';
echo ' ';
# poslano enotam
- echo '';
- echo ''.$lang['srv_telephone_dashboard_all_contacted'].' ';
- echo ''.(int)$contacted .' ';
- echo ''.((int)$contacted > 0 ? '100%' : '0%').' ';
- echo ''.Common::formatNumber(( (int)$contacted > 0 ? (int)$contacted*100/(int)$statusi_all : 0),0,'','%').' ';
+ echo ' ';
+ echo ''.$lang['srv_telephone_dashboard_all_contacted'].' ';
+ echo ''.(int)$contacted .' ';
+ //echo ''.((int)$contacted > 0 ? '100%' : '0%').' ';
+ echo ''.Common::formatNumber(( (int)$contacted > 0 ? (int)$contacted*100/(int)$statusi_all : 0),0,'','%').' ';
echo ' ';
foreach (array('R','Z','N','T','P','A','U','D') AS $st) {
if ((int)$statusi[$st] > 0) {
@@ -285,7 +292,7 @@ class SurveyTelephone {
echo '';
echo ''.$lang['srv_telephone_status_'.$st].' ';
echo ''.(int)$statusi[$st].' ';
- echo ''.Common::formatNumber(((int)$statusi[$st] > 0 ? (int)$statusi[$st]*100/(int)$contacted : 0),0,'','%').' ';
+ //echo ''.Common::formatNumber(((int)$statusi[$st] > 0 ? (int)$statusi[$st]*100/(int)$contacted : 0),0,'','%').' ';
echo ''.Common::formatNumber(((int)$statusi[$st] > 0 ? (int)$statusi[$st]*100/(int)$statusi_all : 0),0,'','%').' ';
echo ' ';
}
@@ -424,15 +431,14 @@ class SurveyTelephone {
// Sumarni pregled po anketarjih
- echo ' ';
echo ''.$lang['srv_telephone_dashboard_legend_anketar'].Help::display('srv_telefon_anketarji').': ';
echo '';
echo '
';
-
+
echo '';
- echo ''.$lang['srv_telephone_dashboard_all_contacted'].' ';
- echo ''.(int)$contacted .' ';
- echo ''.((int)$contacted > 0 ? '100%' : '0%').' ';
+ echo ''.$lang['srv_telephone_call_anketar'].' ';
+ echo ''.$lang['srv_statistic_answer_state_frequency'].' ';
+ echo ''.$lang['srv_statistic_answer_state_percent'].' ';
echo ' ';
# Loop cez vse anketarje
@@ -446,6 +452,12 @@ class SurveyTelephone {
echo '';
}
+ echo '';
+ echo ''.$lang['srv_telephone_dashboard_all_contacted'].' ';
+ echo ''.(int)$contacted .' ';
+ echo ''.((int)$contacted > 0 ? '100%' : '0%').' ';
+ echo ' ';
+
echo '
';
echo '
';
echo ' ';
@@ -578,8 +590,8 @@ class SurveyTelephone {
list($sysUserToAdd) = mysqli_fetch_row($sysUserToAddQuery);
}
- echo ''.$lang['srv_inv_recipiens_from_list'].' ';
- /*echo ''.$lang['srv_inv_recipiens_from_list'].' ';
+ /*echo ''.$lang['srv_inv_recipiens_from_list'].' ';
+ echo ''.$lang['srv_inv_recipiens_from_list'].' ';
echo ''.$lang['srv_inv_recipiens_from_file'].' ';
echo ''.$lang['srv_inv_recipiens_from_system']
.($sysUserToAdd > 0 ? ' ('.$sysUserToAdd.')' : '').' ';
@@ -591,7 +603,7 @@ class SurveyTelephone {
} else {
# sporočilo za personalizirana e-vabila in respondente iz baze
- echo ''.$lang['srv_inv_recipiens_field_note'].'
';
+ echo ''.$lang['srv_inv_recipiens_field_note'].'
';
echo '';
echo '
';
$field_lang = array();
@@ -620,11 +632,11 @@ class SurveyTelephone {
# iz seznama
echo '' ;
- echo '
'.$lang['srv_inv_recipiens_email_note'].'
';
+ echo '
'.$lang['srv_inv_recipiens_email_note'].'
';
echo '
'.$lang['srv_inv_recipiens_sample2'].'
';
echo '
'.$lang['srv_telephone_add_sample'].'
';
- echo '
'.$lang['srv_inv_recipiens_fields'].' ';
+ echo ''.$lang['srv_inv_recipiens_fields'].' ';
echo implode(',',$field_lang);
echo ' ';
@@ -718,7 +730,6 @@ class SurveyTelephone {
}
echo '';
echo '
';
- echo ' ';
if ((int)$ppid > 0) {
# polovimo še ostale porfile
$sql_string = "SELECT pid FROM srv_invitations_recipients_profiles WHERE pid='".(int)$ppid."' AND from_survey ='".$this->sid."' ";
@@ -728,11 +739,8 @@ class SurveyTelephone {
# če je iz iste ankete, potem lahko urejamo
echo ''.$lang['srv_inv_recipients_delete_profile'].' ';
echo ''.$lang['srv_inv_recipients_edit_profile'].' ';
- echo ' ';
}
}
-
- echo ' ';
}
function displayNavigation() {
@@ -795,10 +803,16 @@ class SurveyTelephone {
echo ''.$lang['srv_telephone_navi_add'].'
';
echo ' ';
+ echo '
';
+
+
echo '';
+
+ echo '
';
+
echo '';
}
else {
- echo $lang['srv_telephone_calling_list_empty'].' ';
+ echo $lang['srv_telephone_calling_list_empty'];
}
+ echo '';
}
// Seznam stevilk ki so v vrsti za klicanje
@@ -1371,8 +1386,9 @@ class SurveyTelephone {
echo '';
}
else {
- echo $lang['srv_telephone_waiting_list_empty'].' ';
+ echo $lang['srv_telephone_waiting_list_empty'];
}
+ echo '';
}
@@ -1557,8 +1573,8 @@ class SurveyTelephone {
// dodamo filtriranje
echo '';
- echo ' ';
- echo ''.$lang['srv_invitation_recipients_filter_button'].' ';
+ echo $lang['srv_invitation_recipients_filter'];
+ echo ' ';
echo '
';
echo '