<?
  session_start();

require ('config.inc');
require ($globals);
//require ($standardfunctions);
//require ($emailfunctions);
//require ($pagefunctions);
//require ($nameandaddresssan);
require ('/www/alexcommgrp/lib/phpwrapper.php');

global $recaptcha_secret;

$title='Downtown Digest Subscription';
$stylesheet_url='//www.downtowndevelopment.com/template.css';
$show_newsletters=1;
$show_books=1;
$show_books_detail=1;
$show_featured_articles=1;
$show_documents_plus=1;
//$security_image='//www.downtowndevelopment.com/images/securitypic.jpg';
//$security_ans='SEVEN';

  $page_group='Newsletters';
  $page_category='Downtown Digest';

//set the page and type variables here  
//required fileds and error field names are set in globals.inc
//change the defaults ofr these since they aren't used on this form
$requiredfields['creditcard']=0;
$requiredfields['ccname']=0;
$requiredfields['ccnum']=0;
$requiredfields['ccexpire']=0;
$requiredfields['comments']=0;
$requiredfields['usertitle']=1;
$requiredfields['usercompany']=1;



//this will build the table
$tabletitle='Contact Information:';
$tableaddress=TRUE;
$tableemail=TRUE;
$tablecc=FALSE;
$tablecomments=FALSE;
$tablehear=TRUE;
$tableemaillist=FALSE;
$tabletopics=TRUE;

$showproducts=TRUE;

//shipping charges are set in globals.inc

$pagecompany='The Downtown Development Center';
$pagetype='Downtown Digest';
$pageheading='Downtown Digest<BR>Subscription Form';
$showshipping=FALSE;
$pageemail='DowntownDevelopment.com';

/****************customer email details         ***********************/
$fromname="Mary Dalessandro";
$fromtitle="Customer Service Manager";
$fromemail="MDalessandro@".$pageemail;
$fromcompany="Downtown Development Center";
$fromwebsite="http://www.DowntownDevelopment.com";
$promo_cde="";
$promo_desc="";


$navbar='SDCM';
$footer='securefoot.php';
$typ='C';
$replypage='		
    <H2 class="contentheading">Downtown Development Center</h2>
    <h3>Thank you </h3>
    <p>We have received your information and added you to our e-newsletter subscriber list.</p>

	<p>You will receive your first issue shortly. In the meantime, please take a moment to return to the Downtown Development Center website for more information on our other products and services.</p>

     <p>&nbsp;</p>

	<b>Go back to</b>...
	<ul>
	<li><a href="http://www.DowntownDevelopment.com" class="linkC">Home</a> 
    <li><a class="linkC" href="http://www.DowntownDevelopment.com/news.php">Newsletters</a></li>
    <li><a class="linkC" href="http://www.DowntownDevelopment.com/books.php">Books</a></li>
    <li><a class="linkC" href="http://www.DowntownDevelopment.com/perspectives.php">Perspectives Articles</a></li>
	<li><a class="linkC" href="http://www.DowntownDevelopment.com/guideline_exchange.php">Guideline Exchange</a></li>
    <li><a HREF="https://www.DowntownDevelopment.com/contact.php" class="linkC">Contact Us</a></li></ul>
';
$specialpicture='<img src="'.$header_graphic.'" valign="top" width="519" height="120">';
$introparagraph='<H2>To receive your FREE subscription, <BR>please provide us with the following information.</H2><p class="BOLD">&nbsp;I&#146;d like to sign up for:</p>';



$metatag=''; //put additional metatags in here

//set this array to contain the correct titles and descriptions and formatting for this page.
//product array descrption: $product[product code]=array(title,description,domestic price,foreign price,notes,shipping type,minimum copies,maximum copies)

//Title is the title of the newsletter or book
//Description is the brief explanation of the product. For newsletters, this includes frequency of printing and number of pages.  For books, this includes size of book, hard or softcover, number of pages and year printed.
//Domestic price is the US price, not including Canada and Mexico.  Canada and Mexico are included in the newsletter domestic prices.
//Foreign price is the price outside of the US.
//Notes section should only be used for books which are "prepaid".
//Minimum copies will always be 1, Maximum will always be 99.  The only exception is TCC which the Minimum is 10 and the Max is 20.

$lst_cde='A0C';

$product=array();

//$product['XCOMM']=array('title'=>'Comment','notes'=>'','desc'=>' ','dprice'=>0,'fprice'=>0,'ship_typ'=>'N','min_copies'=>1,'max_copies'=>99);

$product['DOWNDIG']=array('title'=>'Downtown Digest','desc'=>"Idea stimulators, tips, and techniques for downtown improvement.", 'dprice'=>0,'fprice'=>0,'notes'=>'','ship_typ'=>'N','min_copies'=>1,'max_copies'=>99,'ext_list'=>'','link'=>'http://www.downtowndevelopment.com/enewsletter.php',
'force'=>1);


///////////////////////////////////////////// all configurations are set above this line
///////////////////////////////////////////// you shouldn't have to touch anything below here

//$majordomolist='cswmaillist-request@mailman.alexcommgrp.com';


/////////////////////////////////////////////////////////////

$content = implode('', file('/www/alexcommgrp/lib/showsamplepagewithsignup_template_recaptcha.php'));
//echo $content;
//$content = file_get_contents('makebooks.php');
$mainbody = phpWrapper($content);

require_once('drdc_template_v1.php')





?>