string(11) "load_screen" ["plugin"]=> string(18) "ecommerce-services" ["screen"]=> string(13) "manifest_form" ["filter_key"]=> string(3) "ABC" ["back_screen"]=> string(1) "4" } */ $aretex_core_path = get_option('aretex_core_path'); if (file_exists($aretex_core_path.'AreteX_WPI_DI.class.php')) { require_once($aretex_core_path.'AreteX_WPI_DI.class.php'); if ((! empty($_REQUEST['filter_key'])) && ($_REQUEST['filter_key'] == 'none')) $_REQUEST['filter_key'] = false; if (! empty($_REQUEST['filter_key'])) { $title = "Edit Delivery Manifest"; // Load the manifest $manifest = AreteX_WPI_DI::get_delivery_code($_REQUEST['filter_key'],true); $delivery_code = 'value="'.$manifest['delivery_code'].'" readonly="readonly" '; $description = 'value="'.$manifest['description'].'" '; } else { $title = "Add New Delivery Manifest"; $delivery_code = ''; $description = ''; } ?> Back