Filter:   InfoImg
download pollBooth.php
Language: PHP
LOC: 57
Project Info
Free Market(freemarket)
Server: SourceForge
Type: cvs
...\freemarket\freemarket\www\
   .htaccess
   admin.php
   article.php
   auth.inc.php
   backend.php
   banners.php
   comments.php
   counter.php
   dhtmllib.js
   download.php
   ezhilit.php
   faq.php
   footer.php
   friend.php
   header.php
   index.php
   lang-croatian.php
   lang-danish.php
   lang-dutch.php
   lang-english.php
   lang-french.php
   lang-german.php
   lang-indonesia.php
   lang-indonesian.php
   lang-italian.php
   lang-japanese.php
   lang-korean.php
   lang-latvian.php
   lang-norwegian.php
   lang-polish.php
   lang-portuguese.php
   lang-quebec.php
   lang-russian.php
   lang-simplifiedchinese.php
   lang-slovak.php
   lang-spanish.php
   lang-swedish.php
   lang-TEMPLATE.php
   ...-traditionalchinese.php
   links.php
   mainfile.php
   memberlist.php
   memberslist.php
   pollBooth.php
   pollcomments.php
   postinfo.html
   print.php
   problems.php
   scroller.js
   search.php
   sections.php
   stats.php
   submit.php
   top.php
   topics.php
   user.php

<?php

######################################################################
# PHP-NUKE: Web Portal System
# ===========================
#
# Copyright (c) 2000 by Francisco Burzi (fburzi@ncc.org.ve)
# http://phpnuke.org
#
# This modules is to manage the Surveys/Polls for your site
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################

$titlebar = "Encuesta";
if(!isset($mainfile)) { include("mainfile.php"); }

if(!isset($pollID)) {
  include ('header.php');
  pollList();
  include ('footer.php');

}
elseif(isset($forwarder)) {
  pollCollector($pollID, $voteID, $forwarder);
}
elseif($op == "results" && $pollID > 0) {
  include ("config.php");
  include ('header.php');
  echo "<center><table cellpadding=0 cellspacing=2 border=0 bgcolor=000000><tr><td colspan=2>";
  echo "<table cellpadding=5 cellspacing=2 border=0 bgcolor=FFFFFF><tr><td><center>";
  pollResults($pollID);
  echo "</td></tr></table></td></tr></table></center><br><br>";
  if ($pollcomm) {
    if ($anompost==1 OR $admin OR $user) {
	echo "<p><center><a href=pollcomments.php?op=Reply&pid=0&pollID=$pollID><img src=$uimages/comment.gif border=0></a></p></center>";
    }
    include("pollcomments.php");
}
  include ('footer.php');

}
elseif($voteID > 0) {
  pollCollector($pollID, $voteID);
}
elseif($pollID != pollLatest()) {
  include ('header.php');
    echo "<center><table border=0 width=200><tr><td>";
  pollMain($pollID);
    echo "</td></tr></table></center>";
  include ('footer.php');

}
else {
  include ('header.php');
  echo "<center><table border=0 width=160><tr><td>";
  pollNewest();
  echo "</td></tr></table><br>".translate("Current Survey Voting Booth")."";
  include ('footer.php');

}

?>