Blame view

ajax/questioning.php 596 Bytes
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?php
  header("Content-type: text/html; charset=windows-1251");
  require("../libs/setup.php");
  $setup = new setup();
  $objQuestioning = $setup->setupClass('Questioning');
  $objQuestioning->clearRate();
  if(!$objQuestioning->isIpQuestioning(get_ip(),$_POST['questioning_id'])){
  $objQuestioning->IpQuestioningSave(get_ip(),$_POST['questioning_id'],$_POST['answer_id']);
  $objQuestioning->AnswerQuestioning($_POST['questioning_id']);
  $objQuestioning->AnswerCounter($_POST['answer_id']);
  print "Áîëüøîå ñïàñèáî çà Âàø ãîëîñ!";
  }else print "Âû íå ìîæåòå ãîëîñîâàòü â òå÷åíèè 3 ÷àñîâ ïîñëå ãîëîñîâàíèÿ!";
  ?>