Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--#include file="js/conexao.asp"-->
- <script src="js/open.js"></script>
- <%
- ed = Cint(Request.QueryString("ed"))
- if (ed = "") or (isnull(ed)) or (ed <= 0) then
- ed = Cint(db.Execute("SELECT COUNT(edicao) FROM sergio_edicao").Fields(0).Value)
- end if
- set rs = db.execute("SELECT * FROM sergio_carta_leitor where edicao = '"&ed&"'")
- if rs.eof or rs.bof then
- response.Write "<h1>Carta ao leitor</h1>"
- response.Write "<h3>Essa página não existe.</h3>"
- else
- response.Write "<h1>Carta ao leitor</h1>"
- response.Write "<h3>"&rs("cabecario")&"</h3>"
- response.Write rs("texto")
- end if
- %>
- <script src="js/close.js"></script>
Add Comment
Please, Sign In to add comment