?PNG
IHDR ? f ??C1 sRGB ?? gAMA ?a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
index.php 0000666 00000003236 15047747237 0006414 0 ustar 00
require_once ('../../../../cms.conf');
require_once ("../../function.inc.php");
require_once ("../function.inc.php");
$main_section = "settings";
$Delimeter = " > ";
$item_id=5;
$Title0 = _LANG_USER_REG_NEW;
#$Title1 = "Администрирование".$Delimeter."Конфигурация";
$Title2 = _LANG_USER_REG_NEW;
$Title3 = "".strtolower(_LANG_USER_REGISTER)."";
BeginHtml ($Title0, $Title2, 80);
if ( !($perm->isSupervisor() || $perm->isGuest() ) ) {
NoRightsMessage();
EndHtml ();
exit;
}
if (!isset($step)) $step=1;
switch ($step) {
case 1:
# покажем форму регистрации пользователя
UserForm (0, "./", 2, 1);
break;
case 2:
$perm->ExitIfGuest ();
# собственно зарегистрируем пользователя
eval("\$Login = \$as_${CMS_AUTHORIZE_FIELD};");
if ($submit == 1) {
if (!$Pass1) {
UserForm (0, "./", 2, 1, _LANG_USER_ERROR16);
} else if (!($Pass1==$Pass2)) {
UserForm (0, "./", 2, 1,_LANG_USER_ERROR17);
} else if (CheckLoginIfExist ($Login, 0, $LinkID)) {
UserForm (0, "./", 2, 1, _LANG_USER_ERROR1);
} else {
# в следующей строчке 2 значит полностью зарегистрированный пользователь
$status = ActionUserCompleted ("./", 1);
if ($status !== true)
UserForm (0, "./", 2, 1, $statusn);
}
} else if ($submit == 2) {
FileUpload ();
}
break;
}
EndHtml ();
?>