
<?
/*
$link=mysqli_connect("localhost","icasar5_icas","2009icas00arg");
mysql_select_db("icasar5_sisbkp");*/
//****************** AGREGADO BACKUP*********************//
//Busco Estado del Sito de Backup
//OLD CODE
/*
$resultBKP = mysql_query("SELECT * FROM backup_status");
if($rowBKP = mysql_fetch_array($resultBKP))
{
$backup_estado = $rowBKP["estado"];
$backup_fecha_backup = $rowBKP["fecha_backup"];
$backup_fecha_restore = $rowBKP["fecha_restore"];
}
*/
//mysql_free_result($resultBKP);

//NEW Code
/*$resultBKP = $link->query("SELECT * FROM backup_status");
$rowBKP = $resultBKP->fetch_array();

$backup_estado = $rowBKP["estado"];
$backup_fecha_backup = $rowBKP["fecha_backup"];
$backup_fecha_restore = $rowBKP["fecha_restore"];*/

//************* FIN AGREGADO BACKUP*********************//
?>
<? if ($_SERVER['SERVER_NAME'] != $this->config->item('backup_servidor_produccion') and $this->config->item('backup_estado') == "backup") {?>
<p class="navbar-text alert-danger">Solo Consultas - <span class="small"> Backup: <?=$this->config->item('backup_fecha_backup')?> Restore en este sitio: <?=$this->config->item('backup_fecha_restore')?></span></p>
<?}?>
