<?php
	if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
	$dir='./';
	global $_lang;
	$_lang_id = str_replace('/', '', $_lang);
	$app_plugins_all = (require 'config/plugins.php');

	//=> PAGE INFORMATIONS 
	$title = ((!empty($page_data['title']))?$page_data['title']:'Wisra Framework | Web sites builder');
	$description = ((!empty($page_data['description']))?$page_data['description']:'Wisra Framework | Web sites builder');
	$keywords = ((!empty($page_data['keywords']))?$page_data['keywords']:array('Wisra Framework | Web sites builder'));
	$google_maps_callback = ((!empty($page_data['google_maps_callback']))?$page_data['google_maps_callback']:'');
	$facebook_integration = ((!empty($page_data['facebook_integration']) && $page_data['facebook_integration']===true)?true:false);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $_lang_id;?>">
 <head>
 <?php include_once($dir."sources/include/".$_lang."info.php");?>
<?php echo $this->yieldContent('wisra_css_content'); ?>
 </head>
 <body>
<?php /*#==========================
# HEADER
#==================================*/ ?>
<?php include_once($dir."sources/include/".$_lang."noheader.php");?>
<?php /*#==========================
# END HEADER
# CONTENT
#==================================*/ ?>

	<?php /*-------------------------------------- Put here your HTML CODE --------------------------------------*/ ?>

<?php echo $this->yieldContent('wisra_basic_content'); ?>

	<?php /*-------------------------------------- End of your HTML CODE --------------------------------------*/ ?>

<?php /*#==========================
# CONTENT END
# FOOTER
#==================================*/ ?>
<?php include_once($dir."sources/include/".$_lang."nofooter.php");?>
<?php echo $this->yieldContent('wisra_js_content'); ?>
 </body>
</html>