Location: PHPKode > projects > phpHamLog > phphamlog/configure.php
<?php
/***************************************************************************
 phpHamLog

 $Id: configure.php,v 1.2 2006/04/29 15:02:26 kc9aop Exp $

 Copyright (c) 2005 KC9AOP

 phpHamLog
 by phpHamLog Group
 
    configuration file

    This program is free software; you can redistributed 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, or (at your option) any later version.
     
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.
     
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 300, Boston, MA 02111-1307, USA.
    
 ***************************************************************************/
/*
You really should read through this file. As of this writing, not all the variables are 
used yet (namely the contest stuff) but they will be. They are here mainly to help my
train of thought. 
*/

# Time/Date entry
# This forces the time and date of the contact to one of three different modes. The
# first method is meant for contests. That is, the user does not need to worry about
# the time and date.
#
# Also, keep in mind that you can override the time date if you want! If the time sent
# back is more than 1 hour, we use what is input. This allows you to start entering your
# logs from way back in history. Be careful of this, contesters!
#
# You should only select one of these!
#
$qsotimedate = 0;   # Time and Date are set when the qso is submitted
# $qsotimedate = 1;   # Time and Date are set when the page is displayed
$qsosperpage = 20;  # Number of QSOs to display per page when browsing

##############################
# User Data - for NORMAL logging                 
##############################
$mycallsign = "KC9AOP";                      # YOUR current callsign, of course! --- Needed as operator at station, can be same as "mastercall" N4FWD
$mycallsigns = array ( "KC9AOP" , "KC9AOP/QRP");  # All your callsigns
$myqth = "Downers Grove, IL.";         # Your QTH
$mypower = "100";                            # Your typical power output
$myitu = "8";
$mycounty = "DuPage";
$mystate = "IL";
$mycqzone = "4";
$myrig = "Yaesu FT-100D";
$myant = "random wire";

# Put in your bands. This fills in the default freqs. Add bands as you see fit.
$myfreqs = array ( "1800.00", "3500.00", "7000.00", "10100.00", "14000.00",
                   "18069.00", "21000.00", "24890.00", "28000.00", "50000.00",
                   "144000.00", "222000.00", "440000.00");
# The $mybands array contains the bands. They MUST be in the same order as the above, with the same number of items
$mybands = array ( "160", "80", "40", "30", "20", "17", "15", "12", "10", "6", "2", "220", "440" );


# Put in your modes. This fills in the pull downs. Add modes as you see fit.
##################################################################################
# added SSTV and PSK31 N4FWD
# If you add more modes, update the summary.php file. - N4FWD
##################################################################################
$mymodes = array ( "SSB", "AM","FM","CW","RTTY", "Packet", "AMTOR", "SSTV", "PSK31");

##################################################################################
# Note: Contesting or Field Day Logging MUST use UTC.
##################################################################################
$program = "NORMAL";   # "NORMAL" is for normal logging and is the "default" mode.
switch ($program) {
	case "FIELDDAY":
		$utctime = "Y";                      // Do not change this! N4FWD
		break;
	default:
		$utctime = "Y";                      // "Y" if you log time as UTC, "N" for local time
}

#############################
# webserver stuff - WARNING! Make your changes before initializing the database. - N4FWD          
#############################
$mywebserver = "http://host.localhost.com";                # home
$myphphamlogroot = "/phpham";   			# phphamlog home
$myphphamlogimagedir = "$myphphamlogroot/images/";      # relative directory of images
$myphphamloglow = "$myphphamlogroot/low/";              # this is for low bandwith clients, like Palm VII users

#############################
# Different definitions     #
#############################
# You should feel free to modify this stuff, and you will probably want to in some cases.

$cqzones = array ( "1","2","3","4","5","6","7","8","9","10",
                   "11","12","13","14","15","16","17","18","19","20",
                   "21","22","23","24","25","26","27","28","29","30",
                   "31","32","33","34","35","36","37","38","39","40");

$ituzones = array ( "1","2","3","4","5","6","7","8","9","10",
                    "11","12","13","14","15","16","17","18","19","20",
                    "21","22","23","24","25","26","27","28","29","30",
                    "31","32","33","34","35","36","37","38","39","40",
                    "41","42","43","44","45","46","47","48","49","50",
                    "51","52","53","54","55","56","57","58","59","60",
                    "61","62","63","64","65","66","67","68","69","70",
                    "71","72","73","74","75");

#############################
# Contest Stuff             #
#############################

#IARU HF Championship
$iarubands = array ("160", "80", "40", "20", "15", "10");
$iarufreqs = array ("1800.0", "3500.0", "7000.0", "14000.0", "21000.0", "28000.0");
$iaruzones = array ("AC", "R1", "R2", "R3");

#############################
# HTML Beautification Stuff #
#############################

#$pagebackground	= "DDDDFF";
$pagebackground	= "DDDDDD";
#$tbldark 	= "8888EE";
$tbldark 	= "009999";
$tbllight 	= "AAAAEE";


####################################################################################
# mySQL stuff  
##############
# Warning: do not change these variables AFTER you have initialized the database
# Make all changes PRIOR to initializing the database. Also, make sure
# this information matches the information in the phphamlog.ini file
#####################################################################################

$mysqlpass = "phphamlog";                # your mysql password
$mysqluser = "phphamlog";                # your mysql username
$mysqladdr = "localhost";             # machine with mysqlb

$mylogpass = "phphamlog";             // CHANGE THIS NOW!

$mysqlbase = "phphamlog";             # name of the database, no need to change this 
				      # unless you want to.

#############################################################################################################
#  Program Mode  ---  SET THIS VARIABLE TO SWITCH BETWEEN FIELD DAY MODE AND NORMAL MODE OF LOGGING, N4FWD
#                     Simply "comment" out the unused line and "uncomment" the used line.
#############################################################################################################

# $program = "FIELDDAY";   # "FIELDDAY" is for Field Day logging.
#$program = "NORMAL";   # "NORMAL" is for normal logging and is the "default" mode.

#############################
# Field Day Variables  #N4FWD
#############################

$opcategory = array ("SINGLE-OP", "SINGLE-OP-ASSIST", "MULTI-ONE", "MULTI-TWO", "MULTI-MULTI", "SCHOOL-CLUB",
					"SINGLE-OP-PORTABLE", "ROVER", "MULTI-LIMITED", "MULTI-UNLIMITED", "CHECK-LOG");
$powercategory = array ("HIGH", "LOW", "QRP");


#######################################
#  Overall Callsign used by club
#######################################

$mastercall = "KC9AOP";  # This would be the overall callsign used during the Field Day exercise - N4FWD

?>
Return current item: phpHamLog