<?php
$this->load->view("top_application");
echo '<form name="payu" id="payuForm" method="post" action="' . site_url() . 'payment?pay_method=' . $this->input->get_post('pay') . '">
          <input type="text" name="key" value="fIMaqPur" />
          <input type="text" name="hash" value="" />
          <input type="text" name="txnid" value="' . $this->session->userdata('working_order_id') . '" />
          <input type="text" name="amount" value="' . $this->input->get_post('amount') . '" />
          <input type="text" name="firstname" value="' . $this->input->get_post('firstname') . '" />
          <input type="text" name="email" value="' . $this->input->get_post('email') . '" />
          <input type="text" name="phone" value="' . $this->input->get_post('phone') . '" />
          <input type="text" name="productinfo" value="Suites" />

          <input type="text" name="service_provider" value="payu_paisa" size="64" />
        </form>
        ';
$this->load->view("bottom_application");
?>
<script type="text/javascript">$("#payuForm").submit();</script>