Location: PHPKode > scripts > Bingoware > bingoware/settings.php
<?
include ("constants.php");

/* -------------- User configuration ------------- */


/* the variable setid allows the user to create different sets of cards
* The setid will appear in front of the card number: for example, if choosing
* setid to be 'A', the cards will be numbered from A0001 to ...
* The setid is also used with the filenames so that the user can transfer sets from
* one server to the next.  It also prevents the specific sets from being overwritten.
* The files will be named set.A.dat, winners.A.dat, and draws.A.dat.  If no file is found
* with the current setid, the user will be invited to generate a new set.
* Therefore if the user wants to keep the current set untouched, a simple change to the
* variabe below will behave as if there was no set generated.  Changing the setid back
* to the original will force the program to reopen the previous card set.
*/
$setid='A';

/* This parameter allows the user to change the winning criterias, according to the
* following codes:
*
* 0: regular Bingo rules (any row, any column or any diagonal)
* 1: full card
* 2: square (perimeter)
* 3: cross (squares I-0, N-All, G-0)
* 4: T shape (squares All-0, N-All)
* 5: Z shape (squares All-0, All-4, G-1, N-2, I-3)
* 6: N shape (squares B-All, O-All, I-3, N-2, G-1)
* 7: + shape (squares N-All, All-2)
* 8: X shape (two diagonals)
* 9: Box shaped (all but perimeter)
* 10: User-defined winning pattern
*
* NOTE: Changing the winning pattern in the middle of a game will produce undesired results
*/
$winningpattern=0;

/* Draw Mode
* The game play mode can be "automatic" or "manual", and indicates how the random bingo numbers
* are generated.  For Bingoware to draw the numbers for you, use "automatic".  If you are
* using a different physical device to draw the numbers for you, the "manual" setting will
* let you enter the drawn numbers into Bingoware so that you can still discover which are
* the winning cards.
* Changing of this setting should be done from the configure menu item.
*/
$drawmode='manual';


/* View header
* This variable may contain HTML and will be printed at the top of each
* page viewed (when viewing one card)
* You should ensure to close your HTML tags so you do not disrupt the display
* of the cards.
*/
$viewheader='<center><b><font size="+4">Bingoware 1.3</font></b></center>';

/* View footer
* This variable may contain HTML and will be printed at the bottom of each
* page viewed (when viewing one card)
* You should ensure to close your HTML tags so you do not disrupt the display
* of the cards.
*/
$viewfooter='<center><b>Created by Frédéric Demers</b><br><br><a href="javascript:close();">close window</a></center>';


/* Print header
* This variable may contain HTML and will be printed at the top of each
* page (when viewing all cards)
* You should ensure to close your HTML tags so you do not disrupt the display
* of the cards.
*/
$printheader='<center><b><font size="+2">Bingoware 1.3</font></b></center>';


/* Print footer
* This variable may contain HTML and will be printed at the bottom of each
* page (when viewing all cards)
* You should ensure to close your HTML tags so you do not disrupt the display
* of the cards.
*/
$printfooter='<center><b>Created by Frédéric Demers</b></center>';

?>
Return current item: Bingoware