first commit

This commit is contained in:
/usr/bin/nano
2017-04-15 01:34:36 +03:00
commit c715e2a604
5325 changed files with 329700 additions and 0 deletions

26
core/func/messages.php Executable file
View File

@@ -0,0 +1,26 @@
<?php
/**
* Стилистически оформленные сообщения
*
* @author Zmi
*/
function Msg($message, $css = 'msg')
{
ob_start();
IncludeCom('dev/msg', array('message' => $message, 'css' => $css));
return ob_get_clean();
}
function MsgOk($message)
{
return Msg($message, 'msg-ok');
}
function MsgErr($message)
{
return Msg($message, 'msg-err');
}
?>