[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/polls/ -> index.php (sommaire)

(pas de description)

Poids: 217 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 public_html/lib-common.php

Définit 2 fonctions

  pollsave()
  polllist()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

pollsave($qid = '', $aid = 0)   X-Ref
Saves a user's vote

Saves the users vote, if allowed for the poll $qid.
NOTE: all data comes from form post

param: string   $qid   poll id
param: int      $aid   selected answer
return: string   HTML for poll results

polllist()   X-Ref
Shows all polls in system

List all the polls on the system if no $qid is provided

return: string          HTML for poll listing



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics