Registor::registerAdminMenu("UserAndRoles", "Account", "AccountLoginWeb/Account");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Account");
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("UserAndRoles", "Role", "AccountLoginWeb/Role");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Role");
//set menu format domain, menuname. menu url
//Registor::registerAdminMenu("UserAndRoles", "Role2Role", "AccountLoginWeb/Role2Role");
//set yang bisa lihat menu
//Registor::setDomainAndRoleMenu("Role2Role");
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("UserAndRoles", "Role2RoleTree", "AccountLoginWeb/ShowRole2RoleLevel");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Role2RoleTree");
//set menu format domain, menuname. menu url
//Registor::registerAdminMenu("UserAndRoles", "Role2Account", "AccountLoginWeb/Role2Account");
//set yang bisa lihat menu
//Registor::setDomainAndRoleMenu("Role2Account");
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("UserAndRoles", "Role2Menu", "RoleWeb/Role2Menu");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Role2Menu");
//add start page
//Registor::addStartPage("Register_noFB","Register","noFB");
//Registor::addStartPage("Register_withFB","Register","withFB");
//Registor::addStartPage("Register_withFBandLogin","Register","withFBandLogin");
//Registor::addStartPage("Login_noFB","Register","login_noFB");
Registor::addStartPage("LoginPage", "Register", "loginpage");
Registor::addLayoutSelector("Registration", "Loginpage", "Register", "loginpage");
//Registor::addStartPage("Login_withFB","Register","login_withFB");
<?php

/**
 * Created by PhpStorm.
 * User: elroy
 * Date: 7/31/15
 * Time: 2:30 PM
 */
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("Features", "Calendar", "CalendarBE/index");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Calendar");
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("Data", "CalendarModel", "CalendarBE/CalendarModel");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("CalendarModel");
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("Data", "CalendarTypeModel", "CalendarBE/CalendarTypeModel");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("CalendarTypeModel");
//add start page
Registor::addStartPage("Calendar", "CalendarWeb", "index");
Registor::addLayoutSelector("Calendar", "Calendar_index", "CalendarWeb", "index");
Registor::addLayoutSelector("Calendar", "Calendar_id", "CalendarWeb", "id");
<?php

/**
 * Created by PhpStorm.
 * User: elroy
 * Date: 7/30/15
 * Time: 3:03 PM
 */
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("Features", "GalleryMenu", "GalleryWeb/gallery");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("GalleryMenu");
//add start page
Registor::addStartPage("Gallery", "GalleryFE", "index");
Registor::addLayoutSelector("Gallery", "Gallery_index", "GalleryFE", "index");
Registor::addLayoutSelector("Gallery", "Gallery_id", "GalleryFE", "id");
Registor::addLayoutSelector("Gallery", "Gallery_attachment", "Gallery", "viewme");
Registor::addLayoutSelector("Gallery", "Carousel_attachment", "GalleryCarousel", "viewme");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Category");
Registor::registerAdminMenu("Data", "CategoryCRUD", "ProdWeb/ProdCat");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("CategoryCRUD");
Registor::registerAdminMenu("eCommerce", "Brand", "ProdWeb/BrandModel");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Brand");
Registor::registerAdminMenu("eCommerce", "Campaign", "ProdWeb/CampaignModel");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Campaign");
Registor::registerAdminMenu("eCommerce", "CampaignProduct", "CampaignWeb/inputProduct");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("CampaignProduct");
//add start page
Registor::addStartPage("eCommerce_latestdeal", "ECommWeb", "latest_deal");
Registor::addLayoutSelector("eCommerce", "eComm_latestdeal", "ECommWeb", "latest_deal");
Registor::addLayoutSelector("eCommerce", "eComm_campaign", "Cw", "campaign");
Registor::addLayoutSelector("eCommerce", "eComm_product", "Pwa", "p");
function rupiah($uang)
{
    $uangasli = $uang;
    $rupiah = "";
    if ($uang < 0) {
        $uang = -$uang;
        $min = "-";
        $sred = "<span class='red'>";
        $sred2 = "</span>";
    }
    $panjang = Strlen($uang);
    while ($panjang > 3) {
<?php

/**
 * Created by PhpStorm.
 * User: elroy
 * Date: 8/4/15
 * Time: 1:44 PM
 */
//add start page
Registor::addStartPage("ContactUs", "ContactUs", "map1");
//Registor::addStartPage("ContactUs_Form1","ContactUs","form1");
//Registor::addStartPage("ContactUs_MapForm1","ContactUs","mapform1");
Registor::addLayoutSelector("Contact_Us", "ContactUs", "ContactUs", "map1");
<?php

/**
 * Created by PhpStorm.
 * User: elroy
 * Date: 8/2/15
 * Time: 2:35 PM
 */
//set menu format domain, menuname. menu url
Registor::registerAdminMenu("Features", "Blog", "BlogBE/BlogModel");
//spy bisa melihat semuanya
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("Blog");
Registor::registerAdminMenu("Data", "BlogCategory", "BlogBE/BlogCategory");
//set yang bisa lihat menu
Registor::setDomainAndRoleMenu("BlogCategory");
//add start page
Registor::addStartPage("Blog", "Blog", "index");
//add layout selector
Registor::addLayoutSelector("Blog", "Blog_index", "Blog", "index");
Registor::addLayoutSelector("Blog", "Blog_post", "Blog", "id");
Registor::addLayoutSelector("Blog", "Blog_category", "Blog", "category");