<?
  session_start();

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

$title='The Downtown Development Center Complimentary Copy';
$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;
$testimonial='


';

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


//shipping charges are set in globals.inc

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

$pagecompany='The Downtown Development Center';
$pagetype='Complimentary Copy Access Confirmation';
$pageheading='Free Sample Download';
$showshipping=FALSE;
$pageemail='DowntownDevelopment.com';
$navbar='SDCM';
$typ='I';
$footer='securefoot.php';


//set this array to contain the correct titles and descriptions and formatting for this page.
//product array descrption: $product[product code]=array(title,desription,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 sofcover, 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.

$product=array();

$product['CDIX']=array(
'group'=>'Newsletter',
'title'=>'Downtown Idea Exchange',
'notes'=>'',
'reg_image'=>'images/dixsmall.jpg',
'imageid'=>'<img src="https://www.alexcommgrp.com/lib/imagecsg.php?id=68" width="100" alt="Downtown Idea Exchange" border="0">',
'desc'=>'Improving physical, social and economic conditions in downtowns across North America. ', 
'dprice'=>227,
'fprice'=>227,
'dsandh'=>9.50,
'fsandh'=>30.00,
'ship_typ'=>'N',
'min_copies'=>1,
'max_copies'=>99,
'sample_issue_dir'=>'pdf/sample/',
'sample_issue'=>'DIX_sample.pdf'
);

$product['CDPR']=array(
'group'=>'Newsletter',
'title'=>'Downtown Promotion Reporter',
'notes'=>'',
'reg_image'=>'images/dprsmall.jpg',
'imageid'=>'<CENTER><img src="https://www.alexcommgrp.com/lib/imagecsg.php?id=70" width="75" alt="Downtown Promotion Reporter" border="0"></CENTER>',
'desc'=>'Bringing more people downtown to live, work, shop, and play.',
'dprice'=>197,
'fprice'=>197,
'dsandh'=>9.50,
'fsandh'=>30.00,
'ship_typ'=>'N',
'min_copies'=>1,
'max_copies'=>99,
'sample_issue_dir'=>'pdf/sample/',
'sample_issue'=>'DPR_sample.pdf'
);


$replypage='
    <H2 class="contentheading">Downtown Development Center</h2>
    <h3>Sample Issues </h3>
    

	<p>We are pleased to provide Downtown Development Center publications for your review.

<p>With each issue our goal is to share practical strategies and tactics for improving the local economy and quality of life downtown.

<p>Please take a moment now to review your samples.';
//$replypage=$replypage.'dix '.isset($_POST['CDIX']).'<br>';
reset($product);
while ( list($prd_cde, $val) = each($product) ) { 
if (isset($_POST[$prd_cde])) {
//$replypage=$replypage.$prd_cde.' '.isset($_POST[$prd_cde]).'<br>';
	$replypage=$replypage.'<p><a target="_blank" class="linkC" href="http://www.'.$pageemail.'/'.$product[$prd_cde]['sample_issue_dir'].$product[$prd_cde]['sample_issue'].'">'.$product[$prd_cde]['title'].'</a>';
}
}

$replypage=$replypage.'<p>If you agree that this is the type of information that would benefit you and your community each month, I invite you to join us as a regular subscriber. You may <a class="linkC" href="http://www.'.$pageemail.'/drdcnews.php">order online</a> or use the form provided with your sample copy.

</p>

     <p>&nbsp;</p>

	<b>Go back to</b>...
	<ul>
	<li><a href="http://www.'.$pageemail.'" class="linkC">Home</a> 
    <li><a class="linkC" href="http://www.'.$pageemail.'/news.php">Newsletters</a></li>
    <li><a class="linkC" href="http://www.'.$pageemail.'/books.php">Books</a></li>
    <li><a class="linkC" href="http://www.'.$pageemail.'/perspectives.php">Perspectives Articles</a></li>
	<li><a class="linkC" href="http://www.'.$pageemail.'/guideline_exchange.php">Guideline Exchange</a></li>
    <li><a HREF="https://www.'.$pageemail.'/contact.php" class="linkC">Contact Us</a></li></ul>
	';
$metatag='<link rel="stylesheet" href="style.css" type="text/css">'; //put additional metatags in here
$specialhtml='';

$lst_cde='N09A';




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

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

require_once('drdc_template_v1.php')
?>




















