function testPopUp() { $_SESSION['alreadyPopUp'] = 0; $_SESSION['testPopUp'] = 1; $arrLeft = array(new Portlet("PopUpWeb", "createPopUp")); $arrRight = array(); BootstrapUX::twoColoums($arrLeft, $arrRight, 8, 4); }
function home() { //print_r(PDO::getAvailableDrivers()); //pr($_SESSION); //sebelah kanan $arrLeft = array(new Portlet("CarouselPortalWeb", "createCarousel"), new Portlet("Quotes", "printQuote"), new Portlet("LeapFacebook", "facebookfeed"), new Portlet("LeapTwitter", "twitterFeed"), new Portlet("LeapYoutube", "youtubeFeed"), new Portlet("VideoWeb", "videoFeed"), new Portlet("PopUpWeb", "createPopUp")); $arrRight = array(new Portlet("NewsFeedWeb", "getFeed"), new Portlet("PortalTemplate", "printIcons")); BootstrapUX::twoColoums($arrLeft, $arrRight, 8, 4); }