#!/usr/bin/perl ###################################################################### ## ## ## YourAffiliates - Copyright SunnyScript - All rights reserved ## ## SunnyScript is a subsidiary of Star Enterprise ## ## ## ## Legal agreements... http://www.sunnyscript.com/terms.htm ## ## Visit our website... http://www.sunnyscript.com ## ## ## ###################################################################### ## ## ## CONFIGURATION: ## ## ## ## 1. Look to the first line and replace /usr/bin/perl5 with the ## ## correct path to Perl 5 (or higher version). ## ## ## ## 2. Edit the following variables to configure the software. ## ## Please read the electronic manual for further instructions. ## ## ## ###################################################################### $default_adpassword = 'YourAffiliates'; $default_login_url = 'http://www.cajunchess.com/affiliates/adlogin.pl'; $default_cgiurl = 'http://www.cajunchess.com/affiliates/admin.pl'; $default_affil_url = 'http://www.cajunchess.com/affiliates/affil.pl'; $default_aff_login_url = 'http://www.cajunchess.com/affiliates/login.pl'; $default_click_url = 'http://www.cajunchess.com/affiliates/click.pl'; $mailprog = '/usr/sbin/sendmail'; $include_footer = ''; ###################################################################### ## ## ## It is recommended to change the following variables only by ## ## using the web based administration panel. ## ## ## ###################################################################### $default_use_login = 'Y'; $default_site_name = 'The SunnyScript Store'; $default_from_email = 'Affiliate Manager'; $default_homepage = 'http://www.sunnyscript.com'; $default_standard_click_rate = '.02'; $default_commission = '0'; $default_commission1 = '5'; $default_commission2 = '1,0,50,5.00,100,10.00,200,20.00'; $default_commission3 = '20'; $default_commission4 = '1,0,50,5,100,10,200,20'; $default_pay_threshold = '50'; $default_send_pay_notice = 'Y'; $default_pay_email = 'payment.txt'; $default_pay_subject = 'Affiliate payment notice'; $default_use_aff_login = 'Y'; $default_click_file = 'click.dat'; $default_profile_file = 'profile.dat'; $default_do_click_log = 'Y'; $default_click_log_file = 'clicklog.dat'; $default_payment_log = 'payments.dat'; $default_order_log = 'orderlog.dat'; $default_template_dir = './'; $default_status_template = 'status.htm'; $default_update_template = 'update.htm'; $default_history_template = 'history.htm'; $default_create_template = 'create.htm'; $default_error_template = 'error.htm'; $default_message_template = 'message.htm'; $default_login_template = 'login.htm'; $default_moderated_template = 'moderate.htm'; $default_success_template = 'success.htm'; $default_state_label = 'State / Province'; $default_phone_label = 'Phone'; $default_new_email = 'welcome.txt'; $default_new_subject = 'Welcome new affiliate !'; $default_pass_email = 'password.txt'; $default_pass_subject = 'Your password again'; $default_use_auto_name = 'Y'; $default_count_file = 'count.dat'; $default_do_moderate = 'Y'; $default_pending_file = 'pending.dat'; $default_moderated_email = 'moderate.txt'; $default_moderated_subject = 'New affiliate request'; $default_expires = '10'; $default_no_overwrite = ''; $default_require_refer = ''; $default_block_hosts = ''; $default_block_ips = ''; $default_wait_on_ip = ''; $default_wait_time = '1'; ###################################################################### ## ## ## Don't change anything below this line. It may cause errors. ## ## ## ###################################################################### $default_config_file = 'affil.cfg'; $cgiurl = 'http://www.cajunchess.com/affiliates/admin.pl'; $cgiurl = $default_cgiurl unless $cgiurl; $affil_url = 'http://www.cajunchess.com/affiliates/affil.pl'; $config_file = 'affil.cfg'; $config_file = $default_config_file unless $config_file; $click_url = 'http://www.cajunchess.com/affiliates/click.pl'; $homepage = 'http://www.cajunchess.com'; $site_name = 'CAJUNCHESS'; $from_email = 'Affiliate Manager'; $use_login = 'Y'; $login_url = 'http://www.cajunchess.com/affiliates/adlogin.pl'; $login_url = $default_login_url unless $login_url; $adpassword = 'SEMPERFI'; $click_file = 'click.dat'; $profile_file = 'profile.dat'; $do_click_log = ''; $click_log_file = 'clicklog.dat'; $standard_click_rate = '.00'; $order_log = 'orderlog.dat'; $commission = '3'; $commission = $default_commission unless $commission; $commission1 = '5'; $commission2 = '1,0,50,5.00,100,10.00,200,20.00'; $commission3 = '5'; $commission4 = '1,0,50,5,100,10,200,20'; $pay_threshold = '50'; $payment_log = 'payments.dat'; $send_pay_notice = 'Y'; $pay_email = 'payment.txt'; $pay_subject = 'Affiliate payment notice'; $use_aff_login = 'Y'; $aff_login_url = 'http://www.cajunchess.com/affiliates/login.pl'; $template_dir = './'; $status_template = 'status.htm'; $update_template = 'update.htm'; $history_template = 'history.htm'; $create_template = 'create.htm'; $error_template = 'error.htm'; $message_template = 'message.htm'; $login_template = 'aff-login.htm'; $moderated_template = 'moderate.htm'; $success_template = 'success.htm'; $state_label = 'State / Province'; $phone_label = 'Phone'; $new_email = 'welcome.txt'; $new_subject = 'Welcome new affiliate !'; $pass_email = 'password.txt'; $pass_subject = 'Your password again'; $use_auto_name = ''; $count_file = 'count.dat'; $do_moderate = ''; $pending_file = 'pending.dat'; $moderated_email = 'moderate.txt'; $moderated_subject = 'New affiliate request'; $expires = '10'; $require_refer = ''; $block_hosts = ''; $block_ips = ''; $no_overwrite = ''; $wait_on_ip = ''; $wait_time = '1'; 1;