403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/repository/thesaurus/common/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/repository/thesaurus/common/include//inc.misTerminos.php
<?php
if ((stristr( $_SERVER['REQUEST_URI'], "session.php") ) || ( !defined('T3_ABSPATH') )) die("no access");
#   TemaTres : aplicación para la gestión de lenguajes documentales #       #
#                                                                        #
#   Copyright (C) 2004-2008 Diego Ferreyra tematres@r020.com.ar
#   Distribuido bajo Licencia GNU Public License, versión 2 (de junio de 1.991) Free Software Foundation
#  
###############################################################################################################
# Include para actualizacion de datos propios. #

$user_id = '0';

$user_id = (($_GET[user_id])&&($_SESSION[$_SESSION["CFGURL"]][ssuser_nivel]=='1')) ? $_GET[user_id] : $_SESSION[$_SESSION["CFGURL"]][ssuser_id];

if($_POST[actuaDatos])
	{
	$user_id = ($_SESSION[$_SESSION["CFGURL"]][ssuser_nivel]=='1') ? $_POST[actuaDatos] : $_SESSION[$_SESSION["CFGURL"]][ssuser_id];
	$user_id=admin_users("actua",secure_data($user_id,"sql"));
 	$row_resumen='<p class="success">'.MSG_ResultCambios.'</p>'."\n\r";
	};

$resumen=ARRAYresumen($_SESSION[id_tesa],"U",secure_data($user_id,"sql"));

	$row_resumen.='<div id="cajaAncha">'."\n\r";
	$row_resumen.='<strong>'.ucfirst(LABEL_Acciones).'</strong><dl class="dosCol">'."\n\r";
	$row_resumen.='<dt>'.ucfirst(LABEL_Terminos).'</dt><dd>'.$resumen[cant_total]."&nbsp;</dd>\n\r";
	$row_resumen.='<dt>'.ucfirst(LABEL_RelTerminos).'</dt><dd>'.$resumen[cant_rel]."&nbsp;</dd>\n\r";
	$row_resumen.='<dt>'.ucfirst(LABEL_TerminosUP).'</dt><dd> '.$resumen[cant_up]."&nbsp;</dd>\n\r";
	$row_resumen.='</dl></div>';

$dato_user=ARRAYdatosUser($user_id);
$nombre_boton=LABEL_actualizar;
?>
<div id="bodyText">
	<script id="demo" type="text/javascript">
$("#form-users").validate({
});
</script>
<div id="cajaAncha">
	<?php echo $row_resumen;  ?>
</div>
        <form class="myform" name="login" id="form-users" action="<?php echo $PHP_SELF;?>" method="post">
<fieldset>
    <legend><?php echo MENU_MisDatos; ?></legend>

	<div>
            <label for="nombre" accesskey="n"><?php echo ucfirst(LABEL_nombre);?>*</label>
                <input name="<?php echo FORM_LABEL_nombre;?>" class="campo"
                id="nombre"
                size="20" maxlength="150"
                value="<?php echo $dato_user[nombres];?>"
                />
                          </div>
                           <div >
            <label for="apellido" accesskey="a"><?php echo ucfirst(LABEL_apellido);?>*</label>
                <input  name="<?php echo FORM_LABEL_apellido;?>" class="campo"
                id="apellido"
                size="20" maxlength="150"
                value="<?php echo $dato_user[apellido];?>"
                />
                        </div>
                        <div>
            <label for="mail" accesskey="l"><?php echo ucfirst(LABEL_mail);?>*</label>
            <input name="<?php echo FORM_LABEL_mail;?>" class="campo"
                id="mail"
                size="20" maxlength="256"
                value="<?php echo $dato_user[mail];?>"
                />
                        </div>
                        <div >
            <label for="orga" accesskey="o"><?php echo ucfirst(LABEL_orga);?></label>
                <input name="<?php echo FORM_LABEL_orga;?>" class="campo"
                id="orga"
                size="20" maxlength="256"
                value="<?php echo $dato_user[orga];?>"
                />
                        </div>
                        <div>
            <label for="clave" accesskey="c"><?php echo ucfirst(LABEL_pass);?>*</label>
                <input name="<?php echo FORM_LABEL_pass;?>" id="<?php echo FORM_LABEL_pass;?>"
                type="password"
                size="10" maxlength="10"
                value=""
                />
                        </div>
                        <div>
            <label for="reclave" accesskey="r"><?php echo ucfirst(LABEL_repass);?>*</label>
                <input name="<?php echo FORM_LABEL_repass;?>" id="<?php echo FORM_LABEL_repass;?>"
                type="password"
                value=""
                size="10" maxlength="10"
                />

                        </div>
                        <div>
		<input name="actuaDatos" type="hidden"
                value="<?php echo $dato_user[user_id];?>"
                />

		<input type="button"  
				name="cancelar" 
				id="boton_cancelar" 
				type="button" 
				class="submit ui-corner-all"  
				onClick="location.href='admin.php?user_id=list'" 
				value="<?php echo ucfirst(LABEL_Cancelar);?>"
				/>		
				
                <input name="boton"
                type="submit"
                class="submit ui-corner-all"  
                value="<?php echo $nombre_boton;?>"
                />		
                
                </div>
				</fieldset>
                  </form>
</div>
<script type="text/javascript">
	$(document).ready(function() {
	var validator = $("#form-users").validate({
		rules: {'<?php echo FORM_LABEL_nombre;?>':  {required: true},
		'<?php echo FORM_LABEL_apellido;?>':  {required: true},
		'<?php echo FORM_LABEL_mail;?>':  { required:true, email: true},
		'<?php echo FORM_LABEL_repass;?>': {equalTo: "#<?php echo FORM_LABEL_pass;?>",minlength: 4}
				},
				debug: true,
				errorElement: "label",
				 submitHandler: function(form) {
				   form.submit();
				 }
				
	});	
});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit