-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.php
42 lines (24 loc) · 807 Bytes
/
test.php
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
34
35
36
37
38
39
40
41
<?php
require_once ('libs/class.CookiesManager.php');
CookiesManager::init(1);
require_once ('libs/class.Poll.php');
require_once ('libs/class.Vote.php');
dbConnect::init();
//$CurrentPoll = new Poll;
//echo $CurrentPoll->getStatement();
//$CurrentPoll->setStatement("Polen zijn nodig voor onze economie");
//$CurrentPoll->setName('SimplePollv2');
//echo $CurrentPoll->getStatement();
//echo $CurrentPoll->getName();
//if (!is_object($TestVote = new Vote('82.171.43.213', 1))) {//82.171.43.213
// echo "false";
//} else {
// echo $TestVote->comment;
//}
//echo '<p>' . $CurrentPoll->addVote( 4, true,'Zukini') . '</p>';
$CurrentPoll = new Poll();
$yn = $CurrentPoll->addVote(5, true, 'Helemaal mee eens');
include ('includes/header.html');
echo $vyn;
include ('includes/footer.html');
?>