<?php

// Server name that MySQL is on
$database_host="localhost";

// Login user
$database_login="biz_hostindex";

// Login password
$database_pass="jkhjhjwozdjk";

// Name of the MySQL database
$database_name="biz_hostindex";


////////////////////////////////////////////
// Website administration variables

// Admin email address to send notifications to
$admin_mail="vu3prx@yahoo.com";

// Email address to send submission verifications from
$noreply_mail="vu3prx@yahoo.com";

// Password to log into the administration tool
$admin_password="adminqqt";

// Does each submission require admin approval?
// Set to "no" if admin approval is required

$admin_approved="no";


// Web site name
$site_title="Hosting Directory";

// PayPal Address
$paypal = "vu3prx@yahoo.com";





////////////////////////////////////////////
// Don't Edit Beyond This Point
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////
////////////////////////////////////////////

// Number of columns displayed on front page
$front_cols="2";

// Width per column (pixel or percentage) on front page
// (if using pixel number, add "px" right after the number with no leading space)

$front_perc="50%";
// The last word in the name of the .css file you wish to use for your color scheme.
// Right after "style_" of the style sheet name


$image_enabled="yes";
////////////////////////////////////////////
// Result listing and ordering options
// field to list by (options are "name","id","clicks","rates","rating" or "date_added")

$list_by="name";
// Direction to list, ascending or decending (ASC or DESC)

$list_order="ASC";
// Number of records showed before paging reuslts over several pages

$category="10";
// Number of links to display on popular page

$popular="10";
// Number of links to display on new links page

$new="10";
// Number of links to display on search results page

$search="10";
////////////////////////////////////////////
// Error Messages to admin email and browser when MySQL connection and query
// errors are reported
$ConnError_Email="There was an error connecting with MySQL at $PHP_SELF";
$ConnError_Browser="There was an error connecting with MySQL";
$QueryError_Email="There was an error querying MySQL at $PHP_SELF";
$QueryError_Browser="There was an error querying MySQL";

	Function MySQLConnect($errmsg, $msg="")
	{
		$success=mysql_connect($GLOBALS["database_host"], $GLOBALS["database_login"], $GLOBALS["database_pass"]);
		if(!$success)
		{
			if($Email_Errors=="1")
			{
				mail($GLOBALS["Admin_Mail"], "MySQL Connect Failure at $Site_Name", $errmsg."\n\n".mysql_errno(). ":  ".mysql_error(), "From: $Alert_Email");
				die();
			}
		}
	}
	Function MySQLQuery($query, $errmsg, $msg="")
	{
		$success=mysql_db_query($GLOBALS["database_name"], $query);
		if(!$success)
		{
			if($Email_Errors=="1")
			{
				mail($GLOBALS["Admin_Mail"], "MySQL Query Failure at $Site_Name", $errmsg."\n\n".mysql_errno(). ":  ".mysql_error(), "From: $Alert_Email");
				echo $msg;
				die();
			}
		}
		return $success;
	}
$date_format="Y-m-d";
$display_format="M d, Y";


?>