mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-05 07:16:17 +00:00
Added vote to site
This commit is contained in:
15
src/admin/page_vote.php
Normal file
15
src/admin/page_vote.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
include ("cgi-bin/saveGraphHelpers.php");
|
||||
include ("./src/vote_func.php");
|
||||
|
||||
$g_lang["current_language"] = "ru";
|
||||
$voteTopics = getVoteTopics();
|
||||
$votes = getVotes($voteTopics);
|
||||
|
||||
for ($i = 0; $i < count($voteTopics); $i++)
|
||||
{
|
||||
$voteTopics[$i]["vote"] = $votes[$i];
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user