File "payment_message.php"

Full Path: /home/ichhrkpd/public_html/application/core/payment_message.php
File size: 1.72 KB
MIME-type: text/x-php
Charset: utf-8

<?php 
	$msg_type = isset($msg_type) ? $msg_type : "err";
	$msg = isset($msg) ? $msg : "A problem has been occurred while submitting your data.";
	$redirectUrl = isset($redirectUrl) ? $redirectUrl : site_url();
	$utype = $this->session->GetCurrentUserType();
?>



<section class="pad50">
      <div class="container">
           <div class="row">
           		<div class="col-md-6 col-md-offset-3">
           			<?php if($msg_type == 'suc'){?>
           			<div class="panel panel-success">
      					<div class="panel-heading">You have been successfully registered for the race.</div>
      					<div class="panel-body">
      						<?php echo $msg;?>
      					</div>
      					<div class = "panel-footer">
      					<?php if($utype == 'SG'){?>
	    				<a href="<?php echo base_url()."home/single_team_home";?>" class="button" >Go to team home</a> 
	           			<?php }else{?>
	           			<a href="<?php echo base_url()."home/multiple_team_home/tab/3";?>" class="button" >Go to team home</a>
	           			<?php }?>
      					</div>
    				</div>
    				<?php } else {?>
    				<div class="panel panel-danger">
      					<div class="panel-heading">Error!</div>
      					<div class="panel-body">
      						<?php echo $msg;?>
      					</div>
    				
	    				<div class = "panel-footer">
	    				<?php if($utype == 'SG'){?>
	    				<a href="<?php echo base_url()."home/single_team_home";?>" class="button" >Go to team home</a> 
	           			<?php }else{?>
	           			<a href="<?php echo base_url()."home/multiple_team_home/tab/3";?>" class="button" >Go to team home</a>
	           			<?php }?>
	           			</div>
           			</div>
           			<?php }?>
           		</div>
           		
		  </div>
	</div>
</section>