Esempio n. 1
0
     }
     if (isset($_GET['closed'])) {
         $ecn->setValue('onlyclosed', $_GET['closed']);
     }
     $ecn->createECNList();
     if (isset($_GET['class'])) {
         $class = 'class="required"';
     } else {
         $class = '';
     }
     $sel = new selectlist('ECN_ID', $ecn->getECNList(), 'Select ECN To Edit', 'ECN_ID', 'ECN_NO', $class, '', '1');
     break;
 case 'gage':
     //machine list
     $gage = new Gage();
     $gage->createGageList();
     if (isset($_GET['id'])) {
         $id = $_GET['id'];
     } else {
         $id = 'Gage_ID';
     }
     $sel = new selectlist($id, $gage->getGageList(), 'Select Thread Sizes', 'Gage_ID', 'Gage_Desc', '', '', '1');
     break;
 case 'infocatagory':
     //machine list
     $any = new Anylist();
     $any->createlist('Information_Catagory');
     if (isset($_GET['id'])) {
         $id = $_GET['id'];
     } else {
         $id = 'Catagory_ID';