/** * @return \HtmlMeta */ function &addMetaProperty($property, $content) { $key = __METHOD__ . $property; $this->items[$this->group][$key] = \HtmlMeta::setAttribute('property', $property)->setAttribute('content', $content); return $this->items[$this->group][$key]; } function addLinkDnsPrefetch($url) { $url = parse_url($url, PHP_URL_HOST); return $this->addLink($url)->setRel('dns-prefetch'); } function __toString() { $ret = ''; foreach ($this->items as $group => $items) { foreach ($items as $item) { $ret .= ' '; } } return $ret; } function metaTwitterCard() { return $this->addMetaProperty('', ''); } } $head = new PageHead(); $head->to('123123')->addLink('');
public static function getNormalHead() { PageHead::getNonAspidHead(); echo '<link href="css/aspid.css" rel="stylesheet">'; echo '<link href="css/aspid.css" rel="stylesheet">'; }
require_once "classes/Item.php"; require_once "classes/AspidAuth.php"; require_once "classes/UserDAO.php"; require_once "classes/ComboboxFactory.php"; require_once "classes/dictionary/GroupDictionary.php"; require_once "classes/dictionary/RankDictionary.php"; require_once "classes/PrivateNavbar.php"; require_once "classes/WarningsAndErrors.php"; ?> <!DOCTYPE html> <html lang="ru"> <head> <?php PageHead::getNormalHead(); ?> <script src="js/userjs.js" type="application/javascript"></script> </head> <body style="background-image: none; background-color: #000C00;"> <?php (new Navbar())->show('USTAV'); ?> <div class="container-fluid blackblock" style="height: 100%;"> <div class="row blackblock lowerblock" style="padding: 60px 0px 60px 0px;"> <?php
error_reporting(E_ALL); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(1); require_once "classes/Navbar.php"; require_once "classes/PageHead.php"; require_once "classes/AspidAuth.php"; require_once "classes/UserDAO.php"; ?> <!DOCTYPE html> <html lang="ru"> <head> <?php PageHead::getNonAspidHead(); ?> <link rel="stylesheet" href="http://blueimp.github.io/Gallery/css/blueimp-gallery.min.css"> <link rel="stylesheet" href="css/bootstrap-image-gallery.min.css"></head> <body style="background-color:rgba(0,13,0,0.99);"> <?php (new Navbar())->show('USTAV'); ?> <br/><br/> <br/><br/>