Sitio Oficial Municipalidad Ituzaingó
<%
var Noticias = Server.CreateObject("ADODB.Recordset");
var SQL = "select * from (SELECT * FROM VW_NOTICIAS_WEB WHERE NOTICIA_HABILITADO <> 0 AND SECHOME_TITULO = 'NoticiasDerecha' AND DESTACADA = 1 ORDER BY IDNOTICIA DESC) where ROWNUM <= 14";
Noticias.Open (SQL, dbConn, 3);
//Response.Write(SQL);
//Response.End();
//var Banners = Server.CreateObject("ADODB.Recordset");
//var SQL2 = "SELECT * FROM VW_NOTICIAS_WEB WHERE NOTICIA_HABILITADO <> 0 AND SECHOME_TITULO = 'Banners' AND DESTACADA = 1";
//Banners.Open (SQL, dbConn, 3);
var NoticiaCentro = Server.CreateObject("ADODB.Recordset");
var SQL2 = "select * from (SELECT * FROM VW_NOTICIAS_WEB WHERE NOTICIA_HABILITADO <> 0 AND SECHOME_TITULO = 'CentroMain' AND DESTACADA = 1 ORDER BY IDNOTICIA DESC) where ROWNUM <= 4";
NoticiaCentro.Open (SQL2, dbConn, 3);
//Response.Write(SQL2);
//Response.End();
var Videos = Server.CreateObject("ADODB.Recordset");
var SQLV = "select * from (SELECT * FROM VW_NOTICIAS_WEB_VIDEOS WHERE NOTICIA_HABILITADO <> 0 AND SECHOME_TITULO = 'Videos' AND DESTACADA = 1 ORDER BY FECHAALTA DESC) where ROWNUM <= 2";
Videos.Open (SQLV, dbConn, 3);
//Response.Write(SQLV);
//Response.End();
var htmlBanners = "";
//if (typeof(idnoticia) != 'undefined'){
var idnews = 66;
var Path = Server.MapPath("/NoticiasHTML");
var Archivo = idnews;
var FullPath = Path + "\\" + Archivo;
var FiOb = Server.CreateObject("Scripting.FileSystemObject");
var sFile = FiOb.OpenTextFile(FullPath);
htmlBanners = sFile.ReadAll();
sFile.Close();
sFile=null;
FiOb=null;
// }
var htmlBannersCentro = "";
//if (typeof(idnoticia) != 'undefined'){
var idnews = 164;
var Path = Server.MapPath("/NoticiasHTML");
var Archivo = idnews;
var FullPath = Path + "\\" + Archivo;
var FiOb = Server.CreateObject("Scripting.FileSystemObject");
var sFile = FiOb.OpenTextFile(FullPath);
htmlBannersCentro = sFile.ReadAll();
sFile.Close();
sFile=null;
FiOb=null;
// }
%>