1
0
forked from qwerty/milfs

mejoras en login

This commit is contained in:
root 2018-10-08 12:38:35 -05:00
parent 82ece82204
commit c98234425a
2 changed files with 22 additions and 17 deletions

View File

@ -8937,7 +8937,14 @@ if($tipo =="") {
return $formulario;
}else {
/* if($_SERVER['HTTP_HOST'] !="tupale.co" ) {
/*
*
* //// social login
* <!-- <a class=' list-group-item btn btn-default ' href='./sociallogin.php?provider=twitter'><i class='fa fa-twitter'></i> Twitter</a>
<a class=' list-group-item btn btn-default ' href='./sociallogin.php?provider=facebook'><i class='fa fa-facebook'></i> Facebook</a> -->
*
* ////////
* if($_SERVER['HTTP_HOST'] !="tupale.co" ) {
$social_login="";
$cols="12";
}
@ -8948,10 +8955,9 @@ if($tipo =="") {
<div class='col-md-12'>
<div class='list-group'>
<a class=' list-group-item btn btn-default ' href='./milfs'>MILFS</a>
<a class=' list-group-item btn btn-default ' href='#' onclick=\"javascript: document.getElementById('div_formulario_session').className= 'visible col-md-12'; \">TUPALE.CO</a>
<a class=' list-group-item btn btn-default ' href='./sociallogin.php?provider=twitter'><i class='fa fa-twitter'></i> Twitter</a>
<!-- <a class=' list-group-item btn btn-default ' href='./sociallogin.php?provider=facebook'><i class='fa fa-facebook'></i> Facebook</a> -->
<a class=' list-group-item btn btn-default ' href='./milfs'>Administrador</a>
<a class=' list-group-item btn btn-default ' href='#' onclick=\"javascript: document.getElementById('div_formulario_session').className= 'visible col-md-12'; \">Usuario</a>
</div>
</div>
@ -9344,6 +9350,7 @@ elseif ($tipo=='boton'){
";
}else{
$div ="formulario_login";
$formulario ="
<div id='formulario_login' class='' >
<div class=' btn btn-success btn-block' onclick=\"xajax_milfs_session('$login_formulario','$login_campo_usuario','$login_campo_password','','','$div');\">Ingresa</div>

View File

@ -221,6 +221,9 @@ else{}
<div id='debug'></div>
<div class='container' id='contenedor_principal'>
<div id='contenido'>
<div class='row'>
<div id='' class='col-sm-6'>
@ -232,24 +235,19 @@ else{}
$pie = empresa_datos("$id_empresa_portada",'pie');
echo "$encabezado";
//if(isset($_SESSION['id_empresa'])) {$id_empresa_portada='1'; echo panel_aplicaciones('1',"");}
?>
<?php if(isset($_REQUEST['change'])){
echo " </div>
<div id='div_login' class='col-sm-6'>";
if(isset($_REQUEST['change'])){
echo cambiar_password_formato("$_REQUEST[change]");
}
revisar_ingreso('');
?>
<?php echo $pie; ?>
echo "</div>";
echo $pie; ?>
<img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
</div>
<?php
</div>
?>
<!-- Modal -->