z.tatyana Posted May 13, 2020 Report Share Posted May 13, 2020 сборка студентоси Quote Link to comment Share on other sites More sharing options...
z.tatyana Posted May 13, 2020 Author Report Share Posted May 13, 2020 я копался в файлах ничего не нашёл Quote Link to comment Share on other sites More sharing options...
Семен Posted May 13, 2020 Report Share Posted May 13, 2020 смотри еще раз. Лимит по времени стоит Quote Link to comment Share on other sites More sharing options...
z.tatyana Posted May 14, 2020 Author Report Share Posted May 14, 2020 14 часов назад, semen сказал: смотри еще раз. Лимит по времени стоит ну нашёл и чё? чё удалить то надо???? Quote Link to comment Share on other sites More sharing options...
Семен Posted May 14, 2020 Report Share Posted May 14, 2020 7 часов назад, z.tatyana сказал: ну нашёл и чё? чё удалить то надо???? Примерно такой код: //################### Отправка нового вопроса ###################// case "send": NoAjaxQuery(); $title = ajax_utf8(textFilter($_POST['title']), false, true); $question = ajax_utf8(textFilter($_POST['question'])); $limitTime = $server_time-3600; $rowLast = $db->super_query("SELECT COUNT(*) AS cnt FROM `".PREFIX."_support` WHERE сdate > '{$limitTime}'"); if(!$rowLast['cnt'] AND isset($title) AND !empty($title) AND isset($question) AND !empty($question) AND $user_info['user_group'] != 4){ удали это: $limitTime = $server_time-3600; $rowLast = $db->super_query("SELECT COUNT(*) AS cnt FROM `".PREFIX."_support` WHERE сdate > '{$limitTime}'"); и !$rowLast['cnt'] Ограничение на отправку сообщений в тех. поддержку будет снято. Quote Link to comment Share on other sites More sharing options...
z.tatyana Posted May 14, 2020 Author Report Share Posted May 14, 2020 14 минут назад, semen сказал: Примерно такой код: //################### Отправка нового вопроса ###################// case "send": NoAjaxQuery(); $title = ajax_utf8(textFilter($_POST['title']), false, true); $question = ajax_utf8(textFilter($_POST['question'])); $limitTime = $server_time-3600; $rowLast = $db->super_query("SELECT COUNT(*) AS cnt FROM `".PREFIX."_support` WHERE сdate > '{$limitTime}'"); if(!$rowLast['cnt'] AND isset($title) AND !empty($title) AND isset($question) AND !empty($question) AND $user_info['user_group'] != 4){ удали это: $limitTime = $server_time-3600; $rowLast = $db->super_query("SELECT COUNT(*) AS cnt FROM `".PREFIX."_support` WHERE сdate > '{$limitTime}'"); и !$rowLast['cnt'] Ограничение на отправку сообщений в тех. поддержку будет снято. попробую Quote Link to comment Share on other sites More sharing options...
z.tatyana Posted May 14, 2020 Author Report Share Posted May 14, 2020 19 минут назад, semen сказал: Примерно такой код: //################### Отправка нового вопроса ###################// case "send": NoAjaxQuery(); $title = ajax_utf8(textFilter($_POST['title']), false, true); $question = ajax_utf8(textFilter($_POST['question'])); $limitTime = $server_time-3600; $rowLast = $db->super_query("SELECT COUNT(*) AS cnt FROM `".PREFIX."_support` WHERE сdate > '{$limitTime}'"); if(!$rowLast['cnt'] AND isset($title) AND !empty($title) AND isset($question) AND !empty($question) AND $user_info['user_group'] != 4){ удали это: $limitTime = $server_time-3600; $rowLast = $db->super_query("SELECT COUNT(*) AS cnt FROM `".PREFIX."_support` WHERE сdate > '{$limitTime}'"); и !$rowLast['cnt'] Ограничение на отправку сообщений в тех. поддержку будет снято. чё то у меня вообще не заходит в поддержку Quote Link to comment Share on other sites More sharing options...
Семен Posted May 14, 2020 Report Share Posted May 14, 2020 2 минуты назад, z.tatyana сказал: чё то у меня вообще не заходит в поддержку После case "send": найди if и замени if(isset($title) AND !empty($title) AND isset($question) AND !empty($question)){ и проверь на синтаксические ошибки Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.