0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
affiliates_8mor
/
includes
/
[
Home
]
File: affreports.php
<?php ##################################################################################### ## JROX.COM Affiliate Manager - affreports.php file ## Version 1.6.2 ## ## Author: Ryan Roxas(ryan@jrox.com) ## Homepage: http://jam.jrox.com ## Bug Reports: http://jam.jrox.com/bugzilla/ ## Release Notes: docs/READ_ME.txt ####################################################################################### ####################################################################################### ## COPYRIGHT NOTICE ## Copyright 2007 JROX Technologies, Inc. All Rights Reserved. ## ## This script may be only used and modified in accordance to the license ## agreement attached (license.txt) except where expressly noted within ## commented areas of the code body. This copyright notice and the ## comments above and below must remain intact at all times. By using this ## code you agree to indemnify JROX Technologies, Inc, its corporate agents ## and affiliates from any liability that might arise from its use. ## ## Selling the code for this program without prior written consent is ## expressly forbidden and in violation of Domestic and International ## copyright laws. ####################################################################################### ####################################################################################### ## This file is used to generate monthly affiliate reports to be sent to your ## affiliates via email on the first of each month. This will only run if you enable ## it in the database and schedule it to run via a cron job. ####################################################################################### require 'common.php'; require 'setlang.php'; if (DEBUG_ADVANCED_ERROR == true) { error_reporting(E_ALL); } else { error_reporting(0); } set_time_limit(JAM_SET_TIME_LIMIT); ini_set("memory_limit",JAM_MEMORY_LIMIT); if (!empty($_GET['pw'])) { if ($_GET['pw'] == JAM_CRON_JOB_PASSWORD) { ###################################################### ## Check if Affiliate Monthly Stats needs to be sent ###################################################### Send_Affiliate_Monthly_Stats(); } } ?>