|
@@ -0,0 +1,34 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+defined('InShopNC') or exit('Access Invalid!');
|
|
|
+class toolsControl {
|
|
|
+ private function show_menu($menu_key) {
|
|
|
+ $menu_array = array(
|
|
|
+ 'oms_order_push'=>array('menu_type'=>'link','menu_name'=>'oms订单推送','menu_url'=>'./index.php?act=tools&op=index'),
|
|
|
+ );
|
|
|
+ $menu_array[$menu_key]['menu_type'] = 'text';
|
|
|
+ Tpl::output('menu',$menu_array);
|
|
|
+ }
|
|
|
+ public function indexOp(){
|
|
|
+ $this->oms_order_pushOp();
|
|
|
+ }
|
|
|
+ public function oms_order_pushOp(){
|
|
|
+ if(chksubmit())
|
|
|
+ {
|
|
|
+ $order_number = trim($_GET['order_number']);
|
|
|
+ if($order_number == '') {
|
|
|
+ $this->show_menu('oms_order_push');
|
|
|
+ Tpl::showpage('oms_order_push');
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ echo "显示提交结果";
|
|
|
+ }
|
|
|
+ //提交处理
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ $this->show_menu('oms_order_push');
|
|
|
+ Tpl::showpage('oms_order_push');
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|