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; return $formulario;
}else { }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=""; $social_login="";
$cols="12"; $cols="12";
} }
@ -8948,10 +8955,9 @@ if($tipo =="") {
<div class='col-md-12'> <div class='col-md-12'>
<div class='list-group'> <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='./milfs'>Administrador</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='#' onclick=\"javascript: document.getElementById('div_formulario_session').className= 'visible col-md-12'; \">Usuario</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> -->
</div> </div>
</div> </div>
@ -9344,6 +9350,7 @@ elseif ($tipo=='boton'){
"; ";
}else{ }else{
$div ="formulario_login";
$formulario =" $formulario ="
<div id='formulario_login' class='' > <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> <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,7 +221,10 @@ else{}
<div id='debug'></div> <div id='debug'></div>
<div class='container' id='contenedor_principal'> <div class='container' id='contenedor_principal'>
<div id='contenido'> <div id='contenido'>
<div class='row'>
<div id='' class='col-sm-6'>
<?php <?php
@ -232,24 +235,19 @@ else{}
$pie = empresa_datos("$id_empresa_portada",'pie'); $pie = empresa_datos("$id_empresa_portada",'pie');
echo "$encabezado"; echo "$encabezado";
//if(isset($_SESSION['id_empresa'])) {$id_empresa_portada='1'; echo panel_aplicaciones('1',"");} //if(isset($_SESSION['id_empresa'])) {$id_empresa_portada='1'; echo panel_aplicaciones('1',"");}
echo " </div>
?> <div id='div_login' class='col-sm-6'>";
if(isset($_REQUEST['change'])){
<?php if(isset($_REQUEST['change'])){
echo cambiar_password_formato("$_REQUEST[change]"); echo cambiar_password_formato("$_REQUEST[change]");
} }
revisar_ingreso(''); revisar_ingreso('');
echo "</div>";
?> echo $pie; ?>
<?php echo $pie; ?>
<img class='img-responsive center-block' src="images/logo.png" alt="MILFS"> <img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
</div> </div>
</div>
<?php
?>
<!-- Modal --> <!-- Modal -->