Demo 4

$ php_poll = new pollcomment ();

sondaj php_poll->

/ * întrebare */
echo $ php_poll-> get_poll_question (2);


/ * sondaj */
$ php_poll-> set_template_set ("simplu");
$ php_poll-> set_max_bar_length (125);
$ php_poll-> set_max_bar_height (10);
echo $ php_poll-> poll_process (2);


/ * construiți formularul */
$ php_poll-> set_template ("poll_form");
$ php_poll-> set_form_error (matrice (
"name" => "Vă rugăm să introduceți numele dvs.",
// "email" => "Trebuie să specificați adresa de e-mail.",