Skip to content
Studio404-OpenSourcesPublic

About

Poll module

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

Introduction

The poll is fully customizable, It saves data in json files based on user's IP address.

Example Url

http://c.404.ge/

Installation

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);

About

Poll module

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages