Main.php 539 Bytes
Newer Older
Mindiell's avatar
Mindiell committed
1
2
3
4
5
6
7
8
9
10
<?php

class Main extends Controller {
    /*
    Main page
    */
    function show($f3,$args) {
        $f3->set('block_content','home.html');
    }

11
    function feedbackform($f3, $args) {
nepski's avatar
nepski committed
12
13
14
15
16
17
18
19
20
21
        if ($f3->get('VERB') == 'GET'){
            //create call
            //start call
            //end call
            $f3->set('block_content', 'feedbackform.html');
        }
        elseif ($f3->get('VERB') == 'POST'){
            //send feedback to campaign
            $f3->set('block_content', 'thankyou.html');
        }
22
    }
nepski's avatar
nepski committed
23

nepski's avatar
nepski committed
24

Mindiell's avatar
Mindiell committed
25
26
};