akc/blogs.html
(html)
(head)
(title)Welcome to Aspire(/title)
(link rel="stylesheet" type="text/css" href="/akc/style/style.css")
(script src="/akc/js/genericedits1.js")(/script)
(script)
function gotoReport(reportId)
{
url = eval("document.mainform.report" + reportId + ".value");
relativeUrl = getRelativeURL(url);
relativeUrl += "&reportId=" + reportId
// alert(relativeUrl);
document.location=relativeUrl;
}
function gotoFolderSummary(folderName)
{
url = "/akc/servlet/DisplayServlet?url=NotesURL";
url += "&ownerUserId={{ownerUserId}}";
url += "&folderName=" + escape(folderName);
// alert(url);
document.location=url;
}
function gotoNext()
{
controlString = "{{publicitemsloop_controlstring}}";
csArray = controlString.split(",");
begin=csArray[0];
span=csArray[1];
iSpan = parseInt(span);
iBegin = parseInt(begin);
newBegin = iBegin + iSpan;
newControlString = "" + newBegin + "," + span;
url="/akc/servlet/DisplayServlet?url=blogsURL";
url += "&ownerUserId={{ownerUserId}}";
url += "&publicitemsloop_controlstring=" + newControlString;
document.location=url;
}
function writeNext()
{
available = "{{aspire.loops.publicitemsloop}}";
if (available == "true")
{
document.write('(p)(a href="javascript:gotoNext()")..More(/a)');
document.write('(hr)');
}
}
(/script)
(/head)
(body)
(!--
**********************************************************
* Header
**********************************************************
--)
{{substitute(publicHeader)}}
(h2 align="right")
Public Blog of
(a href="/akc/servlet/DisplayServlet?url=ShowFiledReportsViewJSPURL&ownerUserId={{ownerUserId}}"){{user_first_name}} {{user_last_name}}
(/a)
(/h2)
(form name="mainform")
(!--
**********************************************************
* The loop of public items
**********************************************************
--)
(!--RLF_TAG BGN_LOOP publicitemsloop --)
(!--Item heading--)
(h3 class="news-heading")
(a href="javascript:gotoReport('{{report_id}}')"){{last_updated_on}}). {{report_short_name}} (/a)
(!--Link to parent folder--)
(a href="javascript:gotoFolderSummary('{{folder_name}}')")({{folder_name}})(/a)
(/h3)
(!--Item description--)
(p class="news-description")
{{report_description}}
(/p)
(input type="hidden" name="report{{report_id}}" value="{{url}}"/)
(!--RLF_TAG END_LOOP publicitemsloop --)
(!--
**********************************************************
* End of The loop of public items
**********************************************************
--)
(!--
**********************************************************
* Empty loop condition
**********************************************************
--)
(!--RLF_TAG BGN_IF aspire.loops.publicitemsloop=false if1 --)
(p)No items available for display(/p)
(!--RLF_TAG END_IF aspire.loops.publicitemsloop=false if1 --)
(/form)
(script)
writeNext();
(/script)
(/body)
(/html)