Esempio n. 1
0
 public function editNote($i_noteID)
 {
     $objThis_m = new c_data();
     $objThis_v = new c_view();
     $s_sql = "select noteID, orderID, noteBy, noteDate, note from braddoro.dyn_eve_mining_order_note where noteID = {$i_noteID}";
     $q_data = $objThis_m->getData($s_sql);
     return $objThis_v->editNote($q_data);
 }
Esempio n. 2
0
 public function main()
 {
     $objThis_M = new c_data();
     $q_getData = $objThis_M->output();
     $objThis_V = new c_view();
     $s_main = $objThis_V->output($q_getData);
     return $s_main;
 }
Esempio n. 3
0
 public function blueprintInput($blueprintID = 0)
 {
     $objThis_m = new c_model();
     $objThis_v = new c_view();
     $s_location = "select distinct location from braddoro.dyn_blueprints where location > '' order by location;";
     $q_location = $objThis_m->genData($s_location);
     $s_owner = "select ownerID, owner from braddoro.dyn_blueprint_owners where active = 1 order by owner;";
     $q_owner = $objThis_m->genData($s_owner);
     $s_sql = "select blueprintID, eveID, mat_lev, prod_lev, blueprintName, bpc, runs, copies, ownerID, location from braddoro.dyn_blueprints where blueprintID = {$blueprintID};";
     $q_data = $objThis_m->genData($s_sql);
     $s_return = $objThis_v->blueprintInput($q_data, $q_owner, $q_location);
     return $s_return;
 }