E:
/
home
/
kbcomunicacao1
/
Web
/
sistema
/
Upload File
HOME
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!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"><!-- InstanceBegin template="/Templates/administrativo.dwt.asp" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>KB COMUNICAÇÃO - SISTEMA ADMINISTRATIVO</title> <!-- InstanceEndEditable --> <link href="estilo.css" rel="stylesheet" type="text/css"> <!-- InstanceBeginEditable name="head" --> <!-- InstanceEndEditable --> </head> <!-- #include file ="conexao.asp" --> <% acao = request("acao") if acao = "sair" then For Each objCookie In Request.Cookies Response.Cookies(objCookie) = "" Next response.Redirect "login.asp" end if logado = request.cookies("logado") if logado <> "logado" then response.redirect "login.asp" else end if menu = request("menu") Session.lcid = 1046 %> <body> <link rel="stylesheet" type="text/css" href="js/jquery.qtip.min.css" /> <!--JavaScript - Might want to move these to the footer of the page to prevent blocking--> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.qtip.min.js"></script> <table width="100%" class="fundopontos" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="999" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="23%" align="center"><a href="index.asp"><img src="layout/logo.jpg" width="125" height="114" border="0" /></a></td> <td width="77%" height="129" align="right"> <!--MENU TOPO COM FILTRO --> <% if menu = "1" then esse1 = "src=""layout/menu_inicio_p.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_inicio_p.jpg'"" onMouseOut=""this.src='layout/menu_inicio_p.jpg'""" esse2 = "src=""layout/menu_noticia_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_noticia_p.jpg'"" onMouseOut=""this.src='layout/menu_noticia_c.jpg'""" esse3 = "src=""layout/menu_categoria_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_categoria_p.jpg'"" onMouseOut=""this.src='layout/menu_categoria_c.jpg'""" esse4 = "src=""layout/menu_imprensa_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_imprensa_p.jpg'"" onMouseOut=""this.src='layout/menu_imprensa_c.jpg'""" esse5 = "src=""layout/menu_usuarios_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_usuarios_p.jpg'"" onMouseOut=""this.src='layout/menu_usuarios_c.jpg'""" else if menu = "2" then esse1 = "src=""layout/menu_inicio_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_inicio_p.jpg'"" onMouseOut=""this.src='layout/menu_inicio_c.jpg'""" esse2 = "src=""layout/menu_noticia_p.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_noticia_p.jpg'"" onMouseOut=""this.src='layout/menu_noticia_p.jpg'""" esse3 = "src=""layout/menu_categoria_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_categoria_p.jpg'"" onMouseOut=""this.src='layout/menu_categoria_c.jpg'""" esse4 = "src=""layout/menu_imprensa_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_imprensa_p.jpg'"" onMouseOut=""this.src='layout/menu_imprensa_c.jpg'""" esse5 = "src=""layout/menu_usuarios_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_usuarios_p.jpg'"" onMouseOut=""this.src='layout/menu_usuarios_c.jpg'""" else if menu = "3" then esse1 = "src=""layout/menu_inicio_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_inicio_p.jpg'"" onMouseOut=""this.src='layout/menu_inicio_c.jpg'""" esse2 = "src=""layout/menu_noticia_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_noticia_p.jpg'"" onMouseOut=""this.src='layout/menu_noticia_c.jpg'""" esse3 = "src=""layout/menu_categoria_p.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_categoria_p.jpg'"" onMouseOut=""this.src='layout/menu_categoria_p.jpg'""" esse4 = "src=""layout/menu_imprensa_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_imprensa_p.jpg'"" onMouseOut=""this.src='layout/menu_imprensa_c.jpg'""" esse5 = "src=""layout/menu_usuarios_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_usuarios_p.jpg'"" onMouseOut=""this.src='layout/menu_usuarios_c.jpg'""" else if menu = "4" then esse1 = "src=""layout/menu_inicio_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_inicio_p.jpg'"" onMouseOut=""this.src='layout/menu_inicio_c.jpg'""" esse2 = "src=""layout/menu_noticia_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_noticia_p.jpg'"" onMouseOut=""this.src='layout/menu_noticia_c.jpg'""" esse3 = "src=""layout/menu_categoria_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_categoria_p.jpg'"" onMouseOut=""this.src='layout/menu_categoria_c.jpg'""" esse4 = "src=""layout/menu_imprensa_p.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_imprensa_p.jpg'"" onMouseOut=""this.src='layout/menu_imprensa_p.jpg'""" esse5 = "src=""layout/menu_usuarios_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_usuarios_p.jpg'"" onMouseOut=""this.src='layout/menu_usuarios_c.jpg'""" else if menu = "5" then esse1 = "src=""layout/menu_inicio_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_inicio_p.jpg'"" onMouseOut=""this.src='layout/menu_inicio_c.jpg'""" esse2 = "src=""layout/menu_noticia_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_noticia_p.jpg'"" onMouseOut=""this.src='layout/menu_noticia_c.jpg'""" esse3 = "src=""layout/menu_categoria_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_categoria_p.jpg'"" onMouseOut=""this.src='layout/menu_categoria_c.jpg'""" esse4 = "src=""layout/menu_imprensa_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_imprensa_p.jpg'"" onMouseOut=""this.src='layout/menu_imprensa_c.jpg'""" esse5 = "src=""layout/menu_usuarios_p.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_usuarios_p.jpg'"" onMouseOut=""this.src='layout/menu_usuarios_p.jpg'""" else esse1 = "src=""layout/menu_inicio_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_inicio_p.jpg'"" onMouseOut=""this.src='layout/menu_inicio_c.jpg'""" esse2 = "src=""layout/menu_noticia_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_noticia_p.jpg'"" onMouseOut=""this.src='layout/menu_noticia_c.jpg'""" esse3 = "src=""layout/menu_categoria_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_categoria_p.jpg'"" onMouseOut=""this.src='layout/menu_categoria_c.jpg'""" esse4 = "src=""layout/menu_imprensa_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_imprensa_p.jpg'"" onMouseOut=""this.src='layout/menu_imprensa_c.jpg'""" esse5 = "src=""layout/menu_usuarios_c.jpg"" border=""0"" onMouseOver=""this.src='layout/menu_usuarios_p.jpg'"" onMouseOut=""this.src='layout/menu_usuarios_c.jpg'""" end if end if end if end if end if %> <a href="inicial.asp?menu=1"><img <%=esse1%>/></a> <a href="noticias.asp?menu=2"><img <%=esse2%>/></a> <a href="clientes.asp?menu=3"> <img <%=esse3%>/></a> <a href="imprensa.asp?menu=4"> <img <%=esse4%>/></a> <a href="usuarios.asp?menu=5"><img <%=esse5%>/></a> <!--FINAL MENU TOPO COM FILTRO --> </td> </tr> </table> </td> </tr> <tr> <td height="50" ><!-- InstanceBeginEditable name="EditRegion1" --> <script type="text/javascript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> <table width="998" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="127" height="33" background="layout/fundo_botao_topo.png" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="imprensa.asp?menu=4" style="color:#FFF;">Cliente</a></td> </tr> </table></td> <td><table width="127" height="33" background="layout/fundo_botao_topo.png" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="artigos.asp?menu=4" style="color:#FFF;">Releases</a></td> </tr> </table></td> <td align="left"><table width="127" height="33" background="layout/fundo_botao_topo.png" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="imagens.asp?menu=4" style="color:#FFF;">Imagens</a></td> </tr> </table></td> <td align="left"><table width="127" height="33" background="layout/fundo_botao_topo.png" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="namidia.asp?menu=4" style="color:#FFF;">Na Mídia</a></td> </tr> </table></td> <td align="right"> </td> <td width="337" align="right"> <table width="127" height="33" background="layout/fundo_botao_topo.png" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="?acao=sair" style="color:#FFF;">Sair do sistema</a></td> </tr> </table> </td> </tr> </table> <!-- InstanceEndEditable --></td> </tr> <tr> <td> </td> </tr> <tr> <td><!-- InstanceBeginEditable name="EditRegion2" --> <% idc = request.cookies("idcliente") set recCliente = server.CreateObject( "ADODB.recordset") SQL = "SELECT nome FROM cliente WHERE id="&idc recCliente.open SQL, conbanco nomedocliente = recCliente("nome") recCliente.close set recCliente = nothing %> <table width="100%" style="border:1px solid #cacaca; background-color:#FFF;" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5%" height="41" background="layout/fundo_topo_menu.jpg"><img src="layout/foto.png" alt="NOTICIAS" width="37" height="34" hspace="5" /></td> <td width="69%" background="layout/fundo_topo_menu.jpg" class="fontBranca"><strong>Galerias - CLIENTE: <%=nomedocliente%></strong></td> <td width="13%" background="layout/fundo_topo_menu.jpg" class="fontBranca"><table style="font-family:Verdana, Geneva, sans-serif; font-size:11px;" background="layout/menu_menu.png" width="126" height="33" border="0" cellspacing="3" cellpadding="3"> <tr> <td align="center"><a href="imagens.asp" style="color:#FFF;">Início</a></td> </tr> </table></td> <td width="13%" background="layout/fundo_topo_menu.jpg" class="fontBranca"><table style="font-family:Verdana, Geneva, sans-serif; font-size:11px;" background="layout/menu_menu.png" width="126" height="33" border="0" cellspacing="3" cellpadding="3"> <tr> <td align="center"><a style="color:#FFF;" onclick="MM_openBrWindow('criarGaleria.asp','','scrollbars=yes,width=410,height=120')">Inserir Galeria</a></td> </tr> </table></td> </tr> <tr> <td colspan="4"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <script type="text/javascript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> <% set recFoto = server.CreateObject( "ADODB.recordset") SQL = "SELECT id, thumb, titulo FROM galeria WHERE cliente="&idc recFoto.open SQL, conbanco do while not recFoto.eof %> <div id="fotos"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="133" align="center"><img src="http://www.kbcomunicacao.com/fotos/galeria/<%=recFoto("thumb")%>" hspace="0" vspace="0" border="0" /></td> </tr> <tr> <td align="center" valign="middle"><%=recFoto("titulo")%></td> </tr> <tr> <td align="center" valign="bottom"><a href="#" class="tituloMedio1" onclick="MM_openBrWindow('editaGaleria.asp?id=<%=recFoto("id")%>','','scrollbars=yes,width=410,height=120')"><img src="layout/editar.png" width="18" height="18" hspace="6" border="0" /></a> <a href="fotos.asp?id=<%=id%>&foto=<%=recFoto("id")%>"><img src="layout/ver_foto.png" width="30" height="18" hspace="6" border="0" /></a> <a href="#" class="tituloMedio1" onclick="MM_openBrWindow('deletarGaleria.asp?id=<%=recFoto("id")%>','','scrollbars=yes,width=410,height=160')"><img src="layout/deletar.png" width="14" height="16" hspace="6" border="0" /></a></td> </tr> </table> </div> <% recFoto.movenext loop recFoto.close set recFoto = nothing %> </td> </tr> </table> </td> </tr> </table> <!-- InstanceEndEditable --></td> </tr> <tr> <td> </td> </tr> </table> </td> </tr> </table> <script type="text/javascript" class="example"> $(document).ready(function() { // Match all <A/> links with a title tag and use it as the content (default). $('a[title]').qtip(); }); </script> </body> <!-- InstanceEnd --></html>