"; echo ""; echo ""; echo "$strThisPage"; echo ""; echo ""; showHelp($helpId); echo ""; echo ""; echo ""; ?>
">
Rent"; ?> "; for($i=0;$i<16;$i++){ $m=($i<10?"0":"").$i; if($m != $tariff_id){ echo ""; }else{ echo ""; } } echo ""; ?>
$strTariffRentID"; echo ""; echo ""; echo ""; echo ""; ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } else{ echo ""; echo ""; echo ""; echo ""; echo ""; $rows[rent_amount] = $rows[rent_amount]/$moneyPara; if($moneyPara < 10){ printf("", $rows[rent_amount]); } elseif($moneyPara < 100){ printf("", $rows[rent_amount]); } else{ printf("", $rows[rent_amount]); } } }while($rows=mysqli_fetch_array($result)); } ?>
$strDescription$strTariffRentChargeType$strTariffRentChargeDate$strTariffRentChargeAmount
$i--------
$i$rows[description]"; if($rows[rent_type]=='00'){ echo "$strTariffRentAccordingToDate"; }else{ echo "$strTariffRentAccordingToPeriod"; } echo ""; if($rows[rent_type]=='01'){ echo "$rows[charge_date]"; }else{ echo "--"; } echo "%5.0f%5.1f%5.2f
">
Service tariff"; ?> "; for($i=0;$i<16;$i++){ $m=($i<10?"0":"").$i; if($m != $tariff_id2){ echo ""; }else{ echo ""; } } echo ""; ?>
"; echo ""; echo ""; echo ""; echo ""; $arr_editfieldAmount = array("cf_charge_amount","roaming_charge_amount","cc_charge_amount","cug_charge_amount","fav_charge_amount","fav_change_charge"); $arr_editfieldUnit = array("cf_charge_unit","roaming_charge_unit","cc_charge_unit","cug_charge_unit","fav_charge_unit",""); $arr_description = array($strCallForwrd,$strRoaming,$strConferenceCall,$strCloseUserGroup,$strFav_call,$strFav_listedtion); $arr_amount = array($rows[cf_charge_amount],$rows[roaming_charge_amount],$rows[cc_charge_amount],$rows[cug_charge_amount],$rows[fav_charge_amount],$rows[fav_change_charge]); $arr_unit = array($rows[cf_charge_unit],$rows[roaming_charge_unit],$rows[cc_charge_unit],$rows[cug_charge_unit],$rows[fav_charge_unit],"----"); for ($i=0;$i<6;$i++){ echo ""; echo ""; if($moneyPara < 10){ printf("", $arr_amount[$i]/$moneyPara); } elseif($moneyPara < 100){ printf("", $arr_amount[$i]/$moneyPara); } else{ printf("", $arr_amount[$i]/$moneyPara); } echo ""; echo ""; echo $tariffID; } ?>
$strDescription$strTariffRentChargeAmount$strUnitChargingTimeSecond
$arr_description[$i]%5.0f%5.1f%5.2f $arr_unit[$i]
"; if( FALSE == isset($discount_id) ){ $discount_id = 00; } //select current discount id details from TABLE "pre_bill_discount" $selSql = "SELECT * FROM $tableName WHERE discount_id=$discount_id ORDER BY $order"; if($DEBUG) echo "selSql=$selSql
"; $selRes = mysqli_query($pubConn,$selSql); $selRows = mysqli_fetch_array($selRes); ?>
Discount"; ?> "; for($i=0;$i<16;$i++){ $m=($i<10?"0":"").$i; if($m != $discount_id){ echo ""; }else{ echo ""; } } echo ""; ?>
"; $hours=$selRows[hours]; if(strlen($hours) < 2) $hours='0'.$hours; if(strlen($hours+1) < 2){ $next_hours='0'.($hours+1); }else{ $next_hours=$hours+1; } $mon=change2point($selRows[mon]/100); $tue=change2point($selRows[tue]/100); $wed=change2point($selRows[wed]/100); $thu=change2point($selRows[thu]/100); $fri=change2point($selRows[fri]/100); $sat=change2point($selRows[sat]/100); $sun=change2point($selRows[sun]/100); $holiday=change2point($selRows[holiday]/100); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }while($selRows = @mysqli_fetch_array($selRes)); ?>
$hours:00:00 - $next_hours:00:00$mon$tue$wed$thu$fri$sat$sun$holiday
"; echo ""; echo ""; echo "
"; echo "Holiday"; echo "
"; echo ""; echo ""; echo ""; ?> "; $id=$rows[id]; $month=omc_keep_length($rows[month],0,2); $day=omc_keep_length($rows[day],0,2); $showDate=$month."-".$day; $rows[name]=$rows[name]?$rows[name]:'--'; echo ""; echo ""; echo ""; $i++; }while($rows=mysqli_fetch_array($result)); } ?>
(mm-dd)
$showDate$rows[name]