<?php session_start(); if (!empty($_POST)) { print_r($_POST); } if (!empty($_GET['idclient'])) { require_once 'classes/crud.php'; $idclient = $_GET['idclient']; $dbObject = new crud('workers'); $projects = $dbObject->getAllProjects(); $projects = $projects[0]; $countProjects = $dbObject->getCountRows('projects'); $workers = $dbObject->getAllWorkers(); $workers = $workers[0]; $infoOfClient = $dbObject->getClient($idclient); $infoOfClient = $infoOfClient[0]; } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>CRM - Создание проекта</title> <!-- Bootstrap Styles--> <link href="../assets/css/steps.css" rel="stylesheet" /> <link href="../assets/css/bootstrap.css" rel="stylesheet" /> <!-- FontAwesome Styles--> <link href="../assets/css/font-awesome.css" rel="stylesheet" />