<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.Admin.daoimpl.SubTypeDaoImpl" %> <%@ page import="com.Admin.daoimpl.SuperTypeDaoImpl" %> <%@ page import="com.Admin.daoimpl.AdminUserDaoImpl" %> <%@ page import="com.Admin.daoimpl.AdminProdDaoImpl" %> <%@ page import="java.io.File"%> <%@ page import="com.Admin.vo.SubType"%> <%@ page import="com.Admin.vo.SuperType"%> <%@ page import="com.Admin.vo.User"%> <%@ page import="com.Admin.vo.Recommend"%> <%@ page import="com.common.MD5"%> <%@ page import="java.util.ArrayList"%> <%@ page import="net.sf.json.JSONArray"%> <%@ page import="net.sf.json.JSONObject"%> <%@ page import="com.common.IConstant"%> <%@ page import="com.common.Redis"%> <%@ page import="redis.clients.jedis.Jedis"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="cf" uri="/WEB-INF/els.tld" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String realPath = "http://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath()+request.getServletPath().substring(0,request.getServletPath().lastIndexOf("/")+1); String context = request.getServletPath().substring(1,request.getServletPath().lastIndexOf("/")); String apppath = getServletContext().getRealPath("/"+context); String tp = request.getParameter("tp"); if(tp!=null){ apppath = getServletContext().getRealPath("/tpl/"+tp); } response.setCharacterEncoding("utf-8"); request.setCharacterEncoding("utf-8"); String t = request.getParameter("t"); String supid = request.getParameter("ar"); String pn = request.getParameter("pn"); int pageno=1; if(pn!=null){ pageno=Integer.valueOf(pn); } String appid = IConstant.getCurrentAppid(apppath); Jedis redis = null; redis = Redis.getReadRedis(); int role = 301; //get index recommend String type="0"; //get news types JSONArray ts = new JSONArray(); ts.add("行业咨询"); ts.add("培训信息"); JSONArray notices = null; int pagenum=0; if(ts!=null&&ts.size()>0){ JSONObject rtn = null; if(supid==null){ supid = ts.getString(0); rtn = new AdminProdDaoImpl().getAllNewsByTypePage( null,pageno); }else{ rtn = new AdminProdDaoImpl().getAllNewsByTypePage( supid,pageno); } //get notices if(rtn!=null) { notices = rtn.getJSONArray("notices"); pagenum = rtn.getInt("pagenum"); } if(notices==null){ notices= new JSONArray(); } if(notices.size()==0){ notices = IConstant.getCacheNotices(redis, "1", t); } } else{ ts = new JSONArray(); notices = new JSONArray(); } if(redis!=null){ redis.close(); } %> andisk新闻
andisk
<%for(int i=0;i
<%=n.getString("title") %>

<%=n.getString("introduce") %>

查看更多
<%}%>
云产品
- 免费版
- 电子书交易版
- 企业内训版
- 培训专业版
- 教学云搭建
- 基础版套餐
- 专业版套餐
- 企业版套餐
解决方案
- 大、中、小学
- 培训机构
- 政企事业单位
- 跨区域企业
- 电子书出版机构
- 医学医疗行业
常见问题
- 如何设置筛选
- 如何设置学习路径
- 如何设置同步播放
- 如何布置作业
- 如何快捷布置作业
- 如何监控学习进度
联系我们
- 代理招商
- 联系我们
- 工作机会
- 公司简介
- 合作伙伴
- 用户反馈
关注我们
公众帐号
联系方式
公司地址:北京市海淀区田村北路碧森里5号楼201 客服中心:北京市丰台区丰台科技园盈坤世纪C座1004联系电话:010-88182873 商务QQ:85356494 商务email:bd@andisk.com