Location: PHPKode > scripts > Free Regional Directory Script > free-regional-directory-script/include/constants.php
<?php
/**
# ################################################################################
# Project:   Regional Directory Script
#
# **********************************************************************
# Copyright (C) 2007 NetCreated, Inc. (http://www.netcreated.com/)
#
# This software is for use only to those who have purchased a license.
# A license must be purchased for EACH installation of the software.
#
# By using the software you agree to the terms:
#
#    - You may not redistribute, sell or otherwise share this software
#      in whole or in part without the consent of the the ownership
#      of PHP Link Directory. Please contact hide@address.com
#      if you need more information.
#
#    - You agree to retain a link back to http://www.regionaldirectory.org/
#      on all pages of your directory if you purchased the $10 version
#      of the software. You must pay a total of $60 to remove the link back.
#
#
#  In some cases, license holders may be required to agree to changes
#  in the software license before receiving updates to the software.
# **********************************************************************
#
#  For questions, help, comments, discussion, etc., please join the
#  Forum http://www.phplinkdirectory.com/forum/forumdisplay.php?f=16
#
#  @link           http://www.regionaldirectory.org/
#  @copyright      2004-2007 NetCreated, Inc. (http://www.netcreated.com/)
#  @projectManager David DuVal <hide@address.com>
#  @package        Regional Directory
#  @version        2.1.2
# ################################################################################
*/
// this is to block empty useragent and remote submitals 0 equals not and 1 = yes
$ALLOW_EMPTY_USERAGENT = 0;
$ALLOW_FOREIGN_REFERER = 0;

$email_tpl_types = array( '1' => _L('Emailer'), '2' => _L('Link Owner Notif.'), '3' => _L('Email and Add Link'));
$payment_um = array('1' => _L('Month'),'2' => _L('Trimester'), '3' => _L('Semester'), '4' => _L('Year'), '5' => _L('Unlimited'));
$link_type_int = array( 'none' => 0, 'free' => 1, 'normal' => 2, 'reciprocal' => 3, 'featured' => 4);
$link_type_str = array( 0 => _L('None'), 1 => _L('Free'), 2 => _L('Normal'), 3 => _L('Reciprocal'), 4 => _L('Featured'));
$notif_msg = array(
	'submit' => array(
		'SUBJECT' => 'New link submited at {MY_SITE_URL}',
		"BODY" => "Title: {LINK_TITLE}\n" .
				  "URL: {LINK_URL}\n" .
				  "PageRank: {LINK_PAGERANK}\n" .
				  "Description:\n {LINK_DESCRIPTION}\n" .
				  "Owner Name: {LINK_OWNER_NAME}\n" .
				  "Owner Email: {LINK_OWNER_EMAIL}\n" .
				  "Reciprocal URL: {LINK_RECPR_URL}\n" .
				  "Reciprocal PageRank: {LINK_RECPR_PAGERANK}\n"
	),
	'payment' => array(
		'SUBJECT' => 'New {PAYMENT_SUCCESS} payment at {MY_SITE_URL}',
		"BODY" => "Link Title: {LINK_TITLE}\n" .
				  "Link URL: {LINK_URL}\n" .
				  "Payer Name: {PAYMENT_NAME}\n" .
				  "Payer Email: {PAYMENT_EMAIL}\n" .
				  "Unit price: {PAYMENT_AMOUNT}\n" .
				  "Quantity: {PAYMENT_QUANTITY}\n" .
				  "Amount to be payed: {PAYMENT_TOTAL}\n" .
				  "Amount payed: {PAYMENT_PAYED_TOTAL}\n"
	),
);
?>
Return current item: Free Regional Directory Script