<?php
	
	# VISUALIZADOR HTML		
	
	
	print "<!-- AREA [tipo:$tipo] -->";

	print "<div class=\"css_wrap_area css_wrap_area_activity\" > ";
	
	
	# ETIQUETA (LABEL)
	$html_label = "<div class=\"css_area_titulo\" > ".component_common_draw::draw_label($this)." </div>";	
		
	
	# CONTENIDO (INPUT)
	$html_contenido  ='';
	$html_contenido .= "<div class=\"css_area_content\" >";
	
	switch($permissions) {
			
		case 0	:	$html_contenido .= " <span class=\"css_span_dato\"> ".label::get_label('sin_acceso')." </span>";
					break;
						
		case ($permissions>=1)	:
		
					$html_contenido .= " <blockquote> ";
					foreach ($ar_children_areas as $key => $value) {
						$section_name = RecordObj_dd::get_termino_by_tipo($key,DEDALO_APPLICATION_LANG);
						$html_contenido .= "<a href=\"?t=$key\">$section_name</a><br>";
					}
					$html_contenido .= " </blockquote> ";
					
					break;			
	}
	
	$html_contenido .= "</div>";
	
	
	# Prepare content to show in page
	tools::prepare_content($html_contenido);

	
	# PRINT HTML
	print $html_label;
	print $html_contenido;
	
	
	print "</div><!-- /AREA [$tipo] -->"; //wrap
?>
<?php
	
	# VISUALIZADOR HTML		
	
	
	print '<!-- AREA [tipo:'.$tipo.'] -->';

	print "<div class=\"css_wrap_area css_wrap_area_activity\" > ";
	
	
	# ETIQUETA (LABEL)
	$html_label = "<div class=\"css_area_titulo\" > ".component_common_draw::draw_label($this)." </div>";	
		
	
	# CONTENIDO (INPUT)
	$html_contenido  ='';
	$html_contenido .= "<div class=\"css_area_content\" >";
	
	switch($permissions) {
			
		case 0	:	$html_contenido .= " <span class=\"css_span_dato\"> ".label::get_label('sin_acceso')." </span>";
					break;
						
		case ($permissions>=1)	:
		
					$html_contenido .= " <blockquote> ";
					foreach ($ar_children_areas as $key => $value) {
						$section_name = RecordObj_dd::get_termino_by_tipo($key,DEDALO_APPLICATION_LANG);
						$html_contenido .= "<a href=\"?t=$key\">$section_name</a><br>";
					}
					$html_contenido .= " </blockquote> ";
					
					break;			
	}
	
	$html_contenido .= "</div>";
	
	
	# Prepare content to show in page
	tools::prepare_content($html_contenido);

	
	# PRINT HTML
	print $html_label;
	print $html_contenido;
	
	
	print "</div><!-- /AREA [$tipo] -->"; //wrap
?>
Test of Sublime merge tool
Test of Sublime merge tool
