init web ems all
This commit is contained in:
768
wxc2_omc/account/tariffPlan/def_bill_discount
Executable file
768
wxc2_omc/account/tariffPlan/def_bill_discount
Executable file
@@ -0,0 +1,768 @@
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '00', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '01', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '02', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '03', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '04', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '05', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '06', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '07', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '08', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '09', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '10', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '11', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '12', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '13', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '14', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '15', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '16', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '17', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '18', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '19', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '20', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '21', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '22', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '23', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '24', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '25', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '26', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '27', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '28', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '29', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '30', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '0', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '1', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '2', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '3', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '4', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '5', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '6', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '7', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '8', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '9', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '10', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '11', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '12', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '13', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '14', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '15', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '16', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '17', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '18', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '19', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '20', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '21', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '22', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
INSERT INTO PPS_DB.pre_bill_discount VALUES ( '31', '23', '100', '100', '100', '100', '100', '100', '100', '100');
|
||||
3200
wxc2_omc/account/tariffPlan/def_bill_sms
Executable file
3200
wxc2_omc/account/tariffPlan/def_bill_sms
Executable file
File diff suppressed because it is too large
Load Diff
64
wxc2_omc/account/tariffPlan/def_comm_tariff
Executable file
64
wxc2_omc/account/tariffPlan/def_comm_tariff
Executable file
@@ -0,0 +1,64 @@
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '5', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '8', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '9', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '11', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '12', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '13', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '14', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '15', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '16', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '17', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '18', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '19', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '20', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '21', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '22', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '23', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '24', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '25', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '26', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '27', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '28', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '29', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '30', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '31', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '32', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '33', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '34', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '35', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '36', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '37', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '38', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '39', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '40', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '41', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '42', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '43', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '44', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '45', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '46', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '47', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '48', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '49', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '50', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '51', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '52', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '53', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '54', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '55', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '56', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '57', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '58', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '59', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '60', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '61', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '62', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_comm_tariff VALUES ( '63', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
64
wxc2_omc/account/tariffPlan/def_gprs_tariff
Executable file
64
wxc2_omc/account/tariffPlan/def_gprs_tariff
Executable file
@@ -0,0 +1,64 @@
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '0', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '1', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '2', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '3', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '4', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '5', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '6', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '7', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '8', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '9', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '10', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '11', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '12', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '13', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '14', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '15', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '16', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '17', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '18', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '19', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '20', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '21', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '22', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '23', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '24', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '25', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '26', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '27', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '28', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '29', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '30', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '31', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '32', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '33', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '34', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '35', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '36', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '37', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '38', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '39', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '40', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '41', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '42', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '43', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '44', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '45', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '46', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '47', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '48', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '49', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '50', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '51', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '52', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '53', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '54', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '55', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '56', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '57', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '58', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '59', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '60', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '61', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '62', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_gprs_tariff VALUES ( '63', '1', '0.0.0.0', '0', '0', '0', '0', '0', '0');
|
||||
64
wxc2_omc/account/tariffPlan/def_mt_tariff
Executable file
64
wxc2_omc/account/tariffPlan/def_mt_tariff
Executable file
@@ -0,0 +1,64 @@
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '00', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '01', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '02', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '03', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '04', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '05', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '06', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '07', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '08', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '09', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '10', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '11', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '12', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '13', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '14', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '15', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '16', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '17', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '18', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '19', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '20', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '21', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '22', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '23', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '24', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '25', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '26', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '27', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '28', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '29', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '30', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '31', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '32', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '33', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '34', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '35', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '36', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '37', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '38', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '39', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '40', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '41', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '42', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '43', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '44', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '45', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '46', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '47', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '48', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '49', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '50', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '51', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '52', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '53', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '54', '4', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '55', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '56', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '57', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '58', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '59', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '60', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '61', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '62', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_mt_tariff VALUES ( '', 'Default', '63', '0', '00', '0', '60', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
|
||||
512
wxc2_omc/account/tariffPlan/def_rent
Executable file
512
wxc2_omc/account/tariffPlan/def_rent
Executable file
@@ -0,0 +1,512 @@
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '02', 'aaa', '00', '00', '1');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '0', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '1', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '2', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '3', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '4', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '5', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '6', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '7', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '8', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '9', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '10', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '11', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '12', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '13', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '14', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '15', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '16', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '17', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '18', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '19', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '20', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '21', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '22', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '23', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '24', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '25', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '26', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '27', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '28', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '29', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '30', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '31', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '32', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '33', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '34', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '35', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '36', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '37', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '38', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '39', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '40', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '41', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '42', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '43', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '44', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '45', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '46', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '47', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '48', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '49', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '50', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '51', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '52', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '53', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '54', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '55', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '56', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '57', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '58', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '59', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '60', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '61', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '62', '08', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '01', 'VMS', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '02', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '03', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '04', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '05', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '06', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '07', '', '00', '00', '0');
|
||||
INSERT INTO PPS_DB.pre_rent VALUES ( '63', '08', '', '00', '00', '0');
|
||||
221
wxc2_omc/account/tariffPlan/gprsEdit.php
Executable file
221
wxc2_omc/account/tariffPlan/gprsEdit.php
Executable file
@@ -0,0 +1,221 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>Ķ<DEB8><C4B6><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?record_id=".$_REQUEST['record_id']."&mode=".$_REQUEST['mode']; ?>" method="POST">
|
||||
|
||||
<?php
|
||||
$DEBUG =0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$ppsDb ='PPS_DB';
|
||||
$id=$_REQUEST['id'];
|
||||
|
||||
$record_id=$_REQUEST['record_id'];
|
||||
$tariffID=$_REQUEST['tariffID'];
|
||||
$tariff_id=$_REQUEST['tariff_id'];
|
||||
$mode=$_REQUEST['mode'];
|
||||
|
||||
|
||||
$dest_ip=$_REQUEST['dest_ip'];
|
||||
$charge_unit=$_REQUEST['charge_unit'];
|
||||
$basic_fee=$_REQUEST['basic_fee'];
|
||||
$min_charge_unit=$_REQUEST['min_charge_unit'];
|
||||
$initial_adjustment=$_REQUEST['initial_adjustment'];
|
||||
$cap_flag=$_REQUEST['cap_flag'];
|
||||
$discount_id=$_REQUEST['discount_id'];
|
||||
$min_charge_unit=$_REQUEST['min_charge_unit'];
|
||||
|
||||
global $OMC_server;
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$tableName ='pre_gprs_tariff';
|
||||
$listPageURL = "tariffBasic.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace."Tariff plan".$strTitleSpace."GPRS";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add GPRS";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit GPRS";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>record_id=$record_id";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
|
||||
if(strlen($_POST['set']) > 0){
|
||||
if ($mode == "edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET dest_ip= '$dest_ip',
|
||||
charge_unit= '$charge_unit',
|
||||
basic_fee= '$basic_fee',
|
||||
min_charge_unit= '$min_charge_unit',
|
||||
initial_adjustment = '$initial_adjustment',
|
||||
cap_flag = '$cap_flag',
|
||||
discount_id = '$discount_id'
|
||||
WHERE record_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getEditSql="SELECT record_id,dest_ip,charge_unit,basic_fee,min_charge_unit,initial_adjustment,cap_flag,discount_id,tariff_id
|
||||
FROM $tableName
|
||||
WHERE record_id='$record_id' AND tariff_id='$tariffID'";
|
||||
//if($DEBUG) echo "<br>$getEditSql";
|
||||
$resultEdit= @mysqli_query($srcDataConn,$getEditSql);
|
||||
$rows= @mysqli_fetch_array($resultEdit);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
/*
|
||||
$getAddSql="SELECT id FROM $tableName";
|
||||
//if($DEBUG) echo "<br>$getEditSql";
|
||||
$resultAdd= @mysqli_query($pubConn,$getAddSql);
|
||||
$rowsAdd= @mysqli_fetch_array($resultAdd);
|
||||
echo mysqli_error($pubConn);
|
||||
*/
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectType(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?edit=1&id=$id&mode=$mode&rent_type=";?>';
|
||||
url_add=document.editform.rent_type.options[document.editform.rent_type.selectedIndex].value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="2">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">ID</td>";
|
||||
echo "<td width=\"60%\">$record_id</td>";
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\">";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Dest IP</td>";
|
||||
echo "<td><input type=\"text\" name=\"dest_ip\" size=\"10\" value=\"$rows[dest_ip]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Charge unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"charge_unit\" size=\"10\" value=\"$rows[charge_unit]\">(KB)</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Basic fee</td>";
|
||||
echo "<td><input type=\"text\" name=\"basic_fee\" size=\"10\" value=\"$rows[basic_fee]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Minimum charge unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"min_charge_unit\" size=\"10\" value=\"$rows[min_charge_unit]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Initial adjustment</td>";
|
||||
echo "<td><input type=\"text\" name=\"initial_adjustment\" size=\"10\" value=\"$rows[initial_adjustment]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
$cap_flag_value=$rows[cap_flag]+0;
|
||||
$cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
echo "<tr>";
|
||||
echo "<td>Cap flag</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"cap_flag\" size=1>";
|
||||
for($i=0;$i<sizeof($cap_flag_label);$i++)
|
||||
{
|
||||
if($cap_flag_value==$i)
|
||||
echo "<option selected value=$i>{$cap_flag_label[$i]}</option>";
|
||||
else
|
||||
echo "<option value=$i>{$cap_flag_label[$i]}</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Discount ID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" size=\"10\" value=\"$rows[discount_id]\"></td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
188
wxc2_omc/account/tariffPlan/mmsEmailEdit.php
Executable file
188
wxc2_omc/account/tariffPlan/mmsEmailEdit.php
Executable file
@@ -0,0 +1,188 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>Ķ<DEB8><C4B6><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?record_id=$record_id&mode=$mode"; ?>" method="POST">
|
||||
|
||||
<?php
|
||||
$DEBUG =0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$ppsDb ='PPS_DB';
|
||||
$tableName ='pre_vas_mms_email_tariff';
|
||||
$listPageURL = "mttariff.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace."Tariff plan".$strTitleSpace."MMS Email";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add MMS Email";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit MMS Email";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>record_id=$record_id";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($set) > 0){
|
||||
if ($mode == "edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET prefix= '$prefix',
|
||||
call_type= '$call_type',
|
||||
dest_name= '$dest_name',
|
||||
discount_id = '$discount_id',
|
||||
charge_fee = '$charge_fee'
|
||||
WHERE email_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($pubConn,$setSql);
|
||||
echo mysqli_error($pubConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getEditSql="SELECT tariff_id,email_id,prefix,call_type,dest_name,discount_id,charge_fee,cap_flag
|
||||
FROM $tableName
|
||||
WHERE email_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG)
|
||||
echo "<br>$getEditSql";
|
||||
$resultEdit= @mysqli_query($pubConn,$getEditSql);
|
||||
$rows= @mysqli_fetch_array($resultEdit);
|
||||
echo mysqli_error($pubConn);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
//echo "<pre>";
|
||||
//print_r($rows);
|
||||
//echo "</pre>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="2">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">ID</td>";
|
||||
echo "<td width=\"60%\">$record_id</td>";
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\">";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
//prefix
|
||||
echo "<tr>";
|
||||
echo "<td>Prefix</td>";
|
||||
echo "<td><input type=\"text\" name=\"prefix\" size=\"32\" value=\"$rows[prefix]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//call type
|
||||
$call_type_value=$rows[call_type]+0;
|
||||
$mms_email_call_type_label=array(4=>"Local call in",5=>"Trunk call in");
|
||||
echo "<tr>";
|
||||
echo "<td>Call type</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"call_type\" size=1>";
|
||||
foreach($mms_email_call_type_label as $key => $value)
|
||||
{
|
||||
if($call_type_value==$key)
|
||||
echo "<option selected value=$key>{$value}</option>";
|
||||
else
|
||||
echo "<option value=$key>{$value}</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
//dest name
|
||||
echo "<tr>";
|
||||
echo "<td>Dest name</td>";
|
||||
echo "<td><input type=\"text\" name=\"dest_name\" size=\"32\" value=\"$rows[dest_name]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//discount_id
|
||||
echo "<tr>";
|
||||
echo "<td>Discount ID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" size=\"10\" value=\"$rows[discount_id]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//charge_fee
|
||||
echo "<tr>";
|
||||
echo "<td>Charge fee</td>";
|
||||
echo "<td><input type=\"text\" name=\"charge_fee\" size=\"10\" value=\"$rows[charge_fee]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//cap flag
|
||||
$cap_flag_value=$rows[cap_flag]+0;
|
||||
$cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
echo "<tr>";
|
||||
echo "<td>Cap flag</td>";
|
||||
echo "<td>{$cap_flag_label[$cap_flag_value]} </td>";
|
||||
echo "</tr>";
|
||||
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
188
wxc2_omc/account/tariffPlan/mmsRetrieveEdit.php
Executable file
188
wxc2_omc/account/tariffPlan/mmsRetrieveEdit.php
Executable file
@@ -0,0 +1,188 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>Ķ<DEB8><C4B6><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?record_id=$record_id&mode=$mode"; ?>" method="POST">
|
||||
|
||||
<?php
|
||||
$DEBUG =0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$ppsDb ='PPS_DB';
|
||||
$tableName ='pre_vas_mms_retrieve_tariff';
|
||||
$listPageURL = "mttariff.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace."Tariff plan".$strTitleSpace."MMS Retrieve";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add MMS Retrieve";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit MMS Retrieve";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>record_id=$record_id";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($set) > 0){
|
||||
if ($mode == "edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET prefix= '$prefix',
|
||||
call_type= '$call_type',
|
||||
dest_name= '$dest_name',
|
||||
discount_id = '$discount_id',
|
||||
charge_fee = '$charge_fee'
|
||||
WHERE mms_retrieve_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($pubConn,$setSql);
|
||||
echo mysqli_error($pubConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getEditSql="SELECT tariff_id,mms_retrieve_id,prefix,call_type,dest_name,discount_id,charge_fee,cap_flag
|
||||
FROM $tableName
|
||||
WHERE mms_retrieve_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG)
|
||||
echo "<br>$getEditSql";
|
||||
$resultEdit= @mysqli_query($pubConn,$getEditSql);
|
||||
$rows= @mysqli_fetch_array($resultEdit);
|
||||
echo mysqli_error($pubConn);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
//echo "<pre>";
|
||||
//print_r($rows);
|
||||
//echo "</pre>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="2">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">ID</td>";
|
||||
echo "<td width=\"60%\">$record_id</td>";
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\">";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
//prefix
|
||||
echo "<tr>";
|
||||
echo "<td>Prefix</td>";
|
||||
echo "<td><input type=\"text\" name=\"prefix\" size=\"32\" value=\"$rows[prefix]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//call type
|
||||
$call_type_value=$rows[call_type]+0;
|
||||
$mms_retrieve_call_type_label=array(4=>"Local call in",5=>"Trunk call in");
|
||||
echo "<tr>";
|
||||
echo "<td>Call type</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"call_type\" size=1>";
|
||||
foreach($mms_retrieve_call_type_label as $key => $value)
|
||||
{
|
||||
if($call_type_value==$key)
|
||||
echo "<option selected value=$key>{$value}</option>";
|
||||
else
|
||||
echo "<option value=$key>{$value}</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
//dest name
|
||||
echo "<tr>";
|
||||
echo "<td>Dest name</td>";
|
||||
echo "<td><input type=\"text\" name=\"dest_name\" size=\"32\" value=\"$rows[dest_name]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//discount_id
|
||||
echo "<tr>";
|
||||
echo "<td>Discount ID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" size=\"10\" value=\"$rows[discount_id]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//charge_fee
|
||||
echo "<tr>";
|
||||
echo "<td>Charge fee</td>";
|
||||
echo "<td><input type=\"text\" name=\"charge_fee\" size=\"10\" value=\"$rows[charge_fee]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//cap flag
|
||||
$cap_flag_value=$rows[cap_flag]+0;
|
||||
$cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
echo "<tr>";
|
||||
echo "<td>Cap flag</td>";
|
||||
echo "<td>{$cap_flag_label[$cap_flag_value]} </td>";
|
||||
echo "</tr>";
|
||||
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
252
wxc2_omc/account/tariffPlan/mmsSendEdit.php
Executable file
252
wxc2_omc/account/tariffPlan/mmsSendEdit.php
Executable file
@@ -0,0 +1,252 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>Ķ<DEB8><C4B6><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?record_id=".$_REQUEST['record_id']."&mode=".$_REQUEST['mode']; ?>" method="POST">
|
||||
|
||||
|
||||
<?php
|
||||
$DEBUG =0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$ppsDb ='PPS_DB';
|
||||
|
||||
$id=$_REQUEST['id'];
|
||||
$record_id=$_REQUEST['record_id'];
|
||||
$tariffID=$_REQUEST['tariffID'];
|
||||
$tariff_id=$_REQUEST['tariff_id'];
|
||||
$mode=$_REQUEST['mode'];
|
||||
|
||||
$setSql="UPDATE $tableName
|
||||
SET mms_type= '$mms_type',
|
||||
prefix= '$prefix',
|
||||
call_type= '$call_type',
|
||||
dest_name= '$dest_name',
|
||||
discount_id = '$discount_id',
|
||||
charge_fee = '$charge_fee'
|
||||
WHERE mms_send_id='$record_id' AND tariff_id='$tariffID'";
|
||||
|
||||
$mms_type=$_REQUEST['mms_type'];
|
||||
$prefix=$_REQUEST['prefix'];
|
||||
$call_type=$_REQUEST['call_type'];
|
||||
$dest_name=$_REQUEST['dest_name'];
|
||||
$discount_id=$_REQUEST['discount_id'];
|
||||
$charge_fee=$_REQUEST['charge_fee'];
|
||||
|
||||
global $OMC_server;
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$tableName ='pre_vas_mms_send_tariff';
|
||||
$listPageURL = "tariffBasic.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace."Tariff plan".$strTitleSpace."MMS Send";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add MMS Send";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit MMS Send";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>record_id=$record_id";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($_POST['set']) > 0){
|
||||
if ($mode == "edit"){
|
||||
/*if($record_id == 1 || $record_id == 2)
|
||||
{
|
||||
$prefix="--";
|
||||
$dest_name="default";
|
||||
$mms_type=$record_id;
|
||||
}*/
|
||||
$setSql="UPDATE $tableName
|
||||
SET mms_type= '$mms_type',
|
||||
prefix= '$prefix',
|
||||
call_type= '$call_type',
|
||||
dest_name= '$dest_name',
|
||||
discount_id = '$discount_id',
|
||||
charge_fee = '$charge_fee'
|
||||
WHERE mms_send_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getEditSql="SELECT tariff_id,mms_send_id,mms_type,prefix,call_type,dest_name,discount_id,charge_fee,cap_flag
|
||||
FROM $tableName
|
||||
WHERE mms_send_id='$record_id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG)
|
||||
echo "<br>$getEditSql";
|
||||
$resultEdit= @mysqli_query($srcDataConn,$getEditSql);
|
||||
$rows= @mysqli_fetch_array($resultEdit);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
//echo "<pre>";
|
||||
//print_r($rows);
|
||||
//echo "</pre>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="2">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">ID</td>";
|
||||
echo "<td width=\"60%\">$record_id</td>";
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\">";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
//mms type
|
||||
|
||||
$mms_type_value=$rows[mms_type]+0;
|
||||
$mms_type_label=array(1=>"To mobile",2=>"To email");
|
||||
echo "<tr>";
|
||||
echo "<td>MMS type</td>";
|
||||
echo "<td>";
|
||||
|
||||
/*if($record_id == 1 || $record_id == 2)
|
||||
echo "<select disabled name=\"mms_type\" size=1>";
|
||||
else*/
|
||||
echo "<select name=\"mms_type\" size=1>";
|
||||
for($i=1;$i<=sizeof($mms_type_label);$i++)
|
||||
{
|
||||
if($mms_type_value==$i)
|
||||
echo "<option selected value=$i>{$mms_type_label[$i]}</option>";
|
||||
else
|
||||
echo "<option value=$i>{$mms_type_label[$i]}</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
//prefix
|
||||
echo "<tr>";
|
||||
echo "<td>Prefix</td>";
|
||||
/*if($record_id == 1 || $record_id == 2)
|
||||
echo "<td><input type=\"text\" disabled name=\"prefix\" size=\"32\" value=\"$rows[prefix]\"></td>";
|
||||
else*/
|
||||
echo "<td><input type=\"text\" name=\"prefix\" size=\"32\" value=\"$rows[prefix]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//call type
|
||||
$call_type_value=$rows[call_type]+0;
|
||||
$call_type_label=array(0=>"Local call out",1=>"NDD",2=>"IDD");
|
||||
echo "<tr>";
|
||||
echo "<td>Call type</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"call_type\" size=1>";
|
||||
for($i=0;$i<sizeof($call_type_label);$i++)
|
||||
{
|
||||
if($call_type_value==$i)
|
||||
echo "<option selected value=$i>{$call_type_label[$i]}</option>";
|
||||
else
|
||||
echo "<option value=$i>{$call_type_label[$i]}</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
//dest name
|
||||
echo "<tr>";
|
||||
echo "<td>Dest name</td>";
|
||||
/*if($record_id == 1 || $record_id == 2)
|
||||
echo "<td><input type=\"text\" disabled name=\"dest_name\" size=\"32\" value=\"$rows[dest_name]\"></td>";
|
||||
else*/
|
||||
echo "<td><input type=\"text\" name=\"dest_name\" size=\"32\" value=\"$rows[dest_name]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//discount_id
|
||||
echo "<tr>";
|
||||
echo "<td>Discount ID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" size=\"10\" value=\"$rows[discount_id]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//charge_fee
|
||||
echo "<tr>";
|
||||
echo "<td>Charge fee</td>";
|
||||
echo "<td><input type=\"text\" name=\"charge_fee\" size=\"10\" value=\"$rows[charge_fee]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
//cap flag
|
||||
$cap_flag_value=$rows[cap_flag]+0;
|
||||
$cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
echo "<tr>";
|
||||
echo "<td>Cap flag</td>";
|
||||
echo "<td>{$cap_flag_label[$cap_flag_value]} </td>";
|
||||
echo "</tr>";
|
||||
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
406
wxc2_omc/account/tariffPlan/mttariff.php
Executable file
406
wxc2_omc/account/tariffPlan/mttariff.php
Executable file
@@ -0,0 +1,406 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD>мƷѺ<C6B7><D1BA><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD><EFBFBD>:
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
$DEBUG = 0;
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<base>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form method="POST" name="selectform" action="<?php echo "$PHP_SELF";?>">
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$helpId = "2.2.3.2";
|
||||
global $OMC_server,$pubConn;
|
||||
$tariff_id=$_REQUEST['tariff_id'];
|
||||
$where=$_REQUEST['where'];
|
||||
$sort_field=$_REQUEST['sort_field'];
|
||||
$return_tariff_id=$_REQUEST['return_tariff_id'];
|
||||
$keep_id=$_REQUEST['keep_id'];
|
||||
|
||||
$db='PPS_DB';
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $db);
|
||||
|
||||
$table_name='pre_mt_tariff';
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace.$strTariffPlan.$strTitleSpace."MT tariff";
|
||||
$arr_mode=array("edit","add");
|
||||
|
||||
if(!$sort_field){
|
||||
$sort_field = 'bill_id'; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD>
|
||||
}
|
||||
$sort_direction = 'ASC '; //<2F><><EFBFBD><EFBFBD>˳<EFBFBD><CBB3>
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
|
||||
//echo "<br>moneyPara = $moneyPara";
|
||||
|
||||
if($add_area){
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=./rate_modify.php?add_area=1\"> ";
|
||||
exit();
|
||||
}
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {$tariff_id=$return_tariff_id;}
|
||||
if($DEBUG) {echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";}
|
||||
|
||||
$where=" WHERE tariff_id=$tariff_id ";
|
||||
//echo "<br>where=$where";
|
||||
$str_sql ="SELECT count(*) FROM $table_name ".$where;
|
||||
// echo "<br>str_sql=$str_sql";
|
||||
$result=mysqli_query($srcDataConn,$str_sql);
|
||||
$record = mysqli_fetch_array($result);
|
||||
$number_of_records = $record[0];
|
||||
|
||||
$order = " ORDER BY $sort_field $sort_direction ";
|
||||
$sel_sql ="SELECT * FROM $table_name ".$where.$order;
|
||||
//echo "<br>sel_sql=$sel_sql";
|
||||
$result = @mysqli_query($srcDataConn,$sel_sql);
|
||||
$rows = @mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\" align=\"left\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($helpId);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\"> ";
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\">";
|
||||
|
||||
echo "$strResideZone: ";
|
||||
$maxCosSql = " SELECT pubVarValue FROM OMC_PUB.omcPubVarConf WHERE pubVarName = 'maxCOSNumber' ";
|
||||
$maxCosRes = @mysqli_query($pubConn,$maxCosSql);
|
||||
$maxCosRow = @mysqli_fetch_array($maxCosRes);
|
||||
$maxCosNum = $maxCosRow[pubVarValue];
|
||||
echo "<select size=\"1\" name=\"tariff_id\" onChange=\"javascript:selectTitle()\">";
|
||||
for($i=0;$i<$maxCosNum;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
if($m != $tariff_id){
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}else{
|
||||
echo "<option value=\"$m\" selected>$m</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectTitle(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?tariff_id=";?>';
|
||||
url_add=document.selectform.tariff_id.options[document.selectform.tariff_id.selectedIndex].value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<table border="0" width="100%" cellpadding="1" cellspacing="2" bordercolor="#666666" bordercolordark="#FFFFFF">
|
||||
<tr>
|
||||
<td width="3%">
|
||||
<a href="./mttariff.php" target="_self"><img align=absBottom border="0" src="../../images/list.gif" width="16" height="16"><?php echo "$strList"; ?></a></td>
|
||||
<td width="30%">
|
||||
<?php
|
||||
$maxMoPrefixNumCosSql = " SELECT pubVarValue FROM OMC_PUB.omcPubVarConf WHERE pubVarName = 'maxMoPrefixNumPerCOS' ";
|
||||
$maxMoPrefixNumCosRes = @mysqli_query($pubConn,$maxMoPrefixNumCosSql);
|
||||
$maxMoPrefixNumCosRow = @mysqli_fetch_array($maxMoPrefixNumCosRes);
|
||||
$maxMoPrefixNumCosNum = $maxMoPrefixNumCosRow[pubVarValue];
|
||||
echo "Total records:$number_of_records    Max records:$maxMoPrefixNumCosNum";
|
||||
?>
|
||||
</td>
|
||||
<td width="12%">
|
||||
<?php
|
||||
echo "<a href=\"mttariffEdit.php?mode=$arr_mode[1]&number_of_records=$number_of_records&tariff_id=$tariff_id\" target=\"_self\">";
|
||||
?>
|
||||
<img align="absBottom" border="0" src="../../images/add.gif" width="16" height="16"><?php echo "$strAdd"; ?></a></td>
|
||||
</td>
|
||||
<td align="right">
|
||||
 
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
echo "<br>";
|
||||
//û<>м<EFBFBD>¼ʱ<C2BC><CAB1><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>¼<EFBFBD><C2BC>ʾ
|
||||
if(!$rows)
|
||||
{
|
||||
echo "<br> ";
|
||||
echo "$strTariffNoRecords $tariff_id"."!";
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
<table border="1" width="100%" cellpadding="1" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF">
|
||||
<tr bgcolor="#E6E6E6" valign="top">
|
||||
<?php
|
||||
// echo "<td>$strResideZone</td>";
|
||||
echo "<td><a href=\"$PHP_SELF?tariff_id=$tariff_id&where=$where&sort_field=bill_id\" target=\"_self\">$strChargingPrefix</a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?tariff_id=$tariff_id&where=$where&sort_field=area\" target=\"_self\">$strCountryDistrict</a></td>";
|
||||
echo "<td >$strCallType</td>";
|
||||
echo "<td >$strDiscountID</td>";
|
||||
echo "<td >$strUnitChargingTimeSecond</td>";
|
||||
echo "<td >$strFreeChargeUnit</td>";
|
||||
echo "<td >$strMinimumChargingUnit</td>";
|
||||
//echo "<td >$strBasicFee($moneyPara)</td>";
|
||||
//echo "<td >$strBasicLongDistance($moneyPara)</td>";
|
||||
echo "<td >$strBasicInitial($moneyPara)</td>";
|
||||
echo "<td >Tier Level</td>";
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
do{
|
||||
echo "<tr>";
|
||||
// echo "<td>$rows[tariff_id]</td>";
|
||||
if(''==$rows[bill_id])
|
||||
echo "<td><a href=\"./mttariffEdit.php?id=$rows[bill_id]&tariffID=$rows[tariff_id]&mode=$arr_mode[0]\">--</a></td>";
|
||||
else
|
||||
echo "<td><a href=\"./mttariffEdit.php?id=$rows[bill_id]&tariffID=$rows[tariff_id]&mode=$arr_mode[0]\">$rows[bill_id]</a></td>";
|
||||
echo "<td>$rows[area] </a></td>";
|
||||
if($rows[call_type]==4)
|
||||
echo "<td>Local call in</td>";
|
||||
elseif($rows[call_type]==5)
|
||||
echo "<td>Trunk call in</td>";
|
||||
else
|
||||
echo "<td align=\"right\">---</td>";
|
||||
echo "<td align=\"right\">$rows[discount_id] </td>";
|
||||
echo "<td align=\"right\">$rows[unit_time]</td>";
|
||||
echo "<td align=\"right\">$rows[free_time]</td>";
|
||||
echo "<td align=\"right\">$rows[mini_time]</td>";
|
||||
//echo "<td align=\"right\">$rows[base_fee]</td>";
|
||||
//echo "<td align=\"right\">$rows[long_distance_fee]</td>";
|
||||
echo "<td align=\"right\">$rows[adjustment]</td>";
|
||||
echo "<td align=\"right\">$rows[tier_level]</td>";
|
||||
/* $base_fee=$rows[base_fee]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>",$base_fee);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>",$base_fee);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>",$base_fee);
|
||||
}
|
||||
|
||||
$long_distance_fee=$rows[long_distance_fee]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $long_distance_fee);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $long_distance_fee);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $long_distance_fee);
|
||||
}
|
||||
|
||||
$adjustment_fee=$rows[adjustment]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $adjustment_fee);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $adjustment_fee);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $adjustment_fee);
|
||||
}*/
|
||||
echo "</tr>";
|
||||
}while($rows = mysqli_fetch_array($result));
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
//--------MMS Retrieve--------------
|
||||
echo "<br><b>MMS Retrieve</b><p>";
|
||||
echo "<table border=\"1\" width=\"100%\" cellpadding=\"1\" cellspacing=\"0\" bordercolor=\"#666666\" bordercolordark=\"#FFFFFF\">";
|
||||
echo "<tr bgcolor=\"#E6E6E6\">";
|
||||
echo "<td align=\"center\">ID</td>";
|
||||
echo "<td align=\"center\">Prefix</td>";
|
||||
echo "<td align=\"center\">Call type</td>";
|
||||
echo "<td align=\"center\">Dest name</td>";
|
||||
echo "<td align=\"center\">Discount ID</td>";
|
||||
echo "<td align=\"center\">Charge fee</td>";
|
||||
echo "<td align=\"center\">Cap flag</td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
$tableName="PPS_DB.pre_vas_mms_retrieve_tariff";
|
||||
$sql="select * from $tableName where tariff_id=$tariff_id order by mms_retrieve_id asc ";
|
||||
$res=@mysqli_query($srcDataConn,$sql);
|
||||
$num=@mysqli_num_rows($res);
|
||||
$mms_retrieve_cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
$mms_retrieve_call_type_label=array(4=>"Local call in",5=>"Trunk call in");
|
||||
|
||||
for($i=0;$i<$num;$i++)
|
||||
{
|
||||
$row=@mysqli_fetch_array($res);
|
||||
echo "<tr>";
|
||||
//ID
|
||||
$mms_retrieve_id=$row[mms_retrieve_id];
|
||||
echo "<td align=\"center\">";
|
||||
echo "<a href=\"./mmsRetrieveEdit.php?record_id={$row[mms_retrieve_id]}&mode=$arr_mode[0]&tariffID=$tariff_id\">$mms_retrieve_id</a>";
|
||||
echo "</td>";
|
||||
|
||||
//Prefix
|
||||
echo "<td align=\"center\">";
|
||||
if(trim($row[prefix]) == "")
|
||||
echo "--";
|
||||
else
|
||||
echo "{$row[prefix]}";
|
||||
echo "</td>";
|
||||
|
||||
//Call type
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$mms_retrieve_call_type_label[$row[call_type]]} ";
|
||||
echo "</td>";
|
||||
|
||||
//Dest name
|
||||
echo "<td align=\"center\">";
|
||||
if(trim($row[dest_name]) == "")
|
||||
echo "--";
|
||||
else
|
||||
echo "{$row[dest_name]}";
|
||||
echo "</td>";
|
||||
|
||||
//Discount ID
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$row[discount_id]} ";
|
||||
echo "</td>";
|
||||
|
||||
//Charge fee
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$row[charge_fee]} ";
|
||||
echo "</td>";
|
||||
|
||||
//Cap flag
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$mms_retrieve_cap_flag_label[$row[cap_flag]]} ";
|
||||
echo "</td>";
|
||||
|
||||
echo "</tr>";
|
||||
}
|
||||
//echo "tariff_id=$tariff_id<br>";
|
||||
echo "</table>";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
//--------MMS Email--------------
|
||||
echo "<br><b>MMS Email</b><p>";
|
||||
echo "<table border=\"1\" width=\"100%\" cellpadding=\"1\" cellspacing=\"0\" bordercolor=\"#666666\" bordercolordark=\"#FFFFFF\">";
|
||||
echo "<tr bgcolor=\"#E6E6E6\">";
|
||||
echo "<td align=\"center\">ID</td>";
|
||||
echo "<td align=\"center\">Prefix</td>";
|
||||
echo "<td align=\"center\">Call type</td>";
|
||||
echo "<td align=\"center\">Dest name</td>";
|
||||
echo "<td align=\"center\">Discount ID</td>";
|
||||
echo "<td align=\"center\">Charge fee</td>";
|
||||
echo "<td align=\"center\">Cap flag</td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
$tableName="PPS_DB.pre_vas_mms_email_tariff";
|
||||
$sql="select * from $tableName where tariff_id=$tariff_id order by email_id asc ";
|
||||
$res=@mysqli_query($srcDataConn,$sql);
|
||||
$num=@mysqli_num_rows($res);
|
||||
$email_cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
$email_call_type_label=array(4=>"Local call in",5=>"Trunk call in");
|
||||
|
||||
for($i=0;$i<$num;$i++)
|
||||
{
|
||||
$row=@mysqli_fetch_array($res);
|
||||
echo "<tr>";
|
||||
//ID
|
||||
$email_id=$row[email_id];
|
||||
echo "<td align=\"center\">";
|
||||
echo "<a href=\"./mmsEmailEdit.php?record_id={$row[email_id]}&mode=$arr_mode[0]&tariffID=$tariff_id\">$email_id</a>";
|
||||
echo "</td>";
|
||||
|
||||
//Prefix
|
||||
echo "<td align=\"center\">";
|
||||
if(trim($row[prefix]) == "")
|
||||
echo "--";
|
||||
else
|
||||
echo "{$row[prefix]}";
|
||||
echo "</td>";
|
||||
|
||||
//Call type
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$email_call_type_label[$row[call_type]]} ";
|
||||
echo "</td>";
|
||||
|
||||
//Dest name
|
||||
echo "<td align=\"center\">";
|
||||
if(trim($row[dest_name]) == "")
|
||||
echo "--";
|
||||
else
|
||||
echo "{$row[dest_name]}";
|
||||
echo "</td>";
|
||||
|
||||
//Discount ID
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$row[discount_id]} ";
|
||||
echo "</td>";
|
||||
|
||||
//Charge fee
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$row[charge_fee]} ";
|
||||
echo "</td>";
|
||||
|
||||
//Cap flag
|
||||
echo "<td align=\"center\">";
|
||||
echo "{$email_cap_flag_label[$row[cap_flag]]} ";
|
||||
echo "</td>";
|
||||
|
||||
echo "</tr>";
|
||||
}
|
||||
//echo "tariff_id=$tariff_id<br>";
|
||||
echo "</table>";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
496
wxc2_omc/account/tariffPlan/mttariffEdit.php
Executable file
496
wxc2_omc/account/tariffPlan/mttariffEdit.php
Executable file
@@ -0,0 +1,496 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>༭<EFBFBD><E0BCAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>ƷѺ<C6B7><D1BA><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD><EFBFBD>:
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<base>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form method="POST" name="editform" action="<?php echo"$PHP_SELF?id=$id&tariffID=$tariffID&mode=$mode"; ?>">
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$ppsDb='PPS_DB';
|
||||
$tableName='pre_mt_tariff';
|
||||
$DEBUG = 0;
|
||||
$listPageURL = 'mttariff.php?keep_id=1&return_tariff_id='.$tariff_id;
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace."Tariff plan".$strTitleSpace."MT tariff";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
if($number_of_records>=300){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"The number of MT tariff is full. \")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=tariffBasic.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add MT tariff";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit MT tariff";
|
||||
}
|
||||
|
||||
if(!$sort_field){
|
||||
$sort_field = 'bill_id'; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD>
|
||||
}
|
||||
$sort_direction = 'ASC '; //<2F><><EFBFBD><EFBFBD>˳<EFBFBD><CBB3>
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($set) > 0){
|
||||
if($mode=="edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET area = '$District',
|
||||
call_type='$call_type',
|
||||
discount_id = '$discount_id',
|
||||
unit_time = '$Unit_time',
|
||||
free_time = '$Free_time',
|
||||
mini_time = '$Min_unit',
|
||||
adjustment = '$adjustment',
|
||||
tier_level = '$tier_level',
|
||||
tier_unit_0 = '{$tier_unit_0}',
|
||||
base_fee_0 = '{$base_fee_0}',
|
||||
long_distance_fee_0 = '{$long_distance_fee_0}',
|
||||
tier_unit_1 = '{$tier_unit_1}',
|
||||
base_fee_1 = '{$base_fee_1}',
|
||||
long_distance_fee_1 = '{$long_distance_fee_1}',
|
||||
tier_unit_2 = '{$tier_unit_2}',
|
||||
base_fee_2 = '{$base_fee_2}',
|
||||
long_distance_fee_2 = '{$long_distance_fee_2}'
|
||||
WHERE bill_id='$id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($pubConn,$setSql);
|
||||
echo mysqli_error($pubConn);
|
||||
if($DEBUG) echo"<br>$listPageURL";
|
||||
if(0 == $DEBUG) echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
if($mode=="add"){
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ź͵<C5BA><CDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
|
||||
if (strlen($DistrictID) < 1){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"Please input prefix\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=mttariffEdit.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
if (!$District){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"Please input Country/District\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=mttariffEdit.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
|
||||
for($count=0;$count<strlen($DistrictID);$count++){
|
||||
if($DistrictID[$count]<'0'||$DistrictID[$count]>'9'){ if($DistrictID[$count]!='B'&&$DistrictID[$count]!='b'&&$DistrictID[$count]!='C'&&$DistrictID[$count]!='c'){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"The prefix is error\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=mttariffEdit.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$setSql="INSERT INTO $tableName
|
||||
(bill_id,tariff_id,area,call_type,discount_id,unit_time,free_time,mini_time,adjustment,tier_level,tier_unit_0,base_fee_0,long_distance_fee_0,tier_unit_1,base_fee_1,long_distance_fee_1,tier_unit_2,base_fee_2,long_distance_fee_2)
|
||||
VALUES
|
||||
('$DistrictID','$tariff_id','$District','$call_type','$discount_id','$Unit_time','$Free_time','$Min_unit','$adjustment','$tier_level','$tier_unit_0','$base_fee_0','$long_distance_fee_0','$tier_unit_1','$base_fee_1','$long_distance_fee_1','$tier_unit_2','$base_fee_2','$long_distance_fee_2')";
|
||||
if($DEBUG) echo "<br>setSql=$setSql";
|
||||
$result= @mysqli_query($pubConn,$setSql);
|
||||
echo mysqli_error($pubConn);
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
if(strlen($delete) > 0){
|
||||
$deleteSql="DELETE FROM $tableName
|
||||
WHERE bill_id='$id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$deleteSql";
|
||||
$result= @mysqli_query($pubConn,$deleteSql);
|
||||
echo mysqli_error($pubConn);
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$sel_sql ="SELECT *
|
||||
FROM $tableName
|
||||
WHERE bill_id='$id' AND tariff_id='$tariffID'";
|
||||
//echo "<br>sel_sql=$sel_sql";
|
||||
$result = @mysqli_query($pubConn,$sel_sql);
|
||||
$rows = @mysqli_fetch_array($result);
|
||||
|
||||
echo mysqli_error($pubConn);
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectType(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?edit=1&id=$id&tariffID=$tariffID&mode=$mode&call_type=";?>';
|
||||
url_add=document.editform.call_type.options[document.editform.call_type.selectedIndex].value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\">";
|
||||
echo "<br>";
|
||||
?>
|
||||
<a href="./mttariff.php" target="_self"><img align=absBottom border="0" src="../../images/list.gif" width="16" height="16">List</a>
|
||||
<?php
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<form method="POST" name="editform" action="<?php echo"$PHP_SELF?id=$id&tariffID=$tariffID&mode=$mode"; ?>">
|
||||
<table border="1" width="400" cellpadding="1" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF">
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#E6E6E6">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strResideZone</td>";
|
||||
echo "<td>$rows[tariff_id]<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\"></td>";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
if('Default' == $rows[area]){
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td> </td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input disabled type=\"text\" name=\"District\" value=\"$rows[area]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "<td><input type=\"hidden\" name=\"District\" value=\"$rows[area]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
}else{
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td>$rows[bill_id] </td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input type=\"text\" name=\"District\" value=\"$rows[area]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCallType</td>";
|
||||
$arr_CallType = array("Local call in","Trunk call in");
|
||||
$length = sizeof($arr_CallType);
|
||||
echo "<td>";
|
||||
echo "<select onChange=\"javascript:selectType();\" name=\"call_type\">";
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڱ༭״̬
|
||||
if($edit != 1){
|
||||
$call_type = $rows[call_type];
|
||||
}
|
||||
else {
|
||||
$call_type=$call_type;
|
||||
}
|
||||
for ($i=4;$i<4+$length;$i++)
|
||||
{
|
||||
echo "<option value=\"$i\" ";
|
||||
if ($i == $call_type)
|
||||
{
|
||||
echo "selected";
|
||||
}
|
||||
$tmpI=$i-4;
|
||||
echo ">$arr_CallType[$tmpI]</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDiscountID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" value=\"$rows[discount_id]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strUnitChargingTimeSecond</td>";
|
||||
echo "<td><input type=\"text\" name=\"Unit_time\" value=\"$rows[unit_time]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strFreeChargeUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Free_time\" value=\"$rows[free_time]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strMinimumChargingUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Min_unit\" value=\"$rows[mini_time]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicInitial</td>";
|
||||
echo "<td><input type=\"text\" name=\"adjustment\" value=\"$rows[adjustment]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier Level</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_level\" value=\"$rows[tier_level]\" size=\"25\" class=\"text\">(0-2)</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier0 Unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_0\" value=\"$rows[tier_unit_0]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_0\" value=\"$rows[base_fee_0]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_0\" value=\"$rows[long_distance_fee_0]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier1 Unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_1\" value=\"$rows[tier_unit_1]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_1\" value=\"$rows[base_fee_1]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_1\" value=\"$rows[long_distance_fee_1]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier2 Unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_2\" value=\"$rows[tier_unit_2]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_2\" value=\"$rows[base_fee_2]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_2\" value=\"$rows[long_distance_fee_2]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
elseif ($mode == "add"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strResideZone</td>";
|
||||
echo "<td>$tariff_id";
|
||||
/*
|
||||
echo "<select size=\"1\" name=\"tariff_id\">";
|
||||
for($i=0;$i<16;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
if($m != $tariff_id){
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}else{
|
||||
echo "<option value=\"$m\" selected>$m</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
*/
|
||||
$return_tariff_id = $tariff_id; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td><input type=\"text\" name=\"DistrictID\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input type=\"text\" name=\"District\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCallType</td>";
|
||||
$arr_CallType = array("Local call in","Trunk call in");
|
||||
$length = sizeof($arr_CallType);
|
||||
echo "<td>";
|
||||
echo "<select size=\"1\" name=\"call_type\">";
|
||||
for ($i=4;$i<4+$length;$i++){
|
||||
$tmpI=$i-4;
|
||||
if($i != $call_type){
|
||||
echo "<option value=\"$i\">$arr_CallType[$tmpI]</option>";
|
||||
}else{
|
||||
echo "<option value=\"$i\" selected>$arr_CallType[$tmpI]</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
$call_type = $call_type;
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDiscountID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strUnitChargingTimeSecond</td>";
|
||||
echo "<td><input type=\"text\" name=\"Unit_time\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strFreeChargeUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Free_time\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strMinimumChargingUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Min_unit\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicInitial</td>";
|
||||
echo "<td><input type=\"text\" name=\"adjustment\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier Level</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_level\" value=\"\" size=\"25\" class=\"text\"> (0-2)</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier0 Unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_0\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_0\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_0\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier1 Unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_1\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_1\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_1\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier2 Unit</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_2\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_2\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_2\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
else {
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<?php
|
||||
echo "<input type=\"button\" name=\"return\" value=\"Return\" onclick=jacascript:location.href=\"./mttariff.php?keep_id=1&return_tariff_id=$return_tariff_id\" class=\"button\"> ";
|
||||
?>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
if($rows[area]!='Default'){
|
||||
echo "<input type=\"submit\" name=\"delete\" value=\"Delete\" class=\"button\">";
|
||||
echo "<input type=\"hidden\" name=\"tariffID\" value=\"$tariffID\">";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<input type=\"hidden\" name=\"tariffID\" value=\"$tariffID\">";
|
||||
}
|
||||
}else
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$tariff_id\">";
|
||||
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
641
wxc2_omc/account/tariffPlan/planManage.php
Executable file
641
wxc2_omc/account/tariffPlan/planManage.php
Executable file
@@ -0,0 +1,641 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ߣ<EFBFBD>
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Cui Ticun
|
||||
ʱ<EFBFBD>䣺2004-4-26
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Support OMC7.0
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
|
||||
$DEBUG=0;
|
||||
$helpId = "2.49";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$nGetComm = 0;
|
||||
$nSetComm = 3;
|
||||
$nSubSysParam = 0;
|
||||
$nPubSubSysParam = 1;
|
||||
$nPubSysParam = 2;
|
||||
|
||||
$ppsDb ='PPS_DB';
|
||||
$pubDb ='OMC_PUB';
|
||||
$sysInfoTable = 'OMC_PUB.sysInfo';
|
||||
$tableName ='tariffPlanComm';
|
||||
$sysTypeNo =360;
|
||||
|
||||
global $OMC_server;
|
||||
$objConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], 'OBJ_'.$sysTypeNo);
|
||||
$dbConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$plan_year=$_REQUEST['plan_year'];
|
||||
$plan_month=$_REQUEST['plan_month'];
|
||||
$plan_day=$_REQUEST['plan_day'];
|
||||
$plan_hour=$_REQUEST['plan_hour'];
|
||||
$plan_minute=$_REQUEST['plan_minute'];
|
||||
$plan_second=$_REQUEST['plan_second'];
|
||||
$plan_remark=$_REQUEST['plan_remark'];
|
||||
$set_plan_time=$_REQUEST['set_plan_time'];
|
||||
|
||||
$sysTypeName ='PPS';
|
||||
|
||||
$ftpInfo=getMSSFtpAccount();
|
||||
//print_r($ftpInfo);
|
||||
$ftpLoginName = $ftpInfo[UserName];
|
||||
$ftpLoginPwd = $ftpInfo[Password];
|
||||
$paramType = $nPubSysParam;
|
||||
|
||||
//$commDefArr[0][oid] = "2.1.3.4";
|
||||
$commDefArr[0][oid] = "2.5.4";
|
||||
$commDefArr[0][paramType] = $nPubSysParam;
|
||||
$commDefArr[0][value] = "00000000000000";
|
||||
|
||||
//$commDefArr[1][oid] = "2.1.3.3";
|
||||
$commDefArr[1][oid] = "2.5.3";
|
||||
$commDefArr[1][paramType] = $nPubSysParam;
|
||||
$commDefArr[1][value] = 1;
|
||||
|
||||
$dataDefArr[0][tableName] ='pre_rent';
|
||||
$dataDefArr[0][orderBy] ='id';
|
||||
$dataDefArr[0][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_rent.csv';
|
||||
$dataDefArr[0][remoteFile] ='/tmp/pre_rent.csv';
|
||||
|
||||
$dataDefArr[1][tableName] ='pre_bill_sms';
|
||||
$dataDefArr[1][orderBy] ='id';
|
||||
$dataDefArr[1][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_bill_sms.csv';
|
||||
$dataDefArr[1][remoteFile] ='/tmp/pre_bill_sms.csv';
|
||||
|
||||
$dataDefArr[2][tableName] ='pre_bill_discount';
|
||||
$dataDefArr[2][orderBy] ='hours';
|
||||
$dataDefArr[2][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_bill_discount.csv';
|
||||
$dataDefArr[2][remoteFile] ='/tmp/pre_bill_discount.csv';
|
||||
|
||||
$dataDefArr[3][tableName] ='pre_bill_holiday';
|
||||
$dataDefArr[3][orderBy] ='month,day';
|
||||
$dataDefArr[3][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_bill_holiday.csv';
|
||||
$dataDefArr[3][remoteFile] ='/tmp/pre_bill_holiday.csv';
|
||||
|
||||
$dataDefArr[4][tableName] ='pre_comm_tariff';
|
||||
$dataDefArr[4][orderBy] ='tariff_id';
|
||||
$dataDefArr[4][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_comm_tariff.csv';
|
||||
$dataDefArr[4][remoteFile] ='/tmp/pre_comm_tariff.csv';
|
||||
|
||||
$dataDefArr[5][tableName] ='pre_mo_tariff';
|
||||
$dataDefArr[5][orderBy] ='bill_id';
|
||||
$dataDefArr[5][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_mo_tariff.csv';
|
||||
$dataDefArr[5][remoteFile] ='/tmp/pre_mo_tariff.csv';
|
||||
|
||||
$dataDefArr[6][tableName] ='pre_mt_tariff';
|
||||
$dataDefArr[6][orderBy] ='bill_id';
|
||||
$dataDefArr[6][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_mt_tariff.csv';
|
||||
$dataDefArr[6][remoteFile] ='/tmp/pre_mt_tariff.csv';
|
||||
|
||||
$dataDefArr[7][tableName] ='pre_gprs_tariff';
|
||||
$dataDefArr[7][orderBy] ='tariff_id,record_id';
|
||||
$dataDefArr[7][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_gprs_tariff.csv';
|
||||
$dataDefArr[7][remoteFile] ='/tmp/pre_gprs_tariff.csv';
|
||||
|
||||
$dataDefArr[8][tableName] ='pre_vas_mms_email_tariff';
|
||||
$dataDefArr[8][orderBy] ='tariff_id,email_id';
|
||||
$dataDefArr[8][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_vas_mms_email_tariff.csv';
|
||||
$dataDefArr[8][remoteFile] ='/tmp/pre_vas_mms_email_tariff.csv';
|
||||
|
||||
$dataDefArr[9][tableName] ='pre_vas_mms_retrieve_tariff';
|
||||
$dataDefArr[9][orderBy] ='tariff_id,mms_retrieve_id';
|
||||
$dataDefArr[9][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_vas_mms_retrieve_tariff.csv';
|
||||
$dataDefArr[9][remoteFile] ='/tmp/pre_vas_mms_retrieve_tariff.csv';
|
||||
|
||||
$dataDefArr[10][tableName] ='pre_vas_mms_send_tariff';
|
||||
$dataDefArr[10][orderBy] ='tariff_id,mms_send_id';
|
||||
$dataDefArr[10][localFile] ='/usr/local/apache/htdocs/ftpFile/pre_vas_mms_send_tariff.csv';
|
||||
$dataDefArr[10][remoteFile] ='/tmp/pre_vas_mms_send_tariff.csv';
|
||||
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace.$strTariffPlan.$strTitleSpace."Startup";
|
||||
|
||||
function getImpParamValue($sysId,$objIdStr,$instanceNo,$valueName)
|
||||
{
|
||||
global $paramConf_table,$objConn;
|
||||
$DEBUG=0;
|
||||
|
||||
$tmpSysIdArr = explode('_',$sysId);
|
||||
$sysTypeNo = $tmpSysIdArr[0];
|
||||
$sysNo = $tmpSysIdArr[1];
|
||||
$subSysNo = $tmpSysIdArr[2];
|
||||
|
||||
$paramDb = 'OBJ_'.$sysTypeNo;
|
||||
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>oidȡ<64><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
$tmpObjArr = explode('.',$objIdStr);
|
||||
$objWhereStr='';
|
||||
for($i=0;$i<sizeof($tmpObjArr);$i++){
|
||||
$j=$i+1;
|
||||
$objWhereStr .= ' level_'.$j."='{$tmpObjArr[$i]}' AND ";
|
||||
}
|
||||
$objWhereStr = substr($objWhereStr,0,-5); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>' AND ',<2C><><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5>
|
||||
|
||||
//<2F><><EFBFBD>ݲ<EFBFBD><DDB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
if($sysTypeNo==390)
|
||||
{
|
||||
$paramTable = 'param_'.$sysNo;
|
||||
}
|
||||
else
|
||||
{
|
||||
$paramTable = 'param_99';
|
||||
$subSysNo = '99';
|
||||
}
|
||||
|
||||
//subSysNo = '$subSysNo' AND instanceNo = '$instanceNo' AND
|
||||
|
||||
//<2F>Ķ<DEB8>Ӧ<EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>ֵ
|
||||
$getParamValueSql="SELECT $valueName FROM $paramTable
|
||||
WHERE $objWhereStr and instanceNo <> ''
|
||||
";
|
||||
if($DEBUG) echo"<br> $getParamValueSql <br>";
|
||||
$getResult=mysqli_query($objConn,$getParamValueSql);
|
||||
echo mysqli_error($objConn);
|
||||
if(mysqli_num_rows($getResult) > 0){
|
||||
$paramRows = mysqli_fetch_array($getResult);
|
||||
|
||||
$paramValue = $paramRows[0];
|
||||
return($paramValue);
|
||||
}else{
|
||||
return(-1);
|
||||
}
|
||||
}
|
||||
|
||||
function setImpParamValue($sysId,$objIdStr,$instanceNo,$newValue)
|
||||
{
|
||||
global $paramConf_table,$objConn;
|
||||
$DEBUG=0;
|
||||
|
||||
if($DEBUG) echo"<br>sysId=$sysId";
|
||||
$tmpSysIdArr = explode('_',$sysId);
|
||||
$sysTypeNo = $tmpSysIdArr[0];
|
||||
$sysNo = $tmpSysIdArr[1];
|
||||
$subSysNo = $tmpSysIdArr[2];
|
||||
|
||||
$paramDb = 'OBJ_'.$sysTypeNo;
|
||||
if($DEBUG) echo"<br>paramDb=$paramDb";
|
||||
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>oidȡ<64><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
$tmpObjArr = explode('.',$objIdStr);
|
||||
$objWhereStr='';
|
||||
for($i=0;$i<sizeof($tmpObjArr);$i++){
|
||||
$j=$i+1;
|
||||
$objWhereStr .= ' level_'.$j."='{$tmpObjArr[$i]}' AND ";
|
||||
}
|
||||
$objWhereStr = substr($objWhereStr,0,-5); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>' AND ',<2C><><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5>
|
||||
|
||||
|
||||
//<2F><><EFBFBD>ݲ<EFBFBD><DDB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$paramTable = 'param_99';
|
||||
$subSysNo = '99';
|
||||
//subSysNo = '$subSysNo'
|
||||
|
||||
//<2F>Ķ<DEB8>Ӧ<EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>ֵ
|
||||
$objWhereStr=str_replace("AND",",",$objWhereStr);
|
||||
$setParamValueSql="replace $paramTable
|
||||
SET initValue='$newValue',readValue=''
|
||||
,instanceNo = '0000',$objWhereStr ";
|
||||
if($DEBUG)echo"<br> $setParamValueSql <br>";
|
||||
$setResult=mysqli_query($objConn,$setParamValueSql);
|
||||
echo mysqli_error($objConn);
|
||||
if($setResult){
|
||||
return(1);
|
||||
}else{
|
||||
return(-1);
|
||||
}
|
||||
}//end of function
|
||||
|
||||
function putImpFile($ftpCon)
|
||||
{
|
||||
global $dataDefArr;
|
||||
for($j=0;$j<sizeof($dataDefArr);$j++){
|
||||
$localFile =$dataDefArr[$j][localFile];
|
||||
$remoteFile =$dataDefArr[$j][remoteFile];
|
||||
/* close ftp
|
||||
if(!ftp_put($ftpCon,$remoteFile,$localFile,FTP_ASCII)){
|
||||
*/
|
||||
if(!sftp_put($ftpCon,$remoteFile,$localFile,SFTP_ASCII)){
|
||||
echo "<br><font color=\"#FF0000\">Put file Failed</font>";
|
||||
return(-1);
|
||||
}else{
|
||||
echo "<br><font color=\"#0000FF\">Put {$dataDefArr[$j][remoteFile]} OK</font>";
|
||||
}
|
||||
}
|
||||
return(1);
|
||||
}
|
||||
|
||||
function delImpFile()
|
||||
{
|
||||
global $dataDefArr;
|
||||
for($j=0;$j<sizeof($dataDefArr);$j++){
|
||||
$localFile =$dataDefArr[$j][localFile];
|
||||
@unlink ($localFile);
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if ($DEBUG) echo "<br>plandate= $plan_year-$plan_month-$plan_day $plan_hour:$plan_minute:$plan_second";
|
||||
if ($DEBUG) echo "<br>plan_remark=$plan_remark";
|
||||
$commDefArr[0][value] = $plan_year.$plan_month.$plan_day.$plan_hour.$plan_minute.$plan_second;
|
||||
if ($DEBUG) echo "<br>commDefArr[1][value]={$commDefArr[1][value]}";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
|
||||
if($_SERVER['REQUEST_METHOD'] == "POST"){
|
||||
echo "<br><br><br><br><br>";
|
||||
$planStatTime= mktime($plan_hour, $plan_minute, $plan_second, $plan_month, $plan_day, $plan_year);
|
||||
if ($DEBUG) echo "<br>planStatTime=$planStatTime";
|
||||
$nowTime = time();
|
||||
if ($DEBUG) echo "<br>nowTime=$nowTime";
|
||||
if($planStatTime >= ($nowTime + 10)){
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƻ<EFBFBD><C6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
||||
for($i=0;$i<sizeof($dataDefArr);$i++){
|
||||
//<2F><>ɾ<EFBFBD><C9BE>
|
||||
@unlink($dataDefArr[$i][localFile]);
|
||||
sleep(1);
|
||||
//<2F><EFBFBD>
|
||||
$selSql=" SELECT * INTO OUTFILE '{$dataDefArr[$i][localFile]}'
|
||||
FIELDS
|
||||
TERMINATED BY ','
|
||||
LINES
|
||||
TERMINATED BY '\n'
|
||||
FROM
|
||||
{$dataDefArr[$i][tableName]}
|
||||
ORDER BY {$dataDefArr[$i][orderBy]} ";
|
||||
if($DEBUG)echo "<br>selSql=$selSql";
|
||||
$selRes=mysqli_query($dbConn,$selSql);
|
||||
echo mysqli_error($dbConn);
|
||||
}
|
||||
}else{
|
||||
echo "<font size=3><br>Plan start time must later 10 second than now!</font>";
|
||||
echo "<p><br><a href=\"./planManage.php\"><img align=absBottom border=0 src=\"../../images/left.gif\" width=\"14\" height=\"14\">Back</a>";
|
||||
exit();
|
||||
}
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>еģ<D0B5>״̬Ϊ<CCAC><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PPSϵͳ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʲ<EFBFBD><CAB2><EFBFBD>
|
||||
$getSysIdSql = "SELECT sysNo,subSysNo,ip
|
||||
FROM $sysInfoTable
|
||||
WHERE sysTypeNo='$sysTypeNo'
|
||||
ORDER BY sysNo,subSysNo
|
||||
";
|
||||
if($DEBUG) echo "<br>getSysIdSql=$getSysIdSql";
|
||||
$getSysIdResult= mysqli_query($pubConn,$getSysIdSql);
|
||||
echo mysqli_error($pubConn);
|
||||
$ppsNum=mysqli_num_rows($getSysIdResult);
|
||||
if($ppsNum <= 0){
|
||||
echo "Error:Can not find any PPS's IP in system list,Please ADD it!";
|
||||
delImpFile();
|
||||
exit();
|
||||
}
|
||||
//˳<><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
||||
$impOkFlag=0;
|
||||
for($i=0;$i<$ppsNum;$i++){
|
||||
$getSysIdRow=mysqli_fetch_array($getSysIdResult);
|
||||
$sysName='PPS_'.$getSysIdRow[sysNo].'_'.$getSysIdRow[subSysNo];
|
||||
$dstSeverIp = $getSysIdRow[ip];
|
||||
if($DEBUG) echo "<br>sysId = $sysId";
|
||||
if($DEBUG) echo "<br>dstSeverIp = $dstSeverIp";
|
||||
|
||||
echo "<br> Try to ftp tariff files to $sysName($dstSeverIp) ......";
|
||||
flush();
|
||||
|
||||
/* close ftp
|
||||
$ftpCon=@ftp_connect($dstSeverIp);
|
||||
if($ftpCon < 1){
|
||||
echo "<br><font color=\"#FF0000\">Connect Failed!</font>";
|
||||
continue;
|
||||
}
|
||||
*/
|
||||
|
||||
$connection=sftp_connect($dstSeverIp);
|
||||
if($connection < 0){
|
||||
echo "<br><font color=\"#FF0000\">Connect Failed!</font>";
|
||||
continue;
|
||||
}
|
||||
|
||||
/* close ftp
|
||||
if(!@ftp_login($ftpCon,$ftpLoginName,$ftpLoginPwd)){
|
||||
echo "<br><font color=\"#FF0000\">Login Failed!</font>";
|
||||
@ftp_quit($ftpCon);
|
||||
continue;
|
||||
}
|
||||
*/
|
||||
|
||||
$key=sftp_login($connection,$ftpLoginName,$ftpLoginPwd);
|
||||
if(!$key)
|
||||
{
|
||||
echo "<br><font color=\"#FF0000\">Login Failed!</font>";
|
||||
continue;
|
||||
}
|
||||
|
||||
/* close ftp
|
||||
if(putImpFile($ftpCon)){
|
||||
$impOkFlag = 1;
|
||||
}
|
||||
@ftp_quit($ftpCon);
|
||||
*/
|
||||
|
||||
if(putImpFile($key)){
|
||||
$impOkFlag = 1;
|
||||
}
|
||||
|
||||
flush();
|
||||
}
|
||||
//delImpFile();
|
||||
if($impOkFlag == 0){
|
||||
exit();
|
||||
}
|
||||
|
||||
//<2F><><EFBFBD>ò<EFBFBD><C3B2><EFBFBD>
|
||||
echo "<br> Try to send command to $sysTypeName ......";
|
||||
flush();
|
||||
|
||||
|
||||
//<2F><EFBFBD><DEB8>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD>
|
||||
for($i=0;$i<sizeof($commDefArr);$i++){
|
||||
sleep(2);
|
||||
$instanceNo = 0;
|
||||
$commState = '01';
|
||||
$objId = $commDefArr[$i][oid];
|
||||
$newValue = $commDefArr[$i][value];
|
||||
$paramType = $nPubSysParam;
|
||||
|
||||
switch($paramType){
|
||||
case $nPubSubSysParam:
|
||||
$sysId=$sysTypeNo.'_'.$getSysIdRow[sysNo].'_99';
|
||||
break;
|
||||
case $nPubSysParam:
|
||||
$sysId=$sysTypeNo.'_99_99';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if($DEBUG) echo "<br>setImpParamValue($sysId,$objId,$instanceNo,$newValue)";
|
||||
//$chgResult = setSysParamValue($sysId,$objId,$instanceNo,$newValue);
|
||||
$chgResult = setImpParamValue($sysId,$objId,$instanceNo,$newValue);
|
||||
|
||||
if($chgResult != -1){
|
||||
//send set command
|
||||
if($DEBUG) echo "<br>sysCommSend($sysId,$nSetComm,$objId)";
|
||||
$commStr = sysCommSend($sysId,$nSetComm,$objId);
|
||||
sleep(2);
|
||||
}
|
||||
//<2F><><EFBFBD>ݶ<EFBFBD><DDB6>صIJ<D8B5><C4B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>жϷ<D0B6><CFB7><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɹ<EFBFBD>
|
||||
if($i == 1){
|
||||
$waitTime = 0;
|
||||
$maxWaitTime= 5;
|
||||
do{
|
||||
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>״̬
|
||||
$commStr = sysCommSend($sysId,$nGetComm,$objId);
|
||||
$commResult = getImpParamValue($sysId,$objId,$instanceNo,'readValue');
|
||||
//echo "<br>get value=$commResult in $waitTime";
|
||||
flush();
|
||||
switch($commResult){
|
||||
case '1': //wait process
|
||||
echo "<br>Import ok, wait process";
|
||||
break;
|
||||
case '2': //in process
|
||||
echo "<br>In process";
|
||||
break;
|
||||
case '3': //process OK
|
||||
$waitTime = $maxWaitTime;
|
||||
echo "<br>Process OK";
|
||||
break;
|
||||
case '4': //process Failed
|
||||
$waitTime = $maxWaitTime;
|
||||
echo "<br>Process Failed";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if($commResult == 3 || $commResult == 5)
|
||||
break;
|
||||
$waitTime++;
|
||||
sleep(2);
|
||||
}while($waitTime < $maxWaitTime);
|
||||
}//end of if($i == 1)
|
||||
|
||||
echo "OK!";
|
||||
flush();
|
||||
}//end of for($i=0;$i<sizeof($commDefArr);$i++)
|
||||
|
||||
//<2F><><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD>ò<EFBFBD><C3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⣬
|
||||
//<2F>ʰѲ<CAB0><D1B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>÷ŵ<C3B7><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5>
|
||||
if($chgResult != -1){
|
||||
//send set command
|
||||
if($DEBUG) echo "<br>sysCommSend($sysId,$nSetComm,'2.5.4')";
|
||||
$commStr = sysCommSend($sysId,$nSetComm,'2.5.4');
|
||||
sleep(2);
|
||||
if($DEBUG) echo "<br>sysCommSend($sysId,$nSetComm,'2.5.3')";
|
||||
$commStr = sysCommSend($sysId,$nSetComm,'2.5.3');
|
||||
sleep(2);
|
||||
}
|
||||
|
||||
//<2F><><EFBFBD>뵽<EFBFBD><EBB5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC>
|
||||
$sql=" REPLACE $tableName
|
||||
SET
|
||||
comm_status = '1',
|
||||
take_affect_time = '$planStatTime',
|
||||
operator = '$userInfo[ID]',
|
||||
host_ip = '$userInfo[IP]',
|
||||
request_time = CURRENT_TIMESTAMP,
|
||||
finish_time = DEFAULT,
|
||||
remark = '$plan_remark',
|
||||
key_comm_id = '01'
|
||||
";
|
||||
if ($DEBUG) echo "<br>sql=$sql";
|
||||
$res=@mysqli_query($dbConn,$sql);
|
||||
echo mysqli_error($dbConn);
|
||||
|
||||
echo "<br> <a href=\"$PHP_SELF\"> << Return</a>";
|
||||
exit();
|
||||
}
|
||||
|
||||
$this_year=date("Y", mktime());
|
||||
$this_month=date("m", mktime()+24*60*60);
|
||||
$this_day=date("d", mktime());
|
||||
|
||||
$next_year=$this_year+1;
|
||||
$next_month=$this_month+1;
|
||||
$next_day=date("d", mktime()+24*60*60);
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ
|
||||
//==========================================================
|
||||
?>
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\" align=\"left\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($helpId);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
?>
|
||||
<form method="POST" action="<?php echo "$PHP_SELF";?>" name="tariff_plan">
|
||||
<table border="0">
|
||||
|
||||
<tr>
|
||||
<td rowspan="2">
|
||||
<?php echo"$strStartTime";?>
|
||||
</td>
|
||||
<td>Year</td>
|
||||
<td></td>
|
||||
<td>Month</td>
|
||||
<td></td>
|
||||
<td>Date</td>
|
||||
<td width="10"> </td>
|
||||
<td>Hour</td>
|
||||
<td></td>
|
||||
<td>Minute</td>
|
||||
<td></td>
|
||||
<td>Second</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<select name="plan_year" size="1">
|
||||
<option value="<?php echo "$this_year";?>" selected><?php echo "$this_year";?> </option>
|
||||
<option value="<?php echo "$next_year";?>" ><?php echo "$next_year";?> </option>
|
||||
</select>
|
||||
</td>
|
||||
<td>-</td>
|
||||
<td>
|
||||
<select name="plan_month" size="1">
|
||||
<?php
|
||||
for($i=1;$i<13;$i++){
|
||||
$i=(strlen($i) < 2)?'0'.$i:$i;
|
||||
$selected=($this_month == $i)?'selected':'';
|
||||
echo "<option value=\"$i\" $selected>$i </option> \n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>-</td>
|
||||
<td>
|
||||
<select name="plan_day" size="1">
|
||||
<?php
|
||||
for($i=1;$i<32;$i++){
|
||||
$i=(strlen($i) < 2)?'0'.$i:$i;
|
||||
$selected=($next_day == $i)?'selected':'';
|
||||
echo "<option value=\"$i\" $selected>$i </option> \n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td width="10"> </td>
|
||||
<td>
|
||||
<select name="plan_hour" size="1">
|
||||
<?php
|
||||
for($i=0; $i<24; $i++){
|
||||
$i=(strlen($i) < 2)?'0'.$i:$i;
|
||||
$selected=($i == '00')?'selected':'';
|
||||
echo "<option value=\"$i\" $selected>$i </option> \n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>:</td>
|
||||
<td>
|
||||
<select name="plan_minute" size="1">
|
||||
<?php
|
||||
for($i=0;$i<60;$i++){
|
||||
$i=(strlen($i) < 2)?'0'.$i:$i;
|
||||
$selected=('00' == $i)?'selected':'';
|
||||
echo "<option value=\"$i\" $selected>$i </option> \n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td>:</td>
|
||||
<td>
|
||||
<select name="plan_second" size="1">
|
||||
<?php
|
||||
for($i=0;$i<60;$i++){
|
||||
$i=(strlen($i) < 2)?'0'.$i:$i;
|
||||
$selected=('00' == $i)?'selected':'';
|
||||
echo "<option value=\"$i\" $selected>$i </option> \n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><?php echo "$strRemark";?></td>
|
||||
<td colspan="12"><input type="text" name="plan_remark" size="52" class="text"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><input type="submit" name="set_plan_time" value="<?php echo $strSubmit; ?>" class="button"></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
//key_comm_id comm_status take_affect_time operator host_ip request_time finish_time remark
|
||||
$sel_sql="SELECT * FROM $tableName ORDER BY request_time DESC";
|
||||
echo $sel_sql;
|
||||
$result=mysqli_query($dbConn,$sel_sql);
|
||||
$result_rows=mysqli_fetch_array($result);
|
||||
$rows_num=@mysqli_num_rows($result);
|
||||
echo mysqli_error($dbConn);
|
||||
if(!$rows_num){
|
||||
exit();
|
||||
echo "$strNoTariffPlan";
|
||||
}
|
||||
echo "<table border=\"1\" width=\"100%\" cellpadding=\"2\" cellspacing=\"0\" bordercolor=\"#666666\" bordercolordark=\"#FFFFFF\" bgcolor=\"#FFFFFF\">";
|
||||
echo "<tr bgcolor=\"#E6E6E6\">";
|
||||
echo "<td align=\"center\">$strStartTime</td>";
|
||||
echo "<td align=\"center\">$strSender</td>";
|
||||
echo "<td align=\"center\">$strSourceIP</td>";
|
||||
echo "<td align=\"center\">$strAppealTime</td>";
|
||||
echo "<td align=\"center\" width=\"40%\">$strRemark</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
do{
|
||||
$take_affect_time = date("Y-m-d H:i:s",$result_rows[take_affect_time]);
|
||||
echo "<td align=\"center\">$take_affect_time</td>";
|
||||
echo "<td align=\"center\">$result_rows[operator]</td>";
|
||||
echo "<td align=\"center\">$result_rows[host_ip]</td>";
|
||||
echo "<td align=\"center\">$result_rows[request_time]</td>";
|
||||
echo "<td colspan=\"5\">$result_rows[remark] </td>";
|
||||
echo "</tr>";
|
||||
}while($result_rows=mysqli_fetch_array($result));
|
||||
echo "</table>";
|
||||
adjust_content_tail();
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
82
wxc2_omc/account/tariffPlan/planStop.php
Executable file
82
wxc2_omc/account/tariffPlan/planStop.php
Executable file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼƻ<CABC>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ߣ<EFBFBD>
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
|
||||
$db=$bill_db;
|
||||
$table_name='preplan_tariff_Comm';
|
||||
|
||||
if($sure_del){
|
||||
$delSql="DELETE FROM $table_name";
|
||||
//echo "del_sql=$del_sql";
|
||||
$result=mysqli_query($pubConn,$delSql);
|
||||
echo "<br><font color=\"#0000FF\">$strOperateDatabaseSuccess please set parameter!</font>";
|
||||
//---<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־------
|
||||
$log_name = "Can Tarriff plan".$user_info["account"];
|
||||
insertLog("$log_name");
|
||||
//----------------
|
||||
echo "<p>";
|
||||
echo "<br><input type=\"button\" value=\"$strReturn\" onclick=jacascript:location.href=\"./setStart.php\">";
|
||||
}elseif($no_del){
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=./setStart.php\"> ";
|
||||
}else{
|
||||
echo "<form action=\"$PHP_SELF\">";
|
||||
// WHERE key_comm_id='$plan_id'
|
||||
$sel_sql="SELECT * FROM $table_name";
|
||||
$result=mysqli_query($pubConn,$sel_sql);
|
||||
$result_rows=mysqli_fetch_array($result);
|
||||
$rows_num=mysqli_num_rows($result);
|
||||
if($rows_num > 0){
|
||||
?>
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<?php
|
||||
echo "<td align=\"center\">$strNewTariffPlanStartTime</td>";
|
||||
echo "<td align=\"center\">$strProcessStatus</td>";
|
||||
echo "<td align=\"center\">$strExecutionTime</td>";
|
||||
echo "<td align=\"center\">$strSender</td>";
|
||||
echo "<td align=\"center\">$strSourceIP</td>";
|
||||
echo "<td align=\"center\">$strAppealTime</td>";
|
||||
echo " </tr>";
|
||||
echo " <tr>";
|
||||
$take_affect_time = date("Y-m-d H:i:s",$result_rows[take_affect_time]);
|
||||
echo "<td align=\"center\">$take_affect_time</td>";
|
||||
//0/1=<3D>Ѵ<EFBFBD><D1B4><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
$show_status=$result_rows[comm_status]?'waiting':'finish';
|
||||
echo "<td align=\"center\">$show_status</td>";
|
||||
echo "<td align=\"center\">$result_rows[finish_time]</td>";
|
||||
echo "<td align=\"center\">$result_rows[operator]</td>";
|
||||
echo "<td align=\"center\">$result_rows[host_ip]</td>";
|
||||
echo "<td align=\"center\">$result_rows[request_time]</td>";
|
||||
echo " </tr>";
|
||||
echo " <tr>";
|
||||
echo "<td align=\"center\" width=\"15%\" bgcolor=\"#E6E6E6\">remark</td>";
|
||||
echo "<td colspan=\"5\">$result_rows[remark] </td>";
|
||||
echo " <tr>";
|
||||
echo "<table>";
|
||||
echo "<br><input type=\"hidden\" name=\"plan_id\" value=\"$plan_id\">";
|
||||
echo "<font color=\"#0000FF\" size=\"2\">$strCancelThisPlan?</font>";
|
||||
echo " <input type=\"Submit\" name=\"sure_del\" value=\"$strYes\"> ";
|
||||
echo " <input type=\"Submit\" name=\"no_del\" value=\"$strNo \"> ";
|
||||
echo "</form> ";
|
||||
}//end if($rows_num > 0)
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
64
wxc2_omc/account/tariffPlan/pre_vas_mms_email_tariff
Executable file
64
wxc2_omc/account/tariffPlan/pre_vas_mms_email_tariff
Executable file
@@ -0,0 +1,64 @@
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '00', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '01', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '02', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '03', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '04', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '05', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '06', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '07', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '08', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '09', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '10', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '11', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '12', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '13', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '14', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '15', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '16', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '17', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '18', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '19', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '20', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '21', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '22', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '23', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '24', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '25', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '26', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '27', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '28', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '29', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '30', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '31', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '32', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '33', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '34', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '35', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '36', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '37', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '38', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '39', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '40', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '41', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '42', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '43', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '44', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '45', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '46', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '47', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '48', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '49', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '50', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '51', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '52', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '53', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '54', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '55', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '56', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '57', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '58', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '59', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '60', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '61', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '62', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_email_tariff VALUES ( '63', '1', '', '4', '', '00', '0', '0');
|
||||
64
wxc2_omc/account/tariffPlan/pre_vas_mms_retrieve_tariff
Executable file
64
wxc2_omc/account/tariffPlan/pre_vas_mms_retrieve_tariff
Executable file
@@ -0,0 +1,64 @@
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '00', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '01', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '02', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '03', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '04', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '05', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '06', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '07', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '08', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '09', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '10', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '11', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '12', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '13', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '14', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '15', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '16', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '17', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '18', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '19', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '20', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '21', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '22', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '23', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '24', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '25', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '26', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '27', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '28', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '29', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '30', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '31', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '32', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '33', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '34', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '35', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '36', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '37', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '38', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '39', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '40', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '41', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '42', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '43', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '44', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '45', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '46', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '47', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '48', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '49', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '50', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '51', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '52', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '53', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '54', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '55', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '56', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '57', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '58', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '59', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '60', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '61', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '62', '1', '', '4', '', '00', '0', '0');
|
||||
INSERT INTO PPS_DB.pre_vas_mms_retrieve_tariff VALUES ( '63', '1', '', '4', '', '00', '0', '0');
|
||||
4096
wxc2_omc/account/tariffPlan/pre_vas_mms_send_tariff
Executable file
4096
wxc2_omc/account/tariffPlan/pre_vas_mms_send_tariff
Executable file
File diff suppressed because it is too large
Load Diff
731
wxc2_omc/account/tariffPlan/tariffBasic.php
Executable file
731
wxc2_omc/account/tariffPlan/tariffBasic.php
Executable file
@@ -0,0 +1,731 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD>Ϣ
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD><EFBFBD>: 2004-4-13
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD> OMC 7.0 <20><>Mo tariff<66><66>Rent<6E><74>SMS<4D><53>Servives tariff<66><66>
|
||||
<20><>һ<EFBFBD><D2BB>ҳ<EFBFBD>棬<EFBFBD><E6A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>ѡ<EFBFBD><D1A1>tariff_id<69><64><EFBFBD>鿴<EFBFBD><E9BFB4>Ӧ<EFBFBD>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<base>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form method="POST" name="selectform" action="<?php echo "$PHP_SELF";?>">
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$helpId = "2.2.3.1";
|
||||
global $OMC_server,$pubConn;
|
||||
$tariff_id=$_REQUEST['tariff_id'];
|
||||
$where=$_REQUEST['where'];
|
||||
$sort_field=$_REQUEST['sort_field'];
|
||||
$return_tariff_id=$_REQUEST['return_tariff_id'];
|
||||
$keep_id=$_REQUEST['keep_id'];
|
||||
|
||||
|
||||
$db='PPS_DB';
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $db);
|
||||
|
||||
$table_name='pre_mo_tariff';
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace.$strTariffPlan.$strTitleSpace.$strBasicTariff;
|
||||
$arr_mode=array("edit","add");
|
||||
$DEBUG = 0;
|
||||
|
||||
if(!$sort_field){
|
||||
$sort_field = 'bill_id'; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD>
|
||||
}
|
||||
$sort_direction = 'ASC '; //<2F><><EFBFBD><EFBFBD>˳<EFBFBD><CBB3>
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$call_cap_flag_label=array(0=>"Disable",1=>"Home PLMN Call",2=>"Other Network Call");
|
||||
$sm_cap_flag_label=array(0=>"Disable",1=>"Home PLMN SM",2=>"Other Network SM");
|
||||
//echo "<br>moneyPara = $moneyPara";
|
||||
|
||||
if($add_area){
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=./rate_modify.php?add_area=1\"> ";
|
||||
exit();
|
||||
}
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {$tariff_id=$return_tariff_id;}
|
||||
if($DEBUG) {echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";}
|
||||
//
|
||||
|
||||
|
||||
$where=" WHERE tariff_id=$tariff_id ";
|
||||
//echo "<br>where=$where";
|
||||
$str_sql ="SELECT count(*) FROM $table_name ".$where;
|
||||
//echo "<br>str_sql=$str_sql";
|
||||
|
||||
$result=mysqli_query($srcDataConn,$str_sql);
|
||||
$record = mysqli_fetch_array($result);
|
||||
$number_of_records = $record[0];
|
||||
|
||||
$order = " ORDER BY $sort_field $sort_direction ";
|
||||
$sel_sql ="SELECT * FROM $table_name ".$where.$order;
|
||||
//echo "<br>sel_sql=$sel_sql";
|
||||
$result = @mysqli_query($srcDataConn,$sel_sql);
|
||||
$rows = @mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\" align=\"left\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($helpId);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\">";
|
||||
|
||||
echo "$strResideZone: ";
|
||||
$maxCosSql = " SELECT pubVarValue FROM OMC_PUB.omcPubVarConf WHERE pubVarName = 'maxCOSNumber' ";
|
||||
$maxCosRes = @mysqli_query($pubConn,$maxCosSql);
|
||||
$maxCosRow = @mysqli_fetch_array($maxCosRes);
|
||||
$maxCosNum = $maxCosRow[pubVarValue];
|
||||
echo "<select size=\"1\" name=\"tariff_id\" onChange=\"javascript:selectTitle()\">";
|
||||
for($i=0;$i<$maxCosNum;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
if($m != $tariff_id){
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}else{
|
||||
echo "<option value=\"$m\" selected>$m</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
?>
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectTitle(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?tariff_id=";?>';
|
||||
url_add=document.selectform.tariff_id.options[document.selectform.tariff_id.selectedIndex].value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
echo "<b>MO basic tariff</b>";
|
||||
?>
|
||||
<table border="0" width="40%" cellpadding="1" cellspacing="2" bordercolor="#666666" bordercolordark="#FFFFFF">
|
||||
<tr>
|
||||
<td width="3%">
|
||||
<a href="./tariffBasic.php" target="_self"><img align=absBottom border="0" src="../../images/list.gif" width="16" height="16"><?php echo "$strList"; ?></a></td>
|
||||
<td width="30%">
|
||||
<?php
|
||||
$maxMoPrefixNumCosSql = " SELECT pubVarValue FROM OMC_PUB.omcPubVarConf WHERE pubVarName = 'maxMoPrefixNumPerCOS' ";
|
||||
$maxMoPrefixNumCosRes = @mysqli_query($pubConn,$maxMoPrefixNumCosSql);
|
||||
$maxMoPrefixNumCosRow = @mysqli_fetch_array($maxMoPrefixNumCosRes);
|
||||
$maxMoPrefixNumCosNum = $maxMoPrefixNumCosRow[pubVarValue];
|
||||
echo "Total records:$number_of_records Max records:$maxMoPrefixNumCosNum";
|
||||
//modify on 2008-4-30
|
||||
//echo "Total records:$number_of_records    Max records:300";
|
||||
?>
|
||||
</td>
|
||||
<td width="12%">
|
||||
<?php
|
||||
echo "<a href=\"tariffBasicEdit.php?mode=$arr_mode[1]&number_of_records=$number_of_records&tariff_id=$tariff_id\" target=\"_self\">";
|
||||
?>
|
||||
<img align="absBottom" border="0" src="../../images/add.gif" width="16" height="16"><?php echo "$strAdd"; ?></a></td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p></p>
|
||||
<?php
|
||||
//û<>м<EFBFBD>¼ʱ<C2BC><CAB1><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>¼<EFBFBD><C2BC>ʾ
|
||||
if(!$rows){
|
||||
echo "$strTariffNoRecords $tariff_id"."!";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if($rows){
|
||||
echo "<table border=\"1\" width=\"100%\" cellpadding=\"1\" cellspacing=\"0\" bordercolor=\"#666666\" bordercolordark=\"#FFFFFF\">";
|
||||
echo "<tr bgcolor=\"#E6E6E6\" valign=\"top\">";
|
||||
echo "<td><a href=\"$PHP_SELF?tariff_id=$tariff_id&where=$where&sort_field=bill_id\" target=\"_self\">$strChargingPrefix</a></td>";
|
||||
echo "<td><a href=\"$PHP_SELF?tariff_id=$tariff_id&where=$where&sort_field=area\" target=\"_self\">$strCountryDistrict</a></td>";
|
||||
echo "<td >$strCallType</td>";
|
||||
echo "<td >$strDiscountID</td>";
|
||||
echo "<td >$strUnitChargingTimeSecond</td>";
|
||||
echo "<td >$strFreeChargeUnit</td>";
|
||||
echo "<td >$strMinimumChargingUnit</td>";
|
||||
//echo "<td >$strBasicFee($moneyPara)</td>";
|
||||
//echo "<td >$strBasicLongDistance($moneyPara)</td>";
|
||||
echo "<td >$strBasicInitial($moneyPara)</td>";
|
||||
echo "<td >$strTariffRentCapFlag</td>";
|
||||
echo "<td >Tier Level</td>";
|
||||
|
||||
echo "<td >Tier0 Unit</td>";
|
||||
echo "<td >$strBasicFee</td>";
|
||||
echo "<td >$strBasicLongDistance</td>";
|
||||
echo "<td >Tier1 Unit</td>";
|
||||
echo "<td >$strBasicFee</td>";
|
||||
echo "<td >$strBasicLongDistance</td>";
|
||||
echo "<td >Tier2 Unit</td>";
|
||||
echo "<td >$strBasicFee</td>";
|
||||
echo "<td >$strBasicLongDistance</td>";
|
||||
|
||||
|
||||
echo "</tr>";
|
||||
|
||||
do{
|
||||
echo "<tr>";
|
||||
echo "<td><a href=\"./tariffBasicEdit.php?id=$rows[bill_id]&tariffID=$rows[tariff_id]&mode=$arr_mode[0]\">$rows[bill_id]</a></td>";
|
||||
echo "<td>$rows[area] </td>";
|
||||
if($rows[call_type]==0)
|
||||
echo "<td>Local call out</td>";
|
||||
elseif($rows[call_type]==1)
|
||||
echo "<td>NDD</td>";
|
||||
elseif($rows[call_type]==2)
|
||||
echo "<td>IDD</td>";
|
||||
else
|
||||
echo "<td align=\"right\">---</td>";
|
||||
|
||||
echo "<td align=\"right\">$rows[discount_id]</td>";
|
||||
echo "<td align=\"right\">$rows[unit_time]</td>";
|
||||
echo "<td align=\"right\">$rows[free_time]</td>";
|
||||
echo "<td align=\"right\">$rows[mini_time]</td>";
|
||||
//echo "<td align=\"right\">$rows[base_fee]</td>";
|
||||
//echo "<td align=\"right\">$rows[long_distance_fee]</td>";
|
||||
echo "<td align=\"right\">$rows[adjustment]</td>";
|
||||
echo "<td align=\"right\">{$call_cap_flag_label[$rows[cap_flag]]}</td>";
|
||||
echo "<td align=\"right\">$rows[tier_level]</td>";
|
||||
|
||||
echo "<td align=\"right\">$rows[tier_unit_0]</td>";
|
||||
echo "<td align=\"right\">$rows[base_fee_0]</td>";
|
||||
echo "<td align=\"right\">$rows[long_distance_fee_0]</td>";
|
||||
echo "<td align=\"right\">$rows[tier_unit_1]</td>";
|
||||
echo "<td align=\"right\">$rows[base_fee_1]</td>";
|
||||
echo "<td align=\"right\">$rows[long_distance_fee_1]</td>";
|
||||
echo "<td align=\"right\">$rows[tier_unit_2]</td>";
|
||||
echo "<td align=\"right\">$rows[base_fee_2]</td>";
|
||||
echo "<td align=\"right\">$rows[long_distance_fee_2]</td>";
|
||||
|
||||
/* $base_fee=$rows[base_fee]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>",$base_fee);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>",$base_fee);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>",$base_fee);
|
||||
}
|
||||
|
||||
$long_distance_fee=$rows[long_distance_fee]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $long_distance_fee);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $long_distance_fee);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $long_distance_fee);
|
||||
}
|
||||
|
||||
$adjustment_fee=$rows[adjustment]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $adjustment_fee);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $adjustment_fee);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $adjustment_fee);
|
||||
}*/
|
||||
echo "</tr>";
|
||||
}while($rows = mysqli_fetch_array($result));
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!-- Rent -->
|
||||
<?php
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$db='PPS_DB';
|
||||
$table_name='pre_rent';
|
||||
$arr_mode=array("edit","add");
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {
|
||||
$tariff_id=$return_tariff_id;
|
||||
}
|
||||
if($DEBUG) echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";
|
||||
|
||||
$sql="SELECT id,description,rent_type,charge_date,rent_amount
|
||||
FROM $table_name
|
||||
WHERE tariff_id=$tariff_id
|
||||
ORDER by id";
|
||||
//echo $sql,$bill_db;
|
||||
$result=@mysqli_query($srcDataConn,$sql);
|
||||
$rows=@mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
echo "<table border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo "<b>Rent</b>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
echo "<p></p>";
|
||||
?>
|
||||
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<?php
|
||||
echo "<td align=\"center\">$strTariffRentID</td>";
|
||||
echo "<td align=\"center\">$strDescription</td>";
|
||||
echo "<td align=\"center\">$strTariffRentChargeType</td>";
|
||||
echo "<td align=\"center\">$strTariffRentChargeDate</td>";
|
||||
echo "<td align=\"center\">$strTariffRentChargeAmount($moneyPara)</td>";
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
$i=0;
|
||||
if($rows && $result){
|
||||
do{
|
||||
$i++;
|
||||
$showi=$i;
|
||||
if ($rows[description] == ''){
|
||||
echo "<tr>";
|
||||
echo "<td align=\"center\"><a href=\"./tariffRentEdit.php?id=$showi&mode=$arr_mode[0]&tariffID=$tariff_id\">$showi</a></td>";
|
||||
echo "<td align=\"center\">--</td>";
|
||||
echo "<td align=\"center\">--</td>";
|
||||
echo "<td align=\"center\">--</td>";
|
||||
echo "<td align=\"right\">--</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
else{
|
||||
echo "<tr>";
|
||||
echo "<td align=\"center\"><a href=\"./tariffRentEdit.php?id=$showi&mode=$arr_mode[0]&tariffID=$tariff_id\">$showi</a></td>";
|
||||
echo "<td align=\"center\">$rows[description]</td>";
|
||||
echo "<td align=\"center\">";
|
||||
if($rows[rent_type]=='00'){
|
||||
echo "$strTariffRentAccordingToDate";
|
||||
}else{
|
||||
echo "$strTariffRentAccordingToPeriod";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "<td align=\"center\">";
|
||||
if($rows[rent_type]=='01'){
|
||||
echo "$rows[charge_date]";
|
||||
}else{
|
||||
echo "--";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\">$rows[rent_amount]";
|
||||
echo "</td>";
|
||||
/*$rows[rent_amount] = $rows[rent_amount]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $rows[rent_amount]);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $rows[rent_amount]);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $rows[rent_amount]);
|
||||
}*/
|
||||
echo "</tr>";
|
||||
}
|
||||
}while($rows=mysqli_fetch_array($result));
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
||||
<!-- SMS -->
|
||||
<?php
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$db='PPS_DB';
|
||||
$table_name='pre_bill_sms';
|
||||
$arr_mode=array("edit","add");
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {$tariff_id=$return_tariff_id;}
|
||||
if($DEBUG) {echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";}
|
||||
|
||||
$sql="SELECT id,prefix,call_type,area,discount_id,charge_amount,cap_flag
|
||||
FROM $table_name
|
||||
WHERE tariff_id=$tariff_id
|
||||
ORDER by id";
|
||||
//echo $sql,$bill_db;
|
||||
$result=@mysqli_query($srcDataConn,$sql);
|
||||
$rows=@mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
<p></p>
|
||||
<?php
|
||||
echo "<table border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo "<b>SMS</b>";
|
||||
echo "</td>";
|
||||
echo "</tr>"; echo "</table>";
|
||||
echo "<p></p>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<?php
|
||||
echo "<td align=\"center\">$strTariffRentID</td>";
|
||||
echo "<td align=\"center\">$strChargingPrefix</td>";
|
||||
echo "<td align=\"center\">Call type</td>";
|
||||
echo "<td align=\"center\">$strCountryDistrict</td>";
|
||||
echo "<td align=\"center\">$strDiscountID</td>";
|
||||
echo "<td align=\"center\">$strTariffRentChargeAmount($moneyPara)</td>";
|
||||
echo "<td align=\"center\">$strTariffRentCapFlag</td>";
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
$i=0;
|
||||
|
||||
if($rows && $result){
|
||||
do{
|
||||
$i++;
|
||||
echo "<tr>";
|
||||
echo "<td align=\"center\"><a href=\"./tariffSmsEdit.php?id=$i&mode=$arr_mode[0]&tariffID=$tariff_id\">$i</a></td>";
|
||||
if("" == $rows[prefix]){
|
||||
$rows[prefix]="--";
|
||||
}
|
||||
echo "<td align=\"center\"> $rows[prefix]</td>";
|
||||
|
||||
if($rows[call_type]==0)
|
||||
echo "<td align=\"center\">Local call out</td>";
|
||||
elseif($rows[call_type]==1)
|
||||
echo "<td align=\"center\">NDD</td>";
|
||||
elseif($rows[call_type]==2)
|
||||
echo "<td align=\"center\">IDD</td>";
|
||||
else
|
||||
echo "<td align=\"right\">---</td>";
|
||||
|
||||
if ($rows[area] == ''){
|
||||
$rows[area]='--';
|
||||
}
|
||||
echo "<td align=\"center\"> $rows[area]</td>";
|
||||
echo "<td align=\"center\">$rows[discount_id]</td>";
|
||||
echo "</td>";
|
||||
echo "<td align=\"center\">$rows[charge_amount]</td>";
|
||||
echo "<td align=\"center\">{$sm_cap_flag_label[$rows[cap_flag]]}</td>";
|
||||
/*$rows[charge_amount ] = $rows[charge_amount ]/$moneyPara;
|
||||
if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $rows[charge_amount]);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $rows[charge_amount]);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $rows[charge_amount]);
|
||||
}*/
|
||||
echo "</tr>";
|
||||
}while($rows=mysqli_fetch_array($result));
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- GPRS -->
|
||||
<?php
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$db='PPS_DB';
|
||||
$table_name='pre_gprs_tariff';
|
||||
$arr_mode=array("edit","add");
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {$tariff_id=$return_tariff_id;}
|
||||
if($DEBUG) {echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";}
|
||||
|
||||
$sql="SELECT record_id,dest_ip,charge_unit,basic_fee,min_charge_unit,initial_adjustment,cap_flag,discount_id
|
||||
FROM $table_name
|
||||
WHERE tariff_id=$tariff_id
|
||||
ORDER by record_id";
|
||||
//echo $sql,$bill_db;
|
||||
$result=@mysqli_query($srcDataConn,$sql);
|
||||
$rows=@mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
<p></p>
|
||||
<?php
|
||||
echo "<table border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo "<b>GPRS</b>";
|
||||
echo "</td>";
|
||||
echo "</tr>"; echo "</table>";
|
||||
echo "<p></p>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<?php
|
||||
echo "<td align=\"center\">ID</td>";
|
||||
echo "<td align=\"center\">Dest IP</td>";
|
||||
echo "<td align=\"center\">Charge unit(KB)</td>";
|
||||
echo "<td align=\"center\">Basic fee</td>";
|
||||
echo "<td align=\"center\">Minimun charge unit</td>";
|
||||
echo "<td align=\"center\">Initial adjustment</td>";
|
||||
echo "<td align=\"center\">Cap Flag</td>";
|
||||
echo "<td align=\"center\">Discount ID</td>";
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
$i=0;
|
||||
$gprs_cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
if($rows && $result){
|
||||
do{
|
||||
$i++;
|
||||
echo "<tr>";
|
||||
echo "<td align=\"center\"><a href=\"./gprsEdit.php?record_id={$rows[record_id]}&mode=$arr_mode[0]&tariffID=$tariff_id\">{$rows[record_id]}</a></td>";
|
||||
|
||||
echo "<td align=\"center\">{$rows[dest_ip]} </td>";
|
||||
|
||||
echo "<td align=\"center\">{$rows[charge_unit]} </td>";
|
||||
echo "<td align=\"center\">{$rows[basic_fee]} </td>";
|
||||
echo "<td align=\"center\">{$rows[min_charge_unit]} </td>";
|
||||
echo "<td align=\"center\">{$rows[initial_adjustment]} </td>";
|
||||
echo "<td align=\"center\">{$gprs_cap_flag_label[$rows[cap_flag]]} </td>";
|
||||
echo "<td align=\"center\">{$rows[discount_id]} </td>";
|
||||
echo "</tr>";
|
||||
}while($rows=mysqli_fetch_array($result));
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- MMS Send -->
|
||||
<?php
|
||||
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$db='PPS_DB';
|
||||
$table_name='pre_vas_mms_send_tariff';
|
||||
$arr_mode=array("edit","add");
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {$tariff_id=$return_tariff_id;}
|
||||
if($DEBUG) {echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";}
|
||||
|
||||
$sql="SELECT mms_send_id,mms_type,prefix,call_type,dest_name,discount_id,charge_fee,cap_flag
|
||||
FROM $table_name
|
||||
WHERE tariff_id=$tariff_id
|
||||
ORDER by mms_send_id";
|
||||
//echo $sql,$bill_db;
|
||||
$result=@mysqli_query($srcDataConn,$sql);
|
||||
$rows=@mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
<p></p>
|
||||
<?php
|
||||
echo "<table border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo "<b>MMS Send</b>";
|
||||
echo "</td>";
|
||||
echo "</tr>"; echo "</table>";
|
||||
echo "<p></p>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<?php
|
||||
echo "<td align=\"center\">ID</td>";
|
||||
echo "<td align=\"center\">MMS type</td>";
|
||||
echo "<td align=\"center\">Prefix</td>";
|
||||
echo "<td align=\"center\">Call type</td>";
|
||||
echo "<td align=\"center\">Dest name</td>";
|
||||
echo "<td align=\"center\">Discount ID</td>";
|
||||
echo "<td align=\"center\">Charge fee</td>";
|
||||
echo "<td align=\"center\">Cap flag</td>";
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
$i=0;
|
||||
$mms_send_cap_flag_label=array(0=>"Disable",1=>"Enable");
|
||||
$mms_type_label=array(1=>"To mobile",2=>"To email");
|
||||
if($rows && $result){
|
||||
do{
|
||||
$i++;
|
||||
echo "<tr>";
|
||||
echo "<td align=\"center\"><a href=\"./mmsSendEdit.php?record_id={$rows[mms_send_id]}&mode=$arr_mode[0]&tariffID=$tariff_id\">{$rows[mms_send_id]}</a></td>";
|
||||
|
||||
echo "<td align=\"center\">{$mms_type_label[$rows[mms_type]]} </td>";
|
||||
if(trim($rows[prefix])=="")
|
||||
echo "<td align=\"center\">--</td>";
|
||||
else
|
||||
echo "<td align=\"center\">{$rows[prefix]} </td>";
|
||||
|
||||
if($rows[call_type]==0)
|
||||
echo "<td align=\"center\">Local call out</td>";
|
||||
elseif($rows[call_type]==1)
|
||||
echo "<td align=\"center\">NDD</td>";
|
||||
elseif($rows[call_type]==2)
|
||||
echo "<td align=\"center\">IDD</td>";
|
||||
else
|
||||
echo "<td align=\"right\">---</td>";
|
||||
|
||||
if(trim($rows[dest_name])=="")
|
||||
echo "<td align=\"center\">--</td>";
|
||||
else
|
||||
echo "<td align=\"center\">{$rows[dest_name]} </td>";
|
||||
echo "<td align=\"center\">{$rows[discount_id]} </td>";
|
||||
echo "<td align=\"center\">{$rows[charge_fee]} </td>";
|
||||
echo "<td align=\"center\">{$mms_send_cap_flag_label[$rows[cap_flag]]} </td>";
|
||||
|
||||
echo "</tr>";
|
||||
}while($rows=mysqli_fetch_array($result));
|
||||
}
|
||||
echo "</table>";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Service tariff -->
|
||||
|
||||
<?php
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$db='PPS_DB';
|
||||
$tableName='pre_comm_tariff';
|
||||
|
||||
|
||||
//<2F>༭<EFBFBD>ֶ<F3B1A3B3>Ӧtariff_id<69><64>ҳ<EFBFBD><D2B3>
|
||||
if ($keep_id != 1){
|
||||
$tariff_id=isset($tariff_id)?$tariff_id:'00';
|
||||
}
|
||||
else {$tariff_id=$return_tariff_id;}
|
||||
if($DEBUG) {echo "<br>keep_id=$keep_id<br>tariff_id=$return_tariff_id<br>";}
|
||||
//
|
||||
|
||||
|
||||
$where=" WHERE tariff_id=$tariff_id ";
|
||||
$sql="SELECT * FROM $tableName".$where;
|
||||
//echo $sql,$bill_db;
|
||||
$result=@mysqli_query($srcDataConn,$sql);
|
||||
$rows=@mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
|
||||
<?php
|
||||
//û<>м<EFBFBD>¼ʱ<C2BC><CAB1><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>¼<EFBFBD><C2BC>ʾ
|
||||
if(!$rows){
|
||||
$setSql="INSERT INTO $tableName
|
||||
(tariff_id,cf_charge_unit,cf_charge_amount,roaming_charge_unit,roaming_charge_amount,cc_charge_unit,cc_charge_amount,cug_charge_unit,cug_charge_amount,fav_change_charge,fav_charge_unit,fav_charge_amount )
|
||||
VALUES
|
||||
('$tariff_id','','','','','','','','','','','')";
|
||||
if($DEBUG) echo "<br>setSql=$setSql";
|
||||
mysqli_query($srcDataConn,$setSql);
|
||||
}
|
||||
echo "<table border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td>";
|
||||
echo "<b><br>Supplementary tariff</b>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
echo "<p></p>";
|
||||
?>
|
||||
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<?php
|
||||
echo "<tr bgcolor=\"#E6E6E6\">";
|
||||
echo "<td width=\"40%\">$strDescription</td>";
|
||||
echo "<td align =\"right\" width=\"30%\">$strTariffRentChargeAmount($moneyPara)</td>";
|
||||
echo "<td align =\"right\" width=\"30%\">$strUnitChargingTimeSecond</td>";
|
||||
echo "</tr>";
|
||||
|
||||
/*
|
||||
$arr_editfieldAmount = array("cf_charge_amount","roaming_charge_amount","cc_charge_amount","cug_charge_amount","fav_charge_amount","fav_change_charge","cf_cug_charge_amount","cf_fav_charge_amount","cug_fav_charge_amount","cf_cug_fav_charge_amount");
|
||||
$arr_editfieldUnit = array("cf_charge_unit","roaming_charge_unit","cc_charge_unit","cug_charge_unit","fav_charge_unit","","cf_cug_charge_unit","cf_fav_charge_unit","cug_fav_charge_unit","cf_cug_fav_charge_unit");
|
||||
$arr_description = array($strCallForwrd,$strRoaming,$strConferenceCall,$strCloseUserGroup,$strFav_call,$strFav_listedtion,$strCf_Cug_call,$strCf_Fav_call,$strCug_Fav_call,$strCf_Cug_Fav_call);
|
||||
$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],$rows[cf_cug_charge_amount],$rows[cf_fav_charge_amount],$rows[cug_fav_charge_amount],$rows[cf_cug_fav_charge_amount]);
|
||||
$arr_unit = array($rows[cf_charge_unit],$rows[roaming_charge_unit],$rows[cc_charge_unit],$rows[cug_charge_unit],$rows[fav_charge_unit],"----",$rows[cf_cug_charge_unit],$rows[cf_fav_charge_unit],$rows[cug_fav_charge_unit],$rows[cf_cug_fav_charge_unit]);
|
||||
*/
|
||||
|
||||
$arr_editfieldAmount = array("cf_charge_amount","roaming_charge_amount","cc_charge_amount","cug_charge_amount","fav_charge_amount","fav_change_charge","cf_cug_charge_amount","cf_fav_charge_amount","cug_fav_charge_amount","cf_cug_fav_charge_amount","pool_account_change_charge","pool_call_amount","act_free_sms_charge","deact_free_sms_charge");
|
||||
$arr_editfieldUnit = array("cf_charge_unit","roaming_charge_unit","cc_charge_unit","cug_charge_unit","fav_charge_unit","","cf_cug_charge_unit","cf_fav_charge_unit","cug_fav_charge_unit","cf_cug_fav_charge_unit","","pool_call_unit","","");
|
||||
$arr_description = array($strCallForwrd,$strRoaming,$strConferenceCall,$strCloseUserGroup,$strFav_call,"Friends and family number change fee",$strCf_Cug_call,$strCf_Fav_call,$strCug_Fav_call,$strCf_Cug_Fav_call,"Pool account change fee","Pool call","Active free SMS charge","Deactive free SMS charge");
|
||||
$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],$rows[cf_cug_charge_amount],$rows[cf_fav_charge_amount],$rows[cug_fav_charge_amount],$rows[cf_cug_fav_charge_amount],$rows[pool_account_change_charge],$rows[pool_call_amount],$rows[act_free_sms_charge],$rows[deact_free_sms_charge]);
|
||||
$arr_unit = array($rows[cf_charge_unit],$rows[roaming_charge_unit],$rows[cc_charge_unit],$rows[cug_charge_unit],$rows[fav_charge_unit],"----",$rows[cf_cug_charge_unit],$rows[cf_fav_charge_unit],$rows[cug_fav_charge_unit],$rows[cf_cug_fav_charge_unit],"----",$rows[pool_call_unit],"----","----");
|
||||
|
||||
|
||||
for ($i=0;$i<14;$i++){
|
||||
echo "<tr>";
|
||||
echo "<td><a href=\"./tariffServicesEdit.php?description=$arr_description[$i]&arr_editfieldAmount=$arr_editfieldAmount[$i]&arr_editfieldUnit=$arr_editfieldUnit[$i]&tariffID=$tariff_id\" target=\"_self\">$arr_description[$i]</a></td>";
|
||||
echo "<td align=\"right\">$arr_amount[$i]</td>";
|
||||
/*if($moneyPara < 10){
|
||||
printf("<td align=\"right\">%5.0f</td>", $arr_amount[$i]/$moneyPara);
|
||||
}
|
||||
elseif($moneyPara < 100){
|
||||
printf("<td align=\"right\">%5.1f</td>", $arr_amount[$i]/$moneyPara);
|
||||
}
|
||||
else{
|
||||
printf("<td align=\"right\">%5.2f</td>", $arr_amount[$i]/$moneyPara);
|
||||
}*/
|
||||
echo "<td align =\"right\"> $arr_unit[$i]</td>";
|
||||
echo "</tr>";
|
||||
echo $tariffID;
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
576
wxc2_omc/account/tariffPlan/tariffBasicEdit.php
Executable file
576
wxc2_omc/account/tariffPlan/tariffBasicEdit.php
Executable file
@@ -0,0 +1,576 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʾ<EFBFBD>ƷѺ<C6B7><D1BA><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD><EFBFBD>: 2004-4-13
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD> OMC 7.0 <20><><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>ͨ<EFBFBD><CDA8>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>tariff_id<69><64><EFBFBD>IJ<DEB8>ͬ
|
||||
tariff_id<69>÷<EFBFBD><C3B7><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<base>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$ppsDb='PPS_DB';
|
||||
$tableName='pre_mo_tariff';
|
||||
$id=$_REQUEST['id'];
|
||||
$tariffID=$_REQUEST['tariffID'];
|
||||
$tariff_id=$_REQUEST['tariff_id'];//<2F><><EFBFBD><EFBFBD>
|
||||
$mode=$_REQUEST['mode'];
|
||||
$number_of_records=$_REQUEST['number_of_records'];
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>
|
||||
$DistrictID=$_REQUEST['DistrictID'];//<2F><><EFBFBD><EFBFBD>
|
||||
$District=$_REQUEST['District'];//<2F><><EFBFBD><EFBFBD>
|
||||
$call_type=isset($_REQUEST['call_type']) ?$_REQUEST['call_type']:'DEFAULT';
|
||||
$discount_id=$_REQUEST['discount_id']?$_REQUEST['discount_id']:'DEFAULT';
|
||||
$Unit_time=$_REQUEST['Unit_time']?$_REQUEST['Unit_time']:'DEFAULT';
|
||||
$Free_time=$_REQUEST['Free_time']?$_REQUEST['Free_time']:'DEFAULT';
|
||||
$Min_unit=$_REQUEST['Min_unit']?$_REQUEST['Min_unit']:'DEFAULT';
|
||||
$adjustment=$_REQUEST['adjustment']?$_REQUEST['adjustment']:'DEFAULT';
|
||||
$cap_flag=isset($_REQUEST['cap_flag']) ?$_REQUEST['cap_flag']:'DEFAULT';
|
||||
$tier_level=$_REQUEST['tier_level']?$_REQUEST['tier_level']:'DEFAULT';
|
||||
$tier_unit_0=$_REQUEST['tier_unit_0']?$_REQUEST['tier_unit_0']:'DEFAULT';
|
||||
$base_fee_0=$_REQUEST['base_fee_0']?$_REQUEST['base_fee_0']:'DEFAULT';
|
||||
$long_distance_fee_0=$_REQUEST['long_distance_fee_0']?$_REQUEST['long_distance_fee_0']:'DEFAULT';
|
||||
$tier_unit_1=$_REQUEST['tier_unit_1']?$_REQUEST['tier_unit_1']:'DEFAULT';
|
||||
$base_fee_1=$_REQUEST['base_fee_1']?$_REQUEST['base_fee_1']:'DEFAULT';
|
||||
$long_distance_fee_1=$_REQUEST['long_distance_fee_1']?$_REQUEST['long_distance_fee_1']:'DEFAULT';
|
||||
$tier_unit_2=$_REQUEST['tier_unit_2']?$_REQUEST['tier_unit_2']:'DEFAULT';
|
||||
$base_fee_2=$_REQUEST['base_fee_2']?$_REQUEST['base_fee_2']:'DEFAULT';
|
||||
$long_distance_fee_2=$_REQUEST['long_distance_fee_2']?$_REQUEST['long_distance_fee_2']:'DEFAULT';
|
||||
|
||||
|
||||
global $pubConn,$OMC_server;
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$DEBUG = 1;
|
||||
$listPageURL = 'tariffBasic.php?keep_id=1&return_tariff_id='.$tariff_id;
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace."Tariff plan".$strTitleSpace."MO tariff";
|
||||
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\"><br>";
|
||||
?>
|
||||
<a href="./tariffBasic.php" target="_self"><img align=absBottom border="0" src="../../images/list.gif" width="16" height="16">List</a>
|
||||
<?php
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\"> ";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
$arr_mode=array("edit","add");
|
||||
|
||||
$maxMoPrefixNumCosSql = " SELECT pubVarValue FROM OMC_PUB.omcPubVarConf WHERE pubVarName = 'maxMoPrefixNumPerCOS' ";
|
||||
$maxMoPrefixNumCosRes = @mysqli_query($pubConn,$maxMoPrefixNumCosSql);
|
||||
$maxMoPrefixNumCosRow = @mysqli_fetch_array($maxMoPrefixNumCosRes);
|
||||
$maxMoPrefixNumCosNum = $maxMoPrefixNumCosRow[pubVarValue];
|
||||
//echo "maxMoPrefixNumCosNum=$maxMoPrefixNumCosNum<br>";
|
||||
|
||||
if($mode == "add"){
|
||||
if($number_of_records>=$maxMoPrefixNumCosNum){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"The number of MO tariff is full. \")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=tariffBasic.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add MO tariff";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit MO tariff";
|
||||
}
|
||||
|
||||
if(!$sort_field){
|
||||
$sort_field = 'bill_id'; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD>
|
||||
}
|
||||
$sort_direction = 'ASC '; //<2F><><EFBFBD><EFBFBD>˳<EFBFBD><CBB3>
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$call_cap_flag_label=array(0=>"Disable",1=>"Home PLMN Call",2=>"Other Network Call");
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
|
||||
if(strlen($_REQUEST['set']) > 0){
|
||||
if($mode=="edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET area = '$District',
|
||||
call_type='$call_type',
|
||||
discount_id = $discount_id,
|
||||
unit_time = $Unit_time,
|
||||
free_time = $Free_time,
|
||||
mini_time = $Min_unit,
|
||||
adjustment = $adjustment,
|
||||
cap_flag = $cap_flag,
|
||||
tier_level = $tier_level,
|
||||
tier_unit_0 = $tier_unit_0,
|
||||
base_fee_0 = $base_fee_0,
|
||||
long_distance_fee_0 = $long_distance_fee_0,
|
||||
tier_unit_1 = $tier_unit_1,
|
||||
base_fee_1 = $base_fee_1,
|
||||
long_distance_fee_1 = $long_distance_fee_1,
|
||||
tier_unit_2 = $tier_unit_2,
|
||||
base_fee_2 = $base_fee_2,
|
||||
long_distance_fee_2 = $long_distance_fee_2
|
||||
WHERE bill_id='$id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if($DEBUG) echo "<br>$listPageURL";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
if($mode=="add"){
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ź͵<C5BA><CDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
|
||||
if (strlen($DistrictID) < 1){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"Please input prefix\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=tariffBasicEdit.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
if (!$District){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"Please input Country/District\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=tariffBasicEdit.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
|
||||
for($count=0;$count<strlen($DistrictID);$count++){
|
||||
if($DistrictID[$count]<'0'||$DistrictID[$count]>'9'){
|
||||
if($DistrictID[$count]!='A'&&$DistrictID[$count]!='a'&&$DistrictID[$count]!='B'&&$DistrictID[$count]!='b'&&$DistrictID[$count]!='C'&&$DistrictID[$count]!='c'){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"The prefix is error\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=tariffBasicEdit.php?tariff_id=$tariff_id&mode=$mode\"> ";
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$setSql="INSERT INTO $tableName
|
||||
(bill_id,tariff_id,area,call_type,discount_id,unit_time,free_time,mini_time,adjustment,cap_flag,tier_level,tier_unit_0,base_fee_0,long_distance_fee_0,tier_unit_1,base_fee_1,long_distance_fee_1,tier_unit_2,base_fee_2,long_distance_fee_2)
|
||||
VALUES
|
||||
('$DistrictID','$tariff_id','$District','$call_type',$discount_id,$Unit_time,$Free_time,$Min_unit,$adjustment,$cap_flag,$tier_level,$tier_unit_0,$base_fee_0,$long_distance_fee_0,$tier_unit_1,$base_fee_1,$long_distance_fee_1,$tier_unit_2,$base_fee_2,$long_distance_fee_2)";
|
||||
if($DEBUG) echo "<br>setSql=$setSql";
|
||||
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
|
||||
echo mysqli_error($srcDataConn);
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
if(strlen($_REQUEST['delete']) > 0){
|
||||
$deleteSql="DELETE FROM $tableName
|
||||
WHERE bill_id='$id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$deleteSql";
|
||||
$result= @mysqli_query($srcDataConn,$deleteSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$sel_sql ="SELECT *
|
||||
FROM $tableName
|
||||
WHERE bill_id='$id' AND tariff_id='$tariffID'";
|
||||
//echo "<br>sel_sql=$sel_sql";
|
||||
$result = @mysqli_query($srcDataConn,$sel_sql);
|
||||
$rows = @mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
// echo "<pre>";
|
||||
// echo print_r($rows);
|
||||
// echo "</pre>";
|
||||
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectType(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?edit=1&id=$id&tariffID=$tariffID&mode=$mode&call_type=";?>';
|
||||
url_add=document.editform.call_type.options[document.editform.call_type.selectedIndex].value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?id=$id&mode=$mode"; ?>" method="POST">
|
||||
|
||||
|
||||
<form method="POST" name="editform" action="<?php echo"$PHP_SELF?id=$id&tariffID=$tariffID&mode=$mode"; ?>">
|
||||
<table border="1" width="400" cellpadding="1" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF">
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#E6E6E6">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strResideZone</td>";
|
||||
echo "<td>$rows[tariff_id]<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\"></td>";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td>$rows[bill_id]</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input type=\"text\" name=\"District\" value=\"$rows[area]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCallType</td>";
|
||||
$arr_CallType = array("Local call out","NDD","IDD");
|
||||
$length = sizeof($arr_CallType);
|
||||
echo "<td>";
|
||||
echo "<select onChange=\"javascript:selectType();\" name=\"call_type\">";
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڱ༭״̬
|
||||
if($edit != 1){
|
||||
$call_type = $rows[call_type];
|
||||
}
|
||||
else {
|
||||
$call_type=$call_type;
|
||||
}
|
||||
for ($i=0;$i<$length;$i++)
|
||||
{
|
||||
echo "<option value=\"$i\" ";
|
||||
if ($i == $call_type)
|
||||
{
|
||||
echo "selected";
|
||||
}
|
||||
echo ">$arr_CallType[$i]</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDiscountID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" value=\"$rows[discount_id]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td>$strUnitChargingTimeSecond</td>";
|
||||
echo "<td><input type=\"text\" name=\"Unit_time\" value=\"$rows[unit_time]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strFreeChargeUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Free_time\" value=\"$rows[free_time]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strMinimumChargingUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Min_unit\" value=\"$rows[mini_time]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicInitial</td>";
|
||||
echo "<td><input type=\"text\" name=\"adjustment\" value=\"$rows[adjustment]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentCapFlag</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"cap_flag\">";
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڱ༭״̬
|
||||
if($edit != 1){
|
||||
$call_type = $rows[call_type];
|
||||
}
|
||||
else {
|
||||
$call_type=$call_type;
|
||||
}
|
||||
for ($i=0;$i<sizeof($call_cap_flag_label);$i++)
|
||||
{
|
||||
echo "<option value=\"$i\" ";
|
||||
if ($i == $rows[cap_flag])
|
||||
{
|
||||
echo "selected";
|
||||
}
|
||||
echo ">$call_cap_flag_label[$i]</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier Level</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_level\" value=\"$rows[tier_level]\" size=\"25\" class=\"text\"> (0-2)</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier0 Units</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_0\" value=\"$rows[tier_unit_0]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_0\" value=\"$rows[base_fee_0]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_0\" value=\"$rows[long_distance_fee_0]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier1 Units</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_1\" value=\"$rows[tier_unit_1]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_1\" value=\"$rows[base_fee_1]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_1\" value=\"$rows[long_distance_fee_1]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier2 Units</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_2\" value=\"$rows[tier_unit_2]\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_2\" value=\"$rows[base_fee_2]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_2\" value=\"$rows[long_distance_fee_2]\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
elseif ($mode == "add"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strResideZone</td>";
|
||||
echo "<td>$tariff_id";
|
||||
/*
|
||||
echo "<select size=\"1\" name=\"tariff_id\">";
|
||||
for ($i=0;$i<16;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
if($m != $tariff_id){
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}else{
|
||||
echo "<option value=\"$m\" selected>$m</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
*/
|
||||
$return_tariff_id = $tariff_id; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td><input type=\"text\" name=\"DistrictID\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input type=\"text\" name=\"District\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCallType</td>";
|
||||
$arr_CallType = array("Local call out","NDD","IDD");
|
||||
$length = sizeof($arr_CallType);
|
||||
echo "<td>";
|
||||
echo "<select size=\"1\" name=\"call_type\">";
|
||||
for ($i=0;$i<$length;$i++){
|
||||
if($i != $call_type){
|
||||
echo "<option value=\"$i\">$arr_CallType[$i]</option>";
|
||||
}else{
|
||||
echo "<option value=\"$i\" selected>$arr_CallType[$i]</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
$call_type = $call_type;
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDiscountID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strUnitChargingTimeSecond</td>";
|
||||
echo "<td><input type=\"text\" name=\"Unit_time\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strFreeChargeUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Free_time\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strMinimumChargingUnit</td>";
|
||||
echo "<td><input type=\"text\" name=\"Min_unit\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicInitial</td>";
|
||||
echo "<td><input type=\"text\" name=\"adjustment\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentCapFlag</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"cap_flag\">";
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڱ༭״̬
|
||||
if($edit != 1){
|
||||
$call_type = $rows[call_type];
|
||||
}
|
||||
else {
|
||||
$call_type=$call_type;
|
||||
}
|
||||
for ($i=0;$i<sizeof($call_cap_flag_label);$i++)
|
||||
{
|
||||
echo "<option value=\"$i\" ";
|
||||
if ($i == $rows[cap_flag])
|
||||
{
|
||||
echo "selected";
|
||||
}
|
||||
echo ">$call_cap_flag_label[$i]</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier Level</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_level\" value=\"\" size=\"25\" class=\"text\"> (0-2)</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier0 Units</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_0\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_0\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_0\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier1 Units</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_1\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_1\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_1\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Tier2 Units</td>";
|
||||
echo "<td><input type=\"text\" name=\"tier_unit_2\" value=\"\" size=\"25\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicFee</td>";
|
||||
echo "<td><input type=\"text\" name=\"base_fee_2\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strBasicLongDistance</td>";
|
||||
echo "<td><input type=\"text\" name=\"long_distance_fee_2\" value=\"\" size=\"25\" class=\"text\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
else {
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<?php
|
||||
echo "<input type=\"button\" name=\"return\" value=\"Return\" onclick=jacascript:location.href=\"./tariffBasic.php?keep_id=1&return_tariff_id=$return_tariff_id\" class=\"button\"> ";
|
||||
?>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<input type=\"submit\" name=\"delete\" value=\"Delete\" class=\"button\">";
|
||||
echo "<input type=\"hidden\" name=\"tariffID\" value=\"$tariffID\">";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$tariff_id\">";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
156
wxc2_omc/account/tariffPlan/tariffDiscount.php
Executable file
156
wxc2_omc/account/tariffPlan/tariffDiscount.php
Executable file
@@ -0,0 +1,156 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʾ<EFBFBD>ۿ۱<DBBF><DBB1><EFBFBD>Ϣ
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Lilong
|
||||
ʱ<EFBFBD>䣺2004-4-13
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD>: support 16 discount ID.
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<base>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form method="POST" action="$PHP_SELF" name="selectform">
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$helpId = "2.2.3.3";
|
||||
$DEBUG = 0;
|
||||
|
||||
$ppsDb='PPS_DB';
|
||||
$tbName='pre_bill_discount';
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace.$strTariffPlan.$strTitleSpace.$strDiscount;
|
||||
$order="hours"; //<2F><><EFBFBD><EFBFBD>
|
||||
|
||||
if($DEBUG) echo "discount_id=$discount_id<br>";
|
||||
if( FALSE == isset($discount_id) ){
|
||||
$discount_id = 00;
|
||||
}
|
||||
/*
|
||||
//insert discount to table while the time segment is NULL
|
||||
$countSql = "SELECT count(*) as total FROM $tbName WHERE discount_id=$discount_id";
|
||||
if($DEBUG) echo "countSql=$countSql<br>";
|
||||
$countRes = mysqli_query($pubConn,$countSql);
|
||||
$countRows = mysqli_fetch_array($countRes);
|
||||
echo "countRows[total]=$countRows[total]<br>";
|
||||
if($countRows[total]<24){
|
||||
}
|
||||
exit();
|
||||
*/
|
||||
//select current discount id details from TABLE "pre_bill_discount"
|
||||
$selSql = "SELECT * FROM $tbName WHERE discount_id=$discount_id ORDER BY $order";
|
||||
if($DEBUG) echo "selSql=$selSql<br>";
|
||||
$selRes = mysqli_query($pubConn,$selSql);
|
||||
$selRows = mysqli_fetch_array($selRes);
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\" align=\"left\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($helpId);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\">";
|
||||
echo " ";
|
||||
echo "</td>";
|
||||
echo "<td align=\"right\">";
|
||||
|
||||
echo "Discount ID: ";
|
||||
echo "<select size=\"1\" name=\"discount_id\" onChange=\"javascript:selectTitle()\">";
|
||||
for($i=0;$i<32;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
if($m != $discount_id){
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}else{
|
||||
echo "<option value=\"$m\" selected>$m</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectTitle(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?discount_id=";?>';
|
||||
url_add=document.selectform.discount_id.value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td align="center"><?php echo "$strTariffDiscountTimeSection"; ?></td>
|
||||
<td align="center"><?php echo $strMonday; ?></td>
|
||||
<td align="center"><?php echo $strTuesday; ?></td>
|
||||
<td align="center"><?php echo $strWednesday; ?></td>
|
||||
<td align="center"><?php echo $strThursday; ?></td>
|
||||
<td align="center"><?php echo $strFriday; ?></td>
|
||||
<td align="center"><?php echo $strSaturday; ?></td>
|
||||
<td align="center"><?php echo $strSunday; ?></td>
|
||||
<td align="center"><?php echo $strSpecialDay; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
do{
|
||||
echo "<tr>";
|
||||
$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 "<td align=center><a href=\"./tariffDiscountEdit.php?hours=$hours&discount_id=$discount_id\">$hours:00:00 - $next_hours:00:00</a></td>";
|
||||
echo "<td align=center>$mon</td>";
|
||||
echo "<td align=center>$tue</td>";
|
||||
echo "<td align=center>$wed</td>";
|
||||
echo "<td align=center>$thu</td>";
|
||||
echo "<td align=center>$fri</td>";
|
||||
echo "<td align=center>$sat</td>";
|
||||
echo "<td align=center>$sun</td>";
|
||||
echo "<td align=center>$holiday</td>";
|
||||
echo "</tr>";
|
||||
}while($selRows = @mysqli_fetch_array($selRes));
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
148
wxc2_omc/account/tariffPlan/tariffDiscountEdit.php
Executable file
148
wxc2_omc/account/tariffPlan/tariffDiscountEdit.php
Executable file
@@ -0,0 +1,148 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʾ<EFBFBD>ۿ۱<DBBF><DBB1><EFBFBD>Ϣ
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
|
||||
<EFBFBD><EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Lilong
|
||||
ʱ<EFBFBD>䣺2004-4-13
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD>: support 16 discount ID.
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<?
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$DEBUG = 0;
|
||||
|
||||
$ppsDb='PPS_DB';
|
||||
$tableName='pre_bill_discount';
|
||||
$listPageURL = "tariffDiscount.php?discount_id=$discount_id";
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace."Tariff plan".$strTitleSpace."Discount";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($set)>0){
|
||||
$setSql="UPDATE $tableName
|
||||
SET mon = '$mon',
|
||||
tue = '$tue',
|
||||
wed = '$wed',
|
||||
thu = '$thu',
|
||||
fri = '$fri',
|
||||
sat = '$sat',
|
||||
sun = '$sun',
|
||||
holiday = '$holiday'
|
||||
WHERE hours = '$hours' AND discount_id='$discount_id'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($pubConn,$setSql);
|
||||
echo mysqli_error($pubConn);
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getSql = "SELECT *
|
||||
FROM $tableName
|
||||
WHERE hours='$hours' AND discount_id='$discount_id'";
|
||||
if($DEBUG) echo "getSql=$getSql<br>";
|
||||
$result=mysqli_query($pubConn,$getSql);
|
||||
$rows = mysqli_fetch_array($result);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
?>
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?hours=$hours&discount_id=$discount_id"; ?>" method="POST">
|
||||
<table border="1" width="100%" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tbody>
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td align="center" colspan="9">
|
||||
<?php echo "Edit Discount ( ID: $discount_id ) "; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td align="center"><?php echo "$strTariffDiscountTimeSection"; ?></td>
|
||||
<td align="center"><?php echo $strMonday; ?></td>
|
||||
<td align="center"><?php echo $strTuesday; ?></td>
|
||||
<td align="center"><?php echo $strWednesday; ?></td>
|
||||
<td align="center"><?php echo $strThursday; ?></td>
|
||||
<td align="center"><?php echo $strFriday; ?></td>
|
||||
<td align="center"><?php echo $strSaturday; ?></td>
|
||||
<td align="center"><?php echo $strSunday; ?></td>
|
||||
<td align="center"><?php echo $strSpecialDay; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
do
|
||||
{
|
||||
echo "<tr>";
|
||||
// $discount_id=$rows[discount_id];
|
||||
$hours=$rows[hours];
|
||||
if(strlen($hours) < 2) $hours='0'.$hours;
|
||||
if(strlen($hours+1) < 2)
|
||||
{
|
||||
$next_hours='0'.($hours+1);
|
||||
}
|
||||
else
|
||||
{
|
||||
$next_hours=$hours+1;
|
||||
}
|
||||
$holiday=change2point($rows[holiday]/100);
|
||||
echo "<td align=center>$hours:00:00 - $next_hours:00:00</td>";
|
||||
echo "<td><input type=\"text\" name=\"mon\" size=\"3\" value=\"$rows[mon]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"tue\" size=\"3\" value=\"$rows[tue]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"wed\" size=\"3\" value=\"$rows[wed]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"thu\" size=\"3\" value=\"$rows[thu]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"fri\" size=\"3\" value=\"$rows[fri]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"sat\" size=\"3\" value=\"$rows[sat]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"sun\" size=\"3\" value=\"$rows[sun]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "<td><input type=\"text\" name=\"holiday\" size=\"3\" value=\"$rows[holiday]\" class=\"text\" style=\"text-align: right;\"> /100 </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
while($rows = @mysqli_fetch_array($result));
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffDiscount.php?discount_id=<?php echo "$discount_id"; ?>" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
103
wxc2_omc/account/tariffPlan/tariffHoliday.php
Executable file
103
wxc2_omc/account/tariffPlan/tariffHoliday.php
Executable file
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD>б<EFBFBD>
|
||||
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$helpId = "2.2.3.4";
|
||||
$ppsDb='PPS_DB';
|
||||
$tableName='pre_bill_holiday';
|
||||
$arr_mode=array("edit","add");
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace.$strTariffPlan.$strTitleSpace.$strHoliday;
|
||||
$sql="SELECT *
|
||||
FROM $tableName
|
||||
ORDER BY 'month','day'";
|
||||
$result=mysqli_query($pubConn,$sql);
|
||||
$rows=mysqli_fetch_array($result);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($helpId);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
/*
|
||||
//û<>м<EFBFBD>¼ʱ<C2BC><CAB1><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>¼<EFBFBD><C2BC>ʾ
|
||||
if(!$rows){
|
||||
echo "$strNotFindRecord";
|
||||
exit();
|
||||
}
|
||||
*/
|
||||
?>
|
||||
|
||||
<table border="0" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" width="100%">
|
||||
<tr>
|
||||
<td valign="middle" width="12%"><a href="tariffHoliday.php" target="_self"><img align=absBottom border="0" src="../../images/list.gif" width="16" height="16"><?php echo "$strList"; ?></a>
|
||||
</td>
|
||||
<td valign="middle" width="12%">
|
||||
<?php
|
||||
echo "<a href=\"tariffHolidayEdit.php?mode=$arr_mode[1]\" target=\"_self\">";
|
||||
?>
|
||||
<img align="absBottom" border="0" src="../../images/add.gif" width="16" height="16"><?php echo "$strAdd"; ?></a>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF">
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td align="center" width="40%"><?php echo $strDate; ?>(mm-dd)</td>
|
||||
<td align="center" width="60%"><?php echo $strDescription; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
$i=0;
|
||||
do
|
||||
{
|
||||
echo "<tr>";
|
||||
$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 "<td align=\"center\"><a href=\"./tariffHolidayEdit.php?month=$month&day=$day&mode=$arr_mode[0]\">$showDate</a></td>";
|
||||
echo "<td align=\"center\">$rows[name]</td>";
|
||||
echo "</tr>";
|
||||
$i++;
|
||||
}while($rows=mysqli_fetch_array($result));
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
200
wxc2_omc/account/tariffPlan/tariffHolidayEdit.php
Executable file
200
wxc2_omc/account/tariffPlan/tariffHolidayEdit.php
Executable file
@@ -0,0 +1,200 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD>б<EFBFBD>
|
||||
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?id=$id&mode=$mode"; ?>" method="POST">
|
||||
<?php
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
$ppsDb = 'PPS_DB';
|
||||
$tableName = 'pre_bill_holiday';
|
||||
$DEBUG = 0;
|
||||
$listPageURL='tariffHoliday.php';
|
||||
$strThisPage=$strTitleAdvanced.$strTitleSpace."Tariff plan".$strTitleSpace."Holiday";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add holiday";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit holiday";
|
||||
}
|
||||
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($set) > 0){
|
||||
//<2F><EFBFBD>ԭ<EFBFBD>м<EFBFBD>¼
|
||||
if($mode=="edit"){
|
||||
$editSql="UPDATE $tableName
|
||||
SET name = '$name'
|
||||
WHERE month = '$month'
|
||||
AND day = '$day'";
|
||||
if($DEBUG) echo "<br>$editSql";
|
||||
$result= @mysqli_query($pubConn,$editSql);
|
||||
echo mysqli_error($pubConn);
|
||||
}
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>µļ<C2B5>¼
|
||||
if($mode=="add"){
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>Ŀ
|
||||
$getSql="SELECT * FROM $tableName";
|
||||
$result=mysqli_query($pubConn,$getSql);
|
||||
$rows=mysqli_fetch_array($result);
|
||||
do{
|
||||
if ($DEBUG) echo "<br>recordedMonth=$rows[month]<br>recordedDay=$rows[day]";
|
||||
if ($rows[month]==$month && $rows[day]==$day){
|
||||
echo "<SCRIPT LANGUAGE=\"JavaScript\">";
|
||||
echo "alert(\"The holiday date for ($month-$day) is already existed, please confirm and retry!\")";
|
||||
echo "</SCRIPT>";
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=tariffHolidayEdit.php?mode=$arr_mode[1]\"> ";
|
||||
exit();
|
||||
}
|
||||
}while($rows=mysqli_fetch_array($result));
|
||||
|
||||
$insertSql="INSERT INTO $tableName
|
||||
(month,day,name)
|
||||
VALUES
|
||||
('$month','$day','$name')";
|
||||
if($DEBUG) echo "<br>$insertSql";
|
||||
if($DEBUG) echo "<br>month=$month<br>day=$day";
|
||||
$result= @mysqli_query($pubConn,$insertSql);
|
||||
echo mysqli_error($pubConn);
|
||||
}
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
//ɾ<><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
if(strlen($delete) > 0){
|
||||
$deleteSql="DELETE FROM $tableName
|
||||
WHERE month = '$month'
|
||||
AND day = '$day'";
|
||||
if($DEBUG) echo "<br>$deleteSql";
|
||||
$result= @mysqli_query($pubConn,$deleteSql);
|
||||
echo mysqli_error($pubConn);
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
|
||||
$sql="SELECT *
|
||||
FROM $tableName
|
||||
WHERE month='$month'
|
||||
AND day='$day'";
|
||||
$result=mysqli_query($pubConn,$sql);
|
||||
$rows=mysqli_fetch_array($result);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strThisPage";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td align=\"left\">";
|
||||
echo "<br>";
|
||||
?>
|
||||
<a href="tariffHoliday.php" target="_self"><img align=absBottom border="0" src="../../images/list.gif" width="16" height="16">List</a>
|
||||
<?php
|
||||
echo "<a href=\"tariffHolidayEdit.php?mode=$arr_mode[1]\" target=\"_self\">";
|
||||
?>
|
||||
<img align="absBottom" border="0" src="../../images/add.gif" width="16" height="16">Add</a>
|
||||
<?php
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="2"><?php echo $tableTitle; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%"><?php echo $strDate; ?></td>
|
||||
<td width="60%">
|
||||
<?php
|
||||
if($mode == "edit"){
|
||||
$month=omc_keep_length($rows[month],0,2);
|
||||
$day=omc_keep_length($rows[day],0,2);
|
||||
echo "$month - $day";
|
||||
echo "<input type=\"hidden\" name=\"month\" size=\"20\" value=\"$month\">";
|
||||
echo "<input type=\"hidden\" name=\"day\" size=\"20\" value=\"$day\">";
|
||||
}
|
||||
|
||||
elseif($mode == "add"){
|
||||
echo "<select size=\"1\" name=\"month\">";
|
||||
for($i=1;$i<=12;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo " - ";
|
||||
echo "<select size=\"1\" name=\"day\">";
|
||||
for($i=1;$i<=31;$i++){
|
||||
$m=($i<10?"0":"").$i;
|
||||
echo "<option value=\"$m\">$m</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
}
|
||||
echo " (mm-dd)";
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $strDescription; ?></td>
|
||||
<td>
|
||||
<?php
|
||||
$rows[name]=$rows[name]?$rows[name]:'--';
|
||||
echo "<input type=\"text\" name=\"name\" size=\"20\" value=\"$rows[name]\" class=\"text\">";
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffHoliday.php" class="button">
|
||||
<?php
|
||||
if($mode == "edit"){
|
||||
echo "<input type=\"submit\" name=\"delete\" value=\"Delete\" class=\"button\">";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
291
wxc2_omc/account/tariffPlan/tariffRentEdit.php
Executable file
291
wxc2_omc/account/tariffPlan/tariffRentEdit.php
Executable file
@@ -0,0 +1,291 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A><EFBFBD>Rent
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺 2004-4-13
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>OMC 7.0 <20><><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>ͨ<EFBFBD><CDA8>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>tariff_id<69><64><EFBFBD>IJ<DEB8>ͬ
|
||||
tariff_id<69>÷<EFBFBD><C3B7><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?id=".$_REQUEST['id']."&mode=".$_REQUEST['mode']; ?>" method="POST">
|
||||
|
||||
<?php
|
||||
$DEBUG =0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$ppsDb ='PPS_DB';
|
||||
|
||||
$id=$_REQUEST['id'];
|
||||
$tariffID=$_REQUEST['tariffID'];
|
||||
$tariff_id=$_REQUEST['tariff_id'];
|
||||
$mode=$_REQUEST['mode'];
|
||||
$edit=$_REQUEST['edit'];
|
||||
$number_of_records=$_REQUEST['number_of_records'];
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>
|
||||
|
||||
$rent_id=$_REQUEST['rent_id'];
|
||||
$description=$_REQUEST['description'];
|
||||
|
||||
$rent_type=$_REQUEST['rent_type'];
|
||||
$rent_day=$_REQUEST['rent_day'];
|
||||
$Charge_amount=$_REQUEST['Charge_amount'];
|
||||
|
||||
|
||||
global $pubConn,$OMC_server;
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$tableName ='pre_rent';
|
||||
$listPageURL = "tariffBasic.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace."Tariff plan".$strTitleSpace."Rent";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add Rent";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit Rent";
|
||||
}
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>id=$id";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($_REQUEST['set']) > 0){
|
||||
if ($mode == "edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET description = '$description',
|
||||
rent_type = '$rent_type',
|
||||
charge_date = '$rent_day',
|
||||
rent_amount = '$Charge_amount'
|
||||
WHERE id = '$id' AND tariff_id='$tariffID'";
|
||||
if(1) echo "<br>$setSql";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
if ($mode == "add"){
|
||||
$setSql="INSERT INTO $tableName
|
||||
(id,description,rent_type,charge_date,rent_amount)
|
||||
VALUES
|
||||
('$rent_id','$description','$rent_type','$rent_day','$charge_amount')";
|
||||
if($DEBUG) echo "<br>setSql=$setSql";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getEditSql="SELECT id,description, rent_type, charge_date,rent_amount
|
||||
FROM $tableName
|
||||
WHERE id = '$id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$getEditSql";
|
||||
$resultEdit= @mysqli_query($srcDataConn,$getEditSql);
|
||||
$rows= @mysqli_fetch_array($resultEdit);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
$getAddSql="SELECT id
|
||||
FROM $tableName";
|
||||
//if($DEBUG) echo "<br>$getEditSql";
|
||||
$resultAdd= @mysqli_query($srcDataConn,$getAddSql);
|
||||
$rowsAdd= @mysqli_fetch_array($resultAdd);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectType(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?edit=1&id=$id&tariffID=$tariffID&mode=$mode&rent_type=";?>';
|
||||
//echo "a=-==".document.editform.rent_type.options;
|
||||
console.log(document.getElementById('rent_type').value)
|
||||
url_add=document.getElementById('rent_type').value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="3">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strTariffRentID</td>";
|
||||
echo "<td width=\"60%\">$id</td>";
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\">";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDescription</td>";
|
||||
if(1==$id){
|
||||
echo "<td>$rows[description]</td>";
|
||||
echo "<td><input type=\"hidden\" name=\"description\" size=\"10\" value=\"$rows[description]\"></td>";
|
||||
}
|
||||
else
|
||||
echo "<td><input type=\"text\" name=\"description\" size=\"10\" value=\"$rows[description]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeType</td>";
|
||||
$arr_RentType = array("Every day","Every month");
|
||||
$length = sizeof($arr_RentType);
|
||||
echo "<td>";
|
||||
echo "<select onChange=\"javascript:selectType();\" name=\"rent_type\" id=\"rent_type\">";
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڱ༭״̬
|
||||
if($edit != 1){
|
||||
$rent_type = $rows[rent_type];
|
||||
}
|
||||
else {
|
||||
$rent_type=$rent_type;
|
||||
}
|
||||
for ($i=0;$i<$length;$i++)
|
||||
{
|
||||
echo "<option value=\"$i\" ";
|
||||
if ($i == $rent_type)
|
||||
{
|
||||
echo "selected";
|
||||
}
|
||||
echo ">$arr_RentType[$i]</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeDate</td>";
|
||||
echo "<td>";
|
||||
if ($rent_type =='1')
|
||||
{
|
||||
echo "<select name=\"rent_day\" >";
|
||||
for ($i=1;$i<=28;$i++)
|
||||
{
|
||||
echo "<option value=\"$i\" ";
|
||||
if ($i == $rows[charge_date])
|
||||
{
|
||||
echo "selected";
|
||||
}
|
||||
echo ">$i</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
}
|
||||
elseif ($rent_type == '0'){
|
||||
echo "--";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeAmount</td>";
|
||||
echo "<td><input type=\"text\" name=\"Charge_amount\" size=\"10\" value=\"$rows[rent_amount]\" class=\"text\"> $moneyPara </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
elseif ($mode == "add"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strTariffRentID</td>";
|
||||
echo "<td width=\"60%\">$id<input type=\"hidden\" name=\"rent_id\" value=\"$id\"></td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeType</td>";
|
||||
$arr_RentType = array("Every day","Every month");
|
||||
$length = sizeof($arr_RentType);
|
||||
echo "<td>";
|
||||
echo "<select onChange=\"javascript:selectType();\" name=\"rent_type\">";
|
||||
for ($i=0;$i<$length;$i++)
|
||||
{
|
||||
echo "<option value=\"$i\">$arr_RentType[$i]</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeDate</td>";
|
||||
echo "<td>";
|
||||
if ($rent_type=='1'){
|
||||
echo "<select name=\"rent_day\">";
|
||||
for ($i=1;$i<=28;$i++){
|
||||
echo "<option value=\"$i\">$i</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
}
|
||||
elseif ($rent_type=='0'){
|
||||
echo "--";
|
||||
}
|
||||
else {echo "--";}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDescription</td>";
|
||||
echo "<td><input type=\"text\" name=\"description\" size=\"16\" value=\"\" class=\"text\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeAmount</td>";
|
||||
echo "<td><input type=\"text\" name=\"charge_amount\" size=\"10\" value=\"\" class=\"text\"> $moneyPara </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
159
wxc2_omc/account/tariffPlan/tariffServicesEdit.php
Executable file
159
wxc2_omc/account/tariffPlan/tariffServicesEdit.php
Executable file
@@ -0,0 +1,159 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A><EFBFBD>Service<63><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺2004-4-13
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>OMC 7.0 <20><><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>ͨ<EFBFBD><CDA8>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>tariff_id<69><64><EFBFBD>IJ<DEB8>ͬ
|
||||
tariff_id<69>÷<EFBFBD><C3B7><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<?php
|
||||
$DEBUG=0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$ppsDb='PPS_DB';
|
||||
|
||||
$description=$_REQUEST['description'];
|
||||
$arr_editfieldAmount=$_REQUEST['arr_editfieldAmount'];
|
||||
$arr_editfieldUnit=$_REQUEST['arr_editfieldUnit'];
|
||||
$tariffID=$_REQUEST['tariffID'];
|
||||
|
||||
$amount=$_REQUEST['amount'];
|
||||
$unit=$_REQUEST['unit'];
|
||||
|
||||
|
||||
global $OMC_server;
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$tableName='pre_comm_tariff';
|
||||
$listPageURL= "tariffBasic.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
if($DEBUG) echo "url=$listPageURL<br>";
|
||||
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace.$strCurrentTariff.$strTitleSpace."Multiple services";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($_POST['set']) > 0){
|
||||
if (strlen($arr_editfieldUnit)>0){
|
||||
$strSqlUpdate = $arr_editfieldAmount."='$amount',".$arr_editfieldUnit."='$unit'";
|
||||
}
|
||||
else{
|
||||
$strSqlUpdate = $arr_editfieldAmount."='$amount'";
|
||||
}
|
||||
if ($DEBUG) echo "<br>strSqlUpdate:$strSqlUpdate";
|
||||
if ($DEBUG) echo "<br>arr_editfieldUnit:$arr_editfieldUnit";
|
||||
$where =" WHERE tariff_id=$tariffID";
|
||||
$selSql ="Select count(*) FROM $tableName".$where;
|
||||
if($DEBUG) echo "<br>$selSql";
|
||||
$result = @mysqli_query($srcDataConn,$selSql);
|
||||
$rows =mysqli_fetch_array($result);
|
||||
$rowsNum=$rows[0];
|
||||
if($DEBUG) echo "<br>rowsNum=$rows[0]";
|
||||
if($rowsNum){
|
||||
$setSql="UPDATE $tableName
|
||||
SET $strSqlUpdate $where";
|
||||
}else{
|
||||
$setSql="REPLACE $tableName
|
||||
SET $strSqlUpdate $where";
|
||||
}
|
||||
if($DEBUG) echo "<br>setSql=$setSql<br>";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if(!$DEBUG){
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getSql="SELECT * FROM $tableName WHERE tariff_id='$tariffID'";
|
||||
//echo $getSql;
|
||||
$result=mysqli_query($srcDataConn,$getSql);
|
||||
$rows=mysqli_fetch_array($result);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
?>
|
||||
|
||||
<form name="editform" action="
|
||||
<?php echo"$PHP_SELF?description=$description&arr_editfieldAmount=$arr_editfieldAmount&arr_editfieldUnit=$arr_editfieldUnit"; ?>
|
||||
" method="POST">
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<?php
|
||||
echo "<tr>";
|
||||
echo "<td bgcolor=\"#E6E6E6\" colspan=\"2\">Edit services</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strDescription</td>";
|
||||
echo "<td width=\"60%\">$description</td>";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeAmount</td>";
|
||||
echo "<td><input type=\"text\" name=\"amount\" size=\"5\" value=\"$rows[$arr_editfieldAmount]\" class=\"text\" style=\"text-align: right;\"> $moneyPara</td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strUnitChargingTimeSecond</td>";
|
||||
if (strlen($arr_editfieldUnit)>0){
|
||||
echo "<td><input type=\"text\" name=\"unit\" size=\"5\" value=\"$rows[$arr_editfieldUnit]\" class=\"text\" style=\"text-align: right;\"></td>";
|
||||
}
|
||||
else{
|
||||
echo "<td>--</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</form>
|
||||
</html>
|
||||
255
wxc2_omc/account/tariffPlan/tariffSmsEdit.php
Executable file
255
wxc2_omc/account/tariffPlan/tariffSmsEdit.php
Executable file
@@ -0,0 +1,255 @@
|
||||
<?php
|
||||
/*********************************************************
|
||||
<20>ļ<EFBFBD>˵<EFBFBD><CBB5>:
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:<3A>Ķ<DEB8><C4B6><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
||||
|
||||
<20><><EFBFBD>ù<EFBFBD>ϵ:<3A><><EFBFBD><EFBFBD>:header.inc
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ʵ<>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
||||
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>:
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2004-04-13
|
||||
NO.1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
ʱ<EFBFBD>䣺
|
||||
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*********************************************************/
|
||||
require("../../inc/header.inc");
|
||||
?>
|
||||
<body leftmargin="15" rightmargin="10" onload="javascript:adjust();" onresize="javascript:adjust();" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
|
||||
<form name="editform" action="<?php echo"$PHP_SELF?id=".$_REQUEST['id']."&mode=".$_REQUEST['mode'] ?>" method="POST">
|
||||
|
||||
<?php
|
||||
$DEBUG =0;
|
||||
adjust_head();
|
||||
adjust_title_head();
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$ppsDb ='PPS_DB';
|
||||
|
||||
$id=$_REQUEST['id'];
|
||||
$tariffID=$_REQUEST['tariffID'];
|
||||
$tariff_id=$_REQUEST['tariff_id'];
|
||||
$mode=$_REQUEST['mode'];
|
||||
|
||||
|
||||
$prefix=$_REQUEST['prefix'];
|
||||
$call_type=$_REQUEST['call_type'];
|
||||
$area=$_REQUEST['area'];
|
||||
$discount_id=$_REQUEST['discount_id'];
|
||||
$charge_amount=$_REQUEST['charge_amount'];
|
||||
$cap_flag=$_REQUEST['cap_flag'];
|
||||
$charge_amount=$_REQUEST['charge_amount'];
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>
|
||||
|
||||
$rent_type=$_REQUEST['rent_type'];
|
||||
|
||||
|
||||
|
||||
$charge_amount=$_REQUEST['charge_amount'];
|
||||
|
||||
$tableName ='pre_bill_sms';
|
||||
global $OMC_server;
|
||||
$srcDataConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $ppsDb);
|
||||
|
||||
$listPageURL = "tariffBasic.php?keep_id=1&return_tariff_id=$tariffID";
|
||||
$moneyPara = getMoneyPara(); //<2F><>ʾ<EFBFBD>Ļ<EFBFBD><C4BB>ҵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ҵ<EFBFBD>λ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
|
||||
$strPageTitle=$strTitleAdvanced.$strTitleSpace."PPS".$strTitleSpace."Tariff plan".$strTitleSpace."SMS";
|
||||
$arr_mode=array("edit","add");
|
||||
if($mode == "add"){
|
||||
$tableTitle = "Add SMS";
|
||||
}
|
||||
elseif($mode == "edit"){
|
||||
$tableTitle = "Edit SMS";
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
if($DEBUG) echo "<br>id=$id";
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD>ĵı<C4B5><C4B1><EFBFBD>
|
||||
if(strlen($_POST['set']) > 0){
|
||||
echo "$mode";
|
||||
if ($mode == "edit"){
|
||||
$setSql="UPDATE $tableName
|
||||
SET prefix= '$prefix',
|
||||
call_type= '$call_type',
|
||||
area= '$area',
|
||||
discount_id= '$discount_id',
|
||||
charge_amount = '$charge_amount',
|
||||
cap_flag = '$cap_flag'
|
||||
WHERE id='$id' AND tariff_id='$tariffID'";
|
||||
if($DEBUG) echo "<br>$setSql";
|
||||
$result= @mysqli_query($srcDataConn,$setSql);
|
||||
echo mysqli_error($srcDataConn);
|
||||
if($DEBUG) exit();
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=$listPageURL\"> ";
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
||||
//==========================================================
|
||||
$getEditSql="SELECT id,prefix,call_type,area,discount_id,charge_amount,cap_flag
|
||||
FROM $tableName
|
||||
WHERE id='$id' AND tariff_id='$tariffID'";
|
||||
//if($DEBUG) echo "<br>$getEditSql";
|
||||
$resultEdit= @mysqli_query($srcDataConn,$getEditSql);
|
||||
$rows= @mysqli_fetch_array($resultEdit);
|
||||
echo mysqli_error($srcDataConn);
|
||||
|
||||
$getAddSql="SELECT id
|
||||
FROM $tableName";
|
||||
//if($DEBUG) echo "<br>$getEditSql";
|
||||
$resultAdd= @mysqli_query($srcDataConn,$getAddSql);
|
||||
$rowsAdd= @mysqli_fetch_array($resultAdd);
|
||||
echo mysqli_error($srcDataConn);
|
||||
?>
|
||||
|
||||
<script LANGUAGE="JavaScript">
|
||||
function selectType(){
|
||||
var base_url,url_add,url;
|
||||
base_url='<?php echo "$PHP_SELF?edit=1&id=$id&mode=$mode&rent_type=";?>';
|
||||
url_add=document.editform.rent_type.options[document.editform.rent_type.selectedIndex].value;
|
||||
url=base_url+url_add;
|
||||
window.location=url;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "$strPageTitle";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\"> ";
|
||||
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
echo "<br>";
|
||||
|
||||
?>
|
||||
|
||||
<table border="1" width="400" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td colspan="2">
|
||||
<?php echo $tableTitle; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($mode == "edit"){
|
||||
echo "<tr>";
|
||||
echo "<td width=\"40%\">$strTariffRentID</td>";
|
||||
echo "<td width=\"60%\">$id</td>";
|
||||
echo "<input type=\"hidden\" name=\"tariff_id\" value=\"$rows[tariff_id]\" size=\"25\">";
|
||||
$return_tariff_id = $rows[tariff_id]; //<2F><><EFBFBD>巵<EFBFBD><E5B7B5>ʱ<EFBFBD><CAB1>ҳ<EFBFBD><D2B3>
|
||||
echo "</tr>";
|
||||
|
||||
if(1 == $id){
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td><input disabled type=\"text\" name=\"prefix\" size=\"10\" value=\"$rows[prefix]\"></td>";
|
||||
echo "<td><input type=\"hidden\" name=\"prefix\" size=\"10\" value=\"$rows[prefix]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
$arr_CallType = array("Local call out","NDD","IDD");
|
||||
echo "<tr>";
|
||||
echo "<td>Call type</td>";
|
||||
echo "<td><input disabled type=\"text\" name=\"call_type\" size=\"10\" value=\"{$arr_CallType[$rows[call_type]]}\"></td>";
|
||||
echo "<td><input type=\"hidden\" name=\"call_type\" size=\"10\" value=\"$rows[call_type]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input disabled type=\"text\" name=\"area\" size=\"10\" value=\"$rows[area]\"></td>";
|
||||
echo "<td><input type=\"hidden\" name=\"area\" size=\"10\" value=\"$rows[area]\"></td>";
|
||||
echo "</tr>";
|
||||
}else{
|
||||
echo "<tr>";
|
||||
echo "<td>$strChargingPrefix</td>";
|
||||
echo "<td><input type=\"text\" name=\"prefix\" size=\"10\" value=\"$rows[prefix]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>Call type</td>";
|
||||
$call_type=$rows[call_type]-0;
|
||||
$arr_CallType = array("Local call out","NDD","IDD");
|
||||
$length = sizeof($arr_CallType);
|
||||
echo "<td>";
|
||||
echo "<select size=\"1\" name=\"call_type\">";
|
||||
for ($i=0;$i<$length;$i++){
|
||||
if($i != $call_type){
|
||||
echo "<option value=\"$i\">$arr_CallType[$i]</option>";
|
||||
}else{
|
||||
echo "<option value=\"$i\" selected>$arr_CallType[$i]</option>";
|
||||
}
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strCountryDistrict</td>";
|
||||
echo "<td><input type=\"text\" name=\"area\" size=\"10\" value=\"$rows[area]\"></td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strDiscountID</td>";
|
||||
echo "<td><input type=\"text\" name=\"discount_id\" size=\"10\" value=\"$rows[discount_id]\"></td>";
|
||||
echo "</tr>";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentChargeAmount</td>";
|
||||
echo "<td><input type=\"text\" name=\"charge_amount\" size=\"10\" value=\"$rows[charge_amount]\" class=\"text\"> $moneyPara </td>";
|
||||
echo "</tr>";
|
||||
|
||||
$cap_flag_value=$rows[cap_flag]+0;
|
||||
$cap_flag_label=array(0=>"Disable",1=>"Home PLMN SM",2=>"Other Network SM");
|
||||
echo "<tr>";
|
||||
echo "<td>$strTariffRentCapFlag</td>";
|
||||
echo "<td>";
|
||||
echo "<select name=\"cap_flag\" size=1>";
|
||||
for($i=0;$i<3;$i++)
|
||||
{
|
||||
if($cap_flag_value==$i)
|
||||
echo "<option selected value=$i>{$cap_flag_label[$i]}</option>";
|
||||
else
|
||||
echo "<option value=$i>{$cap_flag_label[$i]}</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<table width="400">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="tariffID" value="<?php echo $tariffID;?>">
|
||||
<input type="submit" name="set" value="Set" style="width:40" class="button">
|
||||
<input type="reset" name="reset" value="Reset" class="button">
|
||||
<input type="button" name="return" value="Return" onclick=jacascript:location.href="./tariffBasic.php" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php
|
||||
adjust_content_tail();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user