Exemplo n.º 1
0
        public DataTable GetNewsGroupPagingParent(string lang, int group, string strCate, PagingInfo _paging)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupPagingParent(lang, group, strCate, _paging));
        }
Exemplo n.º 2
0
        public DataTable GetNewsGroupPagingApproved(string lang, int group, string strCate, PagingInfo _paging, int isApproved, int status, int isHot, int isHome)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupPagingApproved(lang, group, strCate, _paging, isApproved, status, isHot, isHome));
        }
Exemplo n.º 3
0
        public DataTable GetNewsGroupPagingRecord(string lang, int group, int CateID, string strCate, int isApproved, int status, int isHot, int isHome, int isDelete, int nRecord)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupPagingRecord(lang, group, CateID, strCate, isApproved, status, isHot, isHome, isDelete, nRecord));
        }
Exemplo n.º 4
0
        public void DeleteNewsGroup(string strId)
        {
            if (strId != "")
            {
                strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            newsGroupDAO.DeleteNewsGroup(strId);
        }
Exemplo n.º 5
0
        public DataTable GetNewsGroupAll(string lang, int group, string strCate)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupAll(lang, group, strCate));
        }
Exemplo n.º 6
0
        public void UpdateNewsGroupApproval(string strId, string value, string username, DateTime date)
        {
            if (strId != "")
            {
                strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            newsGroupDAO.UpdateNewsGroupApproval(strId, value, username, date);
        }
Exemplo n.º 7
0
        public void UpdateNewsGroupisDelete(string strId, string value)
        {
            if (strId != "")
            {
                strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            newsGroupDAO.UpdateNewsGroupisDelete(strId, value);
        }
Exemplo n.º 8
0
        public DataTable GetNewsGroupByListNewsID(string lang, string strCate, int num, string aproval, string isHome)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByListNewsID(lang, strCate, num, aproval, isHome));
        }
Exemplo n.º 9
0
        public DataTable GetNewsGroupPagingbyUser(string lang, int group, int CateID, string strCate, int isApproved, int status, int isHot, int isHome, int isDelete, string username, PagingInfo _paging)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupPagingbyUser(lang, group, CateID, strCate, isApproved, status, isHot, isHome, isDelete, username, _paging));
        }
Exemplo n.º 10
0
        public DataTable GetNewsGroupByCateHotAll(string strCate, int group, string aproval, string isHome, string isHot)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHotAll(strCate, group, aproval, isHome, isHot));
        }
Exemplo n.º 11
0
        public DataTable GetNewsGroupByCateHomeList(string strCate, int group)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHomeList(strCate, group));
        }
Exemplo n.º 12
0
        public DataTable GetNewsGroupViewHome(string lang, string strCate, int n, int group)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupViewHome(lang, strCate, n, group));
        }
Exemplo n.º 13
0
        public DataTable GetNewsGroupByCateIsHomeAll(int n, string strCate, string approval, int group)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateIsHomeAll(n, strCate, approval, group));
        }
Exemplo n.º 14
0
        public DataTable GetNewsGroupByCateHotAll(int CateID, int group, string aproval, string isHome, string isHot)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHotAll(CateID, group, aproval, isHome, isHot));
        }
Exemplo n.º 15
0
        public void UpdateNewsGroupApproval(int Id, string value, string username, DateTime date)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            newsGroupDAO.UpdateNewsGroupApproval(Id, value, username, date);
        }
Exemplo n.º 16
0
        public DataTable GetNewsGroupViewAll(string lang, int n, int group, string approval)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupViewAll(lang, n, group, approval));
        }
Exemplo n.º 17
0
        public DataTable NewsGroupSearch(string keyword, int cId, string lang)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupSearch(keyword, cId, lang));
        }
Exemplo n.º 18
0
        public DataTable NewsGroupFollow(int Id, int cId, int n)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupFollow(Id, cId, n));
        }
Exemplo n.º 19
0
        public DataTable NewsGroupFollow(int Id, int cId, int n, string approval)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupFollow(Id, cId, n, approval));
        }
Exemplo n.º 20
0
        public void UpdateNewsGroup(int Id, string value)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            newsGroupDAO.UpdateNewsGroup(Id, value);
        }
Exemplo n.º 21
0
        public DataTable GetNewsGroupByCate(int iCateId, string lang, int n, string approval)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCate(iCateId, lang, n, approval));
        }
Exemplo n.º 22
0
        public DataTable GetNewsGroupView(string lang, int group)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupView(lang, group));
        }
Exemplo n.º 23
0
        public DataTable NewsGroupSearchPaging(string _findter, PagingInfo _paging)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupSearchPaging(_findter, _paging));
        }
Exemplo n.º 24
0
        public DataTable NewsGroupSearch(string _findter)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupSearch(_findter));
        }
Exemplo n.º 25
0
        public DataTable GetNewsGroupLates(string lang, int n, string approval, int group)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupLates(lang, n, approval, group));
        }
Exemplo n.º 26
0
        public void NewsGroupClickUpdate(int nId)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            newsGroupDAO.NewsGroupClickUpdate(nId);
        }
Exemplo n.º 27
0
        public DataTable GetNewsGroupHits(string lang, int n, string approval)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupHits(lang, n, approval));
        }
Exemplo n.º 28
0
        public DataTable NewsGroupParent(int pId, string approval)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupParent(pId, approval));
        }
Exemplo n.º 29
0
        public DataTable NewsGroupFollow(DateTime postDateID, int id, int cId, int n, string approval)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.NewsGroupFollow(postDateID, id, cId, n, approval));
        }
Exemplo n.º 30
0
        public DataTable GetNewsGroupViewHome(string lang, int n, int cID, int group)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupViewHome(lang, n, cID, group));
        }