<?php
/*
  ===============================================================

  inGenio X
  http://ingenio.area421.com

  Created by 
  Julian Moreno Hidalgo (Software developer)
  Jesus Moreno Hidalgo (Communication's tree)

  inGenio X is a free software licensed under CC-GNU GPL

  ===============================================================
*/
?>
<?php
	if (!defined("IGNX")) { die("Attempt..."); }
?>
<head>

<meta http-equiv ="Content-Type" content="text/html; charset=<?php echo CONFIG_2; ?>" />

<title><?php echo $tpl_titulo_web; ?></title>
<meta name="title" content="<?php echo $tpl_titulo_web; ?>" />
<meta name="DC.Title" content="<?php echo $tpl_titulo_web; ?>" />
<meta http-equiv="title" content="<?php echo $tpl_titulo_web; ?>" />


<meta name="Description" content="<?php echo LEN_11; ?>" />
<meta name="KeyWords" content="<?php echo LEN_12; ?>" />

<meta name="robots" content="index, follow" />
<meta name="author" content="Julian Moreno Hidalgo - http://ingenio.area421.com" />
<meta name="Generator" content="inGenio X : <?php echo INGENIO_VERSION; ?>" />

<?php
	if (CONFIG_49 == 1)
	{
?>
<link href="<?php echo CONEX_CANAL.'len'.IGUAL.IDIOMA_ACTUAL; ?>" rel="alternate" type="application/rss+xml" title="<?php echo LEN_8; ?>">
<?php
	}
?>

<link rel="STYLESHEET" href="<?php echo RUTA_INICIO_IMG.'skins/'.$row_comp['skin_css'].$tpl_update_css_js; ?>" type="text/css" />
<?php
 // skins css plugins
 	$tpl_archivos_man_css = getfilesdir("./skins/".substr($row_comp['skin_css'],0,-4)."/css","","(css)");
	for ($m=0; $m<count($tpl_archivos_man_css); $m++)
	{		
		echo '<link rel="STYLESHEET" href="'.RUTA_INICIO_IMG.'skins/'.substr($row_comp['skin_css'],0,-4).'/css/'.basename($tpl_archivos_man_css[$m]).$tpl_update_css_js.'" type="text/css" media="screen" />';	
	}

?>

<link rel="STYLESHEET" href="<?php echo RUTA_INICIO_IMG.'rsc/ingenio_re.css'.$tpl_update_css_js; ?>" type="text/css" />
<?php
	if (CONFIG_3 != "+")
	{
?>
<link rel="sortcut icon" href="<?php echo RUTA_INICIO_IMG.CONFIG_3; ?>" type="image/ico" />
<?php
	}
?>
<script language="javascript" src="<?php echo RUTA_INICIO_IMG.'rsc/ingenio_scripts.js'; ?>" type="text/javascript"></script>
<script language="javascript" src="<?php echo RUTA_INICIO_IMG.'rsc/ingenio_data.js'.$tpl_update_css_js; ?>" type="text/javascript"></script>
<script language="javascript" src="<?php echo RUTA_INICIO_IMG.'ftps/ingenio_cm.js'.$tpl_update_css_js; ?>" type="text/javascript"></script>
<script language="javascript" src="<?php echo RUTA_INICIO_IMG; ?>paqs/jquery/jquery-1.2.6.min.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo RUTA_INICIO_IMG; ?>paqs/jquery/lib/jquery.bgiframe.js"></script>
<script type="text/javascript" src="<?php echo RUTA_INICIO_IMG; ?>paqs/jquery/lib/jquery.dimensions.js"></script>
<?php
	if (CONFIG_20 == 1)
	{
?>
<script language="javascript" src="<?php echo RUTA_INICIO_IMG; ?>paqs/jquery/tooltip/jquery.tooltip.js" type="text/javascript"></script>
<?php
	}
?>
<script language="javascript" src="<?php echo RUTA_INICIO_IMG; ?>paqs/jquery/lightbox/jquery.lightbox.js" type="text/javascript"></script>
   <script type="text/javascript">
    $(function() {
        $('a.fotos_slide').lightBox({
			imageLoading: '<?php echo RUTA_INICIO_IMG."skins/".substr($row_comp["skin_css"],0,-4)."/imgs/img_jqlbox_loading.gif"; ?>',
			imageBtnClose: '<?php echo RUTA_INICIO_IMG."skins/".substr($row_comp["skin_css"],0,-4)."/imgs/img_jqlbox_close.png"; ?>',
			imageBtnPrev: '<?php echo RUTA_INICIO_IMG."skins/".substr($row_comp["skin_css"],0,-4)."/imgs/img_jqlbox_prev.png"; ?>',
			imageBtnNext: '<?php echo RUTA_INICIO_IMG."skins/".substr($row_comp["skin_css"],0,-4)."/imgs/img_jqlbox_next.png"; ?>',
			imageBlank: '<?php echo RUTA_INICIO_IMG."skins/".substr($row_comp["skin_css"],0,-4)."/imgs/img_jqlbox_blank.gif"; ?>'
        });
<?php
	if (CONFIG_20 == 1)
	{
?>
		$('a, #conex_tip').tooltip({
		showURL: false
		});
<?php
	}
?>
    });
    </script>
<?php
	if (CONFIG_83 == 1)
	{
?>

<script language="javascript" type="text/javascript" src="<?php echo RUTA_INICIO_IMG; ?>paqs/tinymce/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
	mode : "specific_textareas",
	theme : "advanced",
	plugins : "emotions",
	theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,|,emotions,|,forecolor,backcolor,|,removeformat",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : "bottom",
	editor_selector : "input_editor",
	entity_encoding : "raw",
	extended_valid_elements : "span[class|align|style]",
	relative_urls : false,
	theme_advanced_resizing : true,
	forced_root_block : false,
	force_br_newlines : true,
	force_p_newlines : false,
	language : "<?php echo CONFIG_22; ?>"
});
</script>
<?php
	}
?>

</head>
