<%
rsA = conDelivery.getContentBlocks(navSeq);
CcItemNavigation activeNav1;
while(rsA.next())
{
conSeq = rsA.getString(1);
if(rsA.isFirst()) //1.Contentblock groß ausgeben
{
%>
<%
//Headline
if (!rsA.getString(2).equals(""))
{
%>
">
<%= rsA.getString(2) %>
<%
}
%>
" style="background-color:#fff" border="0" cellspacing="0" cellpadding="0">
|
<%
//Bild
rsB = conDelivery.getContentPictures(conSeq);
while(rsB.next())
{
picName = rsB.getString("pcd_filename");
picCatPathWeb =picCatEngn.getCatTreePathWeb(rsB.getString("pcc_seq"),language,organisation);
%>
 |
|
<%
}
%>
<%
//Subheadline
if (!rsA.getString(3).equals(""))
{
%>
<%= rsA.getString(3) %>
<%
}
//Text
if (!rsA.getString(4).equals(""))
{
%>
<%
}
//Dokumente
rsB = conDelivery.getContentDocuments(conSeq);
while(rsB.next())
{
%>
<%
}
//interne Links
rsB = conDelivery.getContentInternlinksName(conSeq);
while(rsB.next())
{
rsC = conDelivery.getNavItemComplete(rsB.getString(1));
if(rsC.next())
{
activeNav1 = new CcItemNavigation(rsC);
String href=ndlr.renderLink(activeNav1);
%>
<%
}
}
//externe Links
rsB = conDelivery.getContentExternlinks(conSeq);
while(rsB.next())
{
%>
<%
}
%>
|
|
|
<%
}
else // if(!rsA.isFirst())
{
%>
<%
//Subheadline
if (!rsA.getString(3).equals(""))
{
%>
<%
}
%>
" border="0" cellspacing="0" cellpadding="0">
|
<%
//Bild
rsB = conDelivery.getContentPictures(conSeq);
while(rsB.next())
{
picName = rsB.getString("pcd_filename");
picCatPathWeb =picCatEngn.getCatTreePathWeb(rsB.getString("pcc_seq"),language,organisation);
if(!rsA.isLast())
{%>
 |
<%}
else
{%>
 |
<%}
%>
|
<%
}
%>
<%
//Text
if (!rsA.getString(4).equals(""))
{
%>
<%
}
//Dokumente
rsB = conDelivery.getContentDocuments(conSeq);
while(rsB.next())
{
%>
<%
}
//interne Links
rsB = conDelivery.getContentInternlinksName(conSeq);
while(rsB.next())
{
rsC = conDelivery.getNavItemComplete(rsB.getString(1));
if(rsC.next())
{
activeNav1 = new CcItemNavigation(rsC);
String href=ndlr.renderLink(activeNav1);
%>
<%
}
}
//externe Links
rsB = conDelivery.getContentExternlinks(conSeq);
while(rsB.next())
{
%>
<%
}
%>
|
|
<%
}
countCont++;
}
rsA.close();
%>