$_GET['id'], //"db_name" => DB_ACCOUNTS, "status" => $_GET['status'], "department_id" => $_GET['department_id'], "status_table" => 'jobs' ); $obj = new list_job_materials($context ); $form = new form_job_materials($context); $form->set(); $show_edit = common_jobs::get_parent_job_id($_GET['id']); if(!$show_edit) { $form->form(); } $obj->get_data()->show(); ?>