function offerChoices() { #---------------------------------------------------------------------- global $chosenYears, $chosenRegionId, $chosenOrder; #--- Submission echo "<p>You can submit media <a href='media_insertion.php'>here</a></p><hr/><br/>"; #--- Filter displayChoices(array(regionChoice(true), yearsChoice(true, false, false, true), choice('order', 'Sorted by', array(array('date', 'Competition Date'), array('submission', 'Insertion Date')), $chosenOrder), choiceButton(true, 'filter', 'Filter'))); }
function offerChoices () { #---------------------------------------------------------------------- global $chosenEventId, $chosenRegionId, $chosenYears, $chosenPatternHtml, $chosenList, $chosenMap; displayChoices( array( eventChoice( false ), regionChoice( true ), yearsChoice( true, true, false, true ), textFieldChoice( 'pattern', 'Name, City or Venue', $chosenPatternHtml ), array( choiceButton( $chosenList, 'list', 'List' ), choiceButton( $chosenMap, 'map', 'Map' ), ) )); }
function offerChoices() { #---------------------------------------------------------------------- global $chosenMixed, $chosenSlim, $chosenSeparate, $chosenHistory, $chosenMixHist; displayChoices(array(regionChoice(false), eventChoice(false), yearsChoice(true, false, true, false), array(choiceButton($chosenMixed, 'mixed', 'Mixed'), choiceButton($chosenSlim, 'slim', 'Slim'), choiceButton($chosenSeparate, 'separate', 'Separate'), choiceButton($chosenHistory, 'history', 'History'), choiceButton($chosenMixHist, 'mixHist', 'Mixed History')))); }
function offerChoices() { #---------------------------------------------------------------------- global $chosenShow, $chosenSingle, $chosenAverage; displayChoices(array(eventChoice(true), regionChoice(false), yearsChoice(true, false, true, true), choice('show', 'Show', array(array('100 Persons', '100 Persons'), array('1000 Persons', '1000 Persons'), array('All Persons', 'All Persons'), array('By Region', 'By Region'), array('100 Results', '100 Results'), array('1000 Results', '1000 Results')), $chosenShow), array(choiceButton($chosenSingle, 'single', 'Single'), choiceButton($chosenAverage, 'average', 'Average')))); }