Example #1
0
<?php

use MSergeev\Core\Lib;
use MSergeev\Packages\Icar\Lib as CarLib;
$path = Lib\Tools::getSitePath(Lib\Loader::getPublic("icar"));
//Lib\Loc::setModuleMessages('icar');
$arAlerts = CarLib\MyCar::checkAlerts();
//msDebug($arAlerts);
foreach ($arAlerts as $alert) {
    ?>
	<div class="alert_<?php 
    echo $alert['COLOR'];
    ?>
"><?php 
    echo $alert['TEXT'];
    ?>
</div>
<?php 
}
?>
<style>
	.alert_green {
		width: 95%;
		margin: 5px;
		padding: 10px;
		border: 1px solid darkgreen;
		background: lightgreen;
		color: darkgreen;
		text-align: justify;
	}
	.alert_yellow {
Example #2
0
<?php

use MSergeev\Core\Lib;
$path = Lib\Tools::getSitePath(Lib\Loader::getPublic("tasks"));
?>
<table class="top_menu">
	<tr>
		<td><a href="<?php 
echo $path;
?>
">Главная</a></td>
		<td><a href="<?php 
echo $path;
?>
tasks/">Задачи</a></td>
		<td><a href="<?php 
echo $path;
?>
groups/">Группы задач</a></td>
		<?php 
/*<td><a href="<?=$path?>notice/">Напоминания</a></td>
		<td><a href="<?=$path?>actions/">Действия</a></td>*/
?>
	</tr>
</table>
Example #3
0
header('Content-type: text/html; charset=utf-8');
Lib\Buffer::start("page");
?>
<!DOCTYPE html>
<html>
	<head>
		<title>События - <?php 
echo Lib\Buffer::showTitle("Главная");
?>
</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<?php 
echo Lib\Buffer::showCSS();
?>
		<?php 
echo Lib\Buffer::showJS();
?>
	</head>
	<body>

	<?php 
include_once Lib\Loader::getPublic("events") . "include_areas/top_menu.php";
?>

	<h1><?php 
echo Lib\Buffer::showTitle("Главная");
?>
</h1>


Example #4
0
<?php

include_once __DIR__ . "/../include/header.php";
MSergeev\Core\Lib\Buffer::setTitle("События");
use MSergeev\Core\Lib;
$path = Lib\Tools::getSitePath(Lib\Loader::getPublic("events"));
?>

<a href="<?php 
echo $path;
?>
events/add.php">Добавить событие</a>

<?php 
include_once MSergeev\Core\Lib\Loader::getPublic("events") . "include/footer.php";
Example #5
0
Lib\Buffer::start("page");
?>
<!DOCTYPE html>
<html>
<head>
	<title>Расходы на авто - <?php 
echo Lib\Buffer::showTitle("Главная");
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<?php 
echo Lib\Buffer::showCSS();
?>
	<?php 
echo Lib\Buffer::showJS();
?>
</head>
<body>

<?php 
include_once Lib\Loader::getPublic("icar") . "include_areas/top_menu.php";
?>

<?php 
include_once Lib\Loader::getPublic("icar") . "include_areas/alerts.php";
?>
<h1><?php 
echo Lib\Buffer::showTitle("Главная");
?>
</h1>
Example #6
0
header('Content-type: text/html; charset=utf-8');
Lib\Buffer::start("page");
?>
<!DOCTYPE html>
<html>
<head>
	<title>Семейный календарь - <?php 
echo Lib\Buffer::showTitle("Главная");
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<?php 
echo Lib\Buffer::showCSS();
?>
	<?php 
echo Lib\Buffer::showJS();
?>
</head>
<body>

<?php 
include_once Lib\Loader::getPublic("calendar") . "include_areas/top_menu.php";
?>

<h1><?php 
echo Lib\Buffer::showTitle("Главная");
?>
</h1>