Beispiel #1
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'print') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->print1();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'viewbill') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->viewbill();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'recoil') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->recoil();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'audit') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->audit();
                 } else {
                     if (isset($_GET['action']) && $_GET['action'] == 'turnback') {
                         $this->checkUser();
                         //验证身份,这一步很重要。
                         $this->turnback();
                     } else {
                         parent::Main();
                     }
                 }
             }
         }
     }
 }
Beispiel #2
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'printbill') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->printbill();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'editorder') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->editorder();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'audit') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->audit();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'recoil') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->recoil();
                 } else {
                     parent::Main();
                 }
             }
         }
     }
 }
Beispiel #3
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'selectwarehouse') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->selectwarehouse();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'submittoaudit') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->submittoaudit();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'audit') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->audit();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'print') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->print1();
                 } else {
                     if (isset($_POST['action']) && $_POST['action'] == 'save1') {
                         $this->checkUser();
                         //验证身份,这一步很重要。
                         $this->save1();
                     } else {
                         parent::Main();
                     }
                 }
             }
         }
     }
 }
Beispiel #4
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'addorder') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->addorder();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'print') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->print1();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'recoil') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->recoil();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'sellotherexport') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->sellotherexport();
                 } else {
                     parent::Main();
                 }
             }
         }
     }
 }
Beispiel #5
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'step2') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->step2();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'step3') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->step3();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'step2_1') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->step2_1();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'step2_2') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->step2_2();
                 } else {
                     if (isset($_GET['action']) && $_GET['action'] == 'step4') {
                         $this->checkUser();
                         //验证身份,这一步很重要。
                         $this->step4();
                     } else {
                         parent::Main();
                     }
                 }
             }
         }
     }
 }
Beispiel #6
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'viewhistorty') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->viewhistorty();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'savetohistory') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->savetohistory();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'audit') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->audit();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'exportexcel') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->exportexcel();
                 } else {
                     if (isset($_GET['action']) && $_GET['action'] == 'printview') {
                         $this->checkUser();
                         //验证身份,这一步很重要。
                         $this->printview();
                     } else {
                         parent::Main();
                     }
                 }
             }
         }
     }
 }
Beispiel #7
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'submittoaudit') {
         $this->submittoaudit();
     } else {
         parent::Main();
     }
 }
Beispiel #8
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'accept') {
         $accid = $_GET['id'] + 0;
         $this->dbObj->Execute('update ' . WEB_ADMIN_TABPOX . 'message set hadratify=1 where msgid=' . $accid);
         unset($_GET);
     }
     parent::Main();
 }
Beispiel #9
0
    function Main()
    {   
        if(isset($_GET['action']) && $_GET['action']=='monthfinish'){
            $this -> checkUser();//验证身份,这一步很重要。
            $this -> monthfinish();			
		}else{
            parent::Main();
        }
    }
Beispiel #10
0
 function Main()
 {
     if (isset($_GET['purchreturnid'])) {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->viewpurchreturnbill($_GET['purchreturnid']);
     } else {
         parent::Main();
     }
 }
Beispiel #11
0
 function Main()
 {
     if (isset($_GET['Action']) && $_GET['Action'] == 'statistics') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->statistics();
     } else {
         parent::Main();
     }
 }
Beispiel #12
0
 function Main()
 {
     if (isset($_POST['action']) && $_POST['action'] == 'audit') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->audit();
     } else {
         parent::Main();
     }
 }
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'detaillist') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->detaillist();
     } else {
         parent::Main();
     }
 }
Beispiel #14
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'printbill') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->printbill();
     } else {
         parent::Main();
     }
 }
Beispiel #15
0
 function Main()
 {
     if (isset($_GET['Action']) && $_GET['Action'] == 'DoAllNews') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->DoAllNews();
     } else {
         parent::Main();
     }
 }
Beispiel #16
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'save') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->save();
     } else {
         parent::Main();
     }
 }
Beispiel #17
0
 function Main()
 {
     if (isset($_GET['Action']) && $_GET['Action'] == 'importexcel') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->importexcel();
     } else {
         parent::Main();
     }
 }
Beispiel #18
0
 function Main()
 {
     if (isset($_GET['sellid'])) {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->viewbill($_GET['sellid']);
     } else {
         parent::Main();
     }
 }
Beispiel #19
0
 function Main()
    {   
        if(isset($_POST['action']) && $_POST['action']=='balancesheet'){
            $this -> checkUser();//验证身份,这一步很重要。
            $this -> balancesheettype();			
		}else if(isset($_POST['action']) && $_POST['action']=='printbill'){
            $this -> checkUser();//验证身份,这一步很重要。
            $this -> printbill();			
		}else{
            parent::Main();
        }
    }
Beispiel #20
0
 function Main()
 {
     if (isset($_POST['action']) && $_POST['action'] == 'query') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->query();
     } else {
         if (isset($_POST['action']) && $_POST['action'] == 'show') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->show();
         } else {
             parent::Main();
         }
     }
 }
Beispiel #21
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'addcard') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->addcard();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'editcard') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->editcard();
         } else {
             parent::Main();
         }
     }
 }
Beispiel #22
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'audit') {
         $this->audit();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'recoil') {
             $this->recoil();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'stop') {
                 $this->stop();
             } else {
                 parent::Main();
             }
         }
     }
 }
Beispiel #23
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'import') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->import();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'export') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->export();
         } else {
             parent::Main();
         }
     }
 }
Beispiel #24
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'freecost') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->freecost();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'step3') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->step3();
         } else {
             parent::Main();
         }
     }
 }
Beispiel #25
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'charge') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->charge();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'printticket') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->printticket();
         } else {
             parent::Main();
         }
     }
 }
Beispiel #26
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'newcard') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->newcard();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'newcardsave') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->newcardsave();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'charge') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->charge();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'savecharge') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->savecharge();
                 } else {
                     if (isset($_GET['action']) && $_GET['action'] == 'edit') {
                         $this->checkUser();
                         //验证身份,这一步很重要。
                         $this->edit();
                     } else {
                         if (isset($_GET['action']) && $_GET['action'] == 'editsave') {
                             $this->checkUser();
                             //验证身份,这一步很重要。
                             $this->editsave();
                         } else {
                             parent::Main();
                         }
                     }
                 }
             }
         }
     }
 }
Beispiel #27
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'selectwarehouse') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->selectwarehouse();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'submittoaudit') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->submittoaudit();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'audit') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->audit();
             } else {
                 if (isset($_GET['action']) && $_GET['action'] == 'recoil') {
                     $this->checkUser();
                     //验证身份,这一步很重要。
                     $this->recoil();
                 } else {
                     if (isset($_GET['action']) && $_GET['action'] == 'viewbill') {
                         $this->checkUser();
                         //验证身份,这一步很重要。
                         $this->viewbill();
                     } else {
                         if (isset($_GET['action']) && $_GET['action'] == 'printbill') {
                             $this->checkUser();
                             //验证身份,这一步很重要。
                             $this->printbill();
                         } else {
                             parent::Main();
                         }
                     }
                 }
             }
         }
     }
 }
Beispiel #28
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'printbill') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->printbill();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'zongzhang') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->zongzhang();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'exportexcel') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->exportexcel();
             } else {
                 parent::Main();
             }
         }
     }
 }
Beispiel #29
0
 function Main()
 {
     if (isset($_POST['action']) && $_POST['action'] == 'masterlist') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->masterlist();
     } else {
         if (isset($_POST['action']) && $_POST['action'] == 'config') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->config();
         } else {
             if (isset($_POST['action']) && $_POST['action'] == 'printbill') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->printbill();
             } else {
                 parent::Main();
             }
         }
     }
 }
Beispiel #30
0
 function Main()
 {
     if (isset($_GET['action']) && $_GET['action'] == 'analysis') {
         $this->checkUser();
         //验证身份,这一步很重要。
         $this->analysis();
     } else {
         if (isset($_GET['action']) && $_GET['action'] == 'print') {
             $this->checkUser();
             //验证身份,这一步很重要。
             $this->print1();
         } else {
             if (isset($_GET['action']) && $_GET['action'] == 'recoil') {
                 $this->checkUser();
                 //验证身份,这一步很重要。
                 $this->recoil();
             } else {
                 parent::Main();
             }
         }
     }
 }