<%@ page language="java" %> <%@ page import="com.dispDateTime.*" %> <%@ page import="com.dispQuote.*" %> <%@ page import="com.dispNews.*" %> <%@ page import="com.dispMyComment.*" %> :|:|:|: Rashtriya Swayamsevak Sangh :|:|:|: <% //----- Get Current Date, GMT Time and IST Time ---- DateTimeDispBean newsDateTime = new DateTimeDispBean(); String newDate = newsDateTime.displayDate(); String newISTTime = newsDateTime.displayISTTime(); String newGMTTime = newsDateTime.displayGMTTime(); //----- Display Quote of the day---- QuoteDispBean newQuoteLine = new QuoteDispBean(); StringBuffer newQuote = newQuoteLine.displayQuote(); String tmpWrittenBy = newQuoteLine.getWrittenBy(); if(!tmpWrittenBy.equals("")) { String newStr = "
"+tmpWrittenBy+""; newQuote.append(new String(newStr)); } %>
<%@ include file="../GeneralFiles/headerIn.inc" %> <%@ include file="../GeneralFiles/GeneralLeft.inc" %> <%@ include file="../GeneralFiles/AbroadRight.inc" %>
<% String tmpString = "NewsDetail.jsp?nNID="+tmpNID+"&cmtPgCnt="; //----- Show User Comments ---- MyCommentBean myComments = new MyCommentBean(); myComments.setCommentOnId(tmpNID); myComments.setCommentOn("News"); myComments.setBcolor("#FFFFFF"); myComments.setCname("navigation"); myComments.setTcname("heading"); myComments.setCmtPgCnt(cmtPgCnt); myComments.setAddString(tmpString); StringBuffer newstr2 = myComments.displayMyCommentDetails(); boolean CommentDisp = myComments.getCommentDisp(); //out.print(newstr2); if(CommentDisp == true) { %> <% } %>
 
News
<% String tmpNID = "0"; if(request.getParameter("nNID") != null) { tmpNID = request.getParameter("nNID"); } int cmtPgCnt= 0; if(request.getParameter("cmtPgCnt")!=null) { if(!request.getParameter("cmtPgCnt").equals("")) { cmtPgCnt=Integer.parseInt(request.getParameter("cmtPgCnt")); } } //----- Show Detail News ---- NewsHeadLineBean newsDetail = new NewsHeadLineBean(); newsDetail.setNewsId(tmpNID); newsDetail.setCname("navigation"); newsDetail.setTcname("heading"); StringBuffer newstr = newsDetail.displayNewsDetials(); out.print(newstr); %>
<%out.print(newstr2);%>
<%@ include file="../GeneralFiles/footer1.inc" %> <%@ include file="../GeneralFiles/footerLink.inc" %> <%@ include file="../GeneralFiles/footer2.inc" %> <%@ include file="../GeneralFiles/headerLinkIn.inc" %>