<?php
/*ini_set('display_errors',1);
error_reporting(E_ERROR|E_WARNING|E_PARSE);*/
session_start();
include($_SERVER["DOCUMENT_ROOT"].'/store/include/global.inc.php');
include('include/breadcrumb.inc.php');


include('include/db.class.php');

include('include/query.class.php');
include('include/cart.class.php');
include('include/cost.class.php');
include('include/product-grab.class.php');
require_once(STOREINC.'include/handle.inc.php');
$fx = new form_check();	

//Login Class
include(STOREINC.'include/prolog.class.php');

$cart = new product_grab();//product_grab extends cost extends cart which extends DB


$login = new login();

$cart->product_init($_GET['p']);
$cart->cat_init($_GET['c']);
$cart->limit_init();

//set url for post-return; put this in every form you want to return to this page
$url_self = $_SERVER['PHP_SELF'].'?'.urldecode($_SERVER['QUERY_STRING']);

//set stylesheets needed
define ('STYLES', '<link href="'.SITEPATH.'css/site/autocompleter/style.css" rel="stylesheet" type="text/css" /><link href="'.SITEPATH.'css/site/scroller.css" rel="stylesheet" type="text/css" /><link href="'.STOREPATH.'css/relatedItems.css" rel="stylesheet" type="text/css" />');

$script = "<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','//connect.facebook.net/en_US/fbevents.js');

fbq('init', '1199857913474115');
fbq('track', 'PageView');
//fbq('track', 'AddToCart');
fbq('track', 'ViewContent');</script>
<noscript><img height='1' width='1' style='display:none' src='https://www.facebook.com/tr?id=1199857913474115&ev=PageView&noscript=1'/></noscript>
<!-- End Facebook Pixel Code -->
";

define('JAVASCRIPT',$script.'



');

$javascript_bottom .= "

var smoothProduct = new SmoothScroll({
    links: '.toTopContent',
    wheelStops: false
});

";

if($cart->cat_id === 24 || $cart->cat_id === 21 || $cart->cat_id === 34):
		
		$javascript_bottom .= "
		 loadMP3_mini = function(id, pathToFile, src, w, h, v, bgcolor) {
	var strName = 'mp3_player_mini_'+id;


			var flashvars = {};
	
			flashvars.podcastFile = encodeURIComponent(pathToFile);
			flashvars.id = id;
			flashvars.numAudioPlayers = numAudioPlayers;

			var params = {};
			params.wmode = 'transparent';
			params.bgcolor = bgcolor;
			params.allowscriptaccess = 'sameDomain';
			var attributes = {};
			attributes.name = strName;
			swfobject.embedSWF(src, strName, w, h, v, '', flashvars, params, attributes);		
	
}
";

		
		endif;

//create page title
$pt = $cart->title_display();
define('PAGETITLE',($pt != '' ? $pt.' &raquo; ' : '').$cart->cat_title_display($cart->cat_id));

include(STOREINC.'include/header-normal.php');
?>

<!-- Content and Sub Page Navigation Div-->
	<div id="page_extra_info"><div class="normal_width"><?php /**/  /* Updated: By Israel - 15/8/2010 <a class="img left" href="https://dennisjernigan.com/first-love/" title="New Album: First Love"><img alt="New Album: First Love" src="/images/banners/Web-Banner-First-Love.jpg"></a>*/ ?><a target="_blank" class="img left new-book" href="https://bit.ly/ddfksII" onclick="Lead();" title="New Book: Daily Devotions for Kingdom Seekers Available Today on Amazon"><img alt="New Book: Daily Devotions for Kingdom Seekers" src="/templates/home_page/images/slideshow/FB-Ad-Path-Book-Images.jpeg" style="max-width: 260px;    margin-right: 15px;"></a><a class="img left" href="/free-downloads" title="Free Downloads"><img alt="Free Downloads" src="/images/banners/banner_small_free_downloads.png" /></a><style media="screen">#success{width:130px !important;}</style><?=$cart->cart_small(); ?></div></div>

<!-- Containing div ; Ends in footer file-->
<div id="container" class="same_h">

	
	<!-- End of Header -->
     <div id="col_wrapper">
    <!-- background image divs -->
    <div id="col_bg_left"></div>
    <div id="col_bg_right"></div>
    <!-- bg img end -->
    
	<!-- Col-main div -->
    
	<div id="col-main" class="left main-col-margin ">
    	
    	<div class="content blog-post" id="store_box">
   			<?php 
			
			/*if( !$cart->not_active($_GET['p']) && isset($_GET['p']) || (!isset($_GET['p']) && !isset($_GET['c']) && !isset($_GET['sort']))){ ?>*/
			if( !isset($_GET['p']) && !isset($_GET['c']) && !isset($_GET['sort']) ){ ?>
			
			<p>You have reached a page that doesn't have any content yet. Please go back, or press back in your browser to continue shopping in our store. Thank you.</p>
            <p style="min-height:400px;">If you feel you have reached this page and there was an error, please contact <a href="mailto:mail@dennisjernigan.com" rel="nofollow">mail@dennisjernigan.com</a></p>
           
			</div>
			<?php }elseif(isset($_GET['p']) && isset($_GET['c'])){ //display a specific product 
    		
                /* Hack for a specific product The Christmas Bundle Page 
                    Basically Hide the small thumbnail
                */
                if($_GET['p'] != 3767 && $_GET['p'] != 3778 && $_GET['p'] != 3837):
			
			//get first child id, since that's what we really want with this store
			$javascript_bottom .= "
		

new Lightbox({ relString: 'lightbox', assetBaseUrl: '/components/com_rsgallery2/lib/lightbox++/images/'}, $('product_lightbox').getElements('a'));


		";
			    endif;/*END HACK*/
			
			$ids = $cart->child_products($cart->product_id);
			
			$cart->parent_id = $cart->find_parent_id();//save parent_id for other records
			$cart->product_id = $cart->parent_id;
			$image_url = $cart->image_display('full','normal');
			$image_big_url = $cart->image_display('full','big');
			$cart->child_id = $ids[0]['id'];
			$cart->product_id = $cart->child_id;
			?>
       
        
        <!-- Navigation for the breadcrumb -->
    
    <h2 id="nav-sort">Store <span style="color:#333;">&raquo;</span> <?=$cart->cat_title_display($cart->cat_id);?> <span style="color:#333;">&raquo;</span> <?=$cart->title_display(); ?></h2>
 
         <!-- End Navigation for the breadcrumb -->
        <div id="content_limit" class="category_limit">
        		<span class="price">Price: $<?=$cart->price_display(); ?></span>
            	<span class="addtocart"><?=$cart->addtocart_form(); ?></span>      
       </div>
       
       <?php if($cart->has_donate_amount() == true){ ?>
       <div id="donation_amount_box">
       <div id="donation_message">We would like to make this item available to you for whatever you feel comfortable paying.</div>
       <span class="addtocart"><?=$cart->donate_addtocart_form(); ?><span style="font-size: 0.8em; color: #d4d4d4; margin-left: 12px;">(Taxes will still apply to residents of TX and OK)</span></span>
       <div class="clear"></div>
       </div>
       <?php } ?>
       
       <?php 
       if($cart->cat_id === 36 && isset($_GET['p']) && isset($_GET['c'])):
			$javascript_bottom .= '
			var load =  function() {  
			
			var flashvars = {};
			flashvars.video_load = "/store/include/videopreview.class.php?p='.urlencode($secure->encrypt($cart->parent_id)).'";
			flashvars.autoplay = "false";
			var params = {};
			params.play = "false";
			params.autoplay = "false";
			params.menu = "false";
			params.quality = "best";
			//params.type = "flv";
			params.wmode = "transparent";
			params.allowfullscreen = "true";
			params.allowscriptaccess = "sameDomain";
			var attributes = {};
			attributes.id = "video_player_load";
			attributes.name = "video_player_load";
			//attributes.type = "flv";
			attributes.align = "left";
			swfobject.embedSWF("/flash/video_player_single(new).1.4.swf?new=1", "video_player_load", "515", "305", "9.0.0", false, flashvars, params, attributes);
			
			};
			
			load();
			';
			?>
			<div class="col-100">
			<div class="video_player_main" id="highliteContent">
    		<img src="/images/misc_bg/bg_player_top_short.jpg" alt="player_top" />
      		  <div id="highlite_content_holder"><div class="panel">
      		  <h3>Watch A Preview Of The Video</h3>
                <div id="video_player_load">
                <h4>Links to watch/download dj's videos</h4>
                
                <?php
				$base_path = "http://www.dennisjernigan.com";
				$file = $base_path."/flash/content.xml.php";
				
				$xml = simplexml_load_file($file);
				//print_r($xml);
				$count = count($xml->gallery->video);
				$x = 0;
				if ($count > 0):
				echo '<ul>';
				foreach ($xml->gallery->video as $vid) :
						++$x;
						echo '<li><a href="/flash/popup.php?movie='.urlencode($vid['VideoClip']).'&amp;title='.urlencode($vid['Title']).'">'.stripslashes($vid['Title']).'</a></li>';
						
				endforeach;
				echo '</ul>';
				endif;
				
				
				
				?>
                
                To Watch DJ's Videos you will need to download the latest version of flash player. 
                    <a href="http://www.adobe.com/go/getflashplayer">
                        Get it now.</a>                </div>
			</div>
			<div class="clear" style="padding-top:12px;"></div>
			</div>
			</div>
			</div>
			<?php endif;?>
       
       <?php
       //Add Facebook Stuff
        echo '

<div class="col-100" style="margin: -12px 0pt 0pt; background: none repeat scroll 0pt 0pt rgb(94, 96, 86); color: white; border-top: 1px solid rgb(77, 77, 77); padding: 0.5em 18px 0.5em 18px; box-sizing:border-box; width:100%; line-height:18px"><span class="right">'.$cart->fb_like_count().' </span>
        See what others are saying. <a id="fb_comment_link" style="border: medium none; color: rgb(204, 204, 204); text-decoration: underline;" href="javascript:$(\'fb_comments\').fancyShow();">View or Write Comments</a> ('.$cart->fb_comment_count().') 
        </div><div class="col-100" id="fb_comments" style="border-top: 1px solid rgb(77, 77, 77); padding: 18px 0pt 0.5em 18px; width: 518px; background: none repeat scroll 0% 0% white; border-bottom: 1px solid rgb(77, 77, 77);">'.$cart->rating_display('facebook').'</div>';

		echo $cart->fb_script();

		?>

        <div class="col-100">
            <?php
                /* Hack for a specific product The Christmas Bundle Page 
                    Basically Hide the small thumbnail
                */
			if(($_GET['p'] != 3767 && $_GET['p'] != 3778) && ($_GET['p'] != 3837)):

			?>
			<span id="product_lightbox" style="float:right; margin:0 0 6px 12px;"><a href="<?=$image_big_url;?>" class="img product_img" rel="lightbox" style="margin:0;"><img src="<?=$image_url ?>" /></a></span>
			
			<?php 
    			endif;
    			?>
        <style>
            .addthis_native_toolbox{
                margin: 1em 1em 1em 12px;
            }
            .addthis_native_toolbox #atstbx{
                display: inline-block !important;
            }
            .addthis_native_toolbox a{
    border:none !important;
}
</style>

<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-53e7947e0d9a07ce" async="async"></script>
            <?php /*<!-- Go to www.addthis.com/dashboard to customize your tools -->*/ ?>
        
        	<?php  
			
			echo '<h1 style="margin-top:0;padding:0 14.4px;">'.$cart->cat_title_display($cart->cat_id).': '.$cart->title_display().'</h1>';
			
			/* Hack for a specific product The Christmas Bundle Page */
			if($_GET['p'] == 3767){
    			echo '<div class="addthis_native_toolbox" data-url="http://dennisjernigan.com/store/product/21/3767/#The-5-CD-Christmas-Bundle?utm_medium=share&utm_source=product-page&utm_campaign=Holiday%20Updates%20-%20Dec.%20&utm_term=The%20Christmas%205%20CD%20Bundle&utm_content=addthis_share"></div>';
			}elseif($_GET['p'] == 3778){
    			echo '<div class="addthis_native_toolbox" data-url="http://dennisjernigan.com/store/product/21/3778/#The-December-10-CD-Discount?utm_medium=share&utm_source=product-page&utm_campaign=Holiday%20Updates%20-%20Dec.%20&utm_term=The%20December%2010%20CD%20Discount&utm_content=addthis_share"></div>';
			}elseif($_GET['p'] == 3837){
    			echo '<div class="addthis_native_toolbox" data-url="http://dennisjernigan.com/store/product/21/3837/#The-Buy-3-Get-1-July-Weekend-Sale?utm_medium=share&utm_source=product-page&utm_campaign=July%20Weekend%20Sale&utm_term=The-Buy-3-Get-1-July-Weekend-Sale&utm_content=addthis_share"></div>';
			}else{
    			echo '<div class="addthis_native_toolbox"></div>';
			}
			/* Hack for a specific product The Christmas Bundle Page */
			if($_GET['p'] == 3767 && $_GET['p'] == 3778 || $_GET['p'] == 3837){
    			
    			echo '<div class="clear"></div>';//
			}
			
			
			echo $cart->descr_display('noformat'); 
        	echo $cart->callout_display('format');
		
			if($cart->cat_id === 24)://check for any mp3 preview
			$mp3_exists = $cart->mp3_preview_exists($cart->parent_id);
					
			if($mp3_exists):
			$javascript_bottom .= ' var numAudioPlayers = "1"; 
			 loadMP3_mini("1", "/store/include/mp3preview.class.php?search="+encodeURIComponent(encodeURIComponent("'.$secure->encrypt($cart->parent_id).'"))+"&a=find_song", "/flash/mp3_mini_player.swf", "60", "19", "6", "#ffffff");
			';
			endif;
			//change the style to  a class
			?>
			<div style="border: none; padding:8px 1.2em 6px; line-height:1.67em; margin:0.5em 0; vertical-align: middle;">Preview mp3 <span id="mp3_player_mini_1"><?php if($mp3_exists){ echo 'loading preview'; }else{ echo ' not available at this time.'; }?></span></div>
			<?php 
			elseif($cart->cat_id === 21 || $cart->cat_id === 34)://cd & mp3collection, check for any mp3's that might be attached via an album
			
			$mp3_ids = array();
			$mp3_ids =  $cart->album_preview_list($cart->parent_id);
			$prev_cat_id = $cart->cat_id;
			//print_r($mp3_ids);
			if(!empty($mp3_ids)):
				$mp3_total = count($mp3_ids);
				$mp3_count = 1;
				$javascript_bottom .= ' var numAudioPlayers = '.$mp3_total.'; ';
				$previous_id = $cart->product_id;
				
				echo '<h3>Song List</h3><ol>';
				
				
				foreach($mp3_ids as $row):
					//add javascript for loading the mp3's
					$cart->product_id = $row['id'];
					$cart->parent_id = $cart->find_parent_id();
					$title = $cart->title_display();
					$mp3_exists = $cart->mp3_preview_exists($cart->product_id);
					
					if($mp3_exists):
					$javascript_bottom .= '
					 loadMP3_mini("'.$mp3_count.'", "/store/include/mp3preview.class.php?search="+encodeURIComponent(encodeURIComponent("'.$secure->encrypt($cart->parent_id).'"))+"&a=find_song", "/flash/mp3_mini_player_nobar.swf", "19", "19", "6", "#ffffff");
					';
					
					endif;
					
					$cart->cat_id = 24; //mp3 category
					?>
					
                   <li><div style="vertical-align:middle; display:inline;"><span id="mp3_player_mini_<?=$mp3_count; ?>"><?php if($mp3_exists){ echo 'loading preview'; }else{ echo ''; }?></span></div> <span>&nbsp;<?=$cart->prod_link($title); ?></span></li>
                    
				<?php 
				$cart->cat_id = $prev_cat_id;
				$mp3_count = $mp3_count+1;
				
				endforeach;
				
				echo '</ol>';
				
				$cart->product_id = $previous_id;
				$cart->parent_id = $cart->find_parent_id();
				
			endif;
			
			elseif($cart->cat_id === 27):
			
			$sheetmusic_ids = array();
			$sheetmusic_ids =  $cart->sheetmusic_preview_list($cart->parent_id);
			$prev_cat_id = $cart->cat_id;
			//print_r($mp3_ids);
			if(!empty($sheetmusic_ids)):
				$sheetmusic_total = count($sheetmusic_ids);
				$sheetmusic_count = 1;
				$javascript_bottom .= ' var numAudioPlayers = '.$sheetmusic_total.'; ';
				$previous_id = $cart->product_id;
				
				echo '<h3>Sheet Music Product List</h3><ol>';
				
				
				foreach($sheetmusic_ids as $row):
					//add javascript for loading the mp3's
					$cart->product_id = $row['id'];
					$cart->parent_id = $cart->find_parent_id();
					$title = $cart->title_display();
					/*$sheetmusic_exists = $cart->sheetmusic_preview_exists($cart->product_id);
					
					if($sheetmusic_exists):
					$javascript_bottom .= '
					 loadMP3_mini("'.$sheetmusic_count.'", "/store/include/mp3preview.class.php?search="+encodeURIComponent(encodeURIComponent("'.$secure->encrypt($cart->parent_id).'"))+"&a=find_song", "/flash/mp3_mini_player_nobar.swf", "19", "19", "6", "#ffffff");
					';
					
					endif;*/
					
					$cart->cat_id = 38; //sheetmusic category
					?>
					
                   <li><?php /*<div style="vertical-align:middle; display:inline;"><span id="sheetmusic_player_mini_<?=$sheetmusic_count; ?>"><?php if($sheetmusic_exists){ echo 'loading preview'; }else{ echo ''; }?></span></div> */?><span>&nbsp;<?=$cart->prod_link($title); ?></span></li>
                    
				<?php 
				$cart->cat_id = $prev_cat_id;
				$sheetmusic_count = $sheetmusic_count+1;
				
				endforeach;
				
				echo '</ol>';
				
				$cart->product_id = $previous_id;
				$cart->parent_id = $cart->find_parent_id();
			endif;	
			endif;
			
			
			
			
			?>
       		<div class="clear"></div>
        </div>
        <div class="clear"></div>
        </div>
        <?php
        //display comments/reviews
		
		if(isset($_GET['show_comments'])):
		echo '<div class="content blog-post-short" id="show_comments"><h3 style="font-size:18px;">Comments</h3>';
       		echo $cart->comment_display();
		echo '</div>';
		endif;
		
      //  $cart->product_id = $cart->parent_id;
	 
		$cart->product_id = $cart->parent_id;
		$related = $cart->related_display();
		if($related != ''):
        echo '<div class="content blog-post-short" id="show_related_items"><h3 style="font-size:18px;">Related Products</h3>';
        echo $related;
		echo '</div>';
		endif;
        ?>
        
        <?php 
		##
		}else{//display category of products 
		##
		
		
		?>
        
	   
       <!-- Navigation for the breadcrumb -->
    
    <h2 id="nav-sort">Store <span style="color:#333;">&raquo;</span> 
    <?php 
	$prod_title = $cart->cat_title_display($cart->cat_id);
	if($prod_title == '' && $cart->limit_sort != 'search'):
		echo $cart->topic_title_display($cart->limit_opt);
	elseif($cart->limit_sort == 'search'):
		echo 'Searching for '.urldecode(strip_tags($_GET['val']));
	else:
		echo $prod_title;
	endif;
	?>
    </h2>
 
    <!-- End Navigation for the breadcrumb -->
        <div id="content_limit" class="category_limit">
            	<?=$cart->category_limit_find(); ?>
            </div>

		<?php 
	  	$prod_array = $cart->category_products();
		$parent_id = $cart->product_id;
	  	if(is_array($prod_array)){
		?>
        <table class="product_table" width="100%" cellpadding="0" cellspacing="0" border="0">
        <thead>
        	<tr>
            	<th><?=($cart->cat_id==24?'Title':'Image');?></th><th><?=($cart->cat_id==24?'Preview':'Title');?></th><th>Price</th><th></th>
            </tr>
        </thead>
        <tbody>
        <?php
		$count = 0;
		
		if($cart->cat_id === 24):
		$mp3_total = count($prod_array);
		$mp3_count = 0;
		$javascript_bottom .= ' var numAudioPlayers = '.$mp3_total.'; ';
		endif;
		
	  			foreach($prod_array as $v): 
				
				++$count;
				
			if($cart->cat_id != '24'){
			
	  ?><tr class="add-prod">
      	
        <?php $cart->product_init($v['parent_product']); 
				$ids = $cart->child_products($cart->product_id);
			
				$cart->parent_id = $cart->find_parent_id();//save parent_id for other records
				$cart->product_id = $cart->parent_id;
				$cart->child_id = $ids[0]['id'];
				$cart->cat_init($v['category_id']); $title = $cart->title_display(); 
        		$img_src = $cart->image_display('thumb','small');?>
            	
          <td class="prod_img"><span><?=$cart->prod_link('<img src="'.$img_src.'" border="0" class="img" '.($cart->max_width!=''? 'style="'.$cart->max_width.'"' : '').'/>',$title.'" class="img'); ?></span></td>
          <td class="prod_link"><span><?=$cart->prod_link($title); ?> <?php if($cart->limit_sort == 'search'){ echo $cart->cat_title_display($v['category_id']); } ?></span></td>
          <td class="prod_price"><span>$<?=$cart->price_display($cart->child_id); ?></span></td>
          <td class="prod_addtocart"><span><img src="images/pieces/cart_add.png" alt="cart add" border="0" /><?=$cart->type_links($cart->child_id,'Add to Cart');?></span></td>
          
          
            
        </tr>
       	<?		
			}elseif($cart->cat_id == 24){//for  mp3's only
			++$mp3_count;
		?>	
        
        <tr class="add-prod">
      	
        <?php $cart->product_init($v['parent_product']); 
				$ids = $cart->child_products($cart->product_id);
			
				$cart->parent_id = $cart->find_parent_id();//save parent_id for other records
				$cart->child_id = $ids[0]['id'];
				$cart->cat_init($v['category_id']); $title = $cart->title_display(); 
				$mp3_exists = $cart->mp3_preview_exists($cart->product_id);
				
				//add javascript for loading the mp3's
				if($mp3_exists):
			$javascript_bottom .= '
			 loadMP3_mini("'.$mp3_count.'", "/store/include/mp3preview.class.php?search="+encodeURIComponent(encodeURIComponent("'.$secure->encrypt($cart->product_id).'"))+"&a=find_song", "/flash/mp3_mini_player.swf", "60", "19", "6", "#ffffff");
			';
				endif;
				?>
        	
          <td class="prod_img" height="47"><span><?=$cart->prod_link($title); ?> <?php if($cart->limit_sort == 'search'){ echo $cart->cat_title_display($v['category_id']); } ?></span></td>
          <td class="prod_link" style="vertical-align:middle;"><div style="margin-top:-8px;" class="left"><span id="mp3_player_mini_<?=$mp3_count; ?>"><?php if($mp3_exists){ echo 'loading preview'; }else{ echo ''; }?></span></div> <div style="margin:-4px 0 0 12px" class="left"><?=$cart->album_display($cart->parent_id);?></div></td>
          <td class="prod_price"><span>$<?=$cart->price_display($cart->child_id); ?></span></td>
          <td class="prod_addtocart"><span ><img src="images/pieces/cart_add.png" alt="cart add" border="0" /><?=$cart->type_links($cart->child_id,'Add to Cart');?></span></td>
          
          
            
        </tr>
        
        
		<?php 	
			}
		/*if($count == 1){
		$count = 0;
		echo '<div class="clear"></div>';
		}*/
		endforeach; ?>
        </tbody>
        </table>
        
        <?php 	}else{
			echo '<p>There are no products in this category. Please check back soon.</p>';
			}
		$cart->product_init($parent_id);
		?>
       
       </div>
	<?php } ?>
        
        
   	</div>
    
    <div id="col-sub" class="left">
    	<div class="content">
        
            <div class="moduletable">
            <h3>Store Categories</h3>
                <?=$cart->cat_menulist_display(); ?>
            </div>
            
            <?=$cart->featured_single_display(); ?>
            
            <?php /*TURNED OFF BY ISRAEL BECAUSE IT WAS SLOWING THINGS WAY DOWN */ //echo $cart->grab_song_finder($cart);?>
        
        	
        
        </div>
    </div>

<!-- Content Div End-->
<?php include(STOREINC.'include/footer.php');?>