setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB); $objDisney = new DbDisney($objDbh); $order_common_info = $objDisney->getOrderInfoFromSN($_GET["orderno"]); if( $order_common_info == false && isset($_GET["pt"]) && $_GET["pt"] == 1 ) { $_GET["orderno"] = $_COOKIE["orderno"]; $order_common_info = $objDisney->getOrderInfoFromSN($_GET["orderno"]); } ?>