<?php header("access-control-allow-origin: *");?>
<style type="text/css">
  .ico
  {
    font-size:32px;
    padding-bottom:10px;

  }
</style>
<?php 
$this->db = db_connect();
$session = session();
if($session->get('uusersid')=='')
{
    return redirect()->to('login');
}
?>
<div class="page-container page-section-1-ptb">
  <div class="container-fluid">
    <div class="row">
           <div class="col-sm-12 col-md-3 col-lg-3  col-xs-12">
            <div class="panel-group side-acc" id="accordion">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
                                 <i class="fa fa-shopping-bag"></i><?php echo lang('language_lang.menu_ex_fund')?></a>
                        </h4>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <ul>
                                <li>
                                 <i class="fa fa-money"></i><a href="<?php echo base_url();?>dashboard"><?php echo ucwords(lang('language_lang.menu_ex_balance'));?></a>
                                </li>
                                 <li>
                                 <i class="fa fa-users"></i><a href="<?php echo base_url();?>myreferral"><?php echo ucwords(lang('language_lang.menu_ex_referral'));?></a>
                                </li>
                                  <li>
                                <i class="fa fa-suitcase"></i><a href="<?php echo base_url()?>transaction"><?php echo ucwords(lang('language_lang.menu_ex_trans'));?></a>
                            </li>
                                 
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> <i class="fa fa-tags"></i><?php echo lang('language_lang.menu_ex_orders');?></a>
                        </h4>
                    </div>
                    <div id="collapseTwo" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <ul>
                                <li><i class="fa fa-book"></i><a href="<?php echo base_url()?>open"><?php echo ucwords(lang('language_lang.menu_ex_oorder'));?></a></li>
                                <li><i class="fa fa-edit"></i><a href="<?php echo base_url()?>myorder"><?php echo ucwords(lang('language_lang.menu_ex_morder'));?></a></li>
                                <li><i class="fa fa-exchange"></i><a href="<?php echo base_url()?>tradehistory"><?php echo ucwords(lang('language_lang.menu_ex_trade'));?></a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree"> <i class="fa fa-money"></i><?php echo lang('language_lang.menu_ex_deposit')?></a>
                        </h4>
                    </div>
                    <div id="collapseThree" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <ul>
                               <li><i class="fa fa-upload"></i><a href="<?php echo base_url('/user/dashboard');?>"><?php echo ucwords(lang('language_lang.menu_ex_cdeposit'));?></a></li>
                                <li><i class="fa fa-download"></i><a href="<?php echo base_url('/user/dashboard');?>"><?php echo ucwords(lang('language_lang.menu_ex_cwithdraw'));?></a></li>

                                <?php
                                $find_arbit=$this->db->query("select * from site_controls where settings_name='user' and site_key='user_arbit'")->getRow();
                                if($find_arbit->site_value=='on')
                                {

                                ?>
                                <li><i class="fa fa-adjust"></i><a href="<?php echo base_url();?>/user/arbit"><?php echo ucwords(lang('language_lang.menu_ex_arbit'));?></a></li>
                                <?php 
                                }
                                ?>
                                <?php 
                                $find_copy=$this->db->query("select * from site_controls where settings_name='user' and site_key='user_copy'")->getRow();
                                if($find_copy->site_value=='on')
                                {
                                ?>
                                <li><i class="fa fa-adjust"></i><a href="<?php echo base_url();?>/user/tradelist"><?php echo ucwords(lang('language_lang.menu_ex_ctrade'));?></a></li>
                                <li><i class="fa fa-adjust"></i><a href="<?php echo base_url();?>/user/investhistory"><?php echo ucwords(lang('language_lang.menu_ex_ctrade1'));?></a></li>
                                <?php 
                                }
                                ?>


                                <?php 
                                $find_copy=$this->db->query("select * from site_controls where settings_name='user' and site_key='user_buyback'")->getRow();
                                if($find_copy->site_value=='on')
                                {
                                ?>
                                <li><i class="fa fa-adjust"></i><a href="<?php echo base_url();?>buylist"><?php echo ucwords(lang('language_lang.menu_ex_buyback'));?></a></li>
                                <?php 
                                }
                                ?>

                                <li><i class="fa fa-cloud-upload"></i><a href="<?php echo base_url();?>/user/deposit"><?php echo ucwords(lang('language_lang.menu_ex_recdep'));?></a></li>
                                <li><i class="fa fa-cloud-download"></i><a href="<?php echo base_url();?>/user/withdraws"><?php echo ucwords(lang('language_lang.menu_ex_recwit'));?></a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseFive"> <i class="fa fa-desktop"></i><?php echo lang('language_lang.support_lbl');?></a>
                        </h4>
                    </div>
                    <div id="collapseFive" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <ul>
                                <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url();?>/user/tickets"><?php echo lang('language_lang.ticket_lbl_raisenewtic').' '.lang('language_lang.ticket_lbl_newview');?></a>
                                </li>
                            </ul>    
                        </div>
                    </div>
                </div>

                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapsesix"> <i class="fa fa-suitcase"></i><?php echo lang('language_lang.menu_ex_trans');?></a>
                        </h4>
                    </div>
                    <div id="collapsesix" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <ul>
                                <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('history');?>"><?php echo lang('language_lang.menu_ex_trans_his');?></a>
                                </li>

                                <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('earninghistory');?>"><?php echo lang('language_lang.menu_ex_int_his');?></a>
                                </li>
                            </ul>    
                        </div>
                    </div>
                </div>
                
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapseFour"> <i class="fa fa-wrench"></i><?php echo lang('language_lang.menu_ex_ssetting');?></a>
                        </h4>
                    </div>
                    <div id="collapseFour" class="panel-collapse collapse in">
                        <div class="panel-body">
                            <ul>
                                <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('know_customer');?>"><?php echo ucwords(lang('language_lang.menu_kyc'));?></a>
                                </li>
                                 <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('enable');?>"><?php echo ucwords(lang('language_lang.menu_ex_stwo'));?></a>
                                 </li>

                                 <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('api_verify');?>"><?php echo ucwords(lang('language_lang.menu_ex_api'));?></a>
                                 </li>

                                  <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('changepwd');?>"><?php echo ucwords(lang('language_lang.change_sub_lbl_pawd'));?></a>
                                </li>
                                  <li>
                                    <i class="fa fa-adjust"></i><a href="<?php echo base_url('changepin');?>"><?php echo ucwords(lang('language_lang.change_sub_lbl_pin'));?></a>
                                </li>
                               
                                <li>
                                    <i class="fa fa-wrench"></i><a href="<?php echo base_url('securitylog');?>"><?php echo ucwords(lang('language_lang.menu_securitylogs'));?></a>
                                </li>
                                <li>
                                    <i class="fa fa-sign-out"></i><a href="<?php echo base_url('logout');?>"><?php echo ucwords(lang('language_lang.menu_logout'));?></a>
                                </li>
                            </ul>    
                        </div>
                    </div>
                </div>
                
            </div>
        </div>
        