#!/usr/bin/perl
##############################################################################
# Weekly Holiday Home Booking Calendar Version 2.50 #
# Copyright 2001 John Plaxton john@availcheck.com #
# First Created June 2001 Last Modified 15 November 2003 #
# Scripts Archive at: http://www.availcheck.com #
##############################################################################
# COPYRIGHT NOTICE #
# Copyright 2001 John H K Plaxton All Rights Reserved. #
# #
# Availcheck Weekly Availability Calendar may NOT be used or modified or #
# changed by anyone without my expressed permission. The coding should #
# remain intact and unchanged. #
# #
# Selling the code for this program without prior written consent is #
# expressly forbidden. In other words, please ask first before you try and #
# make money off my program. This coding has taken hundreds of man hours. #
# #
##############################################################################
use CGI qw(:standard);use CGI::Carp qw(fatalsToBrowser);$q = new CGI;use Time::localtime;use Time::Local;print $q->header;
require "/home/gar10848/public_html/calendars/cal1/config.pl";
require "/home/gar10848/public_html/calendars/cal1/codebank.pl";
$Bin = &getpath;
@fields = $q->param();
foreach $field (@fields) {
${$field} = $q->param($field);
${$field} =~ s/[\|]//g; # removes pipes
#print"$field - ${$field}
";
}
my $headerdata = &get_header_details();
my ($contactname,$propname,$userid,$pword,$propaddr,$proptel,$propemail,$headertext,$curr,$currphrase,$lastupdated,$showhist,$showpricecol,$pcounter,$showavail) = split(/\|/, $headerdata);
$mainbakfile="bak".$htable;
$subbakfile="bak".$datatable;
$ret_menu_text = "
|
|
|
|
|
|
|
|
|
|
| © 2000-2003 Availcheck $VERSION | Help |
||
$endaddtext |