mirror of
https://github.com/claradex/nativegallery.git
synced 2024-12-22 16:41:04 +03:00
44 lines
1 KiB
PHP
44 lines
1 KiB
PHP
|
<?php
|
||
|
|
||
|
use \App\Services\{Auth, DB, Date};
|
||
|
use \App\Models\User;
|
||
|
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="ru">
|
||
|
|
||
|
<head>
|
||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/LoadHead.php'); ?>
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
|
||
|
<body>
|
||
|
<div id="backgr"></div>
|
||
|
<table class="tmain">
|
||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Navbar.php'); ?>
|
||
|
<td class="main">
|
||
|
<h1>Правила подписи фотографий</h1>
|
||
|
|
||
|
<div class="p20" style="padding:20px">
|
||
|
<?php
|
||
|
$myfile = fopen($_SERVER['DOCUMENT_ROOT'].'/config/photoRules.html', "r") or die("Unable to open file!");
|
||
|
echo fread($myfile,filesize($_SERVER['DOCUMENT_ROOT'].'/config/photoRules.html'));
|
||
|
fclose($myfile);
|
||
|
?>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Footer.php'); ?>
|
||
|
|
||
|
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|