Пример #1
0
<?php

require 'additional/header.php';
if (!empty($_GET['id'])) {
    require_once 'core/classes/crud.php';
    $dbObject = new crud('workers');
    $infoWorker = $dbObject->getWorker($_GET['id']);
    $infoWorker = $infoWorker[0];
    $tasksWorker = $dbObject->getTasksWorker($_GET['id']);
    $tasksWorker = $tasksWorker[0];
    ?>
<body>
<div id="wrapper">
    <?php 
    require_once 'additional/fixed-menu.php';
    ?>
<!--/. NAV TOP  -->
    <?php 
    require_once 'additional/fixed-sidebar.php';
    ?>

<!-- /. NAV SIDE  -->
<div id="page-wrapper" >
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-header">
                    Профиль сотрудника<small><?php 
    echo $infoWorker['name'];
    ?>
</small>