home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
ins.cab
/
edit.asp
< prev
next >
Wrap
Text File
|
1997-10-12
|
4KB
|
99 lines
<%
REM localization
L_PAGETITLE_HTMLTitle = "Edit News Offline Search"
L_NEWOFFLINEPAGE_StaticText = "News Offline Search Add Page"
L_QUERYSTRING_EditBox = "Query String:"
L_EMAILADDRESS_EditBox = "Email Address:"
L_SEARCHFREQ_EditBox= "Search Frequency ( Day ):"
L_DATETOSEARCHFROM_EditBox = "Date to Search From:"
L_MESSAGEFORMAT_EditBox = "Message Format:"
L_URLFORMAT_EditBox = "URL Format:"
L_SELECTOPERATION_StaticText = "Select Operation:"
L_EDIT_RadioButton = "Edit"
L_DELETE_RadioButton = "Delete"
L_NEWSGROUP_EditBox = "News Group:"
L_REPLYMAIL_RadioButton = "Reply by Email"
L_REPLYNEWS_RadioButton = "Reply by News"
REM end localization
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Developer Studio">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE><%= L_PAGETITLE_HTMLTitle %></TITLE>
</HEAD>
<BODY background="images\gnback.gif" text="white" >
<%set ad = Server.CreateObject("req.req.1")
set session("guid")=Request.ServerVariables("QUERY_STRING")
set guid = session("guid")
set x = ad.ItemX(guid)
%>
<p align="center"><font size="3"><strong><%= L_QUERYSTRING_EditBox %>
<a href="ixqlang.htm">( Query Language )</a></strong></font>
</p>
<form method="POST" action="editres.asp">
<p align="center"><input type="text" maxlength="1000" size="50" name="query_string"
value = "<%=x.QueryString%>"></p>
<p align="center"><strong><%= L_EMAILADDRESS_EditBox %></strong></p>
<p align="center"><input type="text" maxlength="1000" size="50" name="email_address"
value="<%=x.EmailAddress%>"></p>
<p align="center"><strong><%= L_NEWSGROUP_EditBox %></strong></p>
<p align="center"><input type="text" size="50" name="news_group"
maxlength="1000" value="<%= x.NewsGroup%>"></p>
<p align="center"><strong><%= L_DATETOSEARCHFROM_EditBox %></strong></p>
<p align="center"><input type="text" size="50" maxlength="1000" name="last_date"
value="<%=x.LastDate%>"></p>
<p align="center"><strong><%= L_SEARCHFREQ_EditBox %></strong></p>
<p align="center"><input type="text" maxlength="1000" size="50" name="search_frequency"
value="<%=x.SearchFrequency%>"></p>
<p align="center"><strong><%= L_MESSAGEFORMAT_EditBox %></strong></p>
<p align="center"><TEXTAREA name="message_template" COLS="50" ROWS="5"
maxlength="1000"><%=x.Message_Template%></textarea></p>
<p align="center"><strong><%= L_URLFORMAT_EditBox %></strong></p>
<p align="center"><TEXTAREA name="url_template" COLS="50" ROWS="5"
maxlength="1000"><%=x.URL_Template%></textarea></p><br>
<%if x.ReplyMode = "mail" or x.ReplyMode = "both" then%>
<p align="center"><input name="by_mail" type=checkbox checked><strong><%= L_REPLYMAIL_EditBox%></strong></p>
<%else%>
<p align="center"><input name="by_mail" type=checkbox><strong><%= L_REPLYMAIL_EditBox%></strong></p>
<%end if%>
<%if x.ReplyMode = "news" or x.ReplyMode = "both" then%>
<p align="center"><input name="by_news" type=checkbox checked><strong><%= L_REPLYNEWS_EditBox%></strong></p>
<%else%>
<p align="center"><input name="by_news" type=checkbox><strong><%= L_REPLYNEWS_EditBox%></strong></p>
<%end if%>
<br>
<p align="center"><strong><%= L_SELECTOPERATION_StaticText %></strong></p>
<p align="center"><input type=RADIO name="editdelete" value="edit" checked><%= L_EDIT_RadioButton %>
<input type=RADIO name="editdelete" value="delete"><%= L_DELETE_RadioButton %></p>
<br>
<p align="center"><input type="submit" name="B1"
value="Submit"><input type="reset" name="B2" value="Reset"></p>
</form>
</body>
</html>