Exemplo n.º 1
0
<!DOCTYPE html>
<html lang="en">
<head>

    <title><?php 
print $this->title;
?>
</title>
    <?php 
error_reporting(E_ALL & ~E_DEPRECATED);
include_once "core/SideMenu/SideMenu.php";
$obj = new SideMenu();
$menu = $obj->getMenuElement();
print $this->meta_k;
print $this->meta_d;
// ПІДКЛЮЧЕННЯ СТИЛІВ
if (isset($this->css)) {
    if (is_array($this->css)) {
        foreach ($this->css as $k => $v) {
            print '<link rel="stylesheet" type="text/css" href="' . URL . 'public/css/' . $v . '.css" />';
        }
    } else {
        if (is_string($this->css)) {
            print '<link rel="stylesheet" type="text/css" href="' . URL . 'public/css/' . $this->css . '.css" />';
        }
    }
}
?>

    <link href="public/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">