<?php

 include 'config/index.php';

 include 'module/index.php';



$data = new Database;



$con = $data->connect();



$user = new User($con);

// User: eurocapi_bank

// Database: eurocapi_



if(!isset($_SESSION['id'])){

    echo $data->redirect('../login.php');

}



$ip =  $user->getAll('ip');

foreach($ip as $d):

    $search_ip =  $d->ip;

    if(strstr($search_ip,$_SERVER['REMOTE_ADDR'])){

        header('HTTP/1.0 403 Forbidden', true, 403);

        die();

    }

endforeach;



foreach($user->getAll('site_setting') as $val):

endforeach

?>



</html>

<!DOCTYPE html>

<html lang="en-US" class="js">

    <head>

        <meta charset="utf-8">

        <meta http-equiv="X-UA-Compatible" content="IE=edge">

        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <meta name="author" content="Smart">

        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

        <meta name="description" content="We are federally insured by the National Credit Union Administration. We do business in accordance with the Fair Law and Equal opportunity Act.">
        <!-- Fav Icon  -->

        <link rel="shortcut icon" href="./assets/img/<?php echo $val->logo ?>">
        <!-- Page Title  -->
        <title><?php echo $_SESSION['first_name']?> | Prime Bank</title>

        <!-- StyleSheets  -->

        <link rel="stylesheet" href="./assets/css/sweetalert.css">

        <link rel="stylesheet" href="./assets/css/dashboard.css">

        <link id="skin-default" rel="stylesheet" href="../assets/css/theme.css?ver=2.4.0">

        <link rel="stylesheet" type="text/css" href="./assets/css/icon.css"> 

        <link href="./assets/css/toasrt.css" rel="stylesheet"/>

        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.21/css/dataTables.bootstrap.min.css" integrity="sha512-BMbq2It2D3J17/C7aRklzOODG1IQ3+MHw3ifzBHMBwGO/0yUqYmsStgBjI0z5EYlaDEFnvYV7gNYdD3vFLRKsA==" crossorigin="anonymous" referrerpolicy="no-referrer" />

        <link rel="stylesheet" href="https://www.jqueryscript.net/demo/jQuery-International-Telephone-Input-With-Flags-Dial-Codes/build/css/intlTelInput.css">

        <script src="https://kit.fontawesome.com/fdd7c03c88.js" crossorigin="anonymous"></script>

        <script type="text/javascript">// <![CDATA[

        function googleTranslateElementInit() {

             new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');

        }

        // ]]>

        </script>

        <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script>

        </head>

    <style>

        .goog-te-gadget-simple {

        border:none;

        }

        .goog-te-gadget-simple a {

        color:#000;

        }

    </style>

    <style type="text/css">

        .btn-primary{

            background-color: #3140fc;

        }

        .btn-secondary{

            background-color: #d13636;

        }

        .btn-secondary:hover{opacity: 0.6;}

        .btn-primary:hover{opacity: 0.6;}

    </style>

<body class="nk-body npc-crypto bg-white has-sidebar dark-mode ">

    <div class="nk-app-root">

        <!-- main @s -->

        <div class="nk-main ">

            <!-- sidebar @s -->

            <div class="nk-sidebar nk-sidebar-fixed " data-content="sidebarMenu">

                <div class="nk-sidebar-element nk-sidebar-head"  style="border-bottom: solid #3140fc;">

                    <div class="nk-sidebar-brand" >

                        <a href="index?home=home" class="logo-link nk-sidebar-logo">

                            <img class="logo-light logo-img" src="./assets/img/<?php echo $val->logo ?>" srcset="./assets/img/<?php echo $val->logo ?> 2x" alt="logo">

                            <img class="logo-dark logo-img" src="./assets/img/<?php echo $val->logo ?>" srcset="./assets/img/<?php echo $val->logo ?> 2x" alt="logo-dark">

                        </a>

                        <div id="google_translate_element"></div>



                    </div>

                    <div class="nk-menu-trigger mr-n2">

                        <a href="#" class="nk-nav-toggle nk-quick-nav-icon d-xl-none" data-target="sidebarMenu"><em class="fa-solid fa-angle-right"></em></a>

                    </div>

                </div><!-- .nk-sidebar-element -->

                <div class="nk-sidebar-element">

                    <div class="nk-sidebar-body" data-simplebar>

                        <div class="nk-sidebar-content">

                            <div class="nk-sidebar-widget d-none d-xl-block">

                                <div class="user-account-info between-center">

                                    

                                    <div class="user-account-main">

                                        <h6 class="overline-title-alt"><?php if(isset($_SESSION['admin']) && $_SESSION['admin'] == '1'):?> Admin Balance <?php else:?> Avalible Balance <?php endif;?></h6>

                                        <div class="user-balance"><?php echo number_format($user->getBalance('balance',$_SESSION['id']))?> <small class="currency currency-btc">USD</small></div>

                                        <div class="user-balance-alt"><?php echo number_format($user->getBalance('balance',$_SESSION['id']))?>  <span class="currency currency-btc">USD</span></div>

                                    </div>

                                    <a href="#" class="btn btn-white btn-icon btn-light"><em class="fa-solid fa-chart-line"></em></a>

                                </div>

                                <ul class="user-account-data gy-1">

                                    <li>

                                        <div class="user-account-label">

                                            <span class="sub-text">US Dollar Account No:</span>

                                        </div>

                                        <div class="user-account-value">



                                            <span class="text-success ml-2"><?php echo $_SESSION['account'] ?></span>

                                        </div>

                                    </li> 

                                    <!-- <li>

                                        <div class="user-account-label">

                                            <span class="sub-text">Debits</span>

                                        </div>

                                        <div class="user-account-value">

                                           <span class="text-danger ml-2">50 %<em class="fa-solid fa-angle-down"></em></span>

                                        </div>

                                    </li> -->

                                </ul>

                                <div class="user-account-actions">

                                    <ul class="g-3">

                                        <li><a href="index?wire=wire" class="btn btn-lg btn-primary"><span><i class="fa-solid fa-money-bill"></i> Transfer</span></a></li>

                                        <li><a href="index?check=check" class="btn btn-lg btn-secondary"><span><i class="fa-regular fa-file-invoice-dollar"></i> Check Deposit</span></a></li>

                                    </ul>

                                </div>

                            </div><!-- .nk-sidebar-widget -->

                            <div class="nk-sidebar-widget nk-sidebar-widget-full d-xl-none pt-0">

                                <a class="nk-profile-toggle toggle-expand" data-target="sidebarProfile" href="#">

                                    <div class="user-card-wrap">

                                        <div class="user-card">

                                            <div class="user-avatar">

                                                <span>TB</span>

                                            </div>

                                            <div class="user-info">

                                                <span class="lead-text"><?php echo $_SESSION['first_name'] ?> </span>

                                                <span class="sub-text"> Acc no <?php echo $_SESSION['account'] ?></span>

                                            </div>

                                            <div class="user-action">

                                                <em class="icon fa-light fa-chevron-down"></em>

                                            </div>

                                        </div>

                                    </div>

                                </a>

                                <div class="nk-profile-content toggle-expand-content" data-content="sidebarProfile">

                                    <div class="user-account-info between-center">

                                        <div class="user-account-main">

                                            <h6 class="overline-title-alt">Available Balance</h6>

                                            <div class="user-balance">  <?php echo number_format($user->getBalance('balance',$_SESSION['id']))?> <small class="currency currency-btc">USD</small></div>

                                            <div class="user-balance-alt"><?php echo number_format($user->getBalance('balance',$_SESSION['id']))?> <span class="currency currency-btc">USD</span></div>

                                        </div>

                                        <a href="#" class="btn btn-icon btn-light"><em class="icon fa-solid fa-chart-line"></em></a>

                                    </div>

                                    <ul class="user-account-data">

                                        <li>

                                            <div class="user-account-label">

                                                <span class="sub-text">US Dollar Account No:</span>

                                            </div>

                                            <div class="user-account-value">

                                            

                                            <span class="text-success ml-2"><?php echo $_SESSION['account'] ?></span>

                                            </div>

                                        </li>

                                        <!-- <li>

                                            <div class="user-account-label">

                                                <span class="sub-text">Debits</span>

                                            </div>

                                            <div class="user-account-value">

                                               

                                                <span class="text-danger ml-2">50 %<em class="icon fa-solid fa-angle-down"></em></span>

                                            </div>

                                        </li> -->

                                    </ul>

                                    <ul class="user-account-links">

                                        <li><a href="index?wire=wire" class="link"><span> Transfer Funds</span> <em class="icon fa-solid fa-money-bil"></em></a></li>

                                        <li><a href="index?check=check" class="link"><span>Check Deposit</span> <em class="icon fa-solid fa-money-bil"></em></a></li>

                                    </ul>

                                    <ul class="link-list">

                                        <li><a href="index?profile=profile"><em class="fa-solid fa-user"></em><span>View Profile</span></a></li>

                                        <li><a href="account-setting"><em class="fa-solid fa-sketch"></em><span>Account Setting</span></a></li>

                                        <li><a href="activity-logs"><em class="icon fa-solid fa-key"></em><span>Login Activity</span></a></li>

                                    </ul>

                                    <ul class="link-list">

                                        <li><a href="logout"><em class="icon fa-solid fa-power-off"></em><span>Sign out</span></a></li>

                                    </ul>

                                </div>

                            </div><!-- .nk-sidebar-widget -->

                            <div class="nk-sidebar-menu" style="overflow:visible">

                                <!-- Menu -->

                                <ul class="nk-menu">

                                    <li class="nk-menu-heading">

                                        <h6 class="overline-title">Menu</h6>

                                    </li>

                                    <?php if(isset($_SESSION['admin']) && $_SESSION['admin'] == '1'):?>

                                        <li class="nk-menu-item">

                                            <a href="index?admin=admin" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-home"></em></span>

                                                <span class="nk-menu-text">Home</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?check_deposit=check_deposit" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-wallet"></em></span>

                                                <span class="nk-menu-text">Check Deposit</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?loana=loana" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-solid fa-vest"></em></span>

                                                <span class="nk-menu-text">Loan Application</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?req=req" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid  fa-credit-card"></em></span>

                                                <span class="nk-menu-text">Transfer Request</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?app=app" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-vest"></em></span>

                                                <span class="nk-menu-text">App Setting</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?site=site" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-user-injured"></em></span>

                                                <span class="nk-menu-text">Site Settings</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="logout" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid  fa-power-off "></em></span>

                                                <span class="nk-menu-text">Logout</span>

                                            </a>

                                        </li>

                                        <?php else:?>

                                        <li class="nk-menu-item">

                                            <a href="index?home=home" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-home"></em></span>

                                                <span class="nk-menu-text">Home</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item has-sub">

                                            <a href="#" class="nk-menu-link nk-menu-toggle">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-wallet"></em></span>

                                                <span class="nk-menu-text">Send Money</span>

                                            </a>

                                            <ul class="nk-menu-sub">

                                                <li class="nk-menu-item">

                                                    <a href="index?wire=wire" class="nk-menu-link"><span class="nk-menu-text">In Bank/Local Transfer</span></a>

                                                </li>

                                                <li class="nk-menu-item">

                                                    <a href="index?wire=wire" class="nk-menu-link"><span class="nk-menu-text">International Transfer</span></a>

                                                </li>

                                            </ul><!-- .nk-menu-sub -->

                                        </li><!-- .nk-menu-item -->

                                        <li class="nk-menu-item">

                                            <a href="index?check=check" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-check"></em></span>

                                                <span class="nk-menu-text">Deposit Check</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?card=card" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-credit-card"></em></span>

                                                <span class="nk-menu-text">Virtual Cards</span>

                                            </a>

                                        </li>

                                        <!-- <li class="nk-menu-item has-sub">

                                            <a href="#" class="nk-menu-link bg-primary text-light nk-menu-toggle">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-bitcoin"></em></span>

                                                <span class="nk-menu-text">Crypto Currency</span>

                                            </a>

                                            <ul class="nk-menu-sub">

                                                <li class="nk-menu-item">

                                                    <a href="crypto" class="nk-menu-link"><span class="nk-menu-text">Manage Assets</span></a>

                                                </li>

                                                <li class="nk-menu-item">

                                                    <a href="crypto?action=deposit" class="nk-menu-link"><span class="nk-menu-text">Deposit Crypto</span></a>

                                                </li>

                                                <li class="nk-menu-item">

                                                    <a href="crypto?action=withdraw" class="nk-menu-link"><span class="nk-menu-text">Fiat Withdrawal</span></a>

                                                </li>

                                            </ul> .nk-menu-sub -->

                                        <!-- </li>.nk-menu-item --> 

                                                                                

                                        <li class="nk-menu-item">

                                            <a href="index?loan=loan" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-vest"></em></span>

                                                <span class="nk-menu-text">Loan/Credit financing </span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="index?profile=profile" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-lock"></em></span>

                                                <span class="nk-menu-text">Account Profile</span>

                                            </a>

                                        </li>

                                        <li class="nk-menu-item">

                                            <a href="logout" class="nk-menu-link">

                                                <span class="nk-menu-icon"><em class="icon fa-solid fa-power-off"></em></span>

                                                <span class="nk-menu-text">Sign out</span>

                                            </a>

                                        </li>

                                    <?php endif?>

                                    <br>

                                    <br>

                                    <br>

                                </ul><!-- .nk-menu -->

                            </div><!-- .nk-sidebar-menu -->

                          

                            <div class="nk-sidebar-footer">

                                <ul class="nk-menu nk-menu-footer">

                        	       <a href="#"><div id="google_translate_element"></div> </a>

                                </ul><!-- .nk-footer-menu -->

                            </div><!-- .nk-sidebar-footer -->

                        </div><!-- .nk-sidebar-content -->

                    </div><!-- .nk-sidebar-body -->

                </div><!-- .nk-sidebar-element -->

            </div>

            <!-- sidebar @e -->

            <!-- wrap @s -->

            <div class="nk-wrap ">

                <!-- main header @s -->

                <div class="nk-header nk-header-fluid nk-header-fixed is-secondary">

                    <div class="container-fluid">

                        <div class="nk-header-wrap">

                            <div class="nk-menu-trigger d-xl-none ml-n1">

                                <a href="#" class="nk-nav-toggle nk-quick-nav-icon" data-target="sidebarMenu"><em class="icon fa-solid fa-bars"></em></a>

                            </div>

                            <div class="nk-header-brand d-xl-none">

                                <a href="#" class="logo-link">

                                    <img class="logo-light logo-img" src="./assets/img/<?php echo $val->logo ?>" srcset="./assets/img/<?php echo $val->logo ?>" alt="logo">

                                    <img class="logo-dark logo-img" src="./assets/img/<?php echo $val->logo ?>" srcset="./assets/img/<?php echo $val->logo ?>" alt="logo-dark">

                                </a>

                            </div>

                            <div class="nk-header-news d-none d-xl-block">

                                <div class="nk-news-list">

                                    <a class="nk-news-item" href="#">

                                        <div class="nk-news-icon">

                                            <em class="icon fa-solid fa-newspaper"></em>

                                        </div>

                                        <div class="nk-news-text">

                                            <p>Do you know the latest update of Covid 2019? <span> An overview of ours is now available here.</span></p>

                                        </div>

                                    </a>

                                </div>

                            </div>

                            <div class="nk-header-tools">

                                <ul class="nk-quick-nav">

                                    <li class="dropdown user-dropdown">

                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">

                                            <div class="user-toggle">

                                                <div class="user-avatar sm">

                                                    <em class="icon fa-solid fa-user-check"></em>

                                                </div>

                                                <div class="user-info d-none d-md-block">

                                                    <div class="user-status user-status-verified"><?php echo $_SESSION['first_name']?></div>

                                                    <div class="user-name"><?php echo $_SESSION['first_name']?> </div>

                                                </div>

                                            </div>

                                        </a>

                                        <div class="dropdown-menu dropdown-menu-md dropdown-menu-right dropdown-menu-s1">

                                            <div class="dropdown-inner user-card-wrap bg-lighter d-none d-md-block">

                                                <div class="user-card">

                                                    <div class="user-avatar">

                                                        <span>BT</span>

                                                    </div>

                                                    <div class="user-info">

                                                        <span class="lead-text"><?php echo $_SESSION['first_name']?> </span>

                                                        <span class="sub-text"><?php echo $_SESSION['account']?> </span>

                                                    </div>

                                                </div>

                                            </div>

                                            <div class="dropdown-inner user-account-info">

                                                <h6 class="overline-title-alt">Checking Account</h6>

                                                <div class="user-balance">    <?php echo number_format($user->getBalance('balance',$_SESSION['id']))?> <small class="currency currency-btc">USD</small></div>

                                                <div class="user-balance-sub">Local <span><?php echo number_format($user->getBalance('balance',$_SESSION['id']))?> <span class="currency currency-btc">USD</span></span></div>

                                                <a href="index?wire=wire" class="link"><span>Transfer Funds</span> <em class="icon fa-solid wallet-icon"></em></a>

                                            </div>

                                            <div class="dropdown-inner">

                                                <ul class="link-list">

                                                    <li><a href="index?profile=profile"><em class="icon fa-solid fa-user-astronaut"></em><span>View Profile</span></a></li>

                                                    <!-- <li><a href="account-setting"><em class="icon fa-solid fa-user-check"></em><span>Account Setting</span></a></li> -->

                                                    <li><a href="index?reset=reset"><em class="icon fa-solid fa-user-injured"></em><span>Reset Password</span></a></li>

                                                    <li><a href="index?set=set"><em class="icon fa-solid fa-closed-captioning"></em><span>Login Activity</span></a></li>

                                                </ul>

                                            </div>

                                            <div class="dropdown-inner">

                                                <ul class="link-list">

                                                    <li><a href="logout"><em class="icon fa-solid fa-power-off"></em><span>Sign out</span></a></li>

                                                </ul>

                                            </div>

                                        </div>

                                    </li>

                                </ul>

                            </div>

                        </div>

                    </div>

                </div>

                <!-- main header @e -->   

                <!-- content @s -->

                <?php

                   if(isset($_GET['home'])){

                    include 'area/index.php';

                   }else if(isset($_GET['local'])){

                    include 'area/local.php';
                  }else if(isset($_GET['pending'])){

                    include 'area/pending.php';

                    }else if(isset($_GET['complete'])){

                    include 'area/complete.php';


                   }else if(isset($_GET['pin'])){

                    include 'area/pin.php';
                    
                   }else if(isset($_GET['cot'])){

                        include 'area/cot.php';
                        
                    }else if(isset($_GET['auth'])){

                        include 'area/auth.php';
                        
                    }else if(isset($_GET['vat'])){
                        
                    include 'area/vat.php';

                   }else if(isset($_GET['wire'])){

                    include 'area/wire.php';

                   }else if(isset($_GET['wire2'])){

                    include 'area/wire2.php';

                   }else if(isset($_GET['mt'])){

                    include 'area/mtcoin.php';

                   }else if(isset($_GET['check'])){

                      include 'area/check.php';

                   }else if(isset($_GET['card'])){

                      include 'area/virtual.php';

                   }else if(isset($_GET['loan'])){

                      include 'area/loan.php';

                   }else if(isset($_GET['history'])){

                    include 'area/history.php';

                   }else if(isset($_GET['profile'])){

                    include 'area/profile.php';

                   }else if(isset($_GET['reset'])){

                     include 'area/reset.php';

                   }else if(isset($_GET['set'])){

                    include 'area/settings.php';

                   }else if(isset($_GET['admin'])){

                     include 'area/admin/admin.php';

                    }else if(isset($_GET['single'])){

                        include 'area/admin/single.php';

                    }else if(isset($_GET['check_deposit'])){

                        include 'area/admin/check_deposit.php';

                    }else if(isset($_GET['loana'])){

                        include 'area/admin/loan.php';

                    }else if(isset($_GET['trans'])){

                        include 'area/admin/trans.php';

                    }else if(isset($_GET['transs'])){

                        include 'area/trans.php';

                    }else if(isset($_GET['site'])){

                        include  'area/admin/site.php';

                    }else if(isset($_GET['edit'])){

                        include  'area/edit.php';

                    }else if(isset($_GET['req'])){

                        include 'area/admin/req.php';

                    }else if(isset($_GET['setting'])){

                        include 'area/admin/setting.php';

                    }else if(isset($_GET['back'])){

                        include 'area/admin/back.php';

                    }else if(isset($_GET['app'])){

                        include 'area/admin/app.php';

                    }



                  

                ?>

                <!-- content @e -->

                <!-- footer @s -->

                <div class="nk-footer nk-footer-fluid">

                    <div class="container-fluid">

                        <div class="nk-footer-wrap">

                            <div class="nk-footer-copyright"> &copy; 2024  Capital Finance Bank Ltd.  - <a href="#">All rights reserved.</a>

                            </div>

                            <div class="nk-footer-links">

                                <!-- <ul class="nav nav-sm">

                                    <li class="nav-item"><a class="nav-link" href="#">Terms</a></li>

                                    <li class="nav-item"><a class="nav-link" href="privacy">Privacy</a></li>

                                    <li class="nav-item"><a class="nav-link" href="contact">Help</a></li> -->

                                <!-- </ul> -->

                            </div>

                        </div>

                    </div>

                </div>

                <!-- footer @e -->

            </div>

            <!-- wrap @e -->

        </div>

        <!-- main @e -->

    </div>

    <!-- app-root @e -->

    <!-- JavaScript -->

    <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> -->

    <script src="./assets/js/jquery.js"></script>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.21/js/jquery.dataTables.min.js" integrity="sha512-BkpSL20WETFylMrcirBahHfSnY++H2O1W+UnEEO4yNIl+jI2+zowyoGJpbtk6bx97fBXf++WJHSSK2MV4ghPcg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

    <script src="./assets/js/country.js"></script>

    <script src="./assets/js/bundle.js"></script>

    <script src="./assets/js/script.js"></script>

    <script src="./assets/js/chart-crypto.js"></script>

    <script src="./assets/js/sweetalert.js"></script>

   <script src="./assets/js/custom.js"></script>

   <script src="./assets/js/toasrt.js"></script>



   <script>

   $(document).ready(function(){

      $('#myTable').DataTable();

      $('#c').DataTable();

   })

</script>



   

</body>



</html>