use Time::Local;
require "reg_lib_v1_1.pm";
############# V 1.1
###############################################################
### Define any globals
###############################################################
#$org_url = "teamdev2";
$method = "post"; #Use Post for production, it hides the parameters.
#$page_url = "reg.html";
#$org_caps = "PSC";
#$default_state = "MI";
#$min_partial_pay = 300;
###############################################################
### Define email
###############################################################
#$reply_to = "Reply-to: noreply\@hometeamz.com";
#$from = "noreply\@hometeamz.com ";
#$org_full_name_for_email = "Plymouth Soccer Club";
###############################################################
### Define message boxes
###############################################################
#$season_text = "2008 Season";
#$welcome_text = "Welcome to the new on-line registration system for the Plymouth Soccer Club 2008 Season.
Reign On!";
#$pay_complete_message = "Thank-you for registering for the Plymouth Reign.\n
Your order is complete. If you require any assistance or if you have any questions contact registration\@plymouthsoccer.net
";
#$pay_by_check_message = "In order to complete registration by check…
1. Please make the check payable to “Plymouth Soccer Club” for the above amount.
2. Please mail the check to the following address…
Plymouth Soccer Club
PO Box 5343
Plymouth, MI 48187
If you have any questions contact registration\@plymouthsoccer.net
\n";
###############################################################
### Paypal
###############################################################
#my $paypal_url = "https://www.sandbox.paypal.com/cgi-bin/webscr";
#my $paypal_acc = "jeremyhlmclean\@yahoo.com";
#my $paypal_acc = "jeremy_1195331242_biz\@yahoo.com";
#$paypal_acc = "jeremymclean\@gmail.com";
#my $page_url = "devreg.html";
#$thanks_url = "https://www.hometeamzonline.com/$org_url/" . $page_url . "?action=pp";
#$ipn_url = "http://www.hometeamzonline.com/pp/ipn.php";
#$base_reg_url = "https://www.hometeamzonline.com/$org_url/" . $page_url;
#my $paypal_acc = "jeremymclean\@gmail.com";
#$paypal_url = "https://www.paypal.com/cgi-bin/webscr";
#my $thanks_url = "https://www.hometeamzonline.com/$org_url/thanks.html?transaction=";
$phone_example = "Format 847-999-9999";
################################################################
### This is the admin Sub routing for the home page
################################################################
sub main_thanks{
$failed_login = 0;
###############################################################
### Get paramters
###############################################################
$page = param('page');
$sub = param('sub');
$coach = param('coach');
$newnews = param('news');
$title = param('title');
$date = param('date');
$update = param('update');
$obj_id = param('obj_id');
$month = param('month');
$year = param('year');
$day = param('day');
#$org_id = param('org_id');
$league_id = param('league_id');
$user = param('user');
$pass = param('pass');
$filter = param('filter');
$admin = param('admin');
$info_id = param('info_id');
$login = param('login');
$personal = param('personal');
$action = param('action');
$newemail = param('newemail');
###############################################################
### Print Header
###############################################################
%site_info = get_site_info($org_id);
$site_info{"site_banner_image"} =~ s/\/home\/homete3\/public_html//;
$site_info{"site_logo"} =~ s/\/home\/homete3\/public_html//;
print header();
print_start_header_main();
print_style();
###############################################################
### Print Body of HTML doc
###############################################################
print <<__HTML__;
| ";
$html .= " Invalid Transaction You have tried to view a transaction you do not have permissions for or have been logged out of your account. Click HERE to return to the registration page. |
| ";
$html .= " Step 6 : Order Complete \n";
$html .= $pay_complete_message . " \n"; if($org_id == 167){ # Plymouth required forms $html .= "Print Registration Confirmation and Player Forms\n"; } $html .= "\n"; $html .= " |
| ";
$html .= " Step 6: Order Complete
\n"; $html .= " | ||||||||||||