/[nuke]/html/pollBooth.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /html/pollBooth.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Fri Sep 22 07:22:13 2000 UTC (23 years, 7 months ago) by dpavlin
Branch: dbp, MAIN
CVS Tags: r3_6, HEAD
Changes since 1.1: +0 -0 lines
import of version 3.6

1 dpavlin 1.1 <?php
2    
3     ######################################################################
4     # PHP-NUKE: Web Portal System
5     # ===========================
6     #
7     # Copyright (c) 2000 by Francisco Burzi (fburzi@ncc.org.ve)
8     # http://www.ncc.org.ve/php-nuke.php
9     #
10     # This modules is to manage the Surveys/Polls for your site
11     #
12     # This program is free software. You can redistribute it and/or modify
13     # it under the terms of the GNU General Public License as published by
14     # the Free Software Foundation; either version 2 of the License.
15     ######################################################################
16    
17     $titlebar = "Encuesta";
18     if(!isset($mainfile)) { include("mainfile.php"); }
19    
20     if(!isset($pollID)) {
21     include ('header.php');
22     pollList();
23     include ('footer.php');
24    
25     }
26     elseif(isset($forwarder)) {
27     pollCollector($pollID, $voteID, $forwarder);
28     }
29     elseif($op == "results" && $pollID > 0) {
30     include ("config.php");
31     include ('header.php');
32     echo "<center><table cellpadding=2 cellspacing=0 border=0 bgcolor=000000><tr><td colspan=2>";
33     echo "<table cellpadding=3 cellspacing=0 border=0 bgcolor=$bgcolor1><tr><td><center><font face=Arial,Helvetica>";
34     pollResults($pollID);
35     echo "</td></tr></table></td></tr></table></center>";
36     if ($pollcomm) {
37     echo "<p><center><a href=pollcomments.php?op=Reply&pid=0&pollID=$pollID><img src=$uimages/comment.gif border=0></a></p></center>";
38     include("pollcomments.php");
39     }
40     include ('footer.php');
41    
42     }
43     elseif($voteID > 0) {
44     pollCollector($pollID, $voteID);
45     }
46     elseif($pollID != pollLatest()) {
47     include ('header.php');
48     echo "<center><table border=0 width=200><tr><td>";
49     pollMain($pollID);
50     echo "</td></tr></table></center>";
51     include ('footer.php');
52    
53     }
54     else {
55     include ('header.php');
56     echo "<center><table border=0 width=160><tr><td>";
57     pollNewest();
58     echo "</td></tr></table><br><font face=Arial,Helvetica>Sala de VotaciĆ³n de la Encuesta Actual";
59     include ('footer.php');
60    
61     }
62    
63     ?>

  ViewVC Help
Powered by ViewVC 1.1.26