The problem is occurring because you have changed the Submit order to a in image form field instead of a Button form element.
find the following code in 2 places:
if (isset($_POST["Submit_order"])) // Trigger
{
and change it to:
if (isset($_POST["Submit_order_x"])) // Trigger
{