'; print ''; print ''; //if( $currentnode->getID() == 88 || $currentnode->getID() == 287 ) print ""; if(isset($currentuser)){ print ''; print '' . ''; print ''; print ''; } print ''; print ''; print ''; print ''; print ''; print ''; print ''; print '
' . ' \n"; else print "
\n"; ?>
getID()); $currentuser = UserGetUserByID(TermosGetCurrentUserID()); isset($currentuser) ? $usergroup = $currentuser->getUserGroupID() : $usergroup = ANONYMOUS; ?>
" . MTextGet("youAreHere") . ": "; for($i=0; $i 0) print " - "; print "" . NodeGetName( $nodepath[$i] ) . ""; } ?>
getValue()){ case "topvideo": print '
'; print '
'; print $thiscontent->getContentText(); print '
'; print '
'; break; case "topimage": print '
'; print '
'; ImageGet($thiscontent->getID(), 5, ""); $ctext = ContentTextGet($thiscontent->getID(), 5); $thetext = MTextGet($ctext->getTextID()); if( $thetext != "hide text" && $thetext != "no text" ){ print '
'; print '
'; $thiscontent->getText(5); print '
'; print '
'; } print '
'; print '
'; break; case "topgallery": print '
'; print '
'; print ''; print '
    '; for ($i=11; $i<21; $i++){ if( ContentHasImageAtPosition($thiscontent->getID(), $i) > -1 ){ print '
  • '; print '
    '; ImageGet($thiscontent->getID(),$i, ""); $ctext = ContentTextGet($thiscontent->getID(), $i); $thetext = MTextGet($ctext->getTextID()); if( $thetext != "hide text" && $thetext != "no text" ){ print '
    '; $thiscontent->getText($i); print '
    '; print '
    '; } print '
    '; print '
  • '; } } print '
'; print '
'; print '
'; break; case "topquiz": print '
'; get_template("/template_quiz.php"); print '
'; break; } ?>
getID(),$usergroup) ): print "
" .MTextGet("noaccess"). "
\n"; else : $backgroundclass = $thiscontent->getExternalID(); if( $backgroundclass == "" || $backgroundclass == "0")$backgroundclass = "orangegradient"; ?>
getTitle(); //ImageGet($thiscontent->getID(), 4, ""); ?>
getText(3); ?>
getFlag() == 1 ){ get_template("/template_discussion.php"); } ?>
\n"; $formhandle = FormHasContent($thiscontent->getID()); if($formhandle > -1){ FormPrint($formhandle); $ctext = ContentTextGet($thiscontent->getID(), 2); print "
getTextID() ."\" class=\"embedded_below_form\">". $ctext->getText() ."
"; }else if($thiscontent->getValue() == "imggallery"){ print "
\n" . "
\n" . "
    \n"; for($i=6; $i<16; $i++){ $imghandle = ContentHasImageAtPosition($thiscontent->getID(), $i ); if( $imghandle != -1 ){ $img = ImageGetByHandleAndLanguage($imghandle, -1); print "
  • \n" . "
    "; ImageGet($thiscontent->getID(), $i, "ssliderimg"); print "
    getAltTextID() ."\">".$img->getAltText()."
    \n"; print "
    \n" . "
  • \n"; } } print "
\n"; print "
\n" . "
\n"; }else{ // if there is an image att position 1 or 2 lets make an image column // else make a plain column if( ContentHasImageAtPosition2($thiscontent->getID(), 1) || ContentHasImageAtPosition2($thiscontent->getID(), 2) || ContentHasImageAtPosition2($thiscontent->getID(), 3)){ $ctext = ContentTextGet($thiscontent->getID(), 1); $thetext = MTextGet($ctext->getTextID()); if( $thetext != "hide text" && $thetext != "no text" ){ print "
"; $thiscontent->getText(1); print "
"; } // If movie on top insert Playbutton if($thiscontent->getValue() == "topvideo") print '
'; ImageGet($thiscontent->getID(), 1, "first"); if($thiscontent->getValue() == "topvideo"){ print ''; print '
'; } $ctext = ContentTextGet($thiscontent->getID(), 2); print "
getTextID() ."\" class=\"imagetext2\">". $ctext->getText() ."
"; ImageGet($thiscontent->getID(), 2, "following"); ImageGet($thiscontent->getID(), 3, "following"); ImageGetByLanguage($thiscontent->getID(), 4, "", TermosGetCurrentLanguage()); }else{ $ctext = ContentTextGet($thiscontent->getID(), 2); print "
getTextID() ."\" class=\"embedded\">". $ctext->getText() ."
"; } } print "
\n"; ?>
 
getID() . "\" />\n" . "getTemplateID() . "\" />" ; ?>