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)); }
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)); }
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)); }
public void DeleteNewsGroup(string strId) { if (strId != "") { strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); } NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.DeleteNewsGroup(strId); }
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)); }
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); }
public void UpdateNewsGroupisDelete(string strId, string value) { if (strId != "") { strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); } NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.UpdateNewsGroupisDelete(strId, value); }
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)); }
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)); }
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)); }
public DataTable GetNewsGroupByCateHomeList(string strCate, int group) { if (strCate != "") { strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); } NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupByCateHomeList(strCate, group)); }
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)); }
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)); }
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)); }
public void UpdateNewsGroupApproval(int Id, string value, string username, DateTime date) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.UpdateNewsGroupApproval(Id, value, username, date); }
public DataTable GetNewsGroupViewAll(string lang, int n, int group, string approval) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupViewAll(lang, n, group, approval)); }
public DataTable NewsGroupSearch(string keyword, int cId, string lang) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.NewsGroupSearch(keyword, cId, lang)); }
public DataTable NewsGroupFollow(int Id, int cId, int n) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.NewsGroupFollow(Id, cId, n)); }
public DataTable NewsGroupFollow(int Id, int cId, int n, string approval) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.NewsGroupFollow(Id, cId, n, approval)); }
public void UpdateNewsGroup(int Id, string value) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.UpdateNewsGroup(Id, value); }
public DataTable GetNewsGroupByCate(int iCateId, string lang, int n, string approval) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupByCate(iCateId, lang, n, approval)); }
public DataTable GetNewsGroupView(string lang, int group) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupView(lang, group)); }
public DataTable NewsGroupSearchPaging(string _findter, PagingInfo _paging) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.NewsGroupSearchPaging(_findter, _paging)); }
public DataTable NewsGroupSearch(string _findter) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.NewsGroupSearch(_findter)); }
public DataTable GetNewsGroupLates(string lang, int n, string approval, int group) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupLates(lang, n, approval, group)); }
public void NewsGroupClickUpdate(int nId) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.NewsGroupClickUpdate(nId); }
public DataTable GetNewsGroupHits(string lang, int n, string approval) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupHits(lang, n, approval)); }
public DataTable NewsGroupParent(int pId, string approval) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.NewsGroupParent(pId, approval)); }
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)); }
public DataTable GetNewsGroupViewHome(string lang, int n, int cID, int group) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupViewHome(lang, n, cID, group)); }