<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<br/><br/>

<div class="clearfix"></div>
<div class="panel_s mtop20">
    <div class="panel-body">
        <div class="col-md-10 col-md-offset-1">
            <div class="row">
                <div class="col-md-12">
                    <div class="mtop10 display-block">
                        <?php if(!($e instanceof Exception)):?>
                            <p>
                                <form name="frmPaymentRedirect" method="post" action="<?php echo $paymentUrl;?>">
                                    <input type="hidden" name="env_key" value="<?php echo $objPmReqCard->getEnvKey();?>"/>
                                    <input type="hidden" name="data" value="<?php echo $objPmReqCard->getEncData();?>"/>
                            <p>
                                Vei fi redirectat catre pagina de plati securizata MobilPay.ro.
                            </p>

                            </form>
                            </p>
                            <script type="text/javascript" language="javascript">
                                window.setTimeout(document.frmPaymentRedirect.submit(), 500);
                            </script>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
