<%@ 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="com.Admin.vo.SubType"%> <%@ page import="com.Admin.vo.SuperType"%> <%@ page import="com.Admin.vo.User"%> <%@ page import="com.Admin.vo.Recommend"%> <%@ page import="java.util.ArrayList"%> <%@ page import="java.io.File"%> <%@ page import="net.sf.json.JSONArray"%> <%@ page import="net.sf.json.JSONObject"%> <%@ page import="com.common.IConstant"%> <%@ page import="com.common.Redis"%> <%@ page import="com.common.ReadDBPropertiesFile"%> <%@ 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 appid = request.getParameter("appid"); if(appid==null) { appid = IConstant.getCurrentAppid(apppath); if(appid==null){ response.sendRedirect(basePath+"app/error.html?c=1"); return; } } JSONObject app = null; JSONArray types = null; String supertype = null; String subtype = null; String template = null; String email=null; JSONArray catalogs = null; JSONArray subs = new JSONArray(); JSONArray comments = new JSONArray(); JSONArray ts = new JSONArray(); int role = 301; int pn=0; int pagenum=12; String web_title=null,web_keywords=null,web_desc=null; boolean isstatic = false; int pagecount=0;//计算页码 JSONObject menumap = new JSONObject(); String stats = null; JSONArray menus = null; try{ //get app app =IConstant.getAppInfo(appid); if(app==null){ response.sendRedirect(basePath+"app/error.html?c=5"); return; } String webfile = IConstant.getRootDir()+File.separator+"tpl"+File.separator+app.getString("template")+File.separator+"webinfo.js"; System.out.println("web path is "+webfile); if(new File(webfile).exists()) { String webinfo = IConstant.readFile(webfile); JSONObject web = null; try{ web = JSONObject.fromObject(webinfo); web_title= web.getString("title"); web_keywords = web.getString("keywords"); web_desc = web.getString("description"); }catch(Exception ex){ } } //菜单 String webcats = IConstant.getRootDir()+File.separator+"tpl"+File.separator+app.getString("template")+File.separator+"catalogs.js"; System.out.println("web cats path is "+webcats); if(new File(webcats).exists()) { String cts = IConstant.readFile(webcats); System.out.println(" menus content "+cts); try{ menus = JSONArray.fromObject(cts); for(int i=0;i <%=(web_title==null?"在线教育":web_title) %> "> ">
  • 全部分类:
  • <% out.println("
  • 全部
  • "); %> <%for(int i=0;i"+title+""); }%>
<% for(int i=0;i0){ vip="VIP"; try{ JSONArray attrs = sub.getJSONArray("attrs"); if(attrs!=null){ for(int j=0;j"); out.println("
"); out.println(""); out.println(""+vip+""); out.println("

"); out.println("
"); out.println("
"); out.println("
"); out.println(" "+title+""); out.println(" "+teacher+""+viewnumber+"人"); out.println("
"); out.println(" "+tip+""); out.println("

价格:¥"+price+"

"); out.println(" 了解详情"); out.println("
"); out.println("
"+intro+"
"); out.println("
"); out.println(""); } %>

课程评价

<% if(comments.size()>0){ for(int i=0;i"); out.println("
"+c.getString("productname")+"
"); out.println("
"); out.println("
"); out.println(" /"); out.println("

"+c.getString("username")+"

"); out.println("
"); out.println("

"+c.getString("content")+"

"); out.println("
"); out.println(" "); } } else{ %>
全国BIM技能等级认证考试的第一选择
/

林思文

华筑的视频真的是太好看了。华筑的老师讲的真的是超级棒我真的好佩服好佩服呀!

全国BIM技能等级认证考试的第一选择
/

林思文

华筑的视频真的是太好看了。华筑的老师讲的真的是超级棒我真的好佩服好佩服呀!

全国BIM技能等级认证考试的第一选择
/

林思文

华筑的视频真的是太好看了。华筑的老师讲的真的是超级棒我真的好佩服好佩服呀!

全国BIM技能等级认证考试的第一选择
/

林思文

华筑的视频真的是太好看了。华筑的老师讲的真的是超级棒我真的好佩服好佩服呀!

全国BIM技能等级认证考试的第一选择
/

林思文

华筑的视频真的是太好看了。华筑的老师讲的真的是超级棒我真的好佩服好佩服呀!

全国BIM技能等级认证考试的第一选择
/

林思文

华筑的视频真的是太好看了。华筑的老师讲的真的是超级棒我真的好佩服好佩服呀!

<% } %>

全国咨询电话:4008091886

企业邮箱:huazhubim@163.com

企业地址:北京市朝阳区顺白路12号 比目鱼创业园B座3层

COPYRIGHT © 2015 北京华筑建筑科学研究院版权所有 京ICP备1000000号-2