D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
urbane.createerp.com
/
Filename :
view_company.php
back
Copy
<!DOCTYPE html> <?php session_start(); include 'config.php'; $login = $_SESSION['login_email']; if($login == ''){ echo '<script>location.replace("index.php")</script>'; } if(isset($_GET["id"])){ $id = $_GET['id']; } ?> <html> <head> <meta charset="utf-8" /> <title>Endive Media | Invoice</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" /> <meta content="Coderthemes" name="author" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!-- Font Awsome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- App favicon --> <link rel="shortcut icon" href="assets/images/favicon.png"> <!-- Pie Chart Css --> <link href="assets/pie charts/style.css" rel="stylesheet" type="text/css" /> <!-- App css --> <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="assets/css/icons.css" rel="stylesheet" type="text/css" /> <link href="assets/css/metismenu.min.css" rel="stylesheet" type="text/css" /> <link href="assets/css/style.css" rel="stylesheet" type="text/css" /> <script src="assets/js/modernizr.min.js"></script> <link href="plugins/sweet-alert2/sweetalert2.min.css" rel="stylesheet" type="text/css"> <link href="plugins/jquery-toastr/jquery.toast.min.css" rel="stylesheet" /> </head> <body> <!-- Begin page --> <div id="wrapper"> <!-- Top Bar Start --> <?php include 'top-header.php'; ?> <!-- Top Bar End --> <!-- ========== Left Sidebar Start ========== --> <?php include 'left-sidebar.php'; ?> <!-- Left Sidebar End --> <!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="content-page"> <!-- Start content --> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="page-title-box"> <h4 class="page-title float-left">View Corporate Profile</h4> <ol class="breadcrumb float-right"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item active"> View Corporate Profile</li> </ol> <div class="clearfix"></div> </div> </div> </div> <!-- end row --> <div class="row"> <div class="col-lg-12"> <div class="card-box table-responsive"> <table class="table table-bordered" id="datatable-editable"> <?php $sql = "SELECT * FROM company_details where id = '$id'"; $result = mysqli_query($conn,$sql); while( $row = mysqli_fetch_array($result)){ ?> <tbody> <tr class="gradeX"> <td class="bg-grey">Company Name</td> <td><?php echo $row['company_name'] ?></td> <td class="bg-grey">Company Logo</td> <td><img src="images/<?php echo $row['company_logo'] ?>" alt="" height="25"></td> </tr> <tr class="gradeX"> <td class="bg-grey">GSTIN</td> <td><?php echo $row['GSTIN'] ?></td> <td class="bg-grey">Currency</td> <td><?php echo $row['currency'] ?></td> </tr> <tr class="gradeX"> <td class="bg-grey">Invoice Prifix</td> <td><?php echo $row['invoice_prifix'] ?></td> <td class="bg-grey">Default Color</td> <td><?php echo $row['company_color'] ?></td> </tr> <tr class="gradeX"> <td class="bg-grey">Signature</td> <td><img src="signature/<?php echo $row['signature'] ?>" alt="" height="25"></td> <td class="bg-grey"></td> <td><?php ?></td> </tr> <tr class="gradeX "> <td colspan="4"> <h4 class="font-18">Contact Details</h4> </td> </tr> <tr class="gradeX"> <td class="bg-grey">Phone</td> <td><?php echo $row['phone'] ?></td> <td class="bg-grey">Email</td> <td><?php echo $row['email'] ?></td> </tr> <tr class="gradeX"> <td class="bg-grey">Address</td> <td><?php echo $row['address'] ?></td> <td class="bg-grey">City</td> <td><?php echo $row['city'] ?></td> </tr> <tr class="gradeX"> <td class="bg-grey">State</td> <td><?php echo $row['state'] ?></td> <td class="bg-grey">Country</td> <td><?php echo $row['country'] ?></td> </tr> <tr class="gradeX "> <td colspan="4"> <h4 class="font-18">Account Details</h4> </td> </tr> <tr class="gradeX"> <td class="bg-grey">Account Name</td> <td><?php echo $row['account_name'] ?></td> <td class="bg-grey">Account Number</td> <td><?php echo $row['account_no'] ?></td> </tr> <tr class="gradeX"> <td class="bg-grey">Bank Name</td> <td><?php echo $row['bank_name'] ?></td> <td class="bg-grey">IFSC</td> <td><?php echo $row['ifsc'] ?></td> </tr> <tr class="gradeX"> <td class="bg-grey">SWIFT</td> <td><?php echo $row['shift'] ?></td> <td class="bg-grey">Branch</td> <td><?php echo $row['branch'] ?></td> </tr> </tbody> </table> <?php } ?> </div> </div> <!-- end Panel --> </div> <!-- end container --> </div> <!-- container --> </div> <!-- content --> <?php include 'copyrignt.php' ?> </div> <!-- ============================================================== --> <!-- End Right content here --> <!-- ============================================================== --> </div> <!-- END wrapper --> <!-- Chart Js --> <script src='https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.3/Chart.js'></script> <!-- jQuery --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/popper.min.js"></script><!-- Popper for Bootstrap --> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/metisMenu.min.js"></script> <script src="assets/js/waves.js"></script> <script src="assets/js/jquery.slimscroll.js"></script> <!-- Dashboard init --> <script src="assets/pages/jquery.dashboard.js"></script> <!-- App js --> <script src="assets/js/jquery.core.js"></script> <script src="assets/js/jquery.app.js"></script> <!-- Chart Js --> <!-- <script src="assets/pie charts/script.js"></script> --> <script src="plugins/sweet-alert2/sweetalert2.min.js"></script> <script src="plugins/jquery-toastr/jquery.toast.min.js" type="text/javascript"></script> <script> $(document).ready(function(){ if (localStorage.getItem("ProfileUpdated") == "true") { successMessage("Profile Successfully Updated."); localStorage.setItem("ProfileUpdated", "false"); } }); function errorToast(msg){ $.toast({ heading: 'Error!', text: msg, position: 'top-right', loaderBg: '#bf441d', icon: 'error', hideAfter: 3000, stack: 1 }); } function successMessage(msg){ swal({ title: 'Success!', text: msg, type: 'success', confirmButtonColor: '#4fa7f3' }); } function errorMessage(msg){ swal({ title: 'Error!', text: msg, type: 'error', confirmButtonColor: '#4fa7f3' }); } </script> </body> </html>