m_credencial

window.location=’http://sekura.com.mx/credenciales/';”;

include_once(ABSPATH.”/conectar_bd.php”);

$conexion=conectar_bd();
$id = $_SESSION[‘id’];

$sql = “select login, ruta from usuario
where login = ‘$id'”;
$result = mysql_query($sql, $conexion);

if ($fila = mysql_fetch_array($result)){
$nom = $fila[‘ruta’];
$ruta = substr($nom, 1);
//$ruta = ABSPATH . $ruta1;
}
mysql_close($conexion);

?>

“>