|
&endDay= ">
|
|
| $strDailyUserState | "; echo "$strDailyUserNum | "; ?>$strDailyUserTitle | "; $fresh_user_num = showComma($thisMonthFresh); 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++) { $showValue=${"faceValue".$i}/$moneyPara; if($showValue == 0){ echo "-- | "; $arr_FaceValueList[$i] = 0; }else{ echo "($strValueCurrency"; echo "$showValue)"; echo " | "; $arr_FaceValueList[$i] = 1; } } ?>$strPrepaidCard | "; // echo "$strThisMonthCharged | "; echo "Used | "; for($i=1;$i<=$face_value_type;$i++) { $precardUsed=showComma(${"thisMonthFaceValue".$i."Used"}); if($arr_FaceValueList[$i] == 1){ echo "$precardUsed | "; }else{ echo "-- | "; } } echo ""; echo "
| $strNotCharged | "; for($i=1;$i<$face_value_type+1;$i++) { $precardUnused=showComma(${"thisMonthFaceValue".$i."Unused"}); if($arr_FaceValueList[$i] == 1){ echo "$precardUnused | "; }else{ echo "-- | "; } } echo "
| $strDailyCallType | "; echo "$strDailyCallTimes | "; echo "$strDailyCallDuration | "; echo "$strDailyCallCharge | "; ?>
| $strDailyCallIncoming"; $incoming_call_nums = showComma($thisMonthIncomingCallNumber); $incoming_call_duration = showComma($thisMonthIncomingCallDuration); $incoming_call_charge = showComma(sprintf("$fmtBit",$thisMonthIncomingCallCharge/$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"; // $thisMonthTotalSessionNum[$i]+=$selRow['session_num_' . $i]; // $thisMonthTotalSessionDuration[$i]+=$selRow['session_duration_'. $i]; // $thisMonthTotalErrorTimeout[$i]+=$selRow['error_timeout_'. $i]; // $thisMonthTotalErrorSystem[$i]+=$selRow['error_system_'. $i]; // $thisMonthTotalErrorMessage[$i]+=$selRow['error_message_'. $i]; // $thisMonthTotalErrorReserve1[$i]+=$selRow['error_reserve_1_'. $i]; // $thisMonthTotalErrorReserve2[$i]+=$selRow['error_reserve_2_'. $i]; $average1 = $thisMonthTotalSessionNum[1] ? round($thisMonthTotalSessionDuration[1]/($thisMonthTotalSessionNum[1]), 2) : 0; $tps1 = round($thisMonthTotalSessionNum[1]/(3600*24), 2); echo " | $allUssdCodes[1] | "; echo "$thisMonthTotalSessionNum[1] | "; echo "$thisMonthTotalSessionDuration[1] | "; echo "$thisMonthTotalErrorTimeout[1] | "; echo "$thisMonthTotalErrorSystem[1] | "; echo "$thisMonthTotalErrorMessage[1] | "; echo "$average1 | "; echo "$tps1 | "; // echo "$incoming_call_nums | "; // echo "$incoming_call_duration | "; // echo "$incoming_call_charge | "; ?>$i | "; echo "{$allUssdCodes[$i]} | "; echo "{$thisMonthTotalSessionNum[$i]} | "; echo "{$thisMonthTotalSessionDuration[$i]} | "; echo "{$thisMonthTotalErrorTimeout[$i]} | "; echo "{$thisMonthTotalErrorSystem[$i]} | "; echo "{$thisMonthTotalErrorMessage[$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 "$thisMonthTotalSMSNumber | "; echo "$thisMonthTotalSMSCharged | "; echo "$thisMonthTotalMMSSendNumber | "; echo "$thisMonthTotalMMSSendCharged | "; echo "$thisMonthTotalMMSRetrieveNumber | "; echo "$thisMonthTotalMMSRetrieveCharged | "; echo "$thisMonthTotalMMSEmailNumber | "; echo "$thisMonthTotalMMSEmailCharged | "; echo "
| $strAccountLastMonthBalance | "; echo "$strAccountThisMonthRecharge | "; echo "$strAccountThisMonthBalance | "; echo "$strAccountThisMonthCharge | "; ?>
| $yesterday_balance | "; echo "$today_recharge | "; echo "$today_balance | "; echo "$today_charge | "; ?>