|
|
| $strDailyUserState | "; echo "$strDailyUserNum | "; ?>$strDailyUserTitle | "; $fresh_user_num = showComma($thisWeekFresh); echo "$strDailyFresh | "; echo "$fresh_user_num | "; echo ""; echo "
| $strDailyUsing | "; echo "$normal_user_num | "; echo "
| $strDailySuspend | "; echo "$suspend_user_num | "; echo "
| $strBlackList | "; echo "$blacklist_user_num | "; echo "
| $strReleased | "; echo "$released_user_num | "; echo "
| OPR Trial | "; echo "$opr_trial_user_num | "; echo "
| $strTotal | "; echo "$total_user_num | "; echo "
| $strDailyCardFace | "; for($i=1;$i<=$face_value_type;$i++) { $ValueList="precard_facevalue".$i; $showValue=${"faceValue".$i}/$moneyPara; if($showValue == 0){ echo "-- | "; $arr_FaceValueList[$i] = 0; }else{ echo "($strValueCurrency"; echo "$showValue)"; echo " | "; $arr_FaceValueList[$i] = 1; } } ?>$strPrepaidCard | "; echo "Used | "; for($i=1;$i<=$face_value_type;$i++) { $precard_used_today="precard_used_today".$i; $precardUsed=showComma(${"thisWeekFaceValue".$i."Used"}); if($arr_FaceValueList[$i] == 1){ echo "$precardUsed | "; }else{ echo "-- | "; } } echo ""; echo "
| $strNotCharged | "; for($i=1;$i<$face_value_type+1;$i++) { $precard_unused="precard_unused".$i; $precardUnused=showComma(${"thisWeekFaceValue".$i."Unused"}); if($arr_FaceValueList[$i] == 1){ echo "$precardUnused | "; }else{ echo "-- | "; } } echo "
| $strDailyCallType | "; echo "$strDailyCallTimes | "; echo "$strDailyCallDuration | "; echo "$strDailyCallCharge | "; ?>
| $strDailyCallIncoming"; $incoming_call_nums = showComma($thisWeekIncomingCallNumber); $incoming_call_duration = showComma($thisWeekIncomingCallDuration); $incoming_call_charge = showComma(sprintf("$fmtBit",$thisWeekIncomingCallCharge/$moneyPara)); echo " | $incoming_call_nums | "; echo "$incoming_call_duration | "; echo "$incoming_call_charge | "; ?>
| $IDD_call_nums | "; echo "$IDD_call_duration | "; echo "$IDD_call_charge | "; ?>|
| $NDD_call_nums | "; echo "$NDD_call_duration | "; echo "$NDD_call_charge | "; ?>|
| $local_callout_nums | "; echo "$local_callout_duration | "; echo "$local_callout_charge | "; ?>|
| $short_message_nums | "; echo "$short_message_duration | "; echo "$short_message_charge | "; ?>|
| $short_message_nums | "; echo "$short_message_duration | "; echo "$short_message_charge | "; ?>|
| $conference_call_nums | "; echo "$conference_call_duration | "; echo "$conference_call_charge | "; ?>|
| $rent_charging_nums | "; echo "$rent_charging_duration | "; echo "$rent_charge | "; ?>|
| $ast_recharge_nums | "; echo "$ast_recharge_duration | "; echo "$ast_recharge | "; ?>|
| $ast_charge_nums | "; echo "$ast_charge_duration | "; echo "$ast_charge | "; ?>|
| $total_call_num | "; echo "$total_call_duration | "; echo "$total_call_charge | "; ?>
| Index | "; echo "USSD Code | "; echo "Session Num | "; echo "Session Duration | "; echo "Error Timeout | "; echo "Error System | "; echo "Error Message | "; echo "Average Duration | "; echo "TPS | "; ?>|||
| 1"; // $thisWeekTotalSessionNum[$i]+=$selRow['session_num_' . $i]; // $thisWeekTotalSessionDuration[$i]+=$selRow['session_duration_'. $i]; // $thisWeekTotalErrorTimeout[$i]+=$selRow['error_timeout_'. $i]; // $thisWeekTotalErrorSystem[$i]+=$selRow['error_system_'. $i]; // $thisWeekTotalErrorMessage[$i]+=$selRow['error_message_'. $i]; // $thisWeekTotalErrorReserve1[$i]+=$selRow['error_reserve_1_'. $i]; // $thisWeekTotalErrorReserve2[$i]+=$selRow['error_reserve_2_'. $i]; $average1 = $thisWeekTotalSessionNum[1] ? round($thisWeekTotalSessionDuration[1]/($thisWeekTotalSessionNum[1]), 2) : 0; $tps1 = round($thisWeekTotalSessionNum[1]/(3600*24), 2); echo " | $allUssdCodes[1] | "; echo "$thisWeekTotalSessionNum[1] | "; echo "$thisWeekTotalSessionDuration[1] | "; echo "$thisWeekTotalErrorTimeout[1] | "; echo "$thisWeekTotalErrorSystem[1] | "; echo "$thisWeekTotalErrorMessage[1] | "; echo "$average1 | "; echo "$tps1 | "; // echo "$incoming_call_nums | "; // echo "$incoming_call_duration | "; // echo "$incoming_call_charge | "; ?>$i | "; echo "{$allUssdCodes[$i]} | "; echo "{$thisWeekTotalSessionNum[$i]} | "; echo "{$thisWeekTotalSessionDuration[$i]} | "; echo "{$thisWeekTotalErrorTimeout[$i]} | "; echo "{$thisWeekTotalErrorSystem[$i]} | "; echo "{$thisWeekTotalErrorMessage[$i]} | "; echo "{$average} | "; echo "{$tps} | "; echo ""; } ?>
| "; echo " | SMS number | "; echo "SMS charged | "; echo "MMS send number | "; echo "MMS send charged | "; echo "MMS retrieve number | "; echo "MMS retrieve charged | "; echo "MMS email number | "; echo "MMS email number | "; echo "
| MMS statistic | "; echo "$thisWeekTotalSMSNumber | "; echo "$thisWeekTotalSMSCharged | "; echo "$thisWeekTotalMMSSendNumber | "; echo "$thisWeekTotalMMSSendCharged | "; echo "$thisWeekTotalMMSRetrieveNumber | "; echo "$thisWeekTotalMMSRetrieveCharged | "; echo "$thisWeekTotalMMSEmailNumber | "; echo "$thisWeekTotalMMSEmailCharged | "; echo "
| $strAccountLastWeekBalance | "; echo "$strAccountThisWeekRecharge | "; echo "$strAccountThisWeekBalance | "; echo "$strAccountThisWeekCharge | "; ?>
| $yesterday_balance | "; echo "$today_recharge | "; echo "$today_balance | "; echo "$today_charge | "; ?>