-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
33 lines (30 loc) · 1.1 KB
/
index.php
File metadata and controls
33 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
header("Content-type: text/html; charset=utf-8");
define("DIR", __DIR__);
include("studio404_ajax.php");
include("studio404_poll.php");
if(
studio404_ajax::method("GET","ajax") &&
is_numeric(studio404_ajax::method("GET","qid")) &&
is_numeric(studio404_ajax::method("GET","aid"))
){
$studio404_ajax = new studio404_ajax();
$studio404_ajax->receiver();
}
$main_options = array(
"poll_id"=>"1", /* Poll unique ID */
"header_text"=>"გამოკითხვა", /* Poll header text */
"poll_question"=>"მოგწონთ ჩვენი გამოკითხვის მოდული ?", /* Poll Question */
"poll_answers"=>array(
"ძალიან მომწონს",
"მომწონს",
"კარგია",
"არაუშავს",
"არა"
), /* Poll possible answers, You can have as many as you want */
"please_wait"=>"გთხოვთ დაიცადოთ ...", /* waiting text */
"temp_path"=>"_temp/" /* Temp folder path, recommending file permition 0755 */
);
$studio404_poll = new studio404_poll();
$studio404_poll->lanch($main_options);
?>