2024-07-18 14:24:19 +03:00
|
|
|
<?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">
|
2024-07-21 18:57:34 +03:00
|
|
|
<h1>Правила сайта</h1>
|
2024-07-18 14:24:19 +03:00
|
|
|
|
|
|
|
<div class="p20" style="padding:20px">
|
|
|
|
<?php
|
2024-07-21 18:57:34 +03:00
|
|
|
$myfile = fopen($_SERVER['DOCUMENT_ROOT'].'/config/rules.html', "r") or die("Unable to open file!");
|
|
|
|
echo fread($myfile,filesize($_SERVER['DOCUMENT_ROOT'].'/config/rules.html'));
|
2024-07-18 14:24:19 +03:00
|
|
|
fclose($myfile);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Footer.php'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|