function content_4f5d2cc18a8c5($_smarty_tpl)
    {
        ?>
<div class="main spacer">
	<ul>
		<li style="margin-bottom:10px;">
			<a href="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_URL']->value;
        ?>
preguntas-frecuentes.html" title="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_faq<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 - uptobox.net"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_faq<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a> | <a href="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_URL']->value;
        ?>
trabaja-con-nosotros.html" title="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_how<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 - uptobox.net"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_how<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a> | <a href="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_URL']->value;
        ?>
contacto.html" title="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_contact<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 - uptobox.net"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_contact<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a> | <a href="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_URL']->value;
        ?>
aviso-legal.html" title="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_privacy<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 - uptobox.net"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_privacy<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a> | <a href="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_URL']->value;
        ?>
politica-privacidad.html" title="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_term<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 - uptobox.net"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_term<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a>
		</li>
        <li>Copyright 2011 - uptobox.net - <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_right<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
.</li>
   	</ul>
   	<div style="float: left;" >
   		<br /><br /><a href="http://www.aleatechnology.es" target="_blank" style="font-weight: bold; color: #63676c;" title="Alea Technology"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_developer<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_footer_company<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a>
    </div>
   	<div style="float: right;" >
		<img alt="uptobox.net" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_URL']->value;
        ?>
images/logos/logo_grande.png">
	</div>
</div><?php 
    }
    function content_4f5d2b71116f3($_smarty_tpl)
    {
        ?>
		<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aModuleStyles']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
			<?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>

		<?php 
        }
        ?>
		
			<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aModuleScripts']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            ?>
				<script language="JavaScript" src='<?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
'></script>
			<?php 
        }
        ?>
			
			<script  language="JavaScript">
				
					var var_requerido_usuario =  "<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_requerido_usuario<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
" ;
					var var_requerido_password =  "******" ;
					
					$(document).ready(function() {
					    // Validación del formulario.
					    var validator = $("#form_login").validate({
					        rules: {
					    		username: {
									required: true,
									minlength: 4
								},
								password: {
									required: true
								}
					        },
					        messages: {
					        	username: {
									required: var_requerido_usuario ,
									minlength: ""
								},
								password: {
									required: var_requerido_password,
									minlength: ""
								}
					        },
					//        // Función aplicada cuando se produce un error de validación en el elemento pasado como parámetro.
					//		// Se pasa también como como parámetro un array con un objeto html error, error[0].
					//        errorPlacement: function(error, element) {
					//			// Concatenamos el siguiente hijo del padre del elemnto el array de errores.
					//			// En nuestro caso abajo en el formulario serían los <div> vacíos.
					//			error.appendTo(element.parent().next());
					//        },
					        // Especifimos que hará el submir cuando el formulario sea válido, está función anulará el action definido en el formulario.
					        submitHandler: function() {
								// Codificamos la clave.
								cambiarBotonLogin();
								// Inicamos la petición.
						        $.ajax({
						            type: 'POST',
						            url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
login/verificate',
						            data: $('#form_login').serialize(),
						            // before: mostrarVentanaCargando(),
						            // complete: ocultarVentanaCargando(), 
						            success: function(data) {
							        	var result = jQuery.parseJSON(data);
							      	  	if (result[1]==1){
								      	  	$('#retorno_usuario_error').css('display','block');
								      	  	$('#retorno_usuario').css('display','none');
											$('#mensaje').css('display','block');
											$('#error').addClass('error');
											$('#error').removeClass('success');
											$('#mensaje').delay(4000).fadeOut(400);
											$("#password").val("");
											$("#blogin").removeClass("gris");
											$("#blogin").addClass("azul");
											$("#blogin").removeAttr("disabled");
											$("#id_cargando").hide("slow");
											
							      	  	}else if (result[1]==2){
							      	  		$('#retorno_usuario').css('display','block');
							      	  		$('#retorno_usuario_error').css('display','none');
											$('#mensaje').css('display','block');
											$('#error').addClass('success');
											$('#error').removeClass('error');
											$('#mensaje').delay(4000).fadeOut(400);
											$("#password").val("");
											$("#blogin").removeClass("gris");
											$("#blogin").addClass("azul");
											$("#blogin").removeAttr("disabled");
											$("#id_cargando").hide("slow");
											window.location.replace("<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
admin");
							      	  }else if (result[1]==3){
								      		$('#retorno_usuario').css('display','block');
								      		$('#retorno_usuario_error').css('display','none');
											$('#mensaje').css('display','block');
											$('#error').addClass('success');
											$('#error').removeClass('error');
											$('#mensaje').delay(4000).fadeOut(400);
											$("#password").val("");
											$("#blogin").removeClass("gris");
											$("#blogin").addClass("azul");
											$("#blogin").removeAttr("disabled");
											$("#id_cargando").hide("slow");
											window.location.replace("<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/files");
								      	  }
					
										
						            }
						        });
					        }
					    });
					});	


			</script>
			
			
		

	     
					        	<!-- Modal -->
					              <form name="<?php 
        echo $_smarty_tpl->tpl_vars['datas']->value['name'];
        ?>
" id="<?php 
        echo $_smarty_tpl->tpl_vars['datas']->value['id'];
        ?>
" <?php 
        if (!$_smarty_tpl->tpl_vars['is_jquery']->value) {
            ?>
 action="<?php 
            echo $_smarty_tpl->tpl_vars['datas']->value['action'];
            ?>
" <?php 
        }
        ?>
 method="<?php 
        echo $_smarty_tpl->tpl_vars['datas']->value['method'];
        ?>
">
					              			<div style="width:90%;position: relative; top: auto; left: auto; margin:0 auto;margin-top:-41px;margin-left:100px; z-index: 1" class="modal">
								        	  <div class="modal-header">
								            		<h3><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
name<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</h3>
								              </div>
								        	  <div class="modal-body">
								        	  			<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['datas']->value['fields'];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
										          	  		<h4><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo $_smarty_tpl->tpl_vars['item']->value;
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</h4>
										          	  		<input type="<?php 
            echo $_smarty_tpl->tpl_vars['datas']->value['type'][$_smarty_tpl->tpl_vars['item']->value];
            ?>
" placeholder="<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                echo $_smarty_tpl->tpl_vars['item']->value;
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
" name="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
" id="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value;
            ?>
" class="xlarge required" />
										          	  		<br/><br/>
										          	  	<?php 
        }
        ?>
											 </div>
								        	  <div class="modal-footer">
								        	  	<input type="hidden" value="1" name="action"/>	
								        	  	<img id="id_cargando" style="display:none" src="<?php 
        echo $_smarty_tpl->tpl_vars['PATH']->value;
        ?>
img/loading.gif" />
								        	    <input tabindex="3" type="submit" class="btn primary" style="float: right;" value="<?php 
        echo $_smarty_tpl->tpl_vars['datas']->value['submit']['value'];
        ?>
" name="<?php 
        echo $_smarty_tpl->tpl_vars['datas']->value['submit']['name'];
        ?>
" id="<?php 
        echo $_smarty_tpl->tpl_vars['datas']->value['submit']['id'];
        ?>
"/>	
								        	  </div>
								        	</div>
						          	  
					        	  </form>
					    

<?php 
    }
    function content_4f5d2c4be8f95($_smarty_tpl)
    {
        ?>
 <script>        
        function createUploader(){            
            var uploader = new qq.FileUploaderBasic({
            	element: document.getElementById('file-upload'),
                button:document.getElementById('file-upload'),
                name: 'ifiles',
                params: {
        			id_user: '******'id_usuario']->value;
        ?>
'
    			},
    			multiple: true,
                allowedExtensions: ['docx','ppt','pptx','bmp','psd','dmg',"txt","csv","xml",'css','doc','xls','rtf','pdf','swf','flv','avi','wmv','mov','jpg','jpeg','gif','png','zip','rar'],
                sizeLimit: 419430400, // max size   
				minSizeLimit: 0, // min size
 				onProgress: function(id, filename, loaded, total) {
 					 $('.qq-upload-list').hide();
 					$("#progressbar").css('display','block'); 
                    console.log('Progress for file: %s, ID: %s, loaded: %s, total: %s => %s', id, filename, loaded, total, "divID");
                    var percent = Math.round((loaded / total) * 100);
                     $("#progressbar").progressbar({ value: percent });
                    $('#message_progress').html('Uploading: ' + filename + ', ' + percent + '%' + ' (' + loaded + '/' + total + ')');
                    $('#upload_progress').show('slow');
                    
                },
                onComplete: function(id, filename, responseJSON) {
                    console.log('File upload for file %s, id %s done with status %s => %s', filename, id, responseJSON, "divID");
                    $('#upload_success').toggle();
                    //$('#upload_progress').hide();
                    $('#message_success').html( 'Finished: ' + filename);
                    $("#progressbar").css('display','none');
                  	$('#upload_success').delay(4000).fadeOut(400);
                  	$('#upload_progress').delay(4000).fadeOut(400);

                },
                onSubmit: function(id, fileName){
                	 $(".qq-upload-list").empty();
                	 $("#progressbar").css('display','block');
                	  $("#progressbar").progressbar({ value: 0 });
	             	 //$('#file-upload').addClass("loading");
	             },
                action: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/upload/files',
                debug: true
            });           
        }
        
        // in your app create uploader as soon as the DOM is ready
        // don't wait for the window to load  
        window.onload = createUploader;     
    </script>   
<script type="text/javascript">
			var tx_titulo_display ='<?php 
        echo $_smarty_tpl->tpl_vars['tx_titulo_display']->value;
        ?>
';
			
			
			function setBlankHash2() {
			     	if (location.href.indexOf("#") > -1) {
			     		location.hash ='' + location.hash ;
					    location.assign(location.href.replace(/\/?#/, "/"));
					}

			}
			function cambiarUrl(url){
				location.hash = url;
				//parent.location.hash =   url_parent+url;
			}
			
	

			function createFolder(titulo){
				$('#titulo_archivo').html(titulo);
				
			 	$('#modal-from-dom').modal({
				   show : true,
				   keyboard : true,
				   backdrop : true
				});
			}
			function displaySettingsFolder(titulo, id, nombre, descripcion){
			 	$('#modal_edit_'+id).modal({
				   show: true, 
				   backdrop : true, 
				   keyboard: true
				});
				
				$('#titulo_archivo_'+id).html(titulo);
				$('#nombre_'+id).val(nombre);
				$('#descripcion_'+id).html(descripcion);
				
			}
			
			function cambiarBotonCrear(){
				$("#baceptar").removeClass("azul");
				$("#baceptar").addClass("gris");
				$("#baceptar").attr("value","loading...");
				$("#baceptar").attr('disabled', 'disabled');
				$("#id_cargando").toggle();
				$("#loading").toggle();
				$("#mensaje").css("display","none");
			}
			
			function cambiarBotonEditar(id){
				$("#bedit_"+id).removeClass("azul");
				$("#bedit_"+id).addClass("gris");
				$("#bedit_"+id).attr("value","loading...");
				$("#bedit_"+id).attr('disabled', 'disabled');
				$("#id_cargando").toggle();
				$("#loading").toggle();
				$("#mensaje").css("display","none");
			}
			
			$(document).ready( function() {
				setBlankHash2();
				// Show menu when #myDiv is clicked
				$("#myDiv").contextMenu({
					menu: 'myMenu'
				},
					function(action, el, pos) {
					/*alert(
						'Action: ' + action + '\n\n' +
						'Element ID: ' + $(el).attr('id') + '\n\n' + 
						'X: ' + pos.x + '  Y: ' + pos.y + ' (relative to element)\n\n' + 
						'X: ' + pos.docX + '  Y: ' + pos.docY+ ' (relative to document)'
						);*/
				});
				
				$("#myDivFile").contextMenu({
					menu: 'myMenuFile'
				},
					function(action, el, pos) {
					/*alert(
						'Action: ' + action + '\n\n' +
						'Element ID: ' + $(el).attr('id') + '\n\n' + 
						'X: ' + pos.x + '  Y: ' + pos.y + ' (relative to element)\n\n' + 
						'X: ' + pos.docX + '  Y: ' + pos.docY+ ' (relative to document)'
						);*/
				});
				
				// Show menu when a list item is clicked
				$("#myList TR TD").contextMenu({
					menu: 'myMenu'
				}, function(action, el, pos) {
				});
				
				
				// Show menu when a list item is clicked
				$("#myListFile TR TD").contextMenu({
					menu: 'myMenuFile'
				}, function(action, el, pos) {
				});
				
				
				
				$("#header").contextMenu({
					menu: 'myMenuOption'
				},
					function(action, el, pos) {
				});		
				
			});
			
			
			
			
$(document).ready(function() {
    // Validación del formulario.
    var_requerido_nombre = "<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_requerido_nombre_carpeta<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
";
    var validator = $("#form_crear_carpeta").validate({
        rules: {
    		nombre: {
				required: true,
				minlength: 4
			}
        },
        messages: {
        	nombre: {
				required: var_requerido_nombre ,
				minlength: ""
			}
        },
//        // Función aplicada cuando se produce un error de validación en el elemento pasado como parámetro.
//		// Se pasa también como como parámetro un array con un objeto html error, error[0].
//        errorPlacement: function(error, element) {
//			// Concatenamos el siguiente hijo del padre del elemnto el array de errores.
//			// En nuestro caso abajo en el formulario serían los <div> vacíos.
//			error.appendTo(element.parent().next());
//        },
        // Especifimos que hará el submir cuando el formulario sea válido, está función anulará el action definido en el formulario.
        submitHandler: function() {
			// Codificamos la clave.
			cambiarBotonCrear();
			// Inicamos la petición.
	        $.ajax({
	            type: 'POST',
	            url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/files/create',
	            data: $('#form_crear_carpeta').serialize(),
	            // before: mostrarVentanaCargando(),
	            // complete: ocultarVentanaCargando(), 
	            success: function(data) {
		        	var result = jQuery.parseJSON(data);
		      	  	if (result[1]==1){
			      	  	$('#retorno_usuario').html(result[0]);
						$('#mensaje').css('display','block');
						$('#error').addClass('error');
						$('#error').removeClass('success');
						$('#mensaje').delay(4000).fadeOut(400);
						$("#nombre").val("");
						$("#baceptar").removeClass("gris");
						$("#baceptar").addClass("azul");
						$("#baceptar").removeAttr("disabled");
						$('#modal-from-dom').modal('hide');
						$("#id_cargando").hide("slow");
						$("#baceptar").attr("value","Aceptar");
						$("#loading").toggle();
						$('#loading').delay(2000).fadeOut(400);
						
		      	  }else if (result[1]==2){
			      		$('#retorno_usuario').html(result[0]);
						$('#mensaje').css('display','block');
						$('#error').addClass('success');
						$('#error').removeClass('error');
						$('#mensaje').delay(4000).fadeOut(400);
						$("#nombre").val("");
						$("#baceptar").removeClass("gris");
						$("#baceptar").addClass("azul");
						$("#baceptar").removeAttr("disabled");
						$("#id_cargando").hide("slow");
						$('#modal-from-dom').modal('hide');
						$("#baceptar").attr("value","Aceptar");
						$("#loading").toggle();
						$('#loading').delay(2000).fadeOut(400);
						$('#row_file').html(result[2]);
			      	  }

					
	            }
	        });
        }
    });
    
    
	

    
   			   	

    
    
});	


</script>





<div id="div_inicio" style="margin-top:130px;width:98%;margin-bottom:50px;">
	<div id="mensaje" style="display:none">
		<div id="error" class="alert-message">
		    <p id="retorno_usuario"></p>
    	</div>
	</div>
	<div id="file-uploader">       
   	 <noscript>          
   	     <p>Please enable JavaScript to use file uploader.</p>
   	     <!-- or put a simple form for upload here -->
   	 </noscript>         
	</div>
	<?php 
        if (isset($_smarty_tpl->tpl_vars['aFile']->value) && $_smarty_tpl->tpl_vars['aFile']->value == '') {
            ?>
	<div class="alert-message block-message warning">
        <p><strong><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_init_message<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</strong> <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_init_message2<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</p>
        <div class="alert-actions">
          <a id="bnew" onclick="createFolder('<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_create_new_folder<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
');" href="#" class="btn small">
          	<img style="width:20px;vertical-align:bottom" src="<?php 
            echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
            ?>
images/icons/icon_button_folder.png"/><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_new_folder<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

          </a> 
          
          <a href="#" class="btn small">
          	<img style="width:20px;vertical-align:bottom" src="<?php 
            echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
            ?>
images/icons/icon_button_upload.png"/><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_upload_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

          </a>
        </div>
      </div>
      <?php 
        } else {
            ?>
     
		
		<div id="myList" class="drop_zone">
			<table style="float:left;" class="zebra-striped">
				<tbody >	
						<?php 
            echo $_smarty_tpl->getSubTemplate('files/row_success.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

						<div id="row_file">
							<?php 
            echo $_smarty_tpl->getSubTemplate('files/row_file.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

						</div>
				</tbody>
			</table>
		</div>
		 
		 
		 
		<ul id="myMenu" class="contextMenu">
			<li class="new"><a href="#open"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_open<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="open separator"><a href="#new_tab"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_new_tabs<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="upload"><a href="#submit_file"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_upload_fold<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="settings separator"><a href="#settings_folder"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_setting_fold<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="delete"><a href="#submit_file"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_delete_fold<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
		</ul>
		
		<ul id="myMenuOption" class="contextMenu">
			<li class="folder"><a onclick="createFolder('<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_create_new_folder<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
');" href="#"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_new_folder<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="upload"><a href="#file"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_upload_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
		</ul>
		
		<ul id="myMenuFile" class="contextMenu">
			<li class="preview"><a href="#preview"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_preview<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="download separator"><a href="#download"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_new_download_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="upload"><a href="#upload"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_upload_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="share separator"><a href="#share"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_share<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="tags"><a href="#tags"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_tags<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="settings separator"><a href="#properties"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_setting_files<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="copy"><a href="#move_copy"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_move_copy<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			<li class="delete"><a href="#delete_file"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_delete_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
		</ul>
	
		<?php 
        }
        ?>
	<!-- The Modal Dialog  Para mostrar mensaje-->
	  <div id="modal-from-dom" class="modal hide fade" style="width:500px;">
	  	<form  method="post" id="form_crear_carpeta" name="form_crear_carpeta" class="form_mensaje">
		    <div class="modal-header">
		    	<img style="vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['config_urls']->value['IMAGES_THEMES_URL'];
        ?>
icons/icon_folder.png"/>
			    <span style="font-size:22px;color:#525252;font-weight: bold;" id="titulo_archivo"></span>
			    <a href="#" class="close">&times;</a><br/>
		    </div>
		    <div class="modal-body">
		    	<div id="mensaje" style="display:none">
					<div id="error" class="alert-message">
					    <p id="retorno_usuario"></p>
				    </div>
			 	</div>
		    	<h4 style="color: #666666"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</h4>
				<input type="text" class="span8 required" id="nombre" name="nombre" placeholder="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_placeholder<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
">
		      <p id="textoobj"></p>
		    </div>
		    <div class="modal-footer" style="text-align:center;">
		    	<input type="hidden" name="id_usuario" id="id_usuario" value="<?php 
        echo $_smarty_tpl->tpl_vars['id_usuario']->value;
        ?>
"/> 
		    	
				<input type="submit" id="baceptar" name="baceptar" value="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_button_accept<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
" class="btn small bold azul"/>
				<input type="button" href="#" class="btn small close bold azul" style="margin-top: 0px;opacity: 1;float:none" value="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_button_cancel<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
" />
				
	  		</div>
  		</form>
	  </div>
	  
	
</div>
<?php 
    }
    function content_4f53527d24c25($_smarty_tpl)
    {
        ?>
<script type="text/javascript">



function cambiarBotonEdit() {
	$("#boton_modificar_perfil").removeClass("azul");
	$("#boton_modificar_perfil").addClass("gris");
	$("#boton_modificar_perfil").attr('disabled', 'disabled');
	$("#id_cargando").css("display","block");
	$("#mensaje").css("display","none");
}

$(document).ready(function() {
    // Validación del formulario.
    $("#form_profile").validate({
        rules: {						
			telefono: {
			      required: true,
			      minlength: 9
			    },
			nombre: "required",
			apellidos: "required",
			email: {
			      required: true,
			      email: true
			    }	
			
		},
		errorPlacement: function(error, element) {
			// Concatenamos el siguiente hijo del padre del elemnto el array de errores.
			// En nuestro caso abajo en el formulario serían los <TD> vacíos.
			error.appendTo(element.parent().next());
        },
        messages: {
        	telefono: "Introduzca un número de teléfono.",	
			nombre: "Introduzca su nombre.",
			apellidos: "Introduzca sus apellidos.",
			email: "Introduzca un email válido."
        },
        submitHandler: function() {
			// Codificamos la clave.
			cambiarBotonEdit();
			// Inicamos la petición.
	        $.ajax({
	            type: 'POST',
	            url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/edit/profile',
	            data: $('#form_profile').serialize(),
	            // before: mostrarVentanaCargando(),
	            // complete: ocultarVentanaCargando(), 
	            success:function(data) {
		        	var result = jQuery.parseJSON(data);
		      	  	if (result[1]==1){
						$('#mensaje_error').css('display','block');
						$('#mensaje').css('display','none');
						$('#error').addClass('error');
						$('#error').removeClass('success');
						$('#mensaje').delay(4000).fadeOut(400);
						$("#boton_modificar_perfil").removeClass("gris");
						$("#boton_modificar_perfil").addClass("azul");
						$("#boton_modificar_perfil").removeAttr("disabled");
						$("#id_cargando").hide("slow");
						
		      	  	}else if (result[1]==2){
						$('#mensaje').css('display','block');
						$('#mensaje_error').css('display','none');
						$('#error').addClass('success');
						$('#error').removeClass('error');
						$('#mensaje').delay(4000).fadeOut(400);
						$("#boton_modificar_perfil").removeClass("gris");
						$("#boton_modificar_perfil").addClass("azul");
						$("#boton_modificar_perfil").removeAttr("disabled");
						$("#id_cargando").hide("slow");
		      	  }

					
	            }
	        });
        }
    });
	
});		


</script>
<div class="alert-message block-message info" style="margin-top:120px;margin-left:5px;margin-right:5px;">
		        <p><strong><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_profile_tittle<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</strong> <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_profile_sub_tittle<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</p>
		</div>
		<div id="mensaje" style="display:none">
			<div id="error" class="alert-message">
			    <p id="retorno_usuario"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_success_profile<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</p>
		    </div>
		</div>	
		<div id="mensaje_error" style="display:none">
			<div id="error" class="alert-message">
			    <p id="retorno_usuario"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_error_profile<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</p>
		    </div>
		</div>	
		<div class="row" style="margin-top:30px;margin-bottom:30px">
			 <div class="span3" style="margin-top:-15px;">
					<form id="form_upload_picture" name="form_upload_picture" method="post" action="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/profile/upload_picture"  enctype="multipart/form-data">
						
						
						<?php 
        if ($_smarty_tpl->tpl_vars['datos_perfil']->value[0]['ruta_foto'] != '') {
            ?>
							<img style="border: 1px solid #CCC" src="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
libs/rescalado_imagen/image.php/<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
datas/users/<?php 
            echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['id_usuario'];
            ?>
/profile/<?php 
            echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['ruta_foto'];
            ?>
?height=150&amp;image=<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
datas/users/<?php 
            echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['id_usuario'];
            ?>
/profile/<?php 
            echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['ruta_foto'];
            ?>
"  alt="avatar-grande" />
						<?php 
        } else {
            ?>
							<img style="border: 1px solid #CCC" src="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
libs/rescalado_imagen/image.php/<?php 
            echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
            ?>
images/icons/icon_avatar_grande.png?height=150&amp;image=<?php 
            echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
            ?>
images/icons/icon_avatar_grande.png"  alt="avatar-grande" />
						<?php 
        }
        ?>
	
						<div id="div_input_foto" style="margin-top:2px">
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_picture<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
							<input type="file" name="foto_usuario" id="foto_usuario" style="width:200px;"></br>
							<input type="hidden" id="id_usuario" name="id_usuario" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['id_usuario'];
        ?>
"/>
							<input type="submit" value="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_button_upload_picture<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
" id="boton_modificar_perfil" class="btn info" style="margin-top:3px;">
						</div>
					</form>
			</div>
			<div class="span8 offset2">
					<form id="form_profile" name="form_profile" method="post" autocomplete="off">
					<table id="datos_perfil" cellspacing="10px;" width="100%" style="padding:20px;">
					<tr>
						<td style="border:0" colspan="3" id="retorno_perfil">
							
						</td>
					</tr>
					<tr>
						<td width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_password<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
						</td>
						<td>
							<input class="xlarge" type="password" name="password" value="" />
						</td>
					</tr>
					<tr>
						<td  width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_repassword<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
						</td>
						<td >
							<input class="xlarge" type="password" name="password2" value=""/>
						</td>
					</tr>
					<tr>
						<td  width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_email<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
						</td>
						<td align="left">
							<input class="xlarge required" type="text" name="email" id="email" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['email'];
        ?>
"/>
						</td>
					</tr>
					<tr>
						<td width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_phone<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
						</td>
						<td align="left">
							<input class="xlarge required" type="text" name="telefono" id="telefono" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['telefono'];
        ?>
"/>
						</td>
					</tr>
					<tr>
						<td width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_username<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
						</td>
						<td align="left">
							<input class="xlarge required" type="text" name="nombre" id="nombre" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['nombre'];
        ?>
">
						</td>
					</tr>
					<tr>
						<td width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_surname<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
						</td>
						<td align="left">
							<input class="xlarge required" type="text" name="apellidos" id="apellidos" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['apellidos'];
        ?>
">
						</td>
					</tr>
					<tr>
						<td width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_company<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
							<small class="gris"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_optional<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</small>
						</td>
						<td align="left">
							<input class="xlarge required" type="text" name="empresa" id="empresa" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['empresa'];
        ?>
">
						</td>
					</tr>
					<tr>
						<td width="30%">	
							<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_web<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
							<small class="gris"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_optional<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</small>
						</td>
						<td align="left">
							<input class="xlarge required" type="text" name="web" id="web" value="<?php 
        echo $_smarty_tpl->tpl_vars['datos_perfil']->value[0]['web'];
        ?>
">
						</td>
					</tr>
					<tr>
						<td style="border:0;" colspan="2">
							<img id="id_cargando" style="display:none;float:left" src="<?php 
        echo $_smarty_tpl->tpl_vars['IMAGES_URL']->value;
        ?>
resources/loading.gif" />
							<input type="submit" value="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_button_edit<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
" id="boton_modificar_perfil" class="btn info right" style="margin-right: 45px;margin-top:4px">
						</td>
					</tr>
					
					
				</table>
			</form>
		
				
			</div>
		</div><?php 
    }
    function content_4f5d2cc0f0484($_smarty_tpl)
    {
        ?>
<div class="left-nav col two" style="margin-top:110px">
	<div class="equal-height">
		<ul class="lat_menu_navigation">
			<li class="perfil" style="border-top:0px;">
				<div class="header image-block">
				
      			</div>
			</li>
			<li class="sistema expanded" style="text-align:left;">
					<div class="image-block" style="margin-bottom:10px;margin-left:15px;">
						<div style="padding:8px;"></div>
						<span style="color:#525252; font-size:14px;font-weight: bold;"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_options_title<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</span>
        				<div class="linea_horizontal" style="margin-top:5px;"></div>
        			</div>
        			<div class="bd" style="line-height: 12px;margin-left:10px;">
        				<ul> 
        				 <li>
        					 <img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_folder.png"/>
        					 <a class="azul" style=" margin-bottom:10px;width:140px;clear:right;" onclick="createFolder('<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_options_create_new_folder<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
');" href="#"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_options_new_folder<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a>
        				 </li>
        				 <li>
        				     <img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_upload_file.png"/>
        					 <a class="azul" style="margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
upload"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_options_upload_file<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a>
       				     </li>
       				    </ul> 
        			</div>
			</li>
			<li class="sistema expanded" style="text-align:left;">
					<div class="image-block" style="margin-bottom:10px;margin-left:15px;">
						<div style="padding:8px;"></div>
						<span style="color:#525252; font-size:14px;font-weight: bold;"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_menu_mi_cuenta<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</span>
        				<div class="linea_horizontal" style="margin-top:5px;"></div>
        			</div>
        			<div class="bd" style="line-height: 12px;margin-left:10px;">
        				<ul> 
        				 	<li>
        				 	 	<img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_perfil.png"/>
        				 		<a class="azul" style=" margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/profile"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_options_personal_account<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</a>
        				 	</li>
        				 	<li>
        				 		<img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_almacenamiento.png"/>
        				 		<a class="azul" style="margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
almacenamiento"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_options_storages<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
: <?php 
        echo $_smarty_tpl->tpl_vars['actual_size']->value;
        ?>
 <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_from<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
 <?php 
        echo $_smarty_tpl->tpl_vars['max_size']->value;
        ?>
</a>
       				     	</li>
       				     </ul>
       				     
        			</div>
			</li>
			<li class="sistema expanded" style="text-align:left;margin-bottom:20px;">
					<div class="image-block" style="margin-bottom:10px;margin-left:15px;">
						<div style="padding:8px;"></div>
						<span style="color:#525252; font-size:14px;font-weight: bold;"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_menu_activity<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</span>
        				<div class="linea_horizontal" style="margin-top:5px;"></div>
        			</div>
        			<div class="bd" style="line-height: 12px;margin-left:10px;">
        				<ul>
        					<?php 
        if ($_smarty_tpl->tpl_vars['aRecentFile']->value != '') {
            ?>
 
        					<?php 
            $_smarty_tpl->tpl_vars['item_recent'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item_recent']->_loop = false;
            $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['aRecentFile']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item_recent']->key => $_smarty_tpl->tpl_vars['item_recent']->value) {
                $_smarty_tpl->tpl_vars['item_recent']->_loop = true;
                $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item_recent']->key;
                ?>
        						<?php 
                if ($_smarty_tpl->tpl_vars['item_recent']->value['tipo'] == 0) {
                    ?>
									<?php 
                    echo $_smarty_tpl->getSubTemplate('files/recent_file.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
                    ?>

								<?php 
                }
                ?>
							<?php 
            }
            ?>
							<?php 
        } else {
            ?>
								<span class="azul"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_no_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span>
							<?php 
        }
        ?>
        				 	<!-- <li>
        				 	 	<img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_folder.png"/>
        				 		<a class="azul" style=" margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
perfil">Proyecto Uptobox</a>
        				 	</li>
        				 	<li>
        				 		<img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_folder.png"/>
        				 		<a class="azul" style="margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
almacenamiento">Documentos de RRHH</a>
       				     	</li>
       				     	<li>
        				 		<img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_word.png"/>
        				 		<a class="azul" style="margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
almacenamiento">Manual PHP</a>
       				     	</li>
       				     	<li>
        				 		<img style="width:20px;vertical-align:bottom" src="<?php 
        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
        ?>
images/icons/icon_pdf.png"/>
        				 		<a class="azul" style="margin-bottom:10px;width:140px;clear:right;" href="<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
almacenamiento">Tutorial Cocoa</a>
       				     	</li>
       				     -->
       				     </ul>
       				     
        			</div>
			</li>
		</ul>
	</div>
</div>
<?php 
    }
    function content_4f5d2cc0cbcc7($_smarty_tpl)
    {
        ?>
	
<script type="text/javascript">
	$(document).ready(function() {
		$('#topbar').dropdown();
		$(".tab_content").hide(); //Esconde todo el contenido
		$("ul.tabs li:first").addClass("active").show(); //Activa la primera tab
		$(".tab_content:first").show(); //Muestra el contenido de la primera tab
		
		$("ul.tabs li").click(function() {


		$("ul.tabs li").removeClass("active"); //Elimina las clases activas
	
		$(this).addClass("active"); //Agrega la clase activa a la tab seleccionada
	
		$(".tab_content").hide(); //Esconde todo el contenido de la tab
	
		var activeTab = $(this).find("a").attr("href"); //Encuentra el valor del atributo href para identificar la tab activa + el contenido
		
		if(activeTab=='#profile'){
			ruta="profile";
		}
		else if(activeTab=='#general'){
			ruta="general";
		}

		$("#loading").show();	
		$.ajax({
			      type: "POST",
			      url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/tabs/'+ruta,
		      	  success:function(data){
		      	  	var result = jQuery.parseJSON(data);
					$("#loading").hide();
					$(activeTab).html(result);
					$(activeTab).fadeIn(); //Agrega efecto de transición (fade) en el contenido activo
		      	  }
			});
			
			
		
			return false;
	
		});
	});
</script>


<div class="topbar" data-dropdown="dropdown">
	<div class="topbar-inner">
		<span id="loading" class="label important right" style="display:none;margin-top: 7px;margin-right: 5px;">Loading...</span>
  		<div class="container" style="width:980px">
			<a id="brand" class="brand margin-top-1" href="<?php 
        if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/files<?php 
        } else {
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        }
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['IMAGES_URL']->value;
        ?>
/logos/logo.png" /></a>
			<?php 
        if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
            ?>
			<ul class="nav">
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                ?>
class="active"<?php 
            }
            ?>
>
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/files" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_fichero<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
				</li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'contact') {
                ?>
class="active"<?php 
            }
            ?>
>
						<a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
personal" <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'contact') {
                ?>
class="seleccionado"<?php 
            }
            ?>
><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_colaboradores<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
				</li>
			
				<li class="dropdown <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                ?>
 active <?php 
            }
            ?>
">
						<a href="#" class="dropdown-toggle"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_mi_cuenta<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
						<ul class="dropdown-menu">
							<li>
								<a class="azul" href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/profile">
									<div class="bd">
					        				<table>
					        					<tr>
					        						<td>
					        						<?php 
            if ($_smarty_tpl->tpl_vars['foto']->value == '') {
                ?>
					        							<img style="border: 1px solid #CCC" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/php/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
images/iconos/icon_avatar_grande.png?width=30&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
images/iconos/icon_avatar_grande.png"  alt="avatar-grande" />
					        						<?php 
            } else {
                ?>
					        							<img style="border: 1px solid #CCC" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/php/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
?width=30&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
"  alt="avatar-grande" />
					        						<?php 
            }
            ?>
	
					        						</td>
					        						<td>
					        							<span class="azul" style="float:left;font-weight: bold;"><?php 
            echo $_smarty_tpl->tpl_vars['nombre_usuario']->value;
            ?>
</span>
					     				     			<span style="float:left;" class="azul margin-top-5" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_lat_izq_acceder_perfil<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span>
					        						</td>
				        					</tr>
				        				</table>
				        			</div>
								
								</a>
							</li>
							<li class="divider"></li>
							<li>
								<a class="azul" href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
logout"><span class="azul" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_desconectarse<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span></a>
							</li>
						</ul>
					</li>
			</ul>
			<ul class="nav secondary-nav" style="margin-right: 10px;">
           		<li class="menu" data-dropdown="menu">
           			<?php 
            if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
                ?>
						<form action="" class="pull-left">
			          	  <input type="text" placeholder="<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_search_file<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
">
			          	</form>
			          	
					<?php 
            }
            ?>
				</li>
			</ul>
			<?php 
        } else {
            ?>
			<ul class="nav">
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'inicio') {
                ?>
class="active"<?php 
            }
            ?>
>
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_inicio<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
				</li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'como_funciona') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
personal" <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'pagina_personal') {
                ?>
class="seleccionado"<?php 
            }
            ?>
><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_personal<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'como_funciona') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
empresas" <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'pagina_empresa') {
                ?>
class="seleccionado"<?php 
            }
            ?>
><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_empresa<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'como_funciona') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
como_funciona" <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'como_funciona') {
                ?>
class="seleccionado"<?php 
            }
            ?>
><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_planes_pago<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'crea_tu_perfil') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
planes_precios" <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'pagina_precios') {
                ?>
class="seleccionado"<?php 
            }
            ?>
><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_precios<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'faqs') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
faqs" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_faqs<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
			</ul>
			<ul class="nav secondary-nav" style="margin-right: 10px;">
           		<li class="menu" data-dropdown="menu">
           			<button class="btn small primary margin-top-5" onclick="location.href='<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
login'"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_login<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</button>
           			<ul class="dropdown-menu">
							<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/profile"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_conf_perfil<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
							<li class="divider"></li>
							<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
logout"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_desconectarse<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a></li>
					</ul>
				</li>
			</ul>
			<?php 
        }
        ?>
		</div>
	</div>
	<?php 
        if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
            ?>
	
	<div  class="page-header">
			<div class="wrapper-all">
					<?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value != 'myaccount') {
                ?>
		       		<a href="#" id="tree_collapse" onclick="$('#tree').toggle();" style="color:#3376A4;background: none"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
images/icons/icon_tree.png"/><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_root_tree<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
</a>
		       		<div id="sub_root_tree" style="display:none;"></div>
					<div id="tree" style="color:#222; display: none;
									    left: 215px;
									    position: absolute;
									    top: 79px;
									    width: 325px;
									    z-index: 10;"><!-- When using initAjax, it may be nice to put a throbber here, that spins until the initial content is loaded: -->
				  	</div>
				  	<?php 
            }
            ?>
		          	<table class="page_table">
        					<tr>
        						<td>
        							<h1 id="title_root"><?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_file<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_myaccount<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            ?>
 <small><?php 
            if ($_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_message<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            ?>
</small></h1>			
        							  <div id="tabs_menu" style="float:left;margin-bottom:-3px;">
        							    <ul class="tabs">
									    	<li style="background-color:#fff">
									    		<a href="#profile" style="line-height:10px; color:#545454;font-weight: bold;background-color:#fff;background-image: none;"><?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_file<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_tabs_profile<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            ?>
</a>
									    	</li>
									    	<?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                ?>
									    	<li>
									    		<a href="#general" style="line-height:10px; color:#545454;font-weight: bold;background-image: none;"><?php 
                if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                    $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                    $_block_repeat = true;
                    echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>
tx_sub_file<?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                    $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                    $_block_repeat = true;
                    echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>
tx_tabs_profile_general<?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                }
                ?>
</a>
									    	</li>
									    	<?php 
            }
            ?>
									    </ul>
									   </div>
        						</td>
        						<td>
        						
        						</td>
        						<td style="width:22%; ">
        							<?php 
            if ($_smarty_tpl->tpl_vars['foto']->value == '') {
                ?>
        							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
user/profile">
        								<img style="float:left;border: 1px solid #CCC;padding:4px;" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/php/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
images/iconos/icon_avatar_grande.png?width=40&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
images/iconos/icon_avatar_grande.png"  alt="avatar-grande" />
	        						</a>
	        						<?php 
            } else {
                ?>
	        						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
user/profile">
	        							<img style="float:left;border: 1px solid #CCC;padding:4px;" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/php/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
?width=40&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
"  alt="avatar-grande" />
	        						</a>
	        						<?php 
            }
            ?>
	
	        						<div style="float:left;margin-top:30px;margin-left:4px;">
     				     				<a class="enlace-color" href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
logout"><span class="azul" style="background-color:#F5F5F5;padding:2px;"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_desconectarse<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span></a>
     				     				<span class="label warning">Upgrade</span>
     				     			</div>
        						</td>
        					</tr>
        				</table>
		    </div>
	</div>
	<?php 
        }
        ?>
</div>

<?php 
    }
    function content_4f5d2ccce2129($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_date_format')) {
            include '/Applications/XAMPP/xamppfiles/htdocs/uptosave/smarty/libs/plugins/modifier.date_format.php';
        }
        ?>
<script>
$(document).ready(function() {
	
	//create bubble popups for each element with class "button"
	
	var positions = {
							'top-left'     : {position: 'top',    align: 'left'   },
							'top-center'   : {position: 'top',    align: 'center' },
							'top-right'    : {position: 'top',    align: 'right'  },
							'left-middle'  : {position: 'left',   align: 'middle' },
							'right-middle' : {position: 'right',  align: 'middle' },	
							'bottom-left'  : {position: 'bottom', align: 'left'   },
							'bottom-center': {position: 'bottom', align: 'center' },
							'bottom-right' : {position: 'bottom', align: 'right'  }
						};
			
			
		
  	
	$(".row_f:odd").css("background-color", "#F4F4F8");
    $(".row_f:even").css("background-color", "#FFFFFF");
    $(".row_f:odd").hover(function(){
    	$(this).css("background-color","#f5f5f5");
    	},
    	function(){
	        $(this).css('background-color', '#F4F4F8');
	    });
	 $(".row_f:even").hover(function(){
    	$(this).css("background-color","#f5f5f5");
    	},
    	function(){
	        $(this).css('background-color', '#FFF');
	    });

	
	$(".edit_folder").click(function() {
		var id = $(this).attr("id");
		var ids = id.split("_");
		cambiarBotonEditar(ids[1]);
		$.ajax({
		   type: "POST",
		    url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/files/edit',
		    data: $('#form_edit_fold_'+ids[1]).serialize(),
		   cache: false,
		    success: function(data) {
	        	var result = jQuery.parseJSON(data);
	      	  	if (result[1]==1){
		      	  	$('#retorno_usuario').html(result[0]);
					$('#mensaje').css('display','block');
					$('#error').addClass('error');
					$('#error').removeClass('success');
					$('#nombre_'+ids[1]).val('');
					$('#mensaje').delay(4000).fadeOut(400);
					$("#bedit_"+result[3]).removeClass("gris");
					$("#bedit_"+result[3]).addClass("azul");
					$("#bedit_"+result[3]).removeAttr("disabled");
					$('#modal_edit_'+result[3]).modal('hide');
					$("#id_cargando").hide("slow");
					$("#bedit_"+result[3]).attr("value","Aceptar");
					$("#loading").toggle();
					$('#loading').delay(2000).fadeOut(400);
					$('#row_file').html(result[2]);
					
	      	  }else if (result[1]==2){
		      		$('#retorno_usuario').html(result[0]);
					$('#mensaje').css('display','block');
					$('#error').addClass('success');
					$('#error').removeClass('error');
					$('#nombre_'+ids[1]).val('');
					$('#mensaje').delay(4000).fadeOut(400);
					$("#bedit_"+result[3]).removeClass("gris");
					$("#bedit_"+result[3]).addClass("azul");
					$("#bedit_"+result[3]).removeAttr("disabled");
					$("#id_cargando").hide("slow");
					$('#modal_edit_'+result[3]).modal('hide');
					$("#bedit_"+result[3]).attr("value","Aceptar");
					$("#loading").toggle();
					$('#loading').delay(2000).fadeOut(400);
					$('#row_file').html(result[2]);
		      	  }

				
            }
		
		 });
		
		return false;
	});
});
	
</script>

<?php 
        if (isset($_smarty_tpl->tpl_vars['aFile']->value) && $_smarty_tpl->tpl_vars['aFile']->value == '') {
            ?>
	<div class="alert-message block-message warning">
        <p><strong><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_init_message<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</strong> <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_init_message2<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</p>
        <div class="alert-actions">
          <a id="bnew" onclick="createFolder('<?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_create_new_folder<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
');" href="#" class="btn small">
          	<img style="width:20px;vertical-align:bottom" src="<?php 
            echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
            ?>
images/icons/icon_button_folder.png"/><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_new_folder<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

          </a> 
          
          <a href="#" class="btn small">
          	<img style="width:20px;vertical-align:bottom" src="<?php 
            echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
            ?>
images/icons/icon_button_upload.png"/><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_options_upload_file<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

          </a>
        </div>
      </div>
 <?php 
        } else {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['aFile']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
                ?>
				<div style="border-bottom: 1px solid  #DDDDDD;" id="more_options_row_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" class="row_f">
						<div style="clear:both;">
							  <div id="sprite_file" style="float:left;width:42px;margin-bottom: 5px;margin-top: 5px;">
								<?php 
                if ($_smarty_tpl->tpl_vars['item']->value['tipo'] == 0) {
                    ?>
									 <img style="vertical-align:bottom" src="<?php 
                    echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                    ?>
images/icons/icon_folder.png"/>
								 <?php 
                } else {
                    ?>
								 		<?php 
                    if ($_smarty_tpl->tpl_vars['item']->value['id_archivo_padre'] == 0) {
                        ?>
								 			<?php 
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                        $_tmp1 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                        $_tmp2 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                        $_tmp3 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['name_file'];
                        $_tmp4 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['ext'];
                        $_tmp5 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['type_file'];
                        $_tmp6 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        $_tmp7 = ob_get_clean();
                        echo Tools::getImageFromFile($_tmp1, $_tmp2, $_tmp3, $_tmp4, $_tmp5, $_tmp6, 0, 35, '', $_tmp7);
                        ?>

								 			<script>
								 				
								 				$(document).ready(function() {
									 					$('#div_<?php 
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        ?>
').CreateBubblePopup();
									 					$('#div_<?php 
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        ?>
').SetBubblePopupOptions({
				
				
														position : 'left',
														align	 :'middle',
														tail	 : {align: 'middle'},
														
														innerHtml: '<?php 
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                        $_tmp8 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                        $_tmp9 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                        $_tmp10 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['name_file'];
                        $_tmp11 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['ext'];
                        $_tmp12 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['type_file'];
                        $_tmp13 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        $_tmp14 = ob_get_clean();
                        echo Tools::getImageFromFile($_tmp8, $_tmp9, $_tmp10, $_tmp11, $_tmp12, $_tmp13, 0, 80, $_tmp14);
                        ?>
',
					
														innerHtmlStyle: {
																			color:'#FFFFFF', 
																			'text-align':'center',
																			'padding':'6px'
																		},
														
														themeName: 	'azure',
														themePath: 	'<?php 
                        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                        ?>
libs/jquery/bubblePopup/Examples/images/jquerybubblepopup-theme',
														
														closingDelay: 200
													 
													});
												}); 
								 				
								 			</script>
								 		<?php 
                    } else {
                        ?>
								 			<?php 
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                        $_tmp15 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                        $_tmp16 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                        $_tmp17 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['name_file'];
                        $_tmp18 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['ext'];
                        $_tmp19 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['type_file'];
                        $_tmp20 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo_padre'];
                        $_tmp21 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        $_tmp22 = ob_get_clean();
                        echo Tools::getImageFromFile($_tmp15, $_tmp16, $_tmp17, $_tmp18, $_tmp19, $_tmp20, $_tmp21, 30, '', $_tmp22);
                        ?>

								 			<script>
								 				
								 				$(document).ready(function() {
									 					$('#div_<?php 
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        ?>
').CreateBubblePopup();
									 					$('#div_<?php 
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        ?>
').SetBubblePopupOptions({
				
				
														position : 'left',
														align	 :'middle',
														tail	 : {align: 'middle'},
														
														innerHtml: '<?php 
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                        $_tmp23 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                        $_tmp24 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                        $_tmp25 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['name_file'];
                        $_tmp26 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['ext'];
                        $_tmp27 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['type_file'];
                        $_tmp28 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo_padre'];
                        $_tmp29 = ob_get_clean();
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                        $_tmp30 = ob_get_clean();
                        echo Tools::getImageFromFile($_tmp23, $_tmp24, $_tmp25, $_tmp26, $_tmp27, $_tmp28, $_tmp29, 80, '', $_tmp30);
                        ?>
',
					
														innerHtmlStyle: {
																			color:'#FFFFFF', 
																			'text-align':'center',
																			'padding':'6px'
																		},
														
														themeName: 	'azure',
														themePath: 	'<?php 
                        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                        ?>
libs/jquery/bubblePopup/Examples/images/jquerybubblepopup-theme',
														
														closingDelay: 200
													 
													});
												}); 
								 				
								 			</script>
								 		<?php 
                    }
                    ?>
								 <?php 
                }
                ?>
						  	  </div>
					 		   <div id="data_file" style="margin-bottom: 5px;margin-top: 5px;">     
					        		 <h3>
					        		 	<a style="font-size:13px;color:#000;" href="#" onclick="loadPath('<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
','<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                ?>
' ,'<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
user/path/<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                ?>
');return false;"><?php 
                echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                ?>
</a>
					        		 </h3>
					         		<span class="gris"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_update_name_file<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
 <span class="gris"> <?php 
                echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['fecha_update']);
                ?>
 <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_update_name_file2<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
</span></span>
					         		<?php 
                if ($_smarty_tpl->tpl_vars['item']->value['id_usuario'] != $_smarty_tpl->tpl_vars['id_usuario']->value) {
                    ?>
					         			 <a class="azul" style=" clear:right;" href="#"><?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre_usuario'];
                    ?>
 <?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['apellidos_usuario'];
                    ?>
</a>
					        		<?php 
                } else {
                    ?>
					         			<a class="azul" style=" clear:right;" href="<?php 
                    echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                    ?>
user/profile"><?php 
                    $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                    $_block_repeat = true;
                    echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>
tx_options_you<?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                    ?>
</a>
					         		<?php 
                }
                ?>
									<ul class="options_list right">
											<li class="op_more">
											 	<a id="more_options_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" data-placement="above" rel='twipsy'  href="#" data-original-title='More Options'></a>
											 	<?php 
                if ($_smarty_tpl->tpl_vars['item']->value['tipo'] == 0) {
                    ?>
 <!-- Folder Options -->
											 	<script>
											 		$("#more_options_<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
").contextMenu({
															menu: 'myMenu',
															leftButton: true
														}, function(action, el, pos) {
															
															if (action == 'open'){
																	cambiarUrl('/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo_padre'];
                    ?>
/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
');
																	
																	$.ajax({
																            type: 'POST',
																            url: '<?php 
                    echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                    ?>
user/path/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
',
																            data: '',
																            // before: mostrarVentanaCargando(),
																            // complete: ocultarVentanaCargando(), 
																            success: function(data) {
																	        	var result = jQuery.parseJSON(data);
																	        	
																					$("#loading").toggle();
																					$('#loading').delay(2000).fadeOut(400);
																					$('#row_file').html(result[0]);
																					$('#id_padre').val(result[1]);
																					$('#title_root').html(result[3]);
																					$('#id_archivo').html(<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
);
																				
																            }
																        });
																
															}else if (action == 'settings_folder'){
																displaySettingsFolder(tx_titulo_display,<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
,'<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
','<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['descripcion'];
                    ?>
');
															}else if (action == 'new_tab'){
																window.open('<?php 
                    echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                    ?>
user/files/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
');
															}
															
														});
														
														
														$("#more_options_row_<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
").contextMenu({
															menu: 'myMenu',
															leftButton: false
														}, function(action, el, pos) {
															
															if (action == 'open'){
																	
																	cambiarUrl('/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
');
																	
																	$.ajax({
																            type: 'POST',
																            url: '<?php 
                    echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                    ?>
user/path/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
',
																            data: '',
																            // before: mostrarVentanaCargando(),
																            // complete: ocultarVentanaCargando(), 
																            success: function(data) {
																	        	var result = jQuery.parseJSON(data);
																					$("#loading").toggle();
																					$('#loading').delay(2000).fadeOut(400);
																					$('#row_file').html(result[0]);
																					$('#id_padre').val(result[1]);
																					$('#title_root').html(result[3]);
																					
																				
																            }
																        });
																
															}else if (action == 'settings_folder'){
																displaySettingsFolder(tx_titulo_display,<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
,'<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
','<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['descripcion'];
                    ?>
');
																
															}else if (action == 'new_tab'){
																window.open('<?php 
                    echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                    ?>
user/files/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
/<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
');
															}
															
														});
											 		
											 	</script>
											 	<?php 
                } else {
                    ?>
 <!-- Files Options -->
											 		 	<script>
											 		$("#more_options_<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
").contextMenu({
															menu: 'myMenuFile',
															leftButton: true
														}, function(action, el, pos) {
															
															if (action == 'preview'){
																
																(function($) {
																    $.extend({
																        doGet: function(url, params) {
																            document.location = url + '?' + $.param(params);
																        },
																        doPost: function(url, params) {
																            var $form = $("<form method='POST'>").attr("action", url);
																            $.each(params, function(name, value) {
																                $("<input type='hidden'>")
																                    .attr("name", name)
																                    .attr("value", value)
																                    .appendTo($form);
																            });
																            $form.appendTo("body");
																            $form.submit();
																        }
																    });
																})(jQuery);

																$.doPost("<?php 
                    echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                    ?>
viewer", {
																    id: "<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
",
																    name: "<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                    ?>
"
																});
																	
															}else if (action == 'download'){
															}else if (action == 'upload'){
															}else if (action == 'share'){
															}else if (action == 'tags'){
															}else if (action == 'properties'){
															}else if (action == 'move_copy'){
															}else if (action == 'delete_file'){	
															}
															
														});
														
														
														$("#more_options_row_<?php 
                    echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                    ?>
").contextMenu({
															menu: 'myMenuFile',
															leftButton: false
														}, function(action, el, pos) {
															
															if (action == 'preview'){
																
															}else if (action == 'download'){
															}else if (action == 'upload'){
															}else if (action == 'share'){
															}else if (action == 'tags'){
															}else if (action == 'properties'){
															}else if (action == 'move_copy'){
															}else if (action == 'delete_file'){	
															}
															
														});
											 		
											 	</script>
											 	<?php 
                }
                ?>
											</li>
									</ul>
								</div>
						
					 			<div id="modal_edit_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" name="modal_edit_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" class="modal hide fade" style="width:500px;">
								  	<form  method="post"  name="form_edit_fold_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" id="form_edit_fold_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" action="" class="form_edit_fold">
									    <div class="modal-header">
									    	<img style="vertical-align:bottom" src="<?php 
                echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                ?>
images/icons/icon_folder.png"/>
										    <span style="font-size:22px;color:#525252;font-weight: bold;" id="titulo_archivo_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
"></span>
										    <a href="#" class="close">&times;</a><br/>
									    </div>
									    <div class="modal-body">
										 	<fieldset>
										 	<div class="clearfix">
									 			<label for="tx_form_name"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_name<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
:</label>
									    		<div class="input">
									    			<div class="inline-inputs">
														<input type="text" class="span6 required" style="padding-left:4px;" id="nombre_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" name="nombre_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" placeholder="<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_name_placeholder<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
" value="<?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['nombre'])) {
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre'];
                }
                ?>
"/>
									      				<p id="textoobj"></p>
									      			</div>
									      		</div>
									      	</div>
									      	<div class="clearfix">
									      			<label for="tx_form_description"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_description<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
: <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_name_optional<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
</label>
									    			<div class="input">
									    				<div class="inline-inputs">
															<textarea  rows="3" class="span6 required" id="descripcion_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" name="descripcion_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
" style="width: 331px; height: 88px;padding-left:4px"><?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['descripcion'])) {
                    echo $_smarty_tpl->tpl_vars['item']->value['descripcion'];
                }
                ?>
</textarea>
									      					<p id="textoobj"></p>
									      				</div>
									      			</div>
									      	</div>
									      	<div class="clearfix">
									      			<label for="tx_form_location"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_location<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
:</label>
									    			<div class="input">
									    				<div class="inline-inputs">
															<label for="form_location" class="span6 font-weight-normal"><?php 
                if (isset($_smarty_tpl->tpl_vars['name_parent_folder']->value)) {
                    echo $_smarty_tpl->tpl_vars['name_parent_folder']->value;
                }
                ?>
</label>
									      					<p id="textoobj"></p>
									      				</div>
									      			</div>
									      	</div>
									      	<div class="clearfix">
									      			<label for="tx_form_owner"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_owner<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
:</label>
									    			<div class="input">
									    				<div class="inline-inputs">
															<label for="form_owner" class="span6 font-weight-normal"><?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['nombre_usuario'])) {
                    echo $_smarty_tpl->tpl_vars['item']->value['nombre_usuario'];
                }
                ?>
 <?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['apellidos_usuario'])) {
                    echo $_smarty_tpl->tpl_vars['item']->value['apellidos_usuario'];
                }
                ?>
</label>
									      					<p id="textoobj"></p>
									      				</div>
									      			</div>
									      	</div>
									      	<div class="clearfix">
									      			<label for="tx_form_size"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_size<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
:</label>
									    			<div class="input">
									    				<div class="inline-inputs">
															<label for="form_size" class="span6 font-weight-normal"><?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['max_size'])) {
                    echo Settings::getByteSize($_smarty_tpl->tpl_vars['item']->value['max_size']);
                }
                ?>
</label>
									      					<p id="textoobj"></p>
									      				</div>
									      			</div>
									      	</div>
									      	<div class="clearfix">
									      			<label for="tx_form_created"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_created<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
:</label>
									    			<div class="input">
									    				<div class="inline-inputs">
															<label for="form_created" class="span6 font-weight-normal"><?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['fecha'])) {
                    echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['fecha']);
                }
                ?>
</label>
									      					<p id="textoobj"></p>
									      				</div>
									      			</div>
									      	</div>
									      	<div class="clearfix">
									      			<label for="tx_form_update"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_form_update<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
:</label>
									    			<div class="input">
									    				<div class="inline-inputs">
															<label for="form_update" class="span6 font-weight-normal"><?php 
                if (isset($_smarty_tpl->tpl_vars['item']->value['fecha_update'])) {
                    echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['fecha_update']);
                }
                ?>
</label>
									      					<p id="textoobj"></p>
									      				</div>
									      			</div>
									      	</div>
									      </fieldset>
									    </div>
									    <div class="modal-footer" style="text-align:center;">
									    	<input type="hidden" name="id_usuario" id="id_usuario" value="<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
"/> 
									    	<input type="hidden" name="id_archivo" id="id_archivo" value="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
"/> 
									    	<input type="hidden" name="id_padre" id="id_padre" value="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo_padre'];
                ?>
"/> 
											<a id="bedit_<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['id_archivo'];
                ?>
"  href="#" class="btn small bold azul edit_folder"><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_button_accept<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
</a>
											<input type="button" href="#"  class="btn small close bold azul" style="margin-top: 0px;opacity: 1;float:none;" value="<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_button_cancel<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
" />
											
								  		</div>
							  		</form>
							  	</div>
						</div>
				</div>
	<?php 
            }
        }
    }
    function content_4f5d2b711cf70($_smarty_tpl)
    {
        ?>
 <div class="container" style="margin-top:-100px;">
    	   <div class="content">
				  
			   <div style="margin-top:50px;
			    border-bottom-left-radius: 3px;
			    border-bottom-right-radius: 3px;
			    color: #FFF;
			    padding: 20px 15px;margin-left:40px;">
					<h1><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_login<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</h1>
					<p>Join today and start to upload and share your online file storage.<strong>UptoBox</strong> is the best open sources online file storage
					</p>
					<div id="mensaje" style="display:none">
										<div id="error" class="alert-message">
										    <p id="retorno_usuario" style="display:none"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_welcome<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</p>
										    <p id="retorno_usuario_error" style="display:none"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_welcome_error<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</p>
									    </div>
					</div>	
				</div>
				
		        <!-- Main hero unit for a primary marketing message or call to action -->
		 
						<div class="row" style="margin-top:50px;;margin-left:20px;">
								
				      			<div class="span12" style="width:800px;border: none; padding: 0px;opacity:1" >
				      				
				      				<?php 
        echo $_smarty_tpl->tpl_vars['LOGIN_MODULE']->value;
        ?>

				      			 <!-- Modal -->
				      			 	
								       <!-- <form name="form_login" id="form_login" method="post">
								        
								        	<div style="width:90%;position: relative; top: auto; left: auto; margin:0 auto;margin-top:-41px;margin-left:100px; z-index: 1" class="modal">
								        	  <div class="modal-header">
								        	    <h3><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_login<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</h3>
								        	  </div>
								        	  <div class="modal-body">
											   	  		<h4>Username</h4>
											   	  		<input type="text" class="xlarge required" id="username" name="username" placeholder="Username">
											   	  		<br/><br/>
											   	  		<h4>Password</h4>
												  		<input type="password" class="xlarge required" id="password" name="password" placeholder="Password">
														<input type="hidden" value="1" name="action"/>	
											 			<br/><br/>
											 </div>
								        	  <div class="modal-footer">
								        	  	<img id="id_cargando" style="display:none" src="<?php 
        echo $_smarty_tpl->tpl_vars['IMAGES_URL']->value;
        ?>
/resources/loading.gif" />
								        	    <input type="submit" class="btn primary" style="float: right;" value="Login" name="logueo" id="blogin"/>	
								        	  </div>
								        	</div>
								        </form>
								       -->
							      </div>
							    
						        
						  </div>
		</div>
</div><?php 
    }
    function content_4f5d2cc17f9f1($_smarty_tpl)
    {
        ?>
	
<script type="text/javascript">
	$(document).ready(function() {
		$('#topbar').dropdown();
		$(".tab_content").hide(); //Esconde todo el contenido
		$("ul.tabs li:first").addClass("active").show(); //Activa la primera tab
		$(".tab_content:first").show(); //Muestra el contenido de la primera tab
		
		$("ul.tabs li").click(function() {


		$("ul.tabs li").removeClass("active"); //Elimina las clases activas
	
		$(this).addClass("active"); //Agrega la clase activa a la tab seleccionada
	
		$(".tab_content").hide(); //Esconde todo el contenido de la tab
	
		var activeTab = $(this).find("a").attr("href"); //Encuentra el valor del atributo href para identificar la tab activa + el contenido
		
		if(activeTab=='#profile'){
			ruta="profile";
		}
		else if(activeTab=='#general'){
			ruta="general";
		}

		$("#loading").show();	
		$.ajax({
			      type: "POST",
			      url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/tabs/'+ruta,
		      	  success:function(data){
		      	  	var result = jQuery.parseJSON(data);
					$("#loading").hide();
					$(activeTab).html(result);
					$(activeTab).fadeIn(); //Agrega efecto de transición (fade) en el contenido activo
		      	  }
			});
			
			
		
			return false;
	
		});
	});
</script>

<script type="text/javascript">
	
  $(document).ready(function() {
	 
    // --- Initialize sample trees
    $("#tree").dynatree({
      title: "<?php 
        echo $_smarty_tpl->tpl_vars['tx_titulo_treeview']->value;
        ?>
",
      fx: { height: "toggle", duration: 200 },
      minExpandLevel: 1,
      autoFocus: false, // Set focus to first child, when expanding or lazy-loading.
      // In real life we would call a URL on the server like this:
//          initAjax: {
//              url: "/getTopLevelNodesAsJson",
//              data: { mode: "funnyMode" }
//              },
      // .. but here we use a local file instead:
      initAjax: {
        url: "<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/files/treeview/0"
        },
	  
      onActivate: function(node) {
       				 cambiarUrl('/'+node.data.key+'/'+node.data.title);
					 $.ajax({
				            type: 'POST',
				            url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/path/'+node.data.key+'/'+node.data.title,
				            data: '',
				            // before: mostrarVentanaCargando(),
				            // complete: ocultarVentanaCargando(), 
				            success: function(data) {
					        	var result = jQuery.parseJSON(data);
									$("#loading").toggle();
									$('#loading').delay(2000).fadeOut(400);
									$('#row_file').html(result[0]);
									//$('#id_padre').val(result[1]);
									$('#title_root').html(node.data.title);	
									$('#tree_collapse').css('display','none');
									$('#sub_root_tree').html(result[2]);
									$('#sub_root_tree').css('display','block');
									$("#tree").hide();
								
				            }
				        });
      },

      onLazyRead: function(node){
        // In real life we would call something like this:
//              node.appendAjax({
//                  url: "/getChildrenAsJson",
//                data: {key: node.data.key,
//                       mode: "funnyMode"
//                         }
//              });
        // .. but here we use a local file instead:
        node.appendAjax({
          url: "<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/files/treeview/"+node.data.key,
          // We don't want the next line in production code:
          debugLazyDelay: 750
        });
      }
    });
    $("#btnReloadActive").click(function(){
      var node = $("#tree").dynatree("getActiveNode");
      if( node && node.isLazy() ){
        node.reloadChildren(function(node, isOk){
        });
      }else{
        alert("Please activate a lazy node first.");
      }
     });
     
     $("#wrapper").click(function(){
      $("#tree").hide();
      return true;
    });
     
     $("#tree_collapse").click(function(){
      $("#tree").dynatree("getRoot").visit(function(node){
        node.expand(false);
      });
      return false;
    });
    
    
    

    $("#btnLoadKeyPath").click(function(){
      var tree = $("#tree").dynatree("getTree");
      // Make sure that node #_27 is loaded, by traversing the parents.
      // The callback is executed for every node as we go:
      tree.loadKeyPath("/folder4/_23/_26/_27", function(node, status){
        if(status == "loaded") {
          // 'node' is a parent that was just traversed.
          // If we call expand() here, then all nodes will be expanded
          // as we go
          node.expand();
        }else if(status == "ok") {
          // 'node' is the end node of our path.
          // If we call activate() or makeVisible() here, then the
          // whole branch will be exoanded now
          node.activate();
        }
      });
     });
  });
  
  function loadPath(id_archivo, nombre, url){
  					cambiarUrl('/'+id_archivo+'/'+nombre);
											$.ajax({
									            type: 'POST',
									            url: url,
									            data: '',
									            // before: mostrarVentanaCargando(),
									            // complete: ocultarVentanaCargando(), 
									            success: function(data) {
										        	var result = jQuery.parseJSON(data);
														$("#loading").toggle();
														$('#loading').delay(2000).fadeOut(400);
														$('#row_file').html(result[0]);
														$('#id_padre').val(result[1]);
														$('#tree_collapse').css('display','none');
														$('#sub_root_tree').html(result[2]);
														$('#sub_root_tree').css('display','block');
														$('#title_root').html(result[3]);
														$("#tree").hide();
													
									            }
									        });
  }
  
</script>






<div class="topbar" data-dropdown="dropdown">
	<div class="topbar-inner">
		<span id="loading" class="label important right" style="display:none;margin-top: 7px;margin-right: 5px;">Loading...</span>
  		<div class="container" style="width:980px">
			<a id="brand" class="brand margin-top-1" href="<?php 
        if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/files<?php 
        } else {
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        }
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['IMAGES_URL']->value;
        ?>
/logos/logo.png" /></a>
			<?php 
        if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
            ?>
			<ul class="nav">
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                ?>
class="active"<?php 
            }
            ?>
>
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/files" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_fichero<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
				</li>
				<li <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'contact') {
                ?>
class="active"<?php 
            }
            ?>
>
						<a href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
personal" <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'contact') {
                ?>
class="seleccionado"<?php 
            }
            ?>
><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_colaboradores<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
				</li>
			
				<li class="dropdown <?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                ?>
 active <?php 
            }
            ?>
">
						<a href="#" class="dropdown-toggle"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_mi_cuenta<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</a>
						<ul class="dropdown-menu">
							<li>
								<a class="azul" href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
user/profile">
									<div class="bd">
					        				<table>
					        					<tr>
					        						<td>
					        						<?php 
            if ($_smarty_tpl->tpl_vars['foto']->value == '') {
                ?>
					        							<img style="border: 1px solid #CCC" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                ?>
images/icons/icon_avatar_grande.png?width=30&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                ?>
images/icons/icon_avatar_grande.png"  alt="avatar-grande" />
					        						<?php 
            } else {
                ?>
					        							<img style="border: 1px solid #CCC" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
?width=30&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
"  alt="avatar-grande" />
					        						<?php 
            }
            ?>
	
					        						</td>
					        						<td>
					        							<span class="azul" style="float:left;font-weight: bold;"><?php 
            echo $_smarty_tpl->tpl_vars['nombre_usuario']->value;
            ?>
</span>
					     				     			<span style="float:left;" class="azul margin-top-5" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_lat_izq_acceder_perfil<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span>
					        						</td>
				        					</tr>
				        				</table>
				        			</div>
								
								</a>
							</li>
							<li class="divider"></li>
							<li>
								<a class="azul" href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
logout"><span class="azul" ><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_desconectarse<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span></a>
							</li>
						</ul>
					</li>
			</ul>
			<ul class="nav secondary-nav" style="margin-right: 10px;">
           		<li class="menu" data-dropdown="menu">
           			<?php 
            if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
                ?>
						<form action="" class="pull-left">
			          	  <input type="text" placeholder="<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_search_file<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
">
			          	</form>
			          	
					<?php 
            }
            ?>
				</li>
			</ul>
			
			<?php 
        }
        ?>
		</div>
	</div>
	<?php 
        if ($_smarty_tpl->tpl_vars['LOGUEADO']->value) {
            ?>
	
	<div  class="page-header">
			<div class="wrapper-all">
					<?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value != 'myaccount') {
                ?>
		       		<a href="#" id="tree_collapse" onclick="$('#tree').toggle();" style="color:#3376A4;background: none"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                ?>
images/icons/icon_tree.png"/><?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_root_tree<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>
</a>
		       		<div id="sub_root_tree" style="display:none;"></div>
					<div id="tree" style="color:#222; display: none;
									    left: 215px;
									    position: absolute;
									    top: 79px;
									    width: 325px;
									    z-index: 10;"><!-- When using initAjax, it may be nice to put a throbber here, that spins until the initial content is loaded: -->
				  	</div>
				  	
				  	<?php 
            }
            ?>
		          	<table class="page_table">
        					<tr>
        						<td>
        							<h1 id="title_root"><?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_file<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_myaccount<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'viewer') {
                echo $_smarty_tpl->tpl_vars['name_file']->value;
            }
            ?>
 <small><?php 
            if ($_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                $_block_repeat = true;
                echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>
tx_sub_message<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
            }
            ?>
</small></h1>			
        							  <div id="tabs_menu" style="float:left;margin-bottom:-3px;">
        							  	<?php 
            if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value != 'viewer') {
                ?>
        							    <ul class="tabs">
        							    	
									    	<li style="background-color:#fff">
									    		<a href="#profile" style="line-height:10px; color:#545454;font-weight: bold;background-color:#fff;background-image: none;"><?php 
                if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                    $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                    $_block_repeat = true;
                    echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>
tx_sub_file<?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                    $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                    $_block_repeat = true;
                    echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>
tx_tabs_profile<?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                }
                ?>
</a>
									    	</li>
									    	<?php 
                if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                    ?>
									    	<li>
									    		<a href="#general" style="line-height:10px; color:#545454;font-weight: bold;background-image: none;"><?php 
                    if (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'files') {
                        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                        $_block_repeat = true;
                        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                        while ($_block_repeat) {
                            ob_start();
                            ?>
tx_sub_file<?php 
                            $_block_content = ob_get_clean();
                            $_block_repeat = false;
                            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                        }
                        array_pop($_smarty_tpl->smarty->_tag_stack);
                    } elseif (isset($_smarty_tpl->tpl_vars['menu_principal']->value) && $_smarty_tpl->tpl_vars['menu_principal']->value == 'myaccount') {
                        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
                        $_block_repeat = true;
                        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
                        while ($_block_repeat) {
                            ob_start();
                            ?>
tx_tabs_profile_general<?php 
                            $_block_content = ob_get_clean();
                            $_block_repeat = false;
                            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
                        }
                        array_pop($_smarty_tpl->smarty->_tag_stack);
                    }
                    ?>
</a>
									    	</li>
									    	<?php 
                }
                ?>
									    </ul>
									    <?php 
            }
            ?>
									   </div>
        						</td>
        						<td>
        						
        						</td>
        						<td style="width:22%; ">
        							<?php 
            if ($_smarty_tpl->tpl_vars['foto']->value == '') {
                ?>
        							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
user/profile">
        								<img style="float:left;border: 1px solid #CCC;padding:4px;" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                ?>
images/icons/icon_avatar_grande.png?width=40&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['BASE_THEMES_URL']->value;
                ?>
images/icons/icon_avatar_grande.png"  alt="avatar-grande" />
	        						</a>
	        						<?php 
            } else {
                ?>
	        						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
user/profile">
	        							<img style="float:left;border: 1px solid #CCC;padding:4px;" src="<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
libs/rescalado_imagen/image.php/<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
?width=40&amp;image=<?php 
                echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
                ?>
datas/users/<?php 
                echo $_smarty_tpl->tpl_vars['id_usuario']->value;
                ?>
/profile/<?php 
                echo $_smarty_tpl->tpl_vars['foto']->value;
                ?>
"  alt="avatar-grande" />
	        						</a>
	        						<?php 
            }
            ?>
	
	        						<div style="float:left;margin-top:30px;margin-left:4px;">
     				     				<a class="enlace-color" href="<?php 
            echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
            ?>
logout"><span class="azul" style="background-color:#F5F5F5;padding:2px;"><?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
            $_block_repeat = true;
            echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>
tx_menu_desconectarse<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>
</span></a>
     				     				<span class="label warning">Upgrade</span>
     				     			</div>
        						</td>
        					</tr>
        				</table>
				<div id="file-upload" style="float:left;margin-left:500px;margin-top:-40px">
					<input style="width:100px;padding:6px;cursor:pointer;  background: -moz-linear-gradient(center top , #5989AC, #004A80) repeat scroll 0 0 transparent;
    border: 1px solid #004373;
    color: #FFFFFF;  margin-bottom: 9px;  border-radius: 5px 5px 5px 5px;
    box-shadow: 0 1px 2px #000000;  display: inline-block;  outline: medium none;
    padding: 0.55em 2em;
    text-align: center;
    text-decoration: none;" type="button" name="btnFile" id="btnFile" value="Subir fichero" />
					
				</div>        				
		    </div>
	</div>
	<?php 
        }
        ?>
</div>

<?php 
    }
    function content_4f53527d3d25a($_smarty_tpl)
    {
        ?>
<script type="text/javascript">



function cambiarBotonGeneralEdit() {
	$("#boton_modificar_perfil_general").removeClass("azul");
	$("#boton_modificar_perfil_general").addClass("gris");
	$("#boton_modificar_perfil_general").attr('disabled', 'disabled');
	$("#id_cargando_general").css("display","block");
	$("#mensaje_general").css("display","none");
}

$(document).ready(function() {
    // Validación del formulario.
    $("#form_general").validate({
        rules: {						
			language: {
			      required: true
			    },
			time_zone: {
			      required: true
			    }	
			
		},
		errorPlacement: function(error, element) {
			// Concatenamos el siguiente hijo del padre del elemnto el array de errores.
			// En nuestro caso abajo en el formulario serían los <TD> vacíos.
			error.appendTo(element.parent().next());
        },
        messages: {
        	language: "*",	
			time_zone: "*"
        },
        submitHandler: function() {
			// Codificamos la clave.
			cambiarBotonGeneralEdit();
			// Inicamos la petición.
	        $.ajax({
	            type: 'POST',
	            url: '<?php 
        echo $_smarty_tpl->tpl_vars['RUTA_WEB_ABSOLUTA']->value;
        ?>
user/edit/general',
	            data: $('#form_general').serialize(),
	            // before: mostrarVentanaCargando(),
	            // complete: ocultarVentanaCargando(), 
	            success:function(data) {
		        	var result = jQuery.parseJSON(data);
		      	  	if (result[1]==1){
			      	  	$('#retorno_usuario_general').html(result[0]);
						$('#mensaje_general').css('display','block');
						$('#error_general').addClass('error');
						$('#error_general').removeClass('success');
						$('#mensaje_general').delay(4000).fadeOut(400);
						$("#boton_modificar_perfil_general").removeClass("gris");
						$("#boton_modificar_perfil_general").addClass("azul");
						$("#boton_modificar_perfil_general").removeAttr("disabled");
						$("#id_cargando_general").hide("slow");
						
		      	  	}else if (result[1]==2){
		      	  		$('#retorno_usuario_general').html(result[0]);
						$('#mensaje_general').css('display','block');
						$('#error_general').addClass('success');
						$('#error_general').removeClass('error');
						$('#mensaje_general').delay(4000).fadeOut(400);
						$("#boton_modificar_perfil_general").removeClass("gris");
						$("#boton_modificar_perfil_general").addClass("azul");
						$("#boton_modificar_perfil_general").removeAttr("disabled");
						$("#id_cargando_general").hide("slow");
		      	  }

					
	            }
	        });
        }
    });
	
});		

</script>
		<div class="alert-message block-message info" style="margin-top:120px;margin-left:5px;margin-right:5px;">
		        <p><strong><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_general_tittle<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</strong> <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_general_sub_tittle<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
</p>
		</div>
		<div id="mensaje_general" style="display:none">
			<div id="error_general" class="alert-message">
			    <p id="retorno_usuario_general"></p>
		    </div>
		</div>	
		
		<div class="row" style="margin-top:30px;margin-bottom:30px">
			 <div class="span3" style="margin-top:-15px;">
					
					<div class="span8 offset2">
								<form id="form_general" name="form_general" method="post">
										<table id="datos_general" cellspacing="10px;" width="100%" style="padding:20px;">
											<tr>
												<td style="border:0" colspan="3" id="retorno_perfil">
													
												</td>
											</tr>
											<tr>
												<td width="30%">	
													<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_time_zone<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
												</td>
												<td>
													
													<select id="timezone" name="timezone" class="xlarge">
													<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['aTimeZone']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
														<option <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['zone_id'] == $_smarty_tpl->tpl_vars['time_zone_user']->value[0]['zone_id']) {
                ?>
selected="selected"<?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['zone_id'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['gmt'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['zone_name'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value['abbreviation'];
            ?>
</option>
													<?php 
        }
        ?>
													</select>
												</td>
											</tr>
											<tr>
												<td  width="30%">	
													<span class="marron" style="font-weight: bold"><?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_form_name_language<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
:</span>
												</td>
												<td align="left">
													<select id="language" name="language" class="xlarge">
													<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['aLanguages']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
														<option <?php 
            if ($_smarty_tpl->tpl_vars['item']->value['id'] == $_smarty_tpl->tpl_vars['language_user']->value['id']) {
                ?>
selected="selected"<?php 
            }
            ?>
 value="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['id'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['idioma'];
            ?>
</option>
													<?php 
        }
        ?>
													</select>
												</td>
											</tr>
											<tr>
												<td style="border:0;" colspan="2">
													<img id="id_cargando_general" style="display:none;float:left" src="<?php 
        echo $_smarty_tpl->tpl_vars['IMAGES_URL']->value;
        ?>
resources/loading.gif" />
													<input type="submit" value="<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('translate', array());
        $_block_repeat = true;
        echo Localizer::translate(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
tx_button_edit<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo Localizer::translate(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>
" id="boton_modificar_perfil_general" class="btn info right" style="margin-right: 45px;margin-top:4px">
												</td>
											</tr>

										</table>
							</form>	
					</div>
			</div>	
		</div>	<?php 
    }