Editando: header.php
<?php include 'db.php'; $date = date('d-m-Y,g:i:s a'); ?> <!DOCTYPE html> <html lang="en"> <head> <!-- META SECTION --> <title><?php echo $page; ?> - ERP Software</title> <link rel="icon" href="img/isystem logo2.png"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <!--<link rel="icon" href="favicon.png" type="image/x-icon" />--> <!-- END META SECTION --> <!-- CSS INCLUDE --> <link rel="stylesheet" type="text/css" id="theme" href="css/theme-default.css"/> <!-- EOF CSS INCLUDE --> <!-- END VALIDATION FOR NUMERIC --> <script type="text/javascript"> function onlyNos(e, t) { try { if (window.event) { var charCode = window.event.keyCode; } else if (e) { var charCode = e.which; } else { return true; } if (charCode > 31 && (charCode < 48 || charCode > 57)) { alert('Enter Only Numeric Value.'); return false; } return true; } catch (err) { alert(err.Description); } } function onlyFamilyId() { } </script> <!-- END VALIDATION FOR NUMERIC --> </head> <body> <!-- START PAGE CONTAINER --> <div class="page-container page-navigation-top-fixed"> <!-- START PAGE SIDEBAR --> <div class="page-sidebar page-sidebar-fixed scroll"> <!-- START X-NAVIGATION --> <ul class="x-navigation"> <li class="xn-logo"> <a href="" style="background: #CC7832; font-size: 17px;">ERP SOFTWARE</a> <a href="#" class="x-navigation-control"></a> </li> <!-- <li class="<?php echo @$home; ?>"> <a href="" class="profile-mini"> <img src="favicon.png" alt="DashBoard"/> </a> </li>--> <!--<li class="xn-title">Navigation</li>--> <?php if ($_SESSION['login_status'] == "admin") { ?> <li class="<?php echo @$home; ?>"> <a href="index.php"><span class="fa fa-home"></span><span class="xn-text">Home</span></a> </li> <!-- <li > <a href="stock"><span class="xn-text">Stock</span></a> </li>--> <!-- <li> <a href="client"><span class="xn-text">Client</span></a> </li>--> <li class="<?php echo @$project; ?>"> <a href="project.php"><span class="fa fa-building"></span> <!--<span class="fa fa-desktop"></span>--> <span class="xn-text">Project</span></a> <!-- <ul> <li ><a href="project/addform">Add Project</a></li> <li ><a href="project">Project List</a></li> </ul>--> </li> <!-- <li class="xn-openable"> <a href="javascript:void(0);"> <span class="fa fa-list-alt"></span> <span class="xn-text">Library</span></a> <ul> <li><a href="machinery"> <span class="xn-text">Machinery & Equipment</span></a></li> <li><a href="status"> <span class="xn-text">Status</span></a></li> <li><a href="attributes/material"> <span class="xn-text">Material</span></a></li> <li><a href="unit"> <span class="xn-text">Unit</span></a></li> <li><a href="attributes/type_work"> <span class="xn-text">Type of Work</span></a></li> <li><a href="attributes/scope_work"> <span class="xn-text">Scope of Work</span></a></li> <li><a href="agencies"> <span class="xn-text">Agencies</span></a></li> </ul> </li> --> <li class="<?php echo @$employee; ?>"> <a href="employee.php"><span class="fa fa-group"></span> <span class="xn-text">Employees</span></a> </li> <li class="<?php echo @$contractor; ?>"> <a href="add_subcontractor.php"><span class="fa fa-copy"></span><span class="xn-text">Sub Contractor</span></a> </li> <li class="<?php echo @$account; ?>"> <a href="account.php"><span class="fa fa-bank"></span><span class="xn-text">Add Accounts</span></a> </li> <li class="<?php echo @$Supplier; ?>"> <a href="supplier.php"><span class="fa fa-support"></span><span class="xn-text">Supplier List</span></a> </li> <li class="<?php echo @$equipment_stock; ?>"> <a href="material_project.php"><span class="fa fa-support"></span><span class="xn-text">Material Stock</span></a> </li> <?php } else { ?> <li class="<?php echo @$expense; ?>"> <a href="verifybill_1.php"><span class="fa fa-support"></span><span class="xn-text">Expense Entry</span></a> </li> <li class="<?php echo @$account; ?>"> <a href="emp_balance_sheet.php?emp_id=<?php echo $_SESSION['eid']; ?>&name=<?php echo $_SESSION['aname']; ?>&status="><span class="fa fa-support"></span><span class="xn-text">Ledger</span></a> </li> <li> <a href="download.php?filename=isystem.apk"> <span class="fa fa-download"></span> <span class="xn-do">Android Apps</span> </a> </li> <?php } ?> <!--<li>--> <!-- <a href="download.php?filename=isystem.apk">--> <!-- <span class="fa fa-download"></span>--> <!-- <span class="xn-do">Android Apps</span>--> <!-- </a>--> <!--</li> --> <!-- <li == 'daily_report' ) ? 'class="active"' : ''; ?>> <a href="daily_report"><span class="fa fa-building-o"></span> <span class="xn-text">Daily Report</span></a> </li> --> </ul> <!-- END X-NAVIGATION --> </div> <!-- END PAGE SIDEBAR --> <!-- PAGE CONTENT --> <div class="page-content"> <!-- START X-NAVIGATION VERTICAL --> <ul class="x-navigation x-navigation-horizontal x-navigation-panel"> <!-- TOGGLE NAVIGATION --> <?php if ($_SESSION['login_status'] == "admin") { ?> <li class="xn-icon-button"> <a href="#" class="x-navigation-minimize"><span class="fa fa-dedent"></span></a> </li> <!-- END TOGGLE NAVIGATION --> <li class="xn-openable"> <a href="creditmemo.php"><span class="xn-text">Company Accounts</span></a> <ul> <li><a href="creditmemo.php">Credit Memo</a></li> <li><a href="debitmemo.php">Debit</a></li> <!-- <li><a href="accounts/verify_creditmemo">Verify Credit Memo</a></li>--> <li><a href="account.php">View Accounts</a></li> <li><a href="company_payment_entry.php">Received Payment Entry</a></li> <li><a href="fund_transfer.php">Fund Transfer</a></li> </ul> </li> <li class="xn-openable"> <a href="verifybill.php"><span class="xn-text">Employees Accounts</span></a> <ul> <li><a href="verifybill.php">Verify Bill</a></li> <li><a href="emp_accounts.php">View Accounts</a></li> </ul> </li> <li class="xn-openable"> <a href="all_transaction_reports.php" style="background-color: #1d2127"><span class="xn-text">Reports</span></a> <ul> <li><a href="all_transaction_reports.php">All Transaction Report</a></li> <li><a href="project_wise_account.php">Project wise Transaction Report</a></li> <li><a href="monthly_reports_view.php">Monthly Transaction Report</a></li> <li><a href="all_balance_sheet.php">Balance Sheet</a></li> <li><a href="daily_reports_view.php">Daily Reports</a></li> <li><a href="gallery.php">Gallery</a></li> </ul> </li> <?php } ?> <!-- SIGN OUT --> <li class="xn-icon-button pull-right" style="background-color: #1d2127"> <a href="javascript:void(0)" class="mb-control" data-box="#mb-signout"><span class="fa fa-sign-out"></span></a> </li> <?php if ($_SESSION['login_status'] == "admin") { ?> <li class="xn-openable xn-icon-button pull-right"> <a href="javascript:void(0)" style="background-color: #1d2127"><span class="fa fa-user"></span></a> <div class="panel panel-primary animated zoomIn xn-drop-left xn-panel-dragging" style="width: 130px; text-align: center;"> <div class="panel-body list-group list-group-contacts scroll"> <a class="list-group-item" href="change-password.php">Change Password</a> <a class="list-group-item" href="manage_login.php">Manage Login</a> </div> </div> </li> <?php } ?> <!--END TASKS --> </ul> <!--END X-NAVIGATION VERTICAL --> <!--START BREADCRUMB --> <ul class = "breadcrumb"> </ul> <!-- END BREADCRUMB --> <div class="page-title"> <h3><span class="<?php echo $page_icon; ?>"></span> <?php echo $page; ?></h3> <!-- START ALERT BLOCKS --> <?php $msg = @$_SESSION['msg']; $type = @$_SESSION['type']; if (isset($msg) && $msg != '' && $type == 'Error') { ?> <div class="alert alert-danger fade in" role="alert" style="width: 750px; margin-left: 200px; z-index: 999; position: fixed;"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <strong>Error!</strong> <?php echo $msg; $_SESSION['msg'] = ""; $_SESSION['type'] = ""; ?> </div> <?php } else if (isset($msg) && $msg != '' && $type == 'Success') { ?> <div class="alert alert-success fade in" role="alert" style="width: 750px; margin-left: 200px; z-index: 999; position: fixed;"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <strong>Success!</strong> <?php echo $msg; $_SESSION['msg'] = ""; $_SESSION['type'] = ""; ?> </div> <?php } ?> <!-- END ALERT BLOCKS --> </div>
Cancelar
Kerym Chaeceran