home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / ins.cab / edit.asp < prev    next >
Text File  |  1997-10-12  |  4KB  |  99 lines

  1. <%
  2. REM localization
  3.  
  4. L_PAGETITLE_HTMLTitle            = "Edit News Offline Search"
  5. L_NEWOFFLINEPAGE_StaticText        = "News Offline Search Add Page"
  6. L_QUERYSTRING_EditBox        = "Query String:"
  7. L_EMAILADDRESS_EditBox        = "Email Address:"
  8. L_SEARCHFREQ_EditBox= "Search Frequency ( Day ):"
  9. L_DATETOSEARCHFROM_EditBox    = "Date to Search From:"
  10. L_MESSAGEFORMAT_EditBox        = "Message Format:"
  11. L_URLFORMAT_EditBox            = "URL Format:"
  12. L_SELECTOPERATION_StaticText    = "Select Operation:"
  13. L_EDIT_RadioButton                = "Edit"
  14. L_DELETE_RadioButton                = "Delete"
  15. L_NEWSGROUP_EditBox            = "News Group:"
  16. L_REPLYMAIL_RadioButton            = "Reply by Email"
  17. L_REPLYNEWS_RadioButton            = "Reply by News"
  18.  
  19.  
  20. REM end localization
  21. %>
  22.  
  23. <HTML>
  24. <HEAD>
  25. <META NAME="GENERATOR" Content="Microsoft Developer Studio">
  26. <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
  27. <TITLE><%= L_PAGETITLE_HTMLTitle %></TITLE>
  28. </HEAD>
  29. <BODY background="images\gnback.gif" text="white" >
  30. <%set ad = Server.CreateObject("req.req.1")
  31.   set session("guid")=Request.ServerVariables("QUERY_STRING")
  32.   set guid = session("guid")
  33.   set x = ad.ItemX(guid)
  34.  %>
  35. <p align="center"><font size="3"><strong><%= L_QUERYSTRING_EditBox %>
  36.    <a href="ixqlang.htm">( Query Language )</a></strong></font>
  37. </p>
  38.  
  39.  
  40. <form method="POST" action="editres.asp">
  41.  
  42.     <p align="center"><input type="text" maxlength="1000" size="50" name="query_string"
  43.     value = "<%=x.QueryString%>"></p>
  44.  
  45.     <p align="center"><strong><%= L_EMAILADDRESS_EditBox %></strong></p>
  46.  
  47.     <p align="center"><input type="text" maxlength="1000" size="50" name="email_address"
  48.     value="<%=x.EmailAddress%>"></p>
  49.  
  50.     <p align="center"><strong><%= L_NEWSGROUP_EditBox %></strong></p>
  51.  
  52.     <p align="center"><input type="text" size="50" name="news_group"
  53.     maxlength="1000" value="<%= x.NewsGroup%>"></p>
  54.  
  55.     <p align="center"><strong><%= L_DATETOSEARCHFROM_EditBox %></strong></p>
  56.  
  57.     <p align="center"><input type="text" size="50" maxlength="1000" name="last_date"
  58.     value="<%=x.LastDate%>"></p>
  59.  
  60.     <p align="center"><strong><%= L_SEARCHFREQ_EditBox %></strong></p>
  61.  
  62.     <p align="center"><input type="text" maxlength="1000" size="50" name="search_frequency"
  63.     value="<%=x.SearchFrequency%>"></p>
  64.  
  65.     <p align="center"><strong><%= L_MESSAGEFORMAT_EditBox %></strong></p>
  66.  
  67.     <p align="center"><TEXTAREA name="message_template" COLS="50" ROWS="5"
  68.     maxlength="1000"><%=x.Message_Template%></textarea></p>
  69.  
  70.     <p align="center"><strong><%= L_URLFORMAT_EditBox %></strong></p>
  71.  
  72.     <p align="center"><TEXTAREA name="url_template" COLS="50" ROWS="5"
  73.     maxlength="1000"><%=x.URL_Template%></textarea></p><br>
  74.  
  75.     <%if x.ReplyMode = "mail" or x.ReplyMode = "both" then%>
  76.         <p align="center"><input name="by_mail" type=checkbox checked><strong><%= L_REPLYMAIL_EditBox%></strong></p>
  77.     <%else%>
  78.         <p align="center"><input name="by_mail" type=checkbox><strong><%= L_REPLYMAIL_EditBox%></strong></p>
  79.     <%end if%>
  80.  
  81.     <%if x.ReplyMode = "news" or x.ReplyMode = "both" then%>
  82.         <p align="center"><input name="by_news" type=checkbox checked><strong><%= L_REPLYNEWS_EditBox%></strong></p>
  83.     <%else%>
  84.         <p align="center"><input name="by_news" type=checkbox><strong><%= L_REPLYNEWS_EditBox%></strong></p>
  85.     <%end if%>
  86.     <br>
  87.  
  88.     <p align="center"><strong><%= L_SELECTOPERATION_StaticText %></strong></p>
  89.  
  90.     <p align="center"><input type=RADIO name="editdelete" value="edit" checked><%= L_EDIT_RadioButton %>
  91.     <input type=RADIO name="editdelete" value="delete"><%= L_DELETE_RadioButton %></p>
  92.  
  93.     <br>
  94.     <p align="center"><input type="submit" name="B1"
  95.     value="Submit"><input type="reset" name="B2" value="Reset"></p>
  96. </form>
  97. </body>
  98. </html>
  99.