delete.cfm -- confirm the user wants to delete an article
 Copyright (c) 2005 Ephox Corporation. All rights reserved.
 See license.txt for license agreement
<!--- throw an error if article_id was not specified --->
<cfparam name="article_id">
<!--- Retrieve the specified article details from the database --->
<CFQUERY DATASOURCE="ELContent" NAME="article_content">
FROM articles
WHERE article_id=<cfqueryparam value="#article_id#" cfsqltype="cf_sql_integer">
<TITLE>Delete Article ID #article_content.article_id#?</TITLE>
<LINK rel="stylesheet" href="sample.css">
<H1>Delete a Document</H1>
<P>Are you sure you wish to delete this article?</P>
 This table contains the article ID and article title for deletion confirmation.
  <!--- Article ID --->
    <TD>Article ID:</TD>
  <!--- Article title --->
<!--- Form for deleting the article --->
<FORM action="xt_delete.cfm" method="POST">
  <INPUT type="hidden" name="article_id" value="#article_content.article_id#">
  <P><INPUT type="submit" value="Delete"> <INPUT type="button" value="Cancel" onclick="javascript:history.back();"></P>