示例#1
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;
 }