function PouetBoxIndexWatchlist() { parent::__construct(); $this->uniqueID = "pouetbox_watchlist"; $this->title = "your watchlist"; $this->limit = 5; }
function PouetBoxSubmitProd() { parent::__construct(); $this->uniqueID = "pouetbox_submitprod"; $this->title = "submit a prod!"; $this->formifier = new Formifier(); $this->fields = array(); $row = SQLLib::selectRow("DESC prods type"); preg_match_all("/'([^']+)'/",$row->Type,$m); $this->types = $m[1]; global $COMPOTYPES; $this->compos = $COMPOTYPES; $this->compos[0] = ""; asort($this->compos); $this->ranks = array(0=>""); $this->ranks[97] = "disqualified"; $this->ranks[98] = "not applicable"; $this->ranks[99] = "not shown"; for ($x=1; $x<=96; $x++) $this->ranks[$x] = $x; $this->years = array(""); for ($x=date("Y"); $x>=POUET_EARLIEST_YEAR; $x--) $this->years[$x] = $x; $this->yearsFuture = array(""); for ($x=date("Y")+2; $x>=POUET_EARLIEST_YEAR; $x--) $this->yearsFuture[$x] = $x; }
function PouetBoxSubmitPartyEdition() { parent::__construct(); $this->uniqueID = "pouetbox_submitpartyedition"; $this->title = "submit a party edition!"; $this->formifier = new Formifier(); $this->fields = array(); }
function PouetBoxSubmitBoard() { parent::__construct(); $this->uniqueID = "pouetbox_submitboard"; $this->title = "submit a board!"; $this->formifier = new Formifier(); $this->fields = array(); }
function PouetBoxSubmitGroup() { parent::__construct(); $this->uniqueID = "pouetbox_submitgroup"; $this->title = "submit a group!"; $this->formifier = new Formifier(); $this->fields = array(); }
function PouetBoxModificationRequest() { parent::__construct(); $this->uniqueID = "pouetbox_modificationrequest"; $this->title = "submit a change request"; $this->formifier = new Formifier(); $this->fields = array(); }
function PouetBoxBBSTopicList() { parent::__construct(); $this->uniqueID = "pouetbox_bbslist"; $row = SQLLib::selectRow("DESC bbs_topics category"); preg_match_all("/'([^']+)'/",$row->Type,$m); $this->categories = $m[1]; }
function PouetBoxBBSOpen() { parent::__construct(); $this->uniqueID = "pouetbox_bbsopen"; $this->title = "open a new bbs thread"; $row = SQLLib::selectRow("DESC bbs_topics category"); preg_match_all("/'([^']+)'/",$row->Type,$m); $this->categories = $m[1]; }
function PouetBoxModalMessage( $allowHTML = false, $enableFooter = false ) { parent::__construct(); $this->uniqueID = "pouetbox_modalmessage"; $this->title = ""; $this->allowHTML = $allowHTML; $this->enableFooter = $enableFooter; $this->returnPage = $_SERVER['HTTP_REFERER']; }
function PouetBoxProdPost($prod) { global $currentUser; parent::__construct(); $this->prod = (int)$prod; $this->uniqueID = "pouetbox_prodpost"; $this->title = "add a comment"; $this->myVote = SQLLib::SelectRow(sprintf_esc("SELECT * FROM comments WHERE who=%d AND which=%d AND rating!=0 LIMIT 1",(int)$currentUser->id,$this->prod)); }
function PouetBoxTopList() { parent::__construct(); $this->uniqueID = "pouetbox_toplist"; $this->formifier = new Formifier(); $row = SQLLib::selectRow("DESC prods type"); preg_match_all("/'([^']+)'/",$row->Type,$m); $this->types = array(); $this->types[""] = "- none - "; foreach($m[1] as $v) $this->types[$v] = $v; }
function PouetBoxAdminEditTopic( $id ) { parent::__construct(); $this->id = (int)$id; $this->uniqueID = "pouetbox_edittopic"; $this->topic = SQLLib::SelectRow(sprintf_esc("select * from bbs_topics where id = %d",$this->id)); $this->title = "edit this topic: "._html($this->topic->topic); $this->formifier = new Formifier(); $this->fields = array(); $row = SQLLib::selectRow("DESC bbs_topics category"); preg_match_all("/'([^']+)'/",$row->Type,$m); $this->categories = $m[1]; }
function PouetBoxAdminDeleteGroup( $group ) { parent::__construct(); $this->uniqueID = "pouetbox_groupdelete"; $this->classes[] = "errorbox"; $this->group = $group; global $verificationStrings; $this->checkString = $verificationStrings[ array_rand($verificationStrings) ]; $this->title = "delete this group: ".$group->RenderLong(); }
function PouetBoxAdminDeleteBoard( $board ) { parent::__construct(); $this->uniqueID = "pouetbox_boarddelete"; $this->classes[] = "errorbox"; $this->board = $board; global $verificationStrings; $this->checkString = $verificationStrings[ array_rand($verificationStrings) ]; $this->title = "delete this board: "._html($board->name); }
function PouetBoxAdminDeleteParty( $party ) { parent::__construct(); $this->uniqueID = "pouetbox_partydelete"; $this->classes[] = "errorbox"; $this->party = $party; global $verificationStrings; $this->checkString = $verificationStrings[ array_rand($verificationStrings) ]; $this->title = "delete this party: ".$party->PrintLinked(); }
function PouetBoxPartyList($letter) { parent::__construct(); $this->uniqueID = "pouetbox_partylist"; $letter = substr($letter,0,1); if (preg_match("/^[a-z]$/",$letter)) $this->letter = $letter; else $this->letter = "#"; $a = array(); $a[] = "<a href='parties.php?pattern=%23'>#</a>"; for($x=ord("a");$x<=ord("z");$x++) $a[] = sprintf("<a href='parties.php?pattern=%s'>%s</a>",chr($x),chr($x)); $this->letterselect = "[ ".implode(" |\n",$a)." ]"; }
function PouetBoxSubmitList() { parent::__construct(); $this->uniqueID = "pouetbox_submitlist"; $this->title = "create a new list!"; $this->formifier = new Formifier(); $this->fields = array( "name"=>array( "name" => "list name", "info" => " ", "required" => true, ), "desc"=>array( "name" => "short description", "type" => "textarea", "info" => "be concise." ), ); }
function PouetBoxProdlist() { parent::__construct(); $this->uniqueID = "pouetbox_prodlist"; }
function PouetBoxBBSView($id) { parent::__construct(); $this->uniqueID = "pouetbox_bbsview"; $this->title = "comments"; $this->id = (int)$id; }
function PouetBoxCDCUser() { parent::__construct(); $this->uniqueID = "pouetbox_cdcuser"; $this->title = "users' coup de coeur toplist"; }
function PouetBoxPreview() { parent::__construct(); $this->uniqueID = "pouetbox_preview"; $this->title = "this is what marcellus wallace looks like"; }
function PouetBoxAdminDeleteProd( $prod ) { parent::__construct(); $this->uniqueID = "pouetbox_proddelete"; $this->classes[] = "errorbox"; $this->prod = $prod; global $verificationStrings; $this->checkString = $verificationStrings[ array_rand($verificationStrings) ]; $this->title = "delete this prod: ".$this->prod->RenderLink(); }
function PouetBoxProdSneakyCDCs() { parent::__construct(); $this->uniqueID = "pouetbox_prodsneakycdcs"; $this->title = "sneaky cdcs"; }
function PouetBoxSubmitLogo() { parent::__construct(); $this->uniqueID = "pouetbox_submitlogo"; $this->title = "submit a logo!"; }
function PouetBoxProdNfo() { parent::__construct(); $this->uniqueID = "pouetbox_prodnfo"; $this->title = "prod nfo"; }
function PouetBoxSubmit() { parent::__construct(); $this->uniqueID = "pouetbox_submit"; $this->title = "What do you want to do?"; }
function PouetBoxAdminModificationRequests( ) { parent::__construct(); $this->uniqueID = "pouetbox_adminreq"; $this->title = "process the following requests"; }
function PouetBoxPartyView() { parent::__construct(); $this->uniqueID = "pouetbox_partyview"; }
function PouetBoxSubmitAvatar() { parent::__construct(); $this->uniqueID = "pouetbox_submitavatar"; $this->title = "submit an avatar!"; }
function PouetBoxIndexRandom() { parent::__construct(); $this->uniqueID = "pouetbox_random"; $this->title = "a random prod"; }