<%@ page language="java" import="gfdi.server.internet.cms.*,java.text.*"%> CMS Preview template FreeContent © iCOM 2006 TEN
<% Document doc=null; SimpleDateFormat dateFormater = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat timeFormater = new SimpleDateFormat("HH:mm:ss"); doc = (new DocumentFinder()).findCurrentDocument(request,response); String title = doc.title; String link = "/jsp/displaydoc.jsp?id=" + doc.idDocument+"&origin="+doc.origin+"&language="+doc.language; String author = doc.author; String header = doc.header; String content = doc.content; String date = dateFormater.format(doc.modifiedDate); String time = timeFormater.format(doc.modifiedTime); // format !=html et new window if((doc.format!=0)&&(doc.layout!=0)){ response.sendRedirect(Url.getAbsolute(request,doc.contentURL)); return; } out.println(""); }else { out.println(content + ""); } %>

" + date + "," + time + ": " + title + "

"); if (header!=""){ out.println(""+header+""); } if((doc.format!=0)&&(doc.layout==0)){ out.println("