include('sistema/php/includes/conectar.php');
include('sistema/php/includes/funciones.php');
if ($cmdEntrar){
$strSql = "select * from personas_registradas where mail = '$txtUsuario' AND clave = '$txtClave'";
//echo $strSql;
$objRs = $cn->Execute($strSql);
if (!$objRs->EOF){
if ($objRs->fields['habilitado'] != '')
$_SESSION[sess_logueado] = "true";
else
alert("Ud. todavía no fue habilitado.");
}
else
alert("Nombre de usuario o contraseña incorrecta.");
}
?>
Montequín Abogados
Boletines
if ($_SESSION[sess_logueado] != "true"){
?>
}
else { ?>
Para visualizar los Boletines Informativos
include('sistema/php/includes/conectar_mysql.php');
$strSql = "SELECT * FROM boletines WHERE publicar_en_web = 1 AND id_cliente = 8 order by id desc";
$objRs = $cn->Execute($strSql);
while (!$objRs->EOF){
$intIdBoletin = $objRs->fields['id'];
$strTitulo = $objRs->fields['titulo_membrete']." - ".$objRs->fields['fecha_descriptiva']; ?>