user_has_rights() ) { // Redirect when creating new customer if (!is_valid_action("cust_new")) { // Show page header print_xml_header(); // Include search content include("menu_cust_search_content.php"); // Show page footer print_page_footer(); } else { // Redirect to customer new page header("Location: ?id=" . $_PAGE_INFO['id'] . "&href=page/menu_cust_info&action=" . $_SESSION[$_PAGE_INFO['id']]['action'] . ""); } } ?>