Пример #1
0
<?php

if ($_SERVER["REQUEST_METHOD"] == "POST" && array_key_exists("PUBLIC_VOTE_ID", $_REQUEST) && intval($_REQUEST["PUBLIC_VOTE_ID"]) > 0 && array_key_exists("vote", $_REQUEST) && strlen($_REQUEST["vote"]) > 0) {
    if (CModule::IncludeModule("vote")) {
        CVote::KeepVoting();
    }
}