D
Debra @ Alleluia!
I recently took over the IT position at a church, and one of the big things
they need done is to keep the Web page updated. I am only vaguely familiar
with web design and FrontPage. The main page contains a section with
announcements, and I can see the page that refers to the announcement detail,
but I can't find where the detail is kept.
To see the site, go to www.alleluialutheran.org. The area is on the default
page on the right column.
From this, can anyone help my find the details the ID #'s are referencing?
Here is the code for the announcements section of this page (or the page
that comes up if you follow the "click here for more announcements" link):
<!--#include virtual="/includes/conn.asp"-->
<!--#include virtual="/includes/MPconn.asp"-->
<%
ID = request.querystring("ID")
%>
<!--#include virtual="/includes/header.asp"-->
<!-- updated 6/8/04-->
<!-- Main Section: News, SubSection: Article detail -->
<table cellpadding=15 cellspacing=0 border=0 width="100%" height="100%">
<tr>
<td width="100%" valign=top class="TextCopy"
background="/images/box_bg_full.gif">
<!-- start main content -->
<span class="header">Announcements...</span>
<p>
<%
linebreak = chr(10)
set rs = MPconn.execute("select ID, Headline, Date, Article from Headlines
(nolock) where ID = " & ID)
if not rs. eof then
%>
<b><%=rs("Headline")%></b><p>
<%
set MyFileObject = Server.CreateObject("Scripting.FileSystemObject")
if MyFileObject.FileExists
("d:\inetpub\public\alleluialutheran\news\photos\" & ID & ".jpg") then
%>
<img src="/news/photos/<%=ID%>.jpg" align=right>
<%
end if
%>
<%
article = rs("article")
if instr(article, linebreak) then
article = replace(article, linebreak, "<br>")
end if
response.write article
%>
<%
end if
%>
<!-- end main page content -->
</td>
</tr>
</table>
<!--#include virtual="/includes/footer.asp"-->
Thank you,
Mike
they need done is to keep the Web page updated. I am only vaguely familiar
with web design and FrontPage. The main page contains a section with
announcements, and I can see the page that refers to the announcement detail,
but I can't find where the detail is kept.
To see the site, go to www.alleluialutheran.org. The area is on the default
page on the right column.
From this, can anyone help my find the details the ID #'s are referencing?
Here is the code for the announcements section of this page (or the page
that comes up if you follow the "click here for more announcements" link):
<!--#include virtual="/includes/conn.asp"-->
<!--#include virtual="/includes/MPconn.asp"-->
<%
ID = request.querystring("ID")
%>
<!--#include virtual="/includes/header.asp"-->
<!-- updated 6/8/04-->
<!-- Main Section: News, SubSection: Article detail -->
<table cellpadding=15 cellspacing=0 border=0 width="100%" height="100%">
<tr>
<td width="100%" valign=top class="TextCopy"
background="/images/box_bg_full.gif">
<!-- start main content -->
<span class="header">Announcements...</span>
<p>
<%
linebreak = chr(10)
set rs = MPconn.execute("select ID, Headline, Date, Article from Headlines
(nolock) where ID = " & ID)
if not rs. eof then
%>
<b><%=rs("Headline")%></b><p>
<%
set MyFileObject = Server.CreateObject("Scripting.FileSystemObject")
if MyFileObject.FileExists
("d:\inetpub\public\alleluialutheran\news\photos\" & ID & ".jpg") then
%>
<img src="/news/photos/<%=ID%>.jpg" align=right>
<%
end if
%>
<%
article = rs("article")
if instr(article, linebreak) then
article = replace(article, linebreak, "<br>")
end if
response.write article
%>
<%
end if
%>
<!-- end main page content -->
</td>
</tr>
</table>
<!--#include virtual="/includes/footer.asp"-->
Thank you,
Mike