#!/usr/bin/perl require "sm.pl"; require "sm_html.pl"; require "sm-lib.pl"; require "cookie-lib.pl"; require "Date.pl"; &formdata; $uid=$FORM{'uid'}; $mbr_id=$FORM{'i'}; $mode=$FORM{'m'}; &chkuid; if ($cookieset eq "N"){ &sh_header; } &sh_title ("$title"); &sh_body ($bg); &tabs(); &menubar; &leftbar; if ($mode eq ""){ &afftext; } else{ &chkmand; if ($errflg == 0){ $aff_email=inputchk($FORM{'m_aff_email'}); &chkemail($aff_email); if ($errflg==0){ $aff_siteurl=inputchk($FORM{'m_aff_siteurl'}); &sndmsgin; &showconfirm; } else{ ¶(1); &sh_fmttext ($font2, $fsize, "Email address appears to be incorrect format.
Please press the Back button."); } } else{ ¶(1); &sh_fmttext ($font2, $fsize, "Email Address and URL must be entered.
Please press the Back button."); } } &rightbar; &sh_mainpg4; &sh_footer; #************************************************************************ sub afftext{ print < Your own co-branded Sally Mitchell Gallery
This scheme is subject to intensive screening. If your site is not in any way relevant to the core/main subject matter of the Sally Mitchell site, i.e. Dogs, Horses, Wildlife, Pets, Aviation, countryside, farming, Art or Artists there is a very good chance that your application will be declined.

The co-branded Associate scheme is highly sophisticated, allowing you to have your own integrated galley within your site, customised to match your colour scheme and background and carrying your logo at the top.

We pay 30% commission on all print and card sales.
We pay 20% commission on the sale of original paintings.

If you believe your site qualifies for the co-branded scheme please enter your email address and web site URL below:

Your Email Address

Web Site URL
http://

 

HTML } sub showconfirm{ print < Thank you for your interest in becoming a (co-branded gallery) Associate

Your application will be reviewed and, if successful, you will be notified within the next 10 days.

We regret that we are unable to inform unsuccessful applicants nor to provide reasons why an application may have been rejected. HTML } sub sndmsgin{ open (MAIL, "|$mailprog $emailcentraladmin") || die "Can't open $mailprog!\n"; print MAIL "Reply-to: $emailcentraladmin\n"; print MAIL "From: $emailcentraladmin\n"; print MAIL "To: $emailcentraladmin\n"; print MAIL "Subject: Initial Associate Application\n\n"; print MAIL "Email: $aff_email\n\n"; print MAIL "URL: http://$aff_siteurl\n\n"; print MAIL "*****************************\n"; close (MAIL); }