<?php
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <head>
    <?php

        use App\Libraries\MyEncrypt;
        use App\Helpers\site_helper;
        $this->db = db_connect();
        $session = session();
        $this->session = session();
        $validation = \Config\Services::validation();
        $this->common_model = model('CommonModel');
       echo view('user/common_style1');
       echo view('user/common_header');
    ?> 

<link rel="stylesheet" href="<?php echo base_url('styles/css/table.css');?>">
</head>
<body class="admin-inner">

<section class="white pt-10 pb-10">
<div class="container">
<div class="row  trading_pairbg bg-white inner-box mt-3 px-3 py-4">

<div class="col-lg-12">
<div class="right-block">
	<div class="inner-title pb-3">
	<h6 class="color-2"><i class="fab fa-bitcoin"></i> Raise a Ticket</h6>
	</div>
	<div class="container bootstrap snippets bootdeys">
<div class="row">
     <form class="steps-validation create-user" id="TransactionModel" method="post" action="" enctype="multipart/form-data">
      <?php if(!empty($this->session->getFlashData('success_message'))) {?>
<p class="frgtpwd frgtpwd1"><i class="fa fa-thumbs-up"></i><?php echo $this->session->getFlashData('success_message');?></p>
<?php } elseif (!empty($this->session->getFlashData('error_message'))) { ?>
<p class="frgtpwd frgtpwd1 frgtpwdred"><i class="fa fa-thumbs-down"></i><?php echo $this->session->getFlashData('error_message');?></p>
<?php } else { }?>
                  <div class="row">
                     <div class="col-lg-3 col-md-3"></div>
                  <div class="col-lg-6 col-md-6">
                    <div class="form-block mb-3">
                <input name="subject" class="form-control" placeholder="Enter Subject"  type="text" id="subject" value="<?php echo $qry->subject ? $qry->subject : '';?>"/>
                    </div>
                  <div class="form-block mb-2">
               <textarea  cols="45" rows="5" class="form-control" name="message" placeholder="Enter a message" id="message" value="<?php echo $qry->message;?>"></textarea>
                    </div>
                                        <div class="form-block mb-3">
                <input name="contact_mail" class="form-control" placeholder="Enter Email"  type="text" id="contact_mail" value="<?php echo $qry->contact_mail ? $qry->contact_mail : '';?>"/>
                    </div>
                                        <div class="form-block mb-3">
                <input name="contact_no" class="form-control" placeholder="Enter Contact Number"  type="text" id="contact_no" value="<?php echo $qry->contact_no ? $qry->contact_no : '';?>"/>
                    </div>
                                                  <div class="form-block mb-3">
                <input name="image" class="form-control file-input-extensions"  type="file" id="image"/>
                    </div>
                  </div>
                  <input type="hidden" name="uusersid" id="uusersid" value="<?php echo $this->session->get('uusersid');?>">
                    <div class="form-btn text-center ">
                      <button type="submit"  name="sub" id="sub" class="btn btn-primary">SUBMIT</button>
                    </div>
              </div>
             </form>
</div>
    </div>
    </div>
    </div>
    </div>
  </div>
</div>
</section>

<br>
<br>


        
        

<?php
 echo view('user/footer1');
  echo view('user/common_script');
?>
  </body>
</html>


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo base_url('/styles/js/datatables.min.js');?>"></script>