<?php 
session_start();
if(isset($_SESSION['SESS_ADMINLOGGEDIN']) == FALSE) {
    header("Location: " . $config_basedir."../admin/adminlogin.php");
}


require_once("header.php");
?>


    <?php
// Assuming you already have a PDO connection $pdo
$query = $pdo->query("SELECT * FROM settings ORDER BY id DESC LIMIT 1");

// Fetch the data from the query result
if ($row = $query->fetch(PDO::FETCH_ASSOC)) {
    $title = $row['title'];
    $id = $row['id'];
    $welc_head = $row['welc_head'];
    $welc_msg = $row['welc_msg'];
    $url = $row['url'];
    $ceo = $row['ceo'];
    $domain = $row['domain'];
    $domain_name = $row['domain_name'];
    $phone = $row['phone'];
    $country = $row['country'];
    $state = $row['state'];
    $city = $row['city'];
    $email = $row['email'];
    $email2 = $row['email2'];
    $copyright = $row['copyright'];
    $contact_email = $row['contact_email'];
    $webmail = $row['webmail'];
    $password = $row['password'];
}
?>

           




   



        <div wire:id="0ho7JEz65LVMGIzD4ceZ" wire:initial-data="{&quot;fingerprint&quot;:{&quot;id&quot;:&quot;0ho7JEz65LVMGIzD4ceZ&quot;,&quot;name&quot;:&quot;admin.manage-users&quot;,&quot;locale&quot;:&quot;en&quot;,&quot;path&quot;:&quot;admin\/dashboard\/manageusers&quot;,&quot;method&quot;:&quot;GET&quot;,&quot;v&quot;:&quot;acj&quot;},&quot;effects&quot;:{&quot;listeners&quot;:[],&quot;path&quot;:&quot;https:\/\/xtbtrading.live\/trade\/admin\/dashboard\/manageusers&quot;},&quot;serverMemo&quot;:{&quot;children&quot;:[],&quot;errors&quot;:[],&quot;htmlHash&quot;:&quot;ed570425&quot;,&quot;data&quot;:{&quot;pagenum&quot;:10,&quot;searchvalue&quot;:&quot;&quot;,&quot;orderby&quot;:&quot;id&quot;,&quot;orderdirection&quot;:&quot;desc&quot;,&quot;selectPage&quot;:false,&quot;selectAll&quot;:false,&quot;checkrecord&quot;:[],&quot;selected&quot;:&quot;&quot;,&quot;action&quot;:&quot;Delete&quot;,&quot;username&quot;:null,&quot;fullname&quot;:null,&quot;email&quot;:null,&quot;password&quot;:null,&quot;message&quot;:null,&quot;subject&quot;:null,&quot;plan&quot;:null,&quot;datecreated&quot;:null,&quot;topamount&quot;:null,&quot;toptype&quot;:null,&quot;topcolumn&quot;:&quot;Bonus&quot;,&quot;page&quot;:1,&quot;paginators&quot;:{&quot;page&quot;:1}},&quot;dataMeta&quot;:[],&quot;checksum&quot;:&quot;9e82a6adabccc53607a584c57da8f89b4130352eb62c7aa9cc50f9455ca3c494&quot;}}">
    <div class="main-panel">
        <div class="content bg-light">
            <div class="page-inner">
                <div class="mt-2 mb-4">
                    <h1 class="title1 text-dark">WEBMAIL INFORMATIONS</h1>
                </div>
                <div>
    </div>                <div>
    </div>                
               
               
               
               
                <div class="mb-5 row">
                    <div class="col-md-12 ">
                        <!--<div class="card shadow p-4 bg-light">-->
                           
                           
                           
                           
                           
                            <div class="card-header">
                                <div class="row">
                                    
                                    
                                    <div class="col-6">
                                             
                                             
                                           
                                        
                                       
                                                                            </div>
                                </div>
                            </div>
                            
                            
                            
                            
                            
                            
     
          
          <br>
          
          <form action="" class="reservation-form mb-0 bg-silver-deep p-30" method="post" >
              
               <label class='form-control'>WEBMAIL LOGIN</label> &nbsp;
              <input type="text" class="form-control bg-light text-dark"  id="details"  value="<?php echo $email2 ?>" readonly/><br>
              
             <!--<input type="text" class="form-control bg-light text-dark"  id="details"  value="<?php echo $contact_email ?>" readonly/><br>-->
             
               <label class='form-control'>WEBMAIL PASSWORD</label> &nbsp;
              <input type="text" class="form-control bg-light text-dark"  id="details"  value="<?php echo $password ?>" readonly/><br>
              
    <center><a href="<?php echo $webmail ?>" target="_blank"  class="btn btn-accent">GO TO WEBMAIL</a></center>

            </form>
           
            
            
        </div></div></div>
<!--=====================================-->

</div>

 <?php
require ("footer.php")
?>

