<?php include_once "../class/config.php"; include_once "../class/anuncioslogin.php"; $anuncioslogin = new anuncioslogin(); $config = new configuracion(); $cnf = array_shift($config->mostrarConfig("Titulo")); $title = $cnf["Valor"]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>.::Acceso al Sistema | <?php echo $title; ?> ::.</title> <link href="../css/960/960.css" type="text/css" rel="stylesheet" media="all" /> <link href="../css/core.css" type="text/css" rel="stylesheet" media="all" /> <link href="css/estilo2.css" type="text/css" rel="stylesheet" media="all" /> <link rel="shortcut icon" href="../images/logos/csb.ico" /> <script type="text/javascript" language="javascript" src="../js/jquery.js"></script> <script type="text/javascript" language="javascript" src="js/login.js"></script> </head> <body> <div class="container_12"> <div class="grid_8"> asd </div> <div class="grid_4"> asd
<?php include_once "../../login/check.php"; include_once "../../class/anuncioslogin.php"; $anuncioslogin = new anuncioslogin(); $men = $anuncioslogin->mostrarAnuncios(); if (count($men)) { ?> <a href="#" class="btn btn-mini btn-success" id="exportarexcel"><?php echo $idioma['ExportarExcel']; ?> </a> <table class="table table-bordered table-striped table-hover table-condensed"> <thead><tr><th>N</th><th><?php echo $idioma['Mensaje']; ?> </th><th><?php echo $idioma['Resaltar']; ?> </th><th></th></tr></thead> <?php foreach ($men as $m) { $i++; ?> <tr> <td class="der"><?php echo $i; ?> </td> <td><?php echo $m['Mensaje'];
<?php include_once "../../login/check.php"; if (!empty($_POST['CodAnunciosLogin'])) { $CodAnunciosLogin = $_POST['CodAnunciosLogin']; include_once "../../class/anuncioslogin.php"; include_once "../../class/cursoarea.php"; $anuncioslogin = new anuncioslogin(); $men = $anuncioslogin->mostrarAnuncio($CodAnunciosLogin); $men = array_shift($men); //$curarea=array_shift($curarea); ?> <h2><?php echo $idioma['Modificar']; ?> </h2> <form action="actualizar.php" method="post" class="formulario"> <input type="hidden" name="CodAnunciosLogin" value="<?php echo $CodAnunciosLogin; ?> "> <table class="table table-bordered table-striped"> <tr> <td><?php echo $idioma['Mensaje']; ?> <br> <textarea value="" name="Mensaje" class="span12" placeholder="" rows="5"><?php echo $men['Mensaje']; ?> </textarea></td>
<?php include_once "../../login/check.php"; if (!empty($_POST)) { extract($_POST); include_once "../../class/anuncioslogin.php"; $anuncioslogin = new anuncioslogin(); $valores = array("Mensaje" => "'{$Mensaje}'", "Resaltar" => "'{$Resaltar}'"); if ($anuncioslogin->insertarRegistro($valores)) { ?> <div class="alert alert-success"><?php echo $idioma['DatosGuardadosCorrectamente']; ?> </div> <?php } else { ?> <div class="alert alert-error"><?php echo $idioma['DatosGuardadosError']; ?> </div> <?php } } ?> <script language="javascript">mostrar();</script>
<?php include_once "../../login/check.php"; if (!empty($_POST)) { extract($_POST); include_once "../../class/anuncioslogin.php"; $anuncioslogin = new anuncioslogin(); $valores = array("Mensaje" => "'{$Mensaje}'", "Resaltar" => "'{$Resaltar}'"); if ($anuncioslogin->actualizarRegistro($valores, "CodAnunciosLogin={$CodAnunciosLogin}")) { ?> <div class="alert alert-success"><?php echo $idioma['DatosGuardadosCorrectamente']; ?> </div> <?php } else { ?> <div class="alert alert-error"><?php echo $idioma['DatosGuardadosError']; ?> </div> <?php } } ?> <script language="javascript">mostrar();</script>
<?php include_once "../../login/check.php"; if (!empty($_POST['CodAnunciosLogin'])) { include_once "../../class/anuncioslogin.php"; $anuncioslogin = new anuncioslogin(); $CodAnunciosLogin = $_POST['CodAnunciosLogin']; $anuncioslogin->eliminarRegistro("CodAnunciosLogin={$CodAnunciosLogin}"); }