Esempio n. 1
0
        public static int GetAdvertId(int adtype)
        {
            switch (adtype)
            {
            case 1: return(HtmlWebSite.GuidecAdd());

            case 2: return(HtmlWebSite.QQMsnAdd(true));

            case 3: return(HtmlWebSite.QQMsnAdd(false));

            case 4: return(HtmlWebSite.ImageAdd());

            default: return(0);
            }
        }
Esempio n. 2
0
        public static void EditAdvertId(int adtype, int id)
        {
            switch (adtype)
            {
            case 1:
                HtmlWebSite.GuidecEdit(id);
                break;

            case 2:
                HtmlWebSite.QQMsnEdit(id, true);
                break;

            case 3:
                HtmlWebSite.QQMsnEdit(id, false);
                break;

            case 4:
                HtmlWebSite.ImageEdit(id);
                break;
            }
        }