public static string html_getTopMenu(menu_1_item higlightedItem)
    {
        xjcString s = new xjcString("");

        // s.append(html_getMenuItem_level_1(higlightedItem, "Din Fordel - Simulator", higlightedItem));
        s.append(html_getMenuItem_level_1(menu_1_item.admin_terminal, "Din Fordel - Simulator", higlightedItem));
        // s.append(html_getMenuItem_level_1(menu_1_item.admin_general, "Din Fordel Admin", higlightedItem));
        // s.append(GlobalGui.html_getMenuItem_level_1(menu_1_item.admin_shop, "Butikk eier", higlightedItem));

        return(s.toString());
    }
    public static string html_getWorkPage_no_heading(string sText)
    {
        xjcString s = new xjcString();

        s.append("<div class=work_page >");
        s.append("<div id=message_line>");
        s.append("</div>");
        s.append(sText);

        s.append("</div>");
        return(s.toString());
    }
    public static string html_getShopMenu(menu_2_item currentMenuItem)
    {
        xjcString s = new xjcString();

        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;");
        s.append("'>");
        s.append(GlobalGui.html_getText("Ingen elementer her", 3));

        /*s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_coupon_view, currentMenuItem));
         * s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_coupon_create, currentMenuItem));
         * s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_admin_details, currentMenuItem));
         */
        s.append("</div>");
        return(s.toString());
    }
    public static string html_getWorkPageScroll(menu_2_item menuItem, string sText)
    {
        xjcString s = new xjcString();

        s.append("<div id=work_page_heading style='clear:both;margin-top:30px;margin-left:10px;padding:0px;border-radius:8px;'>");
        s.append(GlobalGui.html_getText("<b>" + getWorkPageHeading(menuItem) + "</b>", 1));
        s.append("</div>");

        s.append(GlobalGui.html_get_newline());

        s.append("<div class=work_page >");
        s.append("<div id=message_line>");
        s.append("</div>");
        s.append(sText);

        s.append("</div>");
        return(s.toString());
    }
    public static string html_getMenuItem_level_2(menu_2_item menuItem, menu_2_item currentItem)
    {
        xjcString s = new xjcString();

        string sFontWeight = "font-weight:normal";

        if (currentItem == menuItem)
        {
            sFontWeight = "font-weight:bold";
        }
        s.append("<div onclick=" + menuItem.ToString() + "()" + " style='");
        s.append("float:left;cursor:pointer;padding:3px;padding-right:20px;font-weight:bold;text-decoration:underline;font-size:" + GlobalGui.getFontSize(4) + "px;" + sFontWeight + ";");
        s.append("'>");
        s.append(getWorkPageHeading(menuItem));

        s.append("</div>");
        return(s.toString());
    }
    public static string html_getMenuItem_level_1(menu_1_item menuItem, string sText, menu_1_item higlightedItem)
    {
        xjcString s = new xjcString();

        string sFontWeightAndSize = "font-weight:normal;font-size:" + GlobalGui.getFontSize(1) + "px";
        string sBackColor         = "background-color:rgb(220,220,220)";

        if (menuItem == higlightedItem)
        {
            sFontWeightAndSize = "font-weight:bold;font-size:" + GlobalGui.getFontSize(1) + "px";
        }
        s.append("<div onclick=" + menuItem.ToString() + "()" + " style='");
        s.append("float:left;" + sBackColor + ";cursor:pointer;margin:4px;border-radius:8px;xheight:100px;xwidth:200px;padding:20px;color:rgb(20,20,20);" + sFontWeightAndSize + ";border: 4px rgb(200,200,200) solid;");
        s.append("'>");
        s.append(sText);

        s.append("</div>");
        return(s.toString());
    }
    public static string html_getWorkPageNoWidth(menu_2_item menuItem, string sText)
    {
        xjcString s = new xjcString();

        s.append("<div id=work_page_heading style='clear:both;margin-top:30px;margin-left:10px;padding:0px;border-radius:8px;'>");
        s.append(GlobalGui.html_getText("<b>" + getWorkPageHeading(menuItem) + "</b>", 1));
        s.append("</div>");

        s.append(GlobalGui.html_get_newline());

        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;height:600px;overflow:auto;padding:20px;background-color:rgb(250,250,250);color:rgb(50,50,50);font-size:" + GlobalGui.getFontSize(3) + "px;border: 4px rgb(230,230,230) solid;");
        s.append("'>");
        s.append("<div id=message_line>");
        s.append("</div>");
        s.append(sText);

        s.append("</div>");
        return(s.toString());
    }
예제 #8
0
    public static string getUserForm(User user)
    {
        xjcString s = new xjcString();

        // *******************************************************************************************
        // ******** Start user form ******************************************************************
        // *******************************************************************************************
        s.append(GlobalGui.html_table_row_start());

        s.append(GlobalGui.html_table_col_start(0));
        s.append(GlobalGui.html_getInputField("Fornavn", "first_name", 30, 30, (user != null) ? user.sFirstName : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_col_start(100));
        s.append(GlobalGui.html_getInputField("Etternavn", "last_name", 30, 30, (user != null) ? user.sLastName : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_row_end());

        s.append(GlobalGui.html_table_row_empty(2));

        s.append(GlobalGui.html_table_row_start());

        s.append(GlobalGui.html_table_col_start(0));
        s.append(GlobalGui.html_getInputField("ePost", "mail_address", 40, 40, (user != null) ? user.sMailAddress : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_col_start(100));
        s.append(GlobalGui.html_getInputField("Telefon", "phone", 15, 15, (user != null) ? user.sPhone : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_row_end());

        // *******************************************************************************************
        // ******** End user form ******************************************************************
        // *******************************************************************************************
        return(s.toString());
    }
    public static string getUserForm(User user)
    {
        xjcString s = new xjcString();
        
        // *******************************************************************************************
        // ******** Start user form ******************************************************************
        // *******************************************************************************************
        s.append(GlobalGui.html_table_row_start());

        s.append(GlobalGui.html_table_col_start(0));
        s.append(GlobalGui.html_getInputField("Fornavn", "first_name", 30, 30, (user!=null) ? user.sFirstName : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_col_start(100));
        s.append(GlobalGui.html_getInputField("Etternavn", "last_name", 30, 30,(user!=null) ? user.sLastName : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_row_end());

        s.append(GlobalGui.html_table_row_empty(2));

        s.append(GlobalGui.html_table_row_start());

        s.append(GlobalGui.html_table_col_start(0));
        s.append(GlobalGui.html_getInputField("ePost", "mail_address", 40, 40,(user!=null) ? user.sMailAddress : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_col_start(100));
        s.append(GlobalGui.html_getInputField("Telefon", "phone", 15, 15, (user!=null) ? user.sPhone : ""));
        s.append(GlobalGui.html_table_col_end());

        s.append(GlobalGui.html_table_row_end());

        // *******************************************************************************************
        // ******** End user form ******************************************************************
        // *******************************************************************************************
        return s.toString();
    }
    public static string html_getWorkPage_no_heading(string sText)
    {
        xjcString s = new xjcString();

        s.append("<div class=work_page >");
        s.append("<div id=message_line>");
        s.append("</div>");
        s.append(sText);

        s.append("</div>");
        return s.toString();
    }
    public static string html_getWorkPageScroll(menu_2_item menuItem, string sText)
    {
        xjcString s = new xjcString();

        s.append("<div id=work_page_heading style='clear:both;margin-top:30px;margin-left:10px;padding:0px;border-radius:8px;'>");
        s.append(GlobalGui.html_getText("<b>" + getWorkPageHeading(menuItem) + "</b>", 1));
        s.append("</div>");

        s.append(GlobalGui.html_get_newline());

        s.append("<div class=work_page >");
        s.append("<div id=message_line>");
        s.append("</div>");
        s.append(sText);

        s.append("</div>");
        return s.toString();
    }
 public static string html_getShopMenu(menu_2_item currentMenuItem)
 {
     xjcString s = new xjcString();
     s.append("<div style='");
     s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;");
     s.append("'>");
     s.append(GlobalGui.html_getText("Ingen elementer her", 3));
     /*s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_coupon_view, currentMenuItem));
     s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_coupon_create, currentMenuItem));
     s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.shop_admin_details, currentMenuItem));
      */
     s.append("</div>");
     return s.toString();
 }
    public static string html_getWorkPageNoWidth(menu_2_item menuItem, string sText)
    {
        xjcString s = new xjcString();

        s.append("<div id=work_page_heading style='clear:both;margin-top:30px;margin-left:10px;padding:0px;border-radius:8px;'>");
        s.append(GlobalGui.html_getText("<b>" + getWorkPageHeading(menuItem) + "</b>", 1));
        s.append("</div>");

        s.append(GlobalGui.html_get_newline());

        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;height:600px;overflow:auto;padding:20px;background-color:rgb(250,250,250);color:rgb(50,50,50);font-size:" + GlobalGui.getFontSize(3) + "px;border: 4px rgb(230,230,230) solid;");
        s.append("'>");
        s.append("<div id=message_line>");
        s.append("</div>");
        s.append(sText);

        s.append("</div>");
        return s.toString();
    }
    public static string html_getTerminalMenu(menu_2_item currentMenuItem)
    {
        xjcString s = new xjcString();
        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;");
        s.append("'>");

        s.append(GlobalGui.html_hor_space(70));
        // s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_view, currentMenuItem));

        s.append(GlobalGui.html_hor_space(70));
        // s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_view, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(70));
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_view, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(70));
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_show_consumer_coupon, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_single_consumer_coupon, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_set_consumer_coupon_subscription, currentMenuItem));
        s.append(GlobalGui.html_get_newline());
        s.append(html_getMenuItem_level_2(menu_2_item.admin_get_consumer_progress, currentMenuItem));
        
        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_interests, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_veriphone_pilot, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_pos_pilot, currentMenuItem));


        s.append(GlobalGui.html_get_newline());
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_string, currentMenuItem));
        s.append(GlobalGui.html_hor_space(70));
        s.append(html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_string_in_string_out, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        // s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_get_shop_consumer_token_coupons, currentMenuItem));

        // s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.point_interface_form, currentMenuItem));

        s.append(GlobalGui.html_get_newline());



        /* s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_int, currentMenuItem));
        s.append(GlobalGui.html_hor_space(70));

        s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_bool, currentMenuItem));
        s.append(GlobalGui.html_hor_space(70)); */


        s.append("</div>");
        return s.toString();
    }
    // Mountain BYTE Menypunkter i work page
    public static string html_getAdminMenu(menu_2_item currentMenuItem)
    {
        xjcString s = new xjcString();
        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;");
        s.append("'>");

        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_email, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_facebook, currentMenuItem));
        // s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_phone, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_coupon_view, currentMenuItem));

        s.append(GlobalGui.html_get_newline());


        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create_consumer_from_facebook, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create_consumer_from_email, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_verify_consumer_from_pincode, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_get_unique_link_from_email, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_email_set_new_password, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_get_unique_link_from_phone, currentMenuItem));
        
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_demo_card, currentMenuItem));



        s.append(GlobalGui.html_get_newline());
        s.append(GlobalGui.html_get_newline());

        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create, currentMenuItem));
        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_view, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(30));
        s.append(GlobalGui.html_get_newline());

        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_chain_create, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(30));
        s.append(GlobalGui.html_get_newline());

        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_create, currentMenuItem));
        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_shop_connect, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_view, currentMenuItem));

        s.append(GlobalGui.html_get_newline());
        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_view, currentMenuItem));
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_view, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_create, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_approve, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_show_consumer_coupon, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_single_consumer_coupon, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_set_consumer_coupon_subscription, currentMenuItem));
        s.append(GlobalGui.html_get_newline());
        s.append(html_getMenuItem_level_2(menu_2_item.admin_get_consumer_progress, currentMenuItem));

        
        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_interests, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_veriphone_pilot, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_pos_pilot, currentMenuItem));


        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_show_webservices, currentMenuItem));



        s.append("</div>");
        return s.toString();
    }
    public static string html_getMenuItem_level_2(menu_2_item menuItem, menu_2_item currentItem)
    {
        xjcString s = new xjcString();

        string sFontWeight = "font-weight:normal";
        if (currentItem == menuItem)
            sFontWeight = "font-weight:bold";
        s.append("<div onclick=" + menuItem.ToString() + "()" + " style='");
        s.append("float:left;cursor:pointer;padding:3px;padding-right:20px;font-weight:bold;text-decoration:underline;font-size:" + GlobalGui.getFontSize(4) + "px;" + sFontWeight + ";");
        s.append("'>");
        s.append(getWorkPageHeading(menuItem));

        s.append("</div>");
        return s.toString();
    }
    public static string html_getMenuItem_level_1(menu_1_item menuItem, string sText, menu_1_item higlightedItem)
    {
        xjcString s = new xjcString();

        string sFontWeightAndSize = "font-weight:normal;font-size:" + GlobalGui.getFontSize(1) + "px";
        string sBackColor = "background-color:rgb(220,220,220)";
        if (menuItem == higlightedItem) sFontWeightAndSize = "font-weight:bold;font-size:" + GlobalGui.getFontSize(1) + "px";
        s.append("<div onclick=" + menuItem.ToString() + "()" + " style='");
        s.append("float:left;" + sBackColor + ";cursor:pointer;margin:4px;border-radius:8px;xheight:100px;xwidth:200px;padding:20px;color:rgb(20,20,20);" + sFontWeightAndSize + ";border: 4px rgb(200,200,200) solid;");
        s.append("'>");
        s.append(sText);

        s.append("</div>");
        return s.toString();
    }
    public static string html_getTopMenu(menu_1_item higlightedItem)
    {
        xjcString s = new xjcString("");
        
        // s.append(html_getMenuItem_level_1(higlightedItem, "Din Fordel - Simulator", higlightedItem));
        s.append(html_getMenuItem_level_1(menu_1_item.admin_terminal, "Din Fordel - Simulator", higlightedItem));
        // s.append(html_getMenuItem_level_1(menu_1_item.admin_general, "Din Fordel Admin", higlightedItem));
        // s.append(GlobalGui.html_getMenuItem_level_1(menu_1_item.admin_shop, "Butikk eier", higlightedItem));

        return s.toString();
    }
    public static string html_getTerminalMenu(menu_2_item currentMenuItem)
    {
        xjcString s = new xjcString();

        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;");
        s.append("'>");

        s.append(GlobalGui.html_hor_space(70));
        // s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_view, currentMenuItem));

        s.append(GlobalGui.html_hor_space(70));
        // s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_view, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(70));
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_view, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(70));
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_show_consumer_coupon, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_single_consumer_coupon, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_set_consumer_coupon_subscription, currentMenuItem));
        s.append(GlobalGui.html_get_newline());
        s.append(html_getMenuItem_level_2(menu_2_item.admin_get_consumer_progress, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_interests, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_veriphone_pilot, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_pos_pilot, currentMenuItem));


        s.append(GlobalGui.html_get_newline());
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_string, currentMenuItem));
        s.append(GlobalGui.html_hor_space(70));
        s.append(html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_string_in_string_out, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        // s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_get_shop_consumer_token_coupons, currentMenuItem));

        // s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.point_interface_form, currentMenuItem));

        s.append(GlobalGui.html_get_newline());



        /* s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_int, currentMenuItem));
         * s.append(GlobalGui.html_hor_space(70));
         *
         * s.append(GlobalGui.html_getMenuItem_level_2(menu_2_item.terminal_ping_din_fordel_bool, currentMenuItem));
         * s.append(GlobalGui.html_hor_space(70)); */


        s.append("</div>");
        return(s.toString());
    }
    // Mountain BYTE Menypunkter i work page
    public static string html_getAdminMenu(menu_2_item currentMenuItem)
    {
        xjcString s = new xjcString();

        s.append("<div style='");
        s.append("float:left;margin:4px;border-radius:8px;padding:20px;background-color:rgb(220,220,220);color:rgb(50,50,50);font-weight:bold;font-size:" + GlobalGui.getFontSize(2) + "px;border: 4px rgb(200,200,200) solid;");
        s.append("'>");

        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_email, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_facebook, currentMenuItem));
        // s.append(html_getMenuItem_level_2(menu_2_item.admin_user_login_phone, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_coupon_view, currentMenuItem));

        s.append(GlobalGui.html_get_newline());


        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create_consumer_from_facebook, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create_consumer_from_email, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_verify_consumer_from_pincode, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_get_unique_link_from_email, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_email_set_new_password, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_consumer_get_unique_link_from_phone, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_demo_card, currentMenuItem));



        s.append(GlobalGui.html_get_newline());
        s.append(GlobalGui.html_get_newline());

        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_create, currentMenuItem));
        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_view, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(30));
        s.append(GlobalGui.html_get_newline());

        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_chain_create, currentMenuItem));

        // s.append(GlobalGui.html_hor_space(30));
        s.append(GlobalGui.html_get_newline());

        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_create, currentMenuItem));
        // 16 mai s.append(html_getMenuItem_level_2(menu_2_item.admin_user_shop_connect, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_shop_view, currentMenuItem));

        s.append(GlobalGui.html_get_newline());
        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_view, currentMenuItem));
        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_view, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_create, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_coupon_approve, currentMenuItem));

        s.append(GlobalGui.html_get_newline());

        s.append(html_getMenuItem_level_2(menu_2_item.admin_show_consumer_coupon, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_single_consumer_coupon, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_set_consumer_coupon_subscription, currentMenuItem));
        s.append(GlobalGui.html_get_newline());
        s.append(html_getMenuItem_level_2(menu_2_item.admin_get_consumer_progress, currentMenuItem));


        s.append(html_getMenuItem_level_2(menu_2_item.admin_consumer_interests, currentMenuItem));

        s.append(html_getMenuItem_level_2(menu_2_item.admin_veriphone_pilot, currentMenuItem));
        s.append(html_getMenuItem_level_2(menu_2_item.admin_pos_pilot, currentMenuItem));


        s.append(html_getMenuItem_level_2(menu_2_item.admin_user_show_webservices, currentMenuItem));



        s.append("</div>");
        return(s.toString());
    }