Skip to content
Permalink
Browse files

Update check.php

  • Loading branch information...
directman66 committed Feb 3, 2019
1 parent 8ac12fc commit 476f1db74b7c9bf7e1559cfda1c43d4d885d1e35
Showing with 22 additions and 3 deletions.
  1. +22 −3 modules/mercury/lk/check.php
@@ -1,4 +1,9 @@
<?
//date_default_timezone_set('Asia/Yekaterinburg');
error_reporting(0);
date_default_timezone_set('Asia/Novosibirsk');
// Скрипт проверки
@@ -11,7 +16,6 @@
// $db = new mysql(DB_HOST, '', DB_USER, DB_PASSWORD, DB_NAME); //connecting to database
$db=mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
$db->set_charset("utf8");
// include_once("./load_settings.php");
@@ -50,7 +54,16 @@
else
{
echo DIR_MODULES.'mercury/lk';
///echo DIR_MODULES.'mercury/lk3';
require(DIR_MODULES.'mercury/lk/menu.php');
if (($_GET['viewmode']=='elec')||(!$_GET['viewmode']))
//if (($_GET['viewmode']=='elec'))
{
if (!$userdata['PREDSED']=='1') {
require(DIR_MODULES.'mercury/lk/user.php');
// require('./cms/lk/user.php');
@@ -64,8 +77,14 @@
// require('./cms/lk/predsed.php');
}
}
else {
require(DIR_MODULES.'mercury/lk/made.php');
}}
}
else
{

0 comments on commit 476f1db

Please sign in to comment.
You can’t perform that action at this time.