diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CmsPlugin.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CmsPlugin.java index 6bf51ce..f37e9c4 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CmsPlugin.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CmsPlugin.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms; import com.jfinal.kit.PropKit; +import com.jfinal.template.Engine; import org.noear.solon.annotation.Controller; import org.noear.solon.core.AppContext; import org.noear.solon.core.Plugin; @@ -9,6 +10,8 @@ import org.noear.solon.web.staticfiles.StaticConfig; import org.noear.solon.web.staticfiles.StaticMappings; import org.noear.solon.web.staticfiles.repository.ClassPathStaticRepository; import org.noear.solon.web.staticfiles.repository.FileStaticRepository; +import vip.fuck.sm.plugins.cms.template.method.CommonMethod; +import vip.fuck.sm.plugins.cms.util.RenderManager; public class CmsPlugin implements Plugin { @@ -19,5 +22,10 @@ public class CmsPlugin implements Plugin { context.beanScan(CmsPlugin.class); StaticMappings.add(CommonAttribute.CMS_ADMIN_STAITC_REQ_PATH, new ClassPathStaticRepository(CommonAttribute.CMS_ADMIN_STAITC_CLASSPATH)); + StaticMappings.add(CommonAttribute.CMS_STAITC_REQ_PATH, + new ClassPathStaticRepository(CommonAttribute.CMS_STAITC_CLASSPATH)); + StaticMappings.add("/cms/templates/", + new ClassPathStaticRepository("/templates/cms/templates/")); + Engine.use().addSharedStaticMethod(CommonMethod.class); } } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CommonAttribute.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CommonAttribute.java index 393d694..8bbc6fc 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CommonAttribute.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/CommonAttribute.java @@ -24,7 +24,8 @@ public final class CommonAttribute { /** 后台页面 */ public static final String ADMIN_PATH="/cms/admin/view/"; - + public static final String FRONT_PATH="/cms/"; + /** 后台错误页面 */ public static final String ADMIN_ERROR_VIEW = ADMIN_PATH+"error/500.html"; @@ -61,7 +62,9 @@ public final class CommonAttribute { /** JSON时间格式 */ public static final String JSON_DATE_PATTERN = "yyyy-MM-dd HH:mm:ss"; public static final String CMS_ADMIN_STAITC_REQ_PATH = "/cms/admin/static/"; + public static final String CMS_STAITC_REQ_PATH = "/cms/static/"; public static final String CMS_ADMIN_STAITC_CLASSPATH = "/templates/cms/admin/static/"; + public static final String CMS_STAITC_CLASSPATH = "/templates/cms/static/"; /** * 不可实例化 diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/config/Configxv.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/config/Configxv.java index 25ca23b..553b0e2 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/config/Configxv.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/config/Configxv.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms.config; import com.jfinal.plugin.activerecord.ActiveRecordPlugin; +import com.jfinal.plugin.activerecord.DbKit; import com.jfinal.plugin.activerecord.solon.annotation.Db; import com.zaxxer.hikari.HikariDataSource; import org.noear.solon.Solon; @@ -13,14 +14,16 @@ import javax.sql.DataSource; @Configuration public class Configxv { - @Bean(value = "cmsDb") + @Bean(value = "main") public DataSource ca(@Inject("${cms.jdbc}") HikariDataSource dataSource) { return dataSource; } + + @Bean - public void cx(@Db("cmsDb") ActiveRecordPlugin arp){ + public void cx(@Db("main") ActiveRecordPlugin arp){ _MappingKit.mapping(arp); //启用开发或调试模式(可以打印sql) diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/AdminController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/AdminController.java index 422c8ab..09dde81 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/AdminController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/AdminController.java @@ -53,6 +53,7 @@ public class AdminController extends BaseController { /** * 检查用户名是否存在 */ + @Mapping("checkUsername") public void checkUsername() { String username = getPara("username"); if (StringUtils.isEmpty(username)) { @@ -65,6 +66,7 @@ public class AdminController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { setAttr("roles", new Role().dao().findAll()); render(getView("admin/add")); @@ -73,6 +75,7 @@ public class AdminController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { Admin admin = getModel(Admin.class,"",true); if (new Admin().dao().usernameExists(admin.getUsername())) { @@ -96,6 +99,7 @@ public class AdminController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Integer id = getParaToInt("id"); setAttr("admin", new Admin().dao().findById(id)); @@ -106,6 +110,7 @@ public class AdminController extends BaseController { /** * 更新 */ + @Mapping("update") public void update() { Admin admin = getModel(Admin.class,"",true); Admin pAdmin = new Admin().dao().findById(admin.getId()); @@ -134,6 +139,7 @@ public class AdminController extends BaseController { /** * 重置密码 */ + @Mapping("reset") public void reset(){ Integer id = getParaToInt("id"); Admin admin = new Admin().dao().findById(id); @@ -146,6 +152,7 @@ public class AdminController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/BaseController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/BaseController.java index 97e363f..13411b4 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/BaseController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/BaseController.java @@ -2,22 +2,31 @@ package vip.fuck.sm.plugins.cms.controller.admin; +import cn.hutool.core.date.DateUtil; import cn.hutool.core.util.BooleanUtil; import cn.hutool.core.util.NumberUtil; import cn.hutool.core.util.ObjectUtil; import cn.hutool.db.Session; +import cn.hutool.extra.spring.SpringUtil; +import cn.hutool.json.JSONObject; +import cn.hutool.json.JSONUtil; +import cn.hutool.json.ObjectMapper; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.ObjectUtils; import org.apache.commons.lang.StringUtils; import org.apache.poi.ss.formula.functions.T; +import org.noear.solon.annotation.Inject; +import org.noear.solon.core.AppContext; import org.noear.solon.core.handle.*; import org.noear.solon.core.util.KeyValues; import org.noear.solon.core.util.MultiMap; +import org.noear.solon.data.cache.CacheService; import org.smartboot.http.server.HttpRequest; import vip.fuck.sm.plugins.cms.CommonAttribute; import vip.fuck.sm.plugins.cms.entity.Admin; +import vip.fuck.sm.plugins.cms.entity.Role; import vip.fuck.sm.plugins.cms.entity.Site; import java.io.File; @@ -34,6 +43,11 @@ import java.util.*; */ public class BaseController { + protected Date getParaToDate(String dn) { + String ds = this.getPara(dn); + return DateUtil.parse(ds).toJdkDate(); + } + protected void renderError(int errorStatus){ // todo renderError } @@ -117,7 +131,11 @@ public class BaseController { } protected Integer getParaToInt(String name){ - return Context.current().paramAsInt(name); + if(Context.current().paramNames().contains(name)){ + return Context.current().paramAsInt(name); + }else{ + return null; + } } protected Integer getParaToInt(String name,Integer dv){ @@ -187,10 +205,18 @@ public class BaseController { */ // @NotAction protected Site getCurrentSite() { - Site currentSite = Context.current().session(Site.ADMIN_SESSION_SITE,Site.class); - return currentSite; + Site session = Context.current().session(Site.ADMIN_SESSION_SITE, Site.class); + if(session == null){ + Site aDefault = new Site().dao().findDefault(); + Context.current().sessionSet(Site.ADMIN_SESSION_SITE, aDefault); + return aDefault; + } + return session; } - + + @Inject + CacheService cacheService; + /** * 获取当前管理员 * @@ -198,8 +224,12 @@ public class BaseController { */ // @NotAction protected Admin getCurrentAdmin() { - Admin currentAdmin = Context.current().session(Admin.SESSION_ADMIN,Admin.class); - return currentAdmin; + Object session = Context.current().session(Admin.SESSION_ADMIN); + if( session instanceof JSONObject){ + JSONObject ADMIN = (JSONObject) session; + return new Admin().dao().findById(ADMIN.get("id")); + } + return null; } /** @@ -209,6 +239,11 @@ public class BaseController { */ // @NotAction public ModelAndView getView(String view){ + Site currSite = getCurrentSite(); + if (ObjectUtil.isEmpty(currSite)) { + Site currentSite = new Site().dao().findById(1); + getSession().sessionSet(Site.ADMIN_SESSION_SITE, currentSite); + } return new ModelAndView(CommonAttribute.ADMIN_PATH+view+CommonAttribute.VIEW_EXTENSION); } @@ -220,9 +255,43 @@ public class BaseController { } } - public void render(ModelAndView view){ + + + public void render(ModelAndView view,Object... kv){ try { + if(ObjectUtil.isNotEmpty(kv)){ + if(kv.length%2 != 0){ + throw new RuntimeException("设置模型参数失败,应成对"); + } + for (int i = 0; i < kv.length; i++) { + if(i%2 == 0 ){ + Object kk = kv[i]; + if(kk == null){ + throw new RuntimeException("设置模型参数失败,键不能空"); + } + if(!(kk instanceof String)){ + throw new RuntimeException("设置模型参数失败,键必须是字符:"+kk); + } + } + } + } Context current = Context.current(); + SessionState s = getSession(); + JSONObject session = JSONUtil.createObj(); + if(ObjectUtil.isNotEmpty(s.sessionKeys())){ + for (String sessionKey : s.sessionKeys()) { + session.set(sessionKey,s.sessionGet(sessionKey)); + } + } + view.put("session",session); + if(kv!=null){ + + for (int i = 0; i < kv.length; i+=2) { + String key = Objects.toString(kv[i]); + Object val = kv[i+1]; + view.put(key,val); + } + } current.render(view); } catch (Throwable e) { throw new RuntimeException(e); @@ -238,7 +307,6 @@ public class BaseController { * 设置列表参数 * */ -// @NotAction protected void setListQuery(){ Map> paraMap = Context.current().paramMap().toValuesMap(); String listQuery = ""; diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CacheController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CacheController.java index 5ae9576..d310104 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CacheController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CacheController.java @@ -3,11 +3,14 @@ package vip.fuck.sm.plugins.cms.controller.admin; import org.noear.solon.annotation.Controller; +import org.noear.solon.annotation.Inject; import org.noear.solon.annotation.Mapping; +import org.noear.solon.data.cache.CacheService; import vip.fuck.sm.plugins.cms.Feedback; import vip.fuck.sm.plugins.cms.util.CacheUtils; +import javax.annotation.Resource; import java.util.HashMap; @@ -20,12 +23,16 @@ import java.util.HashMap; @Controller @Mapping("/admin/cache") public class CacheController extends BaseController { - + + @Inject + CacheService cacheService; + /** * 清除缓存 */ + @Mapping("delete") public void delete() { - CacheUtils.clearAll(); + // todo 清除缓存 renderJson(Feedback.success(new HashMap<>())); } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CategoryController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CategoryController.java index 0cb7cd1..c4b2d9c 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CategoryController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CategoryController.java @@ -37,6 +37,7 @@ public class CategoryController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); setAttr("categoryTree", new Category().dao().findTree(null,getCurrentSite().getId())); @@ -46,6 +47,7 @@ public class CategoryController extends BaseController { /** * 添加 */ + @Mapping("/add") public void add() { setAttr("categoryTree", new Category().dao().findTree(null,getCurrentSite().getId())); setAttr("models",new Model().dao().findNormalList()); @@ -55,6 +57,7 @@ public class CategoryController extends BaseController { /** * 检查目录 */ + @Mapping("/checkCat") public void checkCat(){ String cat = getPara("cat"); if(StringUtils.isBlank(cat)){ @@ -78,6 +81,7 @@ public class CategoryController extends BaseController { /** * 内容模型模板 */ + @Mapping("/modelTemplate") public void modelTemplate(){ Integer modelId = getParaToInt("modelId"); Model model = new Model().dao().findById(modelId); @@ -90,6 +94,7 @@ public class CategoryController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save() { Category category = getModel(Category.class,"",true); String[] chunkValues = getParaValues("chunkValues"); @@ -118,6 +123,7 @@ public class CategoryController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Integer id = getParaToInt("id"); Category category = new Category().dao().findById(id); @@ -136,6 +142,7 @@ public class CategoryController extends BaseController { /** * 更新 */ + @Mapping("/update") public void update() { Category category = getModel(Category.class,"",true); String[] chunkValues = getParaValues("chunkValues"); @@ -162,6 +169,7 @@ public class CategoryController extends BaseController { /** * 修改状态 */ + @Mapping("/updateStatus") public void updateStatus(){ Integer status = BooleanUtils.toInteger(getParaToBoolean("status")); Integer id = getParaToInt("id"); @@ -177,6 +185,7 @@ public class CategoryController extends BaseController { /** * 修改排序 */ + @Mapping("/updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -194,6 +203,7 @@ public class CategoryController extends BaseController { /** * 删除 */ + @Mapping("/delete") public void delete() { Integer id = getParaToInt("id"); Category category = new Category().dao().findById(id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CompanyController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CompanyController.java index 62562eb..92bf578 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CompanyController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/CompanyController.java @@ -29,6 +29,7 @@ public class CompanyController extends BaseController { /** * 编辑 */ + @Mapping public void index(){ Company company = new Company().dao().findBySiteId(getCurrentSite().getId()); setAttr("company", company); @@ -38,6 +39,7 @@ public class CompanyController extends BaseController { /** * 修改 */ + @Mapping("/update") public void update(){ Company company = getModel(Company.class,"",true); company.update(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ContentController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ContentController.java index f3fdddd..679fdc6 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ContentController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ContentController.java @@ -32,6 +32,7 @@ public class ContentController extends BaseController { /** * 列表 */ + @Mapping public void index(){ setAttr("categoryTree", new Category().dao().findTree(null,getCurrentSite().getId())); render(getView("content/index")); @@ -40,6 +41,7 @@ public class ContentController extends BaseController { /** * 标签 */ + @Mapping("/tag") public void tag(){ setAttr("tags",new Tag().findAll()); render(getView("content/tag")); @@ -48,6 +50,7 @@ public class ContentController extends BaseController { /** * 添加 */ + @Mapping("/add") public void add() { Category category = new Category().dao().findById(getParaToInt("categoryId")); List modelFields = new ModelField().dao().findList(category.getModelId()); @@ -60,6 +63,7 @@ public class ContentController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save() { Content content = getModel(Content.class,"",true); String[] chunkValues = getParaValues("chunkValues"); @@ -116,6 +120,7 @@ public class ContentController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Integer id = getParaToInt("id"); Content content = new Content().dao().findById(id); @@ -131,6 +136,7 @@ public class ContentController extends BaseController { /** * 更新 */ + @Mapping("/update") public void update() { Content content = getModel(Content.class,"",true); String[] chunkValues = getParaValues("chunkValues"); @@ -185,6 +191,7 @@ public class ContentController extends BaseController { /** * 修改状态 */ + @Mapping("/updateStatus") public void updateStatus(){ Integer status = BooleanUtils.toInteger(getParaToBoolean("value")); Integer id = getParaToInt("id"); @@ -198,6 +205,7 @@ public class ContentController extends BaseController { /** * 修改是否置顶 */ + @Mapping("/updateIsTop") public void updateIsTop(){ Boolean isTop = getParaToBoolean("value"); Integer id = getParaToInt("id"); @@ -211,6 +219,7 @@ public class ContentController extends BaseController { /** * 修改是否推荐 */ + @Mapping("/updateIsRecommend") public void updateIsRecommend(){ Boolean isRecommend = getParaToBoolean("value"); Integer id = getParaToInt("id"); @@ -224,6 +233,7 @@ public class ContentController extends BaseController { /** * 修改是否头条 */ + @Mapping("/updateIsHeadline") public void updateIsHeadline(){ Boolean isHeadline = getParaToBoolean("value"); Integer id = getParaToInt("id"); @@ -237,6 +247,7 @@ public class ContentController extends BaseController { /** * 修改排序 */ + @Mapping("/updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -254,6 +265,7 @@ public class ContentController extends BaseController { /** * 数据 */ + @Mapping("/data") public void data() { setListQuery(); String title = getPara("title"); @@ -271,6 +283,7 @@ public class ContentController extends BaseController { /** * 删除 */ + @Mapping("/delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DatabaseController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DatabaseController.java index 301fc1e..8d50ed4 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DatabaseController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DatabaseController.java @@ -24,6 +24,7 @@ public class DatabaseController extends BaseController { /** * 列表 */ + @Mapping public void index() { List backups = BackupUtils.getFiles(); Collections.reverse(backups); @@ -34,6 +35,7 @@ public class DatabaseController extends BaseController { /** * 备份 */ + @Mapping("/backup") public void backup(){ BackupUtils.backup(); renderJson(Feedback.success(new HashMap<>())); @@ -42,6 +44,7 @@ public class DatabaseController extends BaseController { /** * 还原 */ + @Mapping("/restore") public void restore(){ String name = getPara("name"); BackupUtils.restore(name); @@ -52,6 +55,7 @@ public class DatabaseController extends BaseController { /** * 删除 */ + @Mapping("/delete") public void delete() { String name = getPara("name"); BackupUtils.delete(name); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivController.java index e21faae..29c59c4 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivController.java @@ -26,6 +26,7 @@ public class DivController extends BaseController { /** * 列表 */ + @Mapping public void index(){ setListQuery(); Integer pageNumber = getParaToInt("pageNumber"); @@ -39,6 +40,7 @@ public class DivController extends BaseController { /** * 添加 */ + @Mapping("/add") public void add() { render(getView("div/add")); } @@ -46,6 +48,7 @@ public class DivController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save() { Div div = getModel(Div.class,"",true); div.setCreateDate(new Date()); @@ -59,6 +62,7 @@ public class DivController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Integer id = getParaToInt("id"); Div div = new Div().dao().findById(id); @@ -69,6 +73,7 @@ public class DivController extends BaseController { /** * 修改 */ + @Mapping("/update") public void update() { Div div = getModel(Div.class,"",true); div.setUpdateDate(new Date()); @@ -79,6 +84,7 @@ public class DivController extends BaseController { /** * 删除 */ + @Mapping("/delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivDataController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivDataController.java index 7d59efd..ae1e271 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivDataController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/DivDataController.java @@ -32,30 +32,37 @@ public class DivDataController extends BaseController { /** * 列表 */ + @Mapping() public void index(){ setListQuery(); - setAttr("divs", new Div().dao().findAll()); - render(getView("div_data/index")); + render(getView("div_data/index"),"divs", new Div().dao().findAll()); } /** * 添加 */ + @Mapping("/add") public void add(){ Integer divId = getParaToInt("divId"); Div div = new Div().dao().findById(divId); List divFields = new DivField().dao().findList(divId); + Div divData = new Div(); setAttr("divFields",divFields); setAttr("div", div); - setAttr("divId", divId); - Record divData = new Record(); setAttr("divData", divData); - render(getView("div_data/add")); + setAttr("divId", divId); + render(getView("div_data/add"), + "divFields",divFields, + "div", div, + "divId", divId, + "divData", divData + ); } /** * 保存 */ + @Mapping("/save") public void save(){ Integer divId = getParaToInt("divId"); Div div = new Div().dao().findById(divId); @@ -74,22 +81,26 @@ public class DivDataController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Integer id = getParaToInt("id"); Integer divId = getParaToInt("divId"); Div div = new Div().dao().findById(divId); List divFields = new DivField().dao().findList(divId); Record divData = Db.findById(div.getTableName(), id); - setAttr("divFields",divFields); - setAttr("div", div); - setAttr("divData", divData); - setAttr("divId", divId); - render(getView("div_data/edit")); + + render(getView("div_data/edit"), + "divFields",divFields, + "div", div, + "divData", divData, + "divId", divId + ); } /** * 更新 */ + @Mapping("/update") public void update() { Integer id = getParaToInt("id"); Integer divId = getParaToInt("divId"); @@ -109,6 +120,7 @@ public class DivDataController extends BaseController { /** * 数据 */ + @Mapping("/data") public void data() { setListQuery(); Integer divId = getParaToInt("divId"); @@ -118,17 +130,23 @@ public class DivDataController extends BaseController { } Div div = new Div().dao().findById(divId); List divFields = new DivField().dao().findList(divId); - setAttr("divFields", divFields); +// setAttr("divFields", divFields); String orderBySql = DbUtils.getOrderBySql("createDate desc"); Page page = Db.paginate(pageNumber, PAGE_SIZE, "select *", "from "+div.getTableName()+" where 1=1 "+orderBySql); - setAttr("page", page); - setAttr("divId", divId); - render(getView("div_data/data")); +// setAttr("page", page); +// setAttr("divId", divId); + render(getView("div_data/data"), + "divFields", divFields, + "page", page, + "divData",new Div(), + "divId", divId + ); } /** * 删除 */ + @Mapping("/delete") public void delete() { Integer divId = getParaToInt("divId"); Div div = new Div().dao().findById(divId); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ErrorController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ErrorController.java index 2b5209f..a4439c9 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ErrorController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ErrorController.java @@ -19,6 +19,7 @@ public class ErrorController extends BaseController { /** * 权限错误 */ + @Mapping("/unauthorized") public void unauthorized() { render(CommonAttribute.ADMIN_UNAUTHORIZED_VIEW); } @@ -26,6 +27,7 @@ public class ErrorController extends BaseController { /** * 异常 */ + @Mapping("/exception") public void exception() { render(CommonAttribute.ADMIN_ERROR_VIEW); } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FileController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FileController.java index d0d7511..b152a7a 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FileController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FileController.java @@ -39,6 +39,7 @@ public class FileController extends BaseController { /** * 上传 */ + @Mapping("/upload") public void upload() { UploadedFile uploadFile = getFile(); Map data = new HashMap(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FriendLinkController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FriendLinkController.java index 7423ac2..dd10c40 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FriendLinkController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/FriendLinkController.java @@ -27,6 +27,7 @@ public class FriendLinkController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); String name = getPara("name"); @@ -44,6 +45,7 @@ public class FriendLinkController extends BaseController { /** * 添加 */ + @Mapping("/add") public void add() { setAttr("gids", new FriendLink().dao().findGids(getCurrentSite().getId())); render(getView("friend_link/add")); @@ -52,6 +54,7 @@ public class FriendLinkController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save() { FriendLink friendLink = getModel(FriendLink.class,"",true); if(friendLink.getGid()==null){ @@ -72,6 +75,7 @@ public class FriendLinkController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Integer id = getParaToInt("id"); setAttr("friendLink", new FriendLink().dao().findById(id)); @@ -82,6 +86,7 @@ public class FriendLinkController extends BaseController { /** * 更新 */ + @Mapping("/update") public void update() { FriendLink friendLink = getModel(FriendLink.class,"",true); friendLink.setUpdateDate(new Date()); @@ -92,7 +97,8 @@ public class FriendLinkController extends BaseController { /** * 修改排序 */ - public void updateSort(){ + @Mapping("/updateSort") + public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); for(int i=0;i> models = new HashSet<>(); + JSONObject a = toJSONObject(admin,models); + getSession().sessionSet(Admin.SESSION_ADMIN, a); renderJson(Feedback.success(new HashMap<>())); } - + + public static JSONObject toJSONObject( Model m,Set> models){ + JSONObject json = JSONUtil.createObj(); + if(ObjectUtil.isNotNull(json) && ObjectUtil.isNotNull(m)){ + if(models.contains(m.getClass())){ + return json; + }else{ + models.add(m.getClass()); + } + for (String pn : m._getAttrNames()) { + json.set(pn,m.get(pn)); + } + Field[] fs = ReflectUtil.getFields(m.getClass()); + Method[] ms = ReflectUtil.getMethods(m.getClass()); + for (Field f : fs) { + Object value = ReflectUtil.getFieldValue(m, f); + if(value instanceof Model){ + value = toJSONObject((Model) value,models); + } + json.set(f.getName(),value); + } + for (Method f : ms) { + if(f.getName().startsWith("get") && f.getReturnType() != Void.class && f.getParameterTypes().length ==0 ){ + System.out.println(m.getClass().getName()+"."+ f.getName()+"();"); + Object value = ReflectUtil.invoke(m, f); + if(value instanceof Model){ + value = toJSONObject((Model) value,models); + } + String mk = StrUtil.lowerFirst(StrUtil.removePrefix(f.getName(),"get")); + json.set(mk,value); + } + } + } + return json; + } + } \ No newline at end of file diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/LogoutController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/LogoutController.java index 38d4b1b..7981618 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/LogoutController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/LogoutController.java @@ -20,6 +20,7 @@ public class LogoutController extends BaseController{ /** * 退出 */ + @Mapping() public void index(){ getSession().sessionRemove(Admin.SESSION_ADMIN); getSession().sessionRemove(Site.ADMIN_SESSION_SITE); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/MenuController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/MenuController.java index 9c728bb..20220d2 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/MenuController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/MenuController.java @@ -26,6 +26,7 @@ public class MenuController extends BaseController{ /** * 列表 */ + @Mapping() public void index() { setListQuery(); setAttr("menuTree", new Menu().dao().findTree()); @@ -36,6 +37,7 @@ public class MenuController extends BaseController{ /** * 添加 */ + @Mapping("add") public void add() { setAttr("menuTree", new Menu().dao().findTree()); render(getView("menu/add")); @@ -45,6 +47,7 @@ public class MenuController extends BaseController{ /** * 保存 */ + @Mapping("save") public void save() { Menu menu = getModel(Menu.class,"",true); if(menu.getIsShow()==null){ @@ -60,6 +63,7 @@ public class MenuController extends BaseController{ /** * 编辑 */ + @Mapping("edit") public void edit() { Long id = getParaToLong("id"); Menu menu = new Menu().dao().findById(id); @@ -71,6 +75,7 @@ public class MenuController extends BaseController{ /** * 更新 */ + @Mapping("update") public void update() { Menu menu = getModel(Menu.class,"",true); if(menu.getIsShow()==null){ @@ -85,6 +90,7 @@ public class MenuController extends BaseController{ /** * 修改是否显示 */ + @Mapping("updateIsShow") public void updateIsShow(){ Boolean isShow = getParaToBoolean("value"); Integer id = getParaToInt("id"); @@ -98,6 +104,7 @@ public class MenuController extends BaseController{ /** * 修改排序 */ + @Mapping("updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -115,6 +122,7 @@ public class MenuController extends BaseController{ /** * 删除 */ + @Mapping("delete") public void delete() { Long id = getParaToLong("id"); Menu menu = new Menu().dao().findById(id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ModelController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ModelController.java index 9fb274e..a3364cf 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ModelController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ModelController.java @@ -31,6 +31,7 @@ public class ModelController extends BaseController { /** * 列表 */ + @Mapping public void index() { setListQuery(); String name = getPara("name"); @@ -46,6 +47,7 @@ public class ModelController extends BaseController { /** * 添加 */ + @Mapping("/add") public void add() { render(getView("model/add")); } @@ -53,6 +55,7 @@ public class ModelController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save() { Model model = getModel(Model.class,"",true); model.setCreateDate(new Date()); @@ -64,6 +67,7 @@ public class ModelController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Long id = getParaToLong("id"); setAttr("model", new Model().dao().findById(id)); @@ -73,6 +77,7 @@ public class ModelController extends BaseController { /** * 更新 */ + @Mapping("/update") public void update() { Model model = getModel(Model.class,"",true); model.setUpdateDate(new Date()); @@ -83,6 +88,7 @@ public class ModelController extends BaseController { /** * 删除 */ + @Mapping("/delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/NavController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/NavController.java index fbf9509..bef6f03 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/NavController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/NavController.java @@ -32,6 +32,7 @@ public class NavController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); setAttr("navTree", new Nav().dao().findTree(getCurrentSite().getId())); @@ -41,6 +42,7 @@ public class NavController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { setAttr("navTree", new Nav().dao().findTree(getCurrentSite().getId())); render(getView("nav/add")); @@ -49,6 +51,7 @@ public class NavController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { Nav nav = getModel(Nav.class,"",true); nav.setSiteId(getCurrentSite().getId()); @@ -62,6 +65,7 @@ public class NavController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Integer id = getParaToInt("id"); Nav nav = new Nav().dao().findById(id); @@ -73,6 +77,7 @@ public class NavController extends BaseController { /** * 更新 */ + @Mapping("update") public void update() { Nav nav = getModel(Nav.class,"",true); nav.setValue(); @@ -84,6 +89,7 @@ public class NavController extends BaseController { /** * 修改排序 */ + @Mapping("updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -101,6 +107,7 @@ public class NavController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Integer id = getParaToInt("id"); Nav nav = new Nav().dao().findById(id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ProfileController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ProfileController.java index b293182..19b9415 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ProfileController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/ProfileController.java @@ -27,6 +27,7 @@ public class ProfileController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { setAttr("admin", new Admin().dao().findById(getCurrentAdmin().getId())); render(getView("profile/edit")); @@ -35,6 +36,7 @@ public class ProfileController extends BaseController { /** * 更新 */ + @Mapping("update") public void update() { String currentPassword = getPara("currentPassword"); String password = getPara("password"); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/RoleController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/RoleController.java index 06d8f09..de11131 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/RoleController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/RoleController.java @@ -29,6 +29,7 @@ public class RoleController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); Integer pageNumber = getParaToInt("pageNumber"); @@ -42,6 +43,7 @@ public class RoleController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { setAttr("sites", new Site().dao().findAll()); setAttr("rootMenus", new Menu().dao().findRoots()); @@ -51,6 +53,7 @@ public class RoleController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { Role role = getModel(Role.class,"",true); String[] permissions = getParaValues("permissions"); @@ -75,6 +78,7 @@ public class RoleController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Long id = getParaToLong("id"); setAttr("role", new Role().dao().findById(id)); @@ -88,6 +92,7 @@ public class RoleController extends BaseController { /** * 修改 */ + @Mapping("update") public void update() { Role role = getModel(Role.class,"",true); String[] permissions = getParaValues("permissions"); @@ -112,6 +117,7 @@ public class RoleController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Long ids[] = getParaValuesToLong("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SetupController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SetupController.java index 36573a1..50032ea 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SetupController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SetupController.java @@ -8,6 +8,7 @@ package vip.fuck.sm.plugins.cms.controller.admin; import org.apache.commons.lang.StringUtils; import org.noear.solon.annotation.Controller; +import org.noear.solon.annotation.Get; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.Config; import vip.fuck.sm.plugins.cms.Feedback; @@ -34,6 +35,8 @@ public class SetupController extends BaseController { /** * 编辑 */ + @Get + @Mapping() public void index(){ Config config = SystemUtils.getConfig(); setAttr("config", config); @@ -43,6 +46,7 @@ public class SetupController extends BaseController { /** * 更新 */ + @Mapping("update") public void update(){ Map setupMap = new Setup().getSetupMap(); Set keys = setupMap.keySet(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SiteController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SiteController.java index b5d4a2d..87834e0 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SiteController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SiteController.java @@ -30,6 +30,7 @@ public class SiteController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); Integer pageNumber = getParaToInt("pageNumber"); @@ -43,6 +44,7 @@ public class SiteController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { setAttr("templates", TemplateUtils.getTemplates()); render(getView("site/add")); @@ -51,6 +53,7 @@ public class SiteController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { Site site = getModel(Site.class,"",true); if(StringUtils.isBlank(site.getPcTemplate())){ @@ -76,6 +79,7 @@ public class SiteController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Long id = getParaToLong("id"); setAttr("site", new Site().dao().findById(id)); @@ -86,6 +90,7 @@ public class SiteController extends BaseController { /** * 更新 */ + @Mapping("update") public void update() { Site site = getModel(Site.class,"",true); site.setUpdateDate(new Date()); @@ -96,6 +101,7 @@ public class SiteController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ @@ -111,6 +117,7 @@ public class SiteController extends BaseController { /** * 设置为默认站点 */ + @Mapping("setDefault") public void setDefault(){ Long id = getParaToLong("id"); Site defaultSite = new Site().dao().findDefault(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SlideController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SlideController.java index a8a9ed4..94d2204 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SlideController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/SlideController.java @@ -27,6 +27,7 @@ public class SlideController extends BaseController { /** * 列表 */ + @Mapping() public void index(){ setListQuery(); Integer pageNumber = getParaToInt("pageNumber"); @@ -42,6 +43,7 @@ public class SlideController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { setAttr("gids", new Slide().dao().findGids(getCurrentSite().getId())); render(getView("slide/add")); @@ -50,6 +52,7 @@ public class SlideController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { Slide slide = getModel(Slide.class,"",true); if(slide.getGid()==null){ @@ -70,6 +73,7 @@ public class SlideController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Integer id = getParaToInt("id"); setAttr("slide", new Slide().dao().findById(id)); @@ -80,6 +84,7 @@ public class SlideController extends BaseController { /** * 修改 */ + @Mapping("update") public void update() { Slide slide = getModel(Slide.class,"",true); slide.setUpdateDate(new Date()); @@ -90,6 +95,7 @@ public class SlideController extends BaseController { /** * 修改排序 */ + @Mapping("updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -107,6 +113,7 @@ public class SlideController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Long ids[] = getParaValuesToLong("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TagController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TagController.java index 4246eca..c3ab5a2 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TagController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TagController.java @@ -25,6 +25,7 @@ public class TagController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); String name = getPara("name"); @@ -41,6 +42,7 @@ public class TagController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { render(getView("tag/add")); } @@ -48,6 +50,7 @@ public class TagController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { Tag tag = getModel(Tag.class,"",true); tag.setSiteId(getCurrentSite().getId()); @@ -60,6 +63,7 @@ public class TagController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Integer id = getParaToInt("id"); setAttr("tag", new Tag().dao().findById(id)); @@ -69,6 +73,7 @@ public class TagController extends BaseController { /** * 更新 */ + @Mapping("update") public void update() { Tag tag = getModel(Tag.class,"",true); tag.setUpdateDate(new Date()); @@ -79,6 +84,7 @@ public class TagController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TemplateController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TemplateController.java index e3387f7..e526b94 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TemplateController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/TemplateController.java @@ -31,6 +31,7 @@ public class TemplateController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); String directory = getPara("directory"); @@ -46,6 +47,7 @@ public class TemplateController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { String directory = getPara("directory"); setAttr("directory", directory); @@ -55,6 +57,7 @@ public class TemplateController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { String fileName = getPara("fileName"); String content = getPara("content"); @@ -77,6 +80,7 @@ public class TemplateController extends BaseController { /** * 查看 */ + @Mapping("view") public void view() { String fileName = getPara("fileName"); String directory = getPara("directory"); @@ -96,6 +100,7 @@ public class TemplateController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { String fileName = getPara("fileName"); String directory = getPara("directory"); @@ -118,6 +123,7 @@ public class TemplateController extends BaseController { /** * 更新 */ + @Mapping("update") public void update() { String fileName = getPara("fileName"); String directory = getPara("directory"); @@ -139,6 +145,7 @@ public class TemplateController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { String fileName = getPara("fileName"); String directory = getPara("directory"); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WebController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WebController.java index 077d79d..25ddd96 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WebController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WebController.java @@ -29,6 +29,7 @@ public class WebController extends BaseController { /** * 编辑 */ + @Mapping public void index(){ Web web = new Web().dao().findBySiteId(getCurrentSite().getId()); setAttr("web", web); @@ -38,6 +39,7 @@ public class WebController extends BaseController { /** * 修改 */ + @Mapping("update") public void update(){ Web web = getModel(Web.class,"",true); web.update(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WechatMenuController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WechatMenuController.java index 87ddce3..abb21f9 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WechatMenuController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/WechatMenuController.java @@ -25,6 +25,7 @@ public class WechatMenuController extends BaseController { /** * 编辑 */ + @Mapping() public void index() { List wechatMenus = new WechatMenu().dao().findRoots(); setAttr("wechatMenus", wechatMenus); @@ -34,6 +35,7 @@ public class WechatMenuController extends BaseController { /** * 修改 */ + @Mapping("update") public void update() { String data = getPara("data"); JSONArray jsonArray = JSONArray.parseArray(data); @@ -95,7 +97,7 @@ public class WechatMenuController extends BaseController { renderJson(Feedback.success(new HashMap<>())); } -// todo @NotAction + public WechatMenu updateData(JSONObject jsonObject,Integer parentId){ Long id = jsonObject.getLong("id"); String name = jsonObject.getString("name"); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/div/DivFieldController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/div/DivFieldController.java index 334b9c4..6cb1fc8 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/div/DivFieldController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/div/DivFieldController.java @@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.Feedback; import vip.fuck.sm.plugins.cms.controller.admin.BaseController; @@ -24,12 +25,14 @@ import java.util.List; * * */ +@Controller @Mapping("/admin/div/div_field") public class DivFieldController extends BaseController { /** * 列表 */ + @Mapping() public void index() { setListQuery(); Integer divId = getParaToInt("divId"); @@ -42,6 +45,7 @@ public class DivFieldController extends BaseController { /** * 检查名称是否存在 */ + @Mapping("checkName") public void checkName() { Integer divId = getParaToInt("divId"); String name = getPara("name"); @@ -56,6 +60,7 @@ public class DivFieldController extends BaseController { /** * 添加 */ + @Mapping("add") public void add() { Integer divId = getParaToInt("divId"); setAttr("div", new Div().dao().findById(divId)); @@ -68,6 +73,7 @@ public class DivFieldController extends BaseController { /** * 保存 */ + @Mapping("save") public void save() { DivField divField = getModel(DivField.class,"",true); divField.setCreateDate(new Date()); @@ -83,6 +89,7 @@ public class DivFieldController extends BaseController { /** * 编辑 */ + @Mapping("edit") public void edit() { Integer id = getParaToInt("id"); setAttr("divField", new DivField().dao().findById(id)); @@ -92,6 +99,7 @@ public class DivFieldController extends BaseController { /** * 修改 */ + @Mapping("update") public void update() { DivField divField = getModel(DivField.class,"",true); divField.setUpdateDate(new Date()); @@ -102,6 +110,7 @@ public class DivFieldController extends BaseController { /** * 修改排序 */ + @Mapping("updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -119,6 +128,7 @@ public class DivFieldController extends BaseController { /** * 删除 */ + @Mapping("delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/model/ModelFieldController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/model/ModelFieldController.java index e1df28e..c6b5f45 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/model/ModelFieldController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/admin/model/ModelFieldController.java @@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.Feedback; import vip.fuck.sm.plugins.cms.controller.admin.BaseController; @@ -25,11 +26,13 @@ import java.util.List; * */ @Mapping("/admin/model/model_field") +@Controller public class ModelFieldController extends BaseController { /** * 列表 */ + @Mapping public void index() { setListQuery(); Integer modelId = getParaToInt("modelId"); @@ -42,6 +45,7 @@ public class ModelFieldController extends BaseController { /** * 检查名称是否存在 */ + @Mapping("/checkName") public void checkName() { Integer modelId = getParaToInt("modelId"); String name = getPara("name"); @@ -56,6 +60,7 @@ public class ModelFieldController extends BaseController { /** * 添加 */ + @Mapping("/add") public void add() { Integer modelId = getParaToInt("modelId"); setAttr("model", new Model().dao().findById(modelId)); @@ -65,6 +70,7 @@ public class ModelFieldController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save() { ModelField modelField = getModel(ModelField.class,"",true); modelField.setCreateDate(new Date()); @@ -77,6 +83,7 @@ public class ModelFieldController extends BaseController { /** * 编辑 */ + @Mapping("/edit") public void edit() { Integer id = getParaToInt("id"); setAttr("modelField", new ModelField().dao().findById(id)); @@ -86,6 +93,7 @@ public class ModelFieldController extends BaseController { /** * 更新 */ + @Mapping("/update") public void update() { ModelField modelField = getModel(ModelField.class,"",true); modelField.setUpdateDate(new Date()); @@ -96,6 +104,7 @@ public class ModelFieldController extends BaseController { /** * 修改排序 */ + @Mapping("/updateSort") public void updateSort(){ String sortArray = getPara("sortArray"); JSONArray jsonArray = JSONArray.parseArray(sortArray); @@ -113,6 +122,7 @@ public class ModelFieldController extends BaseController { /** * 删除 */ + @Mapping("/delete") public void delete() { Integer ids[] = getParaValuesToInt("ids"); if(ArrayUtils.isNotEmpty(ids)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/CaptchaController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/CaptchaController.java index 68026e4..526ff07 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/CaptchaController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/CaptchaController.java @@ -4,16 +4,18 @@ import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.controller.admin.BaseController; - +@Controller @Mapping("/common/captcha") public class CaptchaController extends BaseController { + @Mapping("image") public void image(){ renderCaptcha(); } + @Mapping("check") public void check(){ renderJson(validateCaptcha("captcha")); } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/DownController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/DownController.java index 78fed96..b91da7e 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/DownController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/common/DownController.java @@ -2,15 +2,18 @@ package vip.fuck.sm.plugins.cms.controller.common; import com.jfinal.kit.PathKit; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.controller.admin.BaseController; import java.io.File; +@Controller @Mapping("/common/down") public class DownController extends BaseController { + @Mapping("file") public void file(){ String fileKey = getPara("fileKey"); renderFile(new File(PathKit.getWebRootPath()+fileKey)); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/AjaxController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/AjaxController.java index 42d7c4c..786d28f 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/AjaxController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/AjaxController.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; @@ -10,13 +11,15 @@ import org.noear.solon.annotation.Mapping; * * */ -@Mapping("/ajax") +@Controller +@Mapping("/cms/ajax") public class AjaxController extends BaseController { /** * HTML */ + @Mapping("/html") public void html(){ keepPara(); String html = getPara("html"); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/BaseController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/BaseController.java index 81fb85b..785e865 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/BaseController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/BaseController.java @@ -2,10 +2,17 @@ package vip.fuck.sm.plugins.cms.controller.front; import cn.hutool.core.util.ObjectUtil; +import cn.hutool.json.JSONUtil; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; +import org.noear.solon.core.handle.Context; +import org.noear.solon.core.handle.ModelAndView; +import vip.fuck.sm.plugins.cms.CommonAttribute; +import vip.fuck.sm.plugins.cms.entity.Company; import vip.fuck.sm.plugins.cms.entity.Site; +import vip.fuck.sm.plugins.cms.entity.Web; import vip.fuck.sm.plugins.cms.util.DeviceUtils; +import vip.fuck.sm.plugins.cms.util.JFinal; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; @@ -26,16 +33,44 @@ public class BaseController extends vip.fuck.sm.plugins.cms.controller.admin.Ba + public void render(String view){ + try { + Context.current().renderAndReturn(getView(view)); + } catch (Throwable e) { + throw new RuntimeException(e); + } + } + + public ModelAndView getView(String view){ + Site currSite = getCurrentSite(); + if (ObjectUtil.isEmpty(currSite)) { + Site currentSite = new Site().dao().findById(1); + getSession().sessionSet(Site.ADMIN_SESSION_SITE, currentSite); + } + String pcTemplate = currSite.getPcTemplate(); + String mobileTemplate = currSite.getMobileTemplate(); + if(ObjectUtil.isEmpty(pcTemplate)){ + currSite.setPcTemplate(""); + } + if(ObjectUtil.isEmpty(mobileTemplate)){ + currSite.setMobileTemplate(""); + } + ModelAndView modelAndView = new ModelAndView(CommonAttribute.FRONT_PATH + view + CommonAttribute.VIEW_EXTENSION); + modelAndView.put("base", JFinal.getContextPath()); + modelAndView.put("currentSite",currSite); + modelAndView.put("currentCategory", JSONUtil.createObj()); + modelAndView.put(Web.CURRENT_WEB, new Web().dao().findBySiteId(currSite.getId())); + modelAndView.put(Company.CURRENT_COMPANY, new Company().dao().findBySiteId(currSite.getId())); + return modelAndView; + } + + /** * 获取当前站点 * * @return 当前站点 */ -// @NotAction - protected Site getCurrentSite() { - Site currentSite = getAttr(Site.CURRENT_SITE,Site.class); - return currentSite; - } + /** * 获取当前模板 diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/CategoryController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/CategoryController.java index a7511a1..0f8c46b 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/CategoryController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/CategoryController.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.entity.Category; import vip.fuck.sm.plugins.cms.entity.Model; @@ -12,12 +13,14 @@ import vip.fuck.sm.plugins.cms.entity.Model; * * */ -@Mapping("/category") +@Controller +@Mapping("/cms/category") public class CategoryController extends BaseController { /** * 栏目 */ + @Mapping() public void index() { Integer id = getParaToInt("id"); Category category = new Category().dao().findById(id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/ContentController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/ContentController.java index f6f2b05..cf2c800 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/ContentController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/ContentController.java @@ -6,6 +6,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.entity.Category; import vip.fuck.sm.plugins.cms.entity.Content; @@ -17,12 +18,14 @@ import vip.fuck.sm.plugins.cms.entity.Content; * * */ -@Mapping("/content") +@Controller +@Mapping("/cms/content") public class ContentController extends BaseController { /** * 内容 */ + @Mapping() public void index() { Integer id = getParaToInt("id"); Content content = new Content().dao().findById(id); @@ -35,6 +38,7 @@ public class ContentController extends BaseController { /** * 点击数 */ + @Mapping("visits") public void visits() { Integer id = getParaToInt("id"); if (id == null) { diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DevOpenController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DevOpenController.java index 39a408c..e98e02e 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DevOpenController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DevOpenController.java @@ -4,6 +4,7 @@ package vip.fuck.sm.plugins.cms.controller.front; import com.jfinal.plugin.activerecord.Db; import com.jfinal.plugin.activerecord.Page; import com.jfinal.plugin.activerecord.Record; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.Config; import vip.fuck.sm.plugins.cms.entity.Div; @@ -16,9 +17,11 @@ import vip.fuck.sm.plugins.cms.util.SystemUtils; import java.util.*; import java.util.stream.Collectors; -@Mapping("/api/dev/data") +@Controller +@Mapping("/api/cms/dev/data") public class DevOpenController extends BaseController{ + @Mapping("/listByDivId") public void listByDivId(){ setListQuery(); Integer divId = getParaToInt("divId"); @@ -114,7 +117,7 @@ public class DevOpenController extends BaseController{ renderJson(rel ); } -// @NotAction todo + private void joinImageDomain(Record record ,List divFields){ if(record==null || divFields==null){ return; @@ -133,23 +136,24 @@ public class DevOpenController extends BaseController{ if(v.startsWith("/static/")){ record.set(columnName,config.getDomain()+v); }else{ - record.set(columnName,config.getDomain()+"/static/images/nopic.jpg"); + record.set(columnName,config.getDomain()+"/cms/static/images/nopic.jpg"); } } else if (isRichText) { String s = HtmlUtils.replaceHtmlTag(v,"img","src", "src=\""+config.getDomain(), - "\" onerror=\"javascript:this.src='"+config.getDomain()+"/static/images/nopic.jpg';\""); + "\" onerror=\"javascript:this.src='"+config.getDomain()+"/cms/static/images/nopic.jpg';\""); record.set(columnName,s); } }else if(o ==null ||Objects.equals("",o)){ if(isUploadImg){ - record.set(columnName,config.getDomain()+"/static/images/nopic.jpg"); + record.set(columnName,config.getDomain()+"/cms/static/images/nopic.jpg"); } } } } + @Mapping("/getByDivIdAndId") public void getByDivIdAndId(){ Integer id = getParaToInt("id"); Integer divId = getParaToInt("divId"); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DivController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DivController.java index 8b7ba45..b5ae4e0 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DivController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/DivController.java @@ -3,6 +3,7 @@ package vip.fuck.sm.plugins.cms.controller.front; import com.jfinal.plugin.activerecord.Db; import com.jfinal.plugin.activerecord.Record; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.Feedback; import vip.fuck.sm.plugins.cms.entity.Div; @@ -19,13 +20,15 @@ import java.util.List; * * */ -@Mapping("/div") +@Controller +@Mapping("/cms/div") public class DivController extends BaseController { /** * 保存 */ + @Mapping("/save") public void save(){ Integer id = getParaToInt("id"); Div div = new Div().dao().findById(id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/GuestbookController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/GuestbookController.java index b04503b..815f480 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/GuestbookController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/GuestbookController.java @@ -2,6 +2,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.Feedback; import vip.fuck.sm.plugins.cms.entity.Guestbook; @@ -17,13 +18,20 @@ import java.util.HashMap; * * */ -@Mapping("/guestbook") +@Controller +@Mapping("/cms/guestbook") public class GuestbookController extends BaseController { + @Mapping() + public void index() { + render(getView("/templates/"+getCurrentTemplate()+"/guestbook")); + } + /** * 留言 */ + @Mapping("/save") public void save(){ if(!validateCaptcha("captcha")){ renderJson(Feedback.error("验证码错误!")); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/IndexController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/IndexController.java index a064d53..7311eea 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/IndexController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/IndexController.java @@ -1,7 +1,10 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; +import org.noear.solon.annotation.Path; +import org.noear.solon.core.handle.ModelAndView; /** @@ -10,16 +13,24 @@ import org.noear.solon.annotation.Mapping; * * */ -@Mapping("/") +@Controller +@Mapping("/cms/") public class IndexController extends BaseController { /** * 首页 */ + @Mapping() public void index() { - render("/templates/"+getCurrentTemplate()+"/index.shtm"); + render(getView("/templates/"+getCurrentTemplate()+"/index")); } + @Mapping("/{pn}") + public void about(@Path("pn") String pn) { + render(getView("/templates/"+getCurrentTemplate()+"/"+pn)); + } + + } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/PageController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/PageController.java index e7f99d7..d01882d 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/PageController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/PageController.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; @@ -10,13 +11,15 @@ import org.noear.solon.annotation.Mapping; * * */ -@Mapping("/page") +@Controller +@Mapping("/cms/page") public class PageController extends BaseController { /** * 页面 */ + @Mapping() public void index(){ keepPara(); String html = getPara(0); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/SearchController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/SearchController.java index cc3244a..0e78ba5 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/SearchController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/SearchController.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; @@ -10,13 +11,15 @@ import org.noear.solon.annotation.Mapping; * * */ -@Mapping("/search") +@Controller +@Mapping("/cms/search") public class SearchController extends BaseController { /** * 搜索 */ + @Mapping() public void index() { String keyword = getPara("keyword"); Integer pageNumber = getParaToInt("pageNumber"); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/TagController.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/TagController.java index 6f96128..4a36c5e 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/TagController.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/controller/front/TagController.java @@ -1,6 +1,7 @@ package vip.fuck.sm.plugins.cms.controller.front; +import org.noear.solon.annotation.Controller; import org.noear.solon.annotation.Mapping; import vip.fuck.sm.plugins.cms.entity.Tag; @@ -11,12 +12,14 @@ import vip.fuck.sm.plugins.cms.entity.Tag; * * */ -@Mapping("/tag") +@Controller +@Mapping("/cms/tag") public class TagController extends BaseController { /** * 标签 */ + @Mapping() public void index() { Integer id = getParaToInt("id"); Tag tag = new Tag().dao().findById(id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Category.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Category.java index 0eb6678..b057d46 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Category.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Category.java @@ -187,7 +187,7 @@ public class Category extends BaseCategory { */ public List findParents(Integer categoryId,Boolean recursive,Integer start, Integer count,Integer siteId){ Category category = findById(categoryId); - if(categoryId == null || category.getParentId() == null){ + if( category == null || categoryId == null || category.getParentId() == null){ return Collections.emptyList(); } String filterSql = " and siteId="+siteId+" and status="+Status.NORMAL.ordinal(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Site.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Site.java index c22c0c4..f5e87d9 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Site.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Site.java @@ -3,6 +3,7 @@ package vip.fuck.sm.plugins.cms.entity; import com.jfinal.plugin.activerecord.Page; import org.apache.commons.lang.StringUtils; +import org.noear.solon.Solon; import vip.fuck.sm.plugins.cms.entity.base.BaseSite; import vip.fuck.sm.plugins.cms.util.DbUtils; import vip.fuck.sm.plugins.cms.util.JFinal; @@ -88,7 +89,7 @@ public class Site extends BaseSite { * 获取地址 */ public String getUrl(){ - String contextPath = JFinal.me().getContextPath(); + String contextPath = JFinal.getContextPath(); if(Type.CAT.ordinal()==getType()){ String cat = getCat(); //目录 if(StringUtils.isBlank(cat)){ diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Tag.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Tag.java index 2d4ce17..7dbcbd6 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Tag.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/Tag.java @@ -97,7 +97,7 @@ public class Tag extends BaseTag { * @return 路径 */ public String getPath() { - String url = JFinal.me().getContextPath(); + String url = JFinal.getContextPath(); String param = ""; Site site = new Site().dao().findById(getSiteId()); String siteCat = site.getCat(); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/base/BaseAdmin.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/base/BaseAdmin.java index 4dbd5f8..04a9521 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/base/BaseAdmin.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/entity/base/BaseAdmin.java @@ -9,9 +9,6 @@ import com.jfinal.plugin.activerecord.Model; @SuppressWarnings({"serial", "unchecked"}) public abstract class BaseAdmin> extends Model implements IBean { - { - use("cmsDb"); - } public M setId(Integer id) { set("id", id); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/BaseDirective.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/BaseDirective.java index b7e34f4..9010a4a 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/BaseDirective.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/BaseDirective.java @@ -73,7 +73,7 @@ public abstract class BaseDirective extends Directive { Expr expr = params.get(name); if(expr!=null){ Object value = expr.eval(scope); - return (T)CONVERT_UTILS.convert(value, type); + return (T) CONVERT_UTILS.convert(value, type); } return null; } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/ContentPageDirective.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/ContentPageDirective.java index 098cf1f..112ebd4 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/ContentPageDirective.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/ContentPageDirective.java @@ -51,6 +51,7 @@ public class ContentPageDirective extends BaseDirective { Integer tagId = getParameter(TAG_ID_PARAMETER_NAME, Integer.class, scope); String keyword = getParameter(KEYWORD_PARAMETER_NAME, String.class, scope); Integer pageNumber = getParameter(PAGE_NUMBER_PARAMETER_NAME, Integer.class, scope); + pageNumber = pageNumber==null||pageNumber<=1?1:pageNumber; Integer pageSize = getParameter(PAGE_SIZE_PARAMETER_NAME, Integer.class, scope); String condition = getCondition(scope); String orderBy = getOrderBy(scope); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/SqlPageDirective.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/SqlPageDirective.java index 45e5700..a141916 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/SqlPageDirective.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/directive/SqlPageDirective.java @@ -6,6 +6,9 @@ package vip.fuck.sm.plugins.cms.template.directive; +import cn.hutool.core.util.ObjectUtil; +import cn.hutool.json.JSONObject; +import cn.hutool.json.JSONUtil; import com.jfinal.plugin.activerecord.Db; import com.jfinal.plugin.activerecord.Page; import com.jfinal.plugin.activerecord.Record; @@ -15,6 +18,10 @@ import com.jfinal.template.stat.Scope; import org.noear.solon.annotation.Component; import vip.fuck.sm.plugins.cms.TemplateVariable; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + /** * 模板指令 - SQL分页 * @@ -43,11 +50,27 @@ public class SqlPageDirective extends BaseDirective { public void exec(Env env, Scope scope, Writer writer) { scope = new Scope(scope); Integer pageNumber = getParameter(PAGE_NUMBER_PARAMETER_NAME, Integer.class, scope); + if(pageNumber == null || pageNumber<=1){ + pageNumber = 1; + } Integer pageSize = getParameter(PAGE_SIZE_PARAMETER_NAME, Integer.class, scope); String select = getParameter(SELECT_PARAMETER_NAME, String.class, scope); String from = getParameter(FROM_PARAMETER_NAME, String.class, scope); Page page = Db.paginate(pageNumber, pageSize, select,from); - scope.setLocal(VARIABLE_NAME,page); + JSONObject res = JSONUtil.parseObj(page); + if(page.getList()!=null){ + List collect = page.getList().stream().map(it -> { + JSONObject obj = JSONUtil.createObj(); + Map columns = it.getColumns(); + if(ObjectUtil.isNotEmpty(columns)){ + columns.forEach(obj::set); + } + return obj; + }).collect(Collectors.toList()); + res.set("list",collect); + } +// scope.setLocal(VARIABLE_NAME,page); + scope.setLocal(VARIABLE_NAME,res); stat.exec(env, scope, writer); } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/method/CommonMethod.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/method/CommonMethod.java index d87a93f..e76f00d 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/method/CommonMethod.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/template/method/CommonMethod.java @@ -3,6 +3,7 @@ package vip.fuck.sm.plugins.cms.template.method; import com.jfinal.kit.StrKit; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.StringUtils; +import org.noear.solon.annotation.Component; import java.util.Collection; import java.util.List; diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/HtmlUtils.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/HtmlUtils.java index 9bc2adc..b0f2fde 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/HtmlUtils.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/HtmlUtils.java @@ -96,7 +96,7 @@ public class HtmlUtils { delete(content); Map model = new HashMap(); Site site = new Site().dao().findById(content.getSiteId()); - model.put("base", JFinal.me().getContextPath()); + model.put("base", JFinal.getContextPath()); model.put(Site.CURRENT_SITE, site); model.put(Web.CURRENT_WEB, new Web().dao().findBySiteId(site.getId())); model.put(Company.CURRENT_COMPANY, new Company().dao().findBySiteId(site.getId())); @@ -125,7 +125,7 @@ public class HtmlUtils { } Map model = new HashMap(); Site site = new Site().dao().findById(category.getSiteId()); - model.put("base", JFinal.me().getContextPath()); + model.put("base", JFinal.getContextPath()); model.put(Site.CURRENT_SITE, site); model.put(Web.CURRENT_WEB, new Web().dao().findBySiteId(site.getId())); model.put(Company.CURRENT_COMPANY, new Company().dao().findBySiteId(site.getId())); @@ -244,7 +244,7 @@ public class HtmlUtils { Site site = new Site().dao().findById(siteId); int generateCount = 0; Map model = new HashMap(); - model.put("base", JFinal.me().getContextPath()); + model.put("base", JFinal.getContextPath()); model.put(Site.CURRENT_SITE, site); model.put(Web.CURRENT_WEB, new Web().dao().findBySiteId(site.getId())); model.put(Company.CURRENT_COMPANY, new Company().dao().findBySiteId(site.getId())); diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/JFinal.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/JFinal.java index a8bc5e7..0775601 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/JFinal.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/JFinal.java @@ -1,11 +1,14 @@ package vip.fuck.sm.plugins.cms.util; -public class JFinal { - public static JFinal me(){ - return null; - } +import org.noear.solon.Solon; - public String getContextPath() { - return null; +public class JFinal { + + public static String getContextPath() { + String contextPath = Solon.cfg().get("server.contextPath","/"); + String port = Solon.cfg().get("server.port",""); + String schema = Solon.cfg().get("server.schema"); + String domain = Solon.cfg().get("server.domain","localhost"); + return String.format("%s%s:%s/%s/cms/",schema,domain,port, contextPath); } } diff --git a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/SystemUtils.java b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/SystemUtils.java index c987dec..e303384 100644 --- a/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/SystemUtils.java +++ b/plugins/cms/src/main/java/vip/fuck/sm/plugins/cms/util/SystemUtils.java @@ -8,6 +8,8 @@ package vip.fuck.sm.plugins.cms.util; import com.jfinal.plugin.ehcache.CacheKit; import org.apache.commons.beanutils.BeanUtils; +import org.noear.solon.Solon; +import org.noear.solon.data.cache.CacheService; import vip.fuck.sm.plugins.cms.Config; import vip.fuck.sm.plugins.cms.entity.Setup; @@ -35,7 +37,8 @@ public final class SystemUtils { */ public static Config getConfig() { String cacheKey = "config"; - Config config = CacheKit.get(Config.CACHE_NAME,cacheKey); + CacheService cache = Solon.context().getBean(CacheService.class); + Config config = cache.get(Config.CACHE_NAME+":"+cacheKey,Config.class); if (config == null) { Map setupMap = new Setup().dao().getSetupMap(); config = new Config(); @@ -50,7 +53,7 @@ public final class SystemUtils { e.printStackTrace(); } } - CacheKit.put(Config.CACHE_NAME,cacheKey,config); + cache.store(Config.CACHE_NAME+":"+cacheKey,config,60*60*24*3); } return config; } diff --git a/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/add.shtm b/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/add.shtm new file mode 100644 index 0000000..7ce667f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/add.shtm @@ -0,0 +1,121 @@ + + + + + #include("/cms/admin/view/include/common.shtm") + + + +
+ + #include("/cms/admin/view/include/header.shtm") + + + #include("/cms/admin/view/include/menu.shtm") + + +
+ +
+
+ + +
+
自定义表字段信息
+
+
字段描述
+
+ +
+
UI控件
+
+ + + + + + + + + + + + + + +
+
字段名称
+
+ +
+
排序
+
+ +
+
+ +
+ + +
+ +
+ +
+
+ +
+ + + #include("/cms/admin/view/include/footer.shtm") + +
+ + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/edit.shtm b/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/edit.shtm new file mode 100644 index 0000000..17cae52 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/edit.shtm @@ -0,0 +1,95 @@ + + + + + #include("/cms/admin/view/include/common.shtm") + + + +
+ + #include("/cms/admin/view/include/header.shtm") + + + #include("/cms/admin/view/include/menu.shtm") + + +
+ +
+
+ + +
+
自定义表字段信息
+
+
字段描述
+
+ +
+
UI控件
+
+ + + + + + + + + + + + + + +
+
字段名称
+
+ #(divField.name) +
+
排序
+
+ +
+
+ +
+ + +
+ +
+ +
+
+ +
+ + + #include("/cms/admin/view/include/footer.shtm") + +
+ + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/index.shtm b/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/index.shtm new file mode 100644 index 0000000..531f556 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/admin/view/div/div_field/index.shtm @@ -0,0 +1,92 @@ + + + + + #include("/cms/admin/view/include/common.shtm") + + + +
+ + #include("/cms/admin/view/include/header.shtm") + + + #include("/cms/admin/view/include/menu.shtm") + + +
+ +
+ +
+
+

自定义表字段

+
+
+ +
+ +
+
+
+ + + + + +
+
+
+ + + + + + + + + + + + + + + + #for(divField : divFields) + + + + + + + + + + #end + +
ID描述名称创建时间排序操作
#(divField.id)#(divField.alias)#(divField.name)#date(divField.createDate,'yyyy-MM-dd HH:mm:ss') + +
+ +
+ +
+ +
+
+ +
+ + + #include("/cms/admin/view/include/footer.shtm") + +
+ + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/about.shtm new file mode 100644 index 0000000..18a20f0 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/about.shtm @@ -0,0 +1,42 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + #include("position.shtm") + +

#(currentCategory.name)

+
#(currentCategory.introduction)
+
+ + +#include("footer.shtm") + + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/case.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/case.shtm new file mode 100644 index 0000000..096606b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/case.shtm @@ -0,0 +1,63 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 8) +
+ #for(content : contentPage.list) + + #end +
+ + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + + #end + +
+ + +#include("footer.shtm") + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/case_detail.shtm new file mode 100644 index 0000000..7cef2c3 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/case_detail.shtm @@ -0,0 +1,51 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + +

#(currentContent.title)

+
+ 时间:#date(currentContent.createDate,'yyyy-MM-dd')   访问量: +
+
#(currentContent.introduction)
+ +
+

上一篇:#if(currentContent.lastContent??)#(abbreviate(currentContent.lastContent.title,15,''))#else无#end

+

下一篇:#if(currentContent.nextContent??)#(abbreviate(currentContent.nextContent.title,15,''))#else无#end

+
+
+ + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/footer.shtm new file mode 100644 index 0000000..150beac --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/footer.shtm @@ -0,0 +1,144 @@ + + + + +
+ + +
+
+ + +
+ #category(id=104) + #(category.name) + #end +
+
+
+ + +
+
+
+

在线咨询

+

+ + 点击这里给我发消息 + 售前咨询专员 + +

+

+ + 点击这里给我发消息 + 售后服务专员 + +

+
+
+
在线咨询
+
+ +
+
+

免费通话

+

24小时免费咨询

+

请输入您的联系电话,座机请加区号

+
+

+

+
+
+
+
免费通话
+
+ +
+
+

微信扫一扫

+

+
+
+
微信联系
+
+ +
+
+
返回顶部
+
+
+ + + + + + + +#(currentWeb.statistical) diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/guestbook.shtm new file mode 100644 index 0000000..0d42e20 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/guestbook.shtm @@ -0,0 +1,159 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + +
留言记录
+ + + #sql_page(select = "select * ",from=" from cms_guestbook order by createDate desc",pageNumber = pageNumber,pageSize = 5) + #for(record : recordPage.list) +
+ +
+
#(record.contact):
+

#(record.content)

+

+ #if(record.mobile?? && record.mobile.length()==11)#(record.mobile.substring(1,3))****#(record.mobile.substring(8))#else #(record.mobile??"") #end + #date(record.createDate,'yyyy-MM-dd') +

+
+ +
+
管理员回复:
+

#(record.replyContent)

+

#date(record.replyDate,'yyyy-MM-dd')

+
+
+
+
+ #end + + + #page(pageNumber = recordPage.pageNumber,totalPages = recordPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + + #end + + +
+
+
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ + + + + + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/header.shtm new file mode 100644 index 0000000..9f22a8a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/header.shtm @@ -0,0 +1,31 @@ + + + + +
+ diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/index.shtm new file mode 100644 index 0000000..30c87ce --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/index.shtm @@ -0,0 +1,155 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + +
+
+ #slide_list(count=5,gid=1) + #for(slide : slides) +
+ + + +
+
+

#(slide.title)

+

#(slide.subtitle)

+
+
+
+ #end + #end +
+
+
+
+
+ + +#category(id=104) +
+
+
#(category.name)
+
- #(category.subname) -
+ +
+ #content_list(categoryId=104,count=4) + #for(content : contents) +
+
+
#(content.title)
+
+
#(abbreviate(content.title,12,''))
+

+ #if(content.isTop) + 置顶 + #else if(content.isRecommend) + 推荐 + #else if(content.isHeadline) + 头条 + #end + #(abbreviate(content.text,50,'')) +

+
+
+
+ #end + #end +
+ +
+
+#end + + +#category(id=100) +
+
+
#(category.name)
+
- #(category.subname) -
+
+ #(abbreviate(category.text,442,'')) +
+ +
+
+#end + + +#category(id=102) +
+
+
#(category.name)
+
- #(category.subname) -
+ +
+ #content_list(categoryId=category.id,count=4) + #for(content : contents) + + #end + #end +
+ +
+
+#end + + + + + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/job.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/job.shtm new file mode 100644 index 0000000..e89217a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/job.shtm @@ -0,0 +1,65 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 10) +
+ #for(content : contentPage.list) +
+
+
招聘职位:#(content.title)
+
+

#(abbreviate(content.title,50,''))

+ 查看详情 +
+ +
+
+ #end +
+ + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + + #end +
+ + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/job_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/job_detail.shtm new file mode 100644 index 0000000..bff701a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/job_detail.shtm @@ -0,0 +1,51 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + +

#(currentContent.title)

+
+ 时间:#date(currentContent.createDate,'yyyy-MM-dd')   访问量: +
+
#(currentContent.introduction)
+
+

上一篇:#if(currentContent.lastContent??)#(abbreviate(currentContent.lastContent.title,15,''))#else无#end

+

下一篇:#if(currentContent.nextContent??)#(abbreviate(currentContent.nextContent.title,15,''))#else无#end

+
+ +
+ + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/news.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/news.shtm new file mode 100644 index 0000000..18138ee --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/news.shtm @@ -0,0 +1,71 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 10) + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + + #end + +
+ + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/news_detail.shtm new file mode 100644 index 0000000..cc4392e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/news_detail.shtm @@ -0,0 +1,52 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + +

#(currentContent.title)

+
+ 时间:#date(currentContent.createDate,'yyyy-MM-dd')   访问量: +
+
#(currentContent.introduction)
+
+

上一篇:#if(currentContent.lastContent??)#(abbreviate(currentContent.lastContent.title,15,''))#else无#end

+

下一篇:#if(currentContent.nextContent??)#(abbreviate(currentContent.nextContent.title,15,''))#else无#end

+
+ +
+ + +#include("footer.shtm") + + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/page.shtm new file mode 100644 index 0000000..a3acf3a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/page.shtm @@ -0,0 +1,25 @@ + +#if(totalPages>1) + +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/position.shtm new file mode 100644 index 0000000..bdb1bb2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/position.shtm @@ -0,0 +1,2 @@ + +
当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/product.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/product.shtm new file mode 100644 index 0000000..13b8a64 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/product.shtm @@ -0,0 +1,86 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 8) +
+ #for(content : contentPage.list) +
+
+
#(content.title)
+
+
#(abbreviate(content.title,12,''))
+

+ #if(content.isTop) + 置顶 + #else if(content.isRecommend) + 推荐 + #else if(content.isHeadline) + 头条 + #end + #(abbreviate(content.text,50,'')) +

+ +
+
+
+ #end +
+ + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + + #end + + +
+
+ +
+ +
+ +
+ + +#include("footer.shtm") + + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/product_detail.shtm new file mode 100644 index 0000000..aa010d5 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/product_detail.shtm @@ -0,0 +1,167 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.shtm") + + +
+
+
+ + +
+
+
+ +
+ #if(currentContent.pics??) + #for(pic : currentContent.pics) +
+ +
+ #end + #end +
+
+
+ +
+ + +
+
+
+ +
+ #if(currentContent.pics??) + #for(pic : currentContent.pics) +
+ +
+ #end + #end +
+
+
+
+ +
+

#(currentContent.title)

+
+ 上架时间:#date(currentContent.publishDate,'yyyy-MM-dd') +
+
+ 浏览次数: +
+ +
+ 产品类型: +
+ +
+ 产品颜色: +
+
+ 产品价格:¥ +
+ +
+
+ +
产品详情
+
#(currentContent.introduction)
+ +
+

上一篇:#if(currentContent.lastContent??)#(abbreviate(currentContent.lastContent.title,15,''))#else无#end

+

下一篇:#if(currentContent.nextContent??)#(abbreviate(currentContent.nextContent.title,15,''))#else无#end

+
+
+ + + + + + +#include("footer.shtm") + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/search.shtm new file mode 100644 index 0000000..ba0f752 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/search.shtm @@ -0,0 +1,71 @@ + +#include("common.shtm") + + + + + + JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + + + + +#include("header.shtm") + + + +#include("top.shtm") + + +
+ + + #include("position.html", position="搜索") + + + #content_page(categoryId = 104,keyword = keyword,pageNumber = pageNumber,pageSize = 12) +
+ #for(content : contentPage.list) +
+
+
#(content.title)
+
+
#(abbreviate(content.title,12,''))
+

#(abbreviate(content.text,50,''))

+
+
+
+ #end +
+ + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?pageNumber=") + #include("page.shtm") + #end + + + #end + + +
+
+ +
+ +
+
+ + +#include("footer.shtm") + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default/top.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default/top.shtm new file mode 100644 index 0000000..e18bac6 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default/top.shtm @@ -0,0 +1,7 @@ + +
+
+

#if(currentCategory??)#(currentCategory.name)#end

+

#if(currentCategory??)#(currentCategory.subname)#end

+
+
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/about.shtm new file mode 100644 index 0000000..f5c1da8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/about.shtm @@ -0,0 +1,47 @@ + +#include("common.shtm") + + + + + +关于我们 + + + + + + +#include("header.shtm") + +
+
+
+
#(currentCategory.name)
+
+
    + #category_children_list(categoryId=currentCategory.categoryId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> #(currentCategory.name)
+
+
#(currentCategory.introduction)
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/contact.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/contact.shtm new file mode 100644 index 0000000..9cec629 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/contact.shtm @@ -0,0 +1,9 @@ +
+

联系我们

+
+

百度技术有限责任公司

+ 地 址:北京市海淀区上地十街10号

+ 邮 编:100085

+ 总 机: (+86 10) 5992 8888

+ 传 真: (+86 10) 5992 0000


+
diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/footer.shtm new file mode 100644 index 0000000..27cb070 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/footer.shtm @@ -0,0 +1,13 @@ + +
+ diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/guestbook.shtm new file mode 100644 index 0000000..9714001 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/guestbook.shtm @@ -0,0 +1,109 @@ + +#include("common.shtm") + + + + + +留言 + + + + + + +#include("header.shtm") + +
+
+
+ +
+ 您当前位置:首页 >> 留言 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
*联系人:
* 手机:
* 留言内容:
* 验证码:
 
+
+ +
+
+
+
+ +#include("footer.shtm") + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/header.shtm new file mode 100644 index 0000000..a804454 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/header.shtm @@ -0,0 +1,62 @@ + +
+ #(currentWeb.siteName) +
电话:#(currentCompany.phone) + + 站点: + 中文 + 英文 + +
+
+ + + + +
diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/index.shtm new file mode 100644 index 0000000..6f26df5 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/index.shtm @@ -0,0 +1,99 @@ + +#include("common.shtm") + + + + + +首页 + + + + + + +#include("header.shtm") + +
+
+ + #category(id =2) +
+

#(category.name)

更多>>
+ #content_list(categoryId=category.id,count=1) + #for(content : contents) +
+
+

#(abbreviate(content.title,34,"..."))

+

#(abbreviate(content.text,34,"..."))

+
+ #end + #end + +
+ #end + + +
+ #category(id =5) +

#(category.name)

+ 更多>> +
+
+ #(abbreviate(category.text,200,"...")) + #end +
+ +
+
+ +
+ #include("contact.shtm") +
+ +
+ #category(id = 1) +
+
+

#(category.name)

+ + +
+
+
    + #content_list(categoryId=category.id,count=10) + #for(content : contents) +
  • +
    +
  • + #end + #end +
+
+ +
+ #end + +
+ + +
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/news_detail.shtm new file mode 100644 index 0000000..c6b8936 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/news_detail.shtm @@ -0,0 +1,49 @@ + +#include("common.shtm") + + + + + +文章内容页 + + + + + + +#include("header.shtm") + +
+
+
+
文章分类
+
+
    + #category_children_list(categoryId=currentContent.category.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> #(currentContent.category.name)
+
+

#(currentContent.title)

+
时间:#date(currentContent.createDate,"yyyy-MM-dd") 点击:
+
#(currentContent.introduction)
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/news_list.shtm new file mode 100644 index 0000000..ec1fc59 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/news_list.shtm @@ -0,0 +1,65 @@ + +#include("common.shtm") + + + + + +文章列表页 + + + + + + +#include("header.shtm") + +
+
+
+
文章分类
+
+
    + #category_children_list(categoryId=currentCategory.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> 文章列表
+
+ +
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
    + #for(content : contentPage.list) +
  • #date(content.createDate,"yyyy-MM-dd") · #(content.title)
  • + #end +
+
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+ + +
+ +
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/page.shtm new file mode 100644 index 0000000..f3e3dea --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/page.shtm @@ -0,0 +1,21 @@ +
+#if(totalPages>1) + #if(hasPrevious) + 上一页 + #else + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #else + 下一页 + #end +#end +
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/product_detail.shtm new file mode 100644 index 0000000..bd88cdb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/product_detail.shtm @@ -0,0 +1,49 @@ + +#include("common.shtm") + + + + + +商品内容页 + + + + + + +#include("header.shtm") + +
+
+
+
产品分类
+
+
    + #category_children_list(categoryId=currentContent.categoryId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> #(currentContent.category.name)
+
+

#(currentContent.title)

+
时间:#date(currentContent.createDate,"yyyy-MM-dd") 点击:
+
#(currentContent.introduction)
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/product_list.shtm new file mode 100644 index 0000000..7890052 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/product_list.shtm @@ -0,0 +1,70 @@ + +#include("common.shtm") + + + + + +商品列表页 + + + + + + +#include("header.shtm") + +
+
+
+
产品分类
+
+
    + #category_children_list(categoryId=currentCategory.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> 商品列表
+
+ + +
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+ + +
+ +
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/video_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/video_detail.shtm new file mode 100644 index 0000000..b73b1b7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/video_detail.shtm @@ -0,0 +1,63 @@ + +#include("common.shtm") + + + + + +视频内容页 + + + + + + + + +#include("header.shtm") + +
+
+
+
视频分类
+
+
    + #category_children_list(categoryId=currentContent.categoryId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> #(currentContent.category.name)
+
+

#(currentContent.title)

+
时间:#date(currentContent.createDate,"yyyy-MM-dd") 点击:
+
+
+ +
+ 下载 +
+ #(currentContent.introduction) +
+
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_cn/video_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/video_list.shtm new file mode 100644 index 0000000..ae0f849 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_cn/video_list.shtm @@ -0,0 +1,70 @@ + +#include("common.shtm") + + + + + +视频列表页 + + + + + + +#include("header.shtm") + +
+
+
+
视频分类
+
+
    + #category_children_list(categoryId=currentCategory.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
您当前位置:首页 >> 视频列表
+
+ + +
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+ + +
+ +
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/about.shtm new file mode 100644 index 0000000..6152885 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/about.shtm @@ -0,0 +1,47 @@ + +#include("common.shtm") + + + + + +about us + + + + + + +#include("header.shtm") + +
+
+
+
#(currentCategory.name)
+
+
    + #category_children_list(categoryId=currentCategory.categoryId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> #(currentCategory.name)
+
+
#(currentCategory.introduction)
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/contact.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/contact.shtm new file mode 100644 index 0000000..8cc522c --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/contact.shtm @@ -0,0 +1,9 @@ +
+

Contact us

+
+

Baidu Technology Co., Ltd.

+ Address:10 Shangdi Tenth Street, Haidian District, Beijing

+ Zipcode:100085

+ Phone: (+86 10) 5992 8888

+ Fax: (+86 10) 5992 0000


+
diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/footer.shtm new file mode 100644 index 0000000..227a5dd --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/footer.shtm @@ -0,0 +1,13 @@ + +
+ diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/guestbook.shtm new file mode 100644 index 0000000..ad11668 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/guestbook.shtm @@ -0,0 +1,109 @@ + +#include("common.shtm") + + + + + +Leaving + + + + + + +#include("header.shtm") + +
+
+
+ +
+ position:home >> Leaving +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
*contact:
*mobile:
*content:
*captcha:
 
+
+ +
+
+
+
+ +#include("footer.shtm") + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/header.shtm new file mode 100644 index 0000000..6fb11e2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/header.shtm @@ -0,0 +1,65 @@ + +
+ #(currentWeb.siteName) +
tel:#(currentCompany.phone) + + site: + Chinese + English + + + +
+ +
+ + + + +
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/index.shtm new file mode 100644 index 0000000..08305ef --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/index.shtm @@ -0,0 +1,99 @@ + +#include("common.shtm") + + + + + +home + + + + + + +#include("header.shtm") + +
+
+ + #category(id =12) +
+

#(category.name)

more>>
+ #content_list(categoryId=category.id,count=1) + #for(content : contents) +
+
+

#(abbreviate(content.title,34,"..."))

+

#(abbreviate(content.text,34,"..."))

+
+ #end + #end + +
+ #end + + +
+ #category(id =15) +

#(category.name)

+ more>> +
+
+ #(abbreviate(category.text,200,"...")) + #end +
+ +
+
+ +
+ #include("contact.shtm") +
+ +
+ #category(id = 11) +
+
+

#(category.name)

+ + +
+
+
    + #content_list(categoryId=category.id,count=10) + #for(content : contents) +
  • +
    +
  • + #end + #end +
+
+ +
+ #end + +
+ + +
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/news_detail.shtm new file mode 100644 index 0000000..78a4934 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/news_detail.shtm @@ -0,0 +1,49 @@ + +#include("common.shtm") + + + + + +Article Detail + + + + + + +#include("header.shtm") + +
+
+
+
Article Category
+
+
    + #category_children_list(categoryId=currentContent.category.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> #(currentContent.category.name)
+
+

#(currentContent.title)

+
date:#date(currentContent.createDate,"yyyy-MM-dd") click:
+
#(currentContent.introduction)
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/news_list.shtm new file mode 100644 index 0000000..8b7c5fb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/news_list.shtm @@ -0,0 +1,65 @@ + +#include("common.shtm") + + + + + +Article List + + + + + + +#include("header.shtm") + +
+
+
+
Article Category
+
+
    + #category_children_list(categoryId=currentCategory.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> Article List
+
+ +
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
    + #for(content : contentPage.list) +
  • #date(content.createDate,"yyyy-MM-dd") · #(content.title)
  • + #end +
+
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+ + +
+ +
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/page.shtm new file mode 100644 index 0000000..72a103c --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/page.shtm @@ -0,0 +1,21 @@ +
+#if(totalPages>1) + #if(hasPrevious) + Previous + #else + Previous + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + Next + #else + Next + #end +#end +
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/product_detail.shtm new file mode 100644 index 0000000..ae20bf4 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/product_detail.shtm @@ -0,0 +1,49 @@ + +#include("common.shtm") + + + + + +Product Detail + + + + + + +#include("header.shtm") + +
+
+
+
Product Category
+
+
    + #category_children_list(categoryId=currentContent.categoryId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> #(currentContent.category.name)
+
+

#(currentContent.title)

+
date:#date(currentContent.createDate,"yyyy-MM-dd") click:
+
#(currentContent.introduction)
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/product_list.shtm new file mode 100644 index 0000000..c0a62fb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/product_list.shtm @@ -0,0 +1,70 @@ + +#include("common.shtm") + + + + + +Product List + + + + + + +#include("header.shtm") + +
+
+
+
Product Category
+
+
    + #category_children_list(categoryId=currentCategory.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> Product List
+
+ + +
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+ + +
+ +
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/video_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/video_detail.shtm new file mode 100644 index 0000000..dc28ac8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/video_detail.shtm @@ -0,0 +1,62 @@ + +#include("common.shtm") + + + + + +Video Detail + + + + + + + + +#include("header.shtm") + +
+
+
+
Video Category
+
+
    + #category_children_list(categoryId=currentContent.categoryId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> #(currentContent.category.name)
+
+

#(currentContent.title)

+
date:#date(currentContent.createDate,"yyyy-MM-dd") click:
+
+
+ +
+
+ #(currentContent.introduction) +
+
+
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/default_en/video_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/default_en/video_list.shtm new file mode 100644 index 0000000..e8d95ea --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/default_en/video_list.shtm @@ -0,0 +1,70 @@ + +#include("common.shtm") + + + + + +Video List + + + + + + +#include("header.shtm") + +
+
+
+
Video Category
+
+
    + #category_children_list(categoryId=currentCategory.id) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+ #include("contact.shtm") +
+
+
+
position:home >> Video List
+
+ + +
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+ + +
+ +
+
+
+
+ +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/dysc_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/dysc_detail.shtm new file mode 100644 index 0000000..30152f3 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/dysc_detail.shtm @@ -0,0 +1,109 @@ + +#include("common.shtm") + + + + + + 德育视窗-详情 + + + + + + + + + + + + + + + + + #include("header.shtm") + + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

学生心理问题的发现与早期介入

+

浏览:166 日期:2017-08-30

+
+
+
+   +
+
+
+         为贯彻王校长“特色立校,德育为先”的办学思想,践行学校“人文开放,和谐发展,构建学习型班主任队伍”的德育理念,加强班主任队伍的专业化建设,成都市实验外国语学校于2017年4月26日开展“班主任论坛”活动。本次论坛邀请了拥有丰富带班经验的杨震国老师为班主任做有关“学生心理问题的发现与早期介入”的分享。 +
  +
+
+         学生心理的健康发展一直是班主任关注的重点,本次论坛杨震国老师从学生心理问题产生原因,学生产生心理问题时的表现以及学生心理问题的早期介入这三个方面和班主任们做了分享。精彩的发言,切合实际的方法,杨老师在论坛上分享满满的干货,引起了广泛共鸣,赢得了所有年级主任、班主任的一致好评。 +
  +
+
+ +
  +
+
+         谈及学生心理问题产生的原因,杨老师从学生个人、家庭、群体以及阶段性因素进行了分析。学生的学习、人际关系、性格、对自身的要求、缺乏家庭的关爱等都会让学生感受到压力,从而造成心理问题。其中家庭因素占首要位置,家长对孩子的期待,对孩子的教育方式、对孩子的关心程度等都会影响孩子心理健康的发展,杨老师主张班主任多与家长沟通,帮助家长理解“家不是说理的地方,而是孩子爱的港湾”。 +
  +
+
+         学生一旦出现心理问题就会有一系列的表现形式,轻度的少语、独处等;中度的考前综合症,睡眠困难等;重度的厌学、妄想症等都在提示着学生的心理出现了问题,及时的关注到这些表现形式也有利于学生心理问题的减轻和解决。 +
  +
+
+         最后,杨老师就学生心理问题的早期介入提供了一些切实可行的方法。做好预防工作,鼓励学生正确的面对压力与挫折,在平时就做好学生的心理辅导,增强学生应对挫折的能力;以真诚的态度对学生及时开导,做好考后谈心工作,给学生以心理的抚慰,促进学生正视成绩;为学生提供一些认识问题的角度和解决办法,帮助学生解决学习、生活中的困难,如:针对考前焦虑,邀请学生列举自己面临的问题,并制定计划逐一解决,即使考前没解决完,考后依旧可以继续解决,帮助学生正视困难。 +
  +
+
+         除此之外,还可以寻求一些帮助。在家庭方面,多与家长沟通聊天,家长在教导孩子的过程中也会遇到很多问题,班主任多与家长沟通,不仅能够更好的了解学生的情况,同时也可以分享教育经验,缓解学生的压力,促进正能量在家庭中的传递;其次,促进同辈互助,构建互助友爱的班级氛围。邀请班上同学分享学习方法,关爱班级中一些交流困难的学生,既有利于班级氛围的构建,让学生感受到集体的关爱,也能够培养学生的责任意识。除了家庭及同学的帮助,心理咨询师也能够很好的帮助到学生,班主任要帮助同学树立正确的对于心理咨询的认识,让学生了解寻求心理咨询师的帮助是非常正常的。 +
  +
+
+         杨老师的分享从多个角度让我们对学生的心理有了更深的了解,也学习到了很多学生心理问题早期介入的方法。促进学生身心的健康发展也是实外一直奋斗的目标,相信通过不断地学习,实外的班主任队伍也会建设得越来越好! +
+
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/dysc_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/dysc_list.shtm new file mode 100644 index 0000000..23e931e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/dysc_list.shtm @@ -0,0 +1,77 @@ + +#include("common.shtm") + + + + + + 德育视窗-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
+ +
+
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/footer.shtm new file mode 100644 index 0000000..fb16855 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/footer.shtm @@ -0,0 +1,40 @@ +
+
+
+
+
    + #category_root_list() + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+ 服务电话: + 4008-888-888 地址: +
Copyright © 2018 我的网站 版权所有 备案号:渝ICP备00000000 +
+
+
+
+ +

官方微信

+
+
+

联系我们

+
+ 微博 +
+
+ 客服 +
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/gjjl_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/gjjl_detail.shtm new file mode 100644 index 0000000..94882ba --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/gjjl_detail.shtm @@ -0,0 +1,87 @@ + +#include("common.shtm") + + + + + + 国际交流-详情 + + + + + + + + + + + + + + + + + #include("header.shtm") + + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

英国斯坦福德中学

+

浏览:89 日期:2017-08-29

+
+
+
+ +
+
+
+ 斯坦福德校成立于1877年,属于斯坦福德捐赠学校中的其中一所,另外2所学校分别是斯坦福女子学校和斯坦福德初级中学。每个学校都各有其领导人,但是校长却只有一个。三所学校相互合作,互通有无,共同举办多种文化、社会和教育活动,其中A-Level采取混合教学的方式。三所学校的日常活动与当地紧密相连。 +
+
+   +
+
+ 斯坦福德学校位于城镇中心。设备齐全,住宿舒适。学校并没有特别的宗教信仰,但是提供宗教教育,全体学生每天都会有一次集合。学校的学业目标旨在避免过早的专业,鼓励学生采用最佳的传统与现代相结合的学习方式。该校学术成绩优秀。积极鼓励发展音乐和戏剧(设有专门的艺术表演大厅)。许多男孩都会至少一种乐器。戏剧是课程的一部分,每年都会进行多场演出。各种运动和游戏也应有尽有。学校还设有多种社团和俱乐部,积极鼓励学生参加各种社区和社会服务[1]  。学校在爱丁堡伯爵奖章计划中成绩显著,深受广大学生的喜爱,同时也与CCF紧密合作。 +
+
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/gjjl_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/gjjl_list.shtm new file mode 100644 index 0000000..a531030 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/gjjl_list.shtm @@ -0,0 +1,77 @@ + +#include("common.shtm") + + + + + + 国际交流-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
+ +
+
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/header.shtm new file mode 100644 index 0000000..043fac8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/header.shtm @@ -0,0 +1,68 @@ +
+
+

我的网站

+ 导航切换 +
+
+
+ +
+
+ +
+

联系电话:
4008-888-888

+
+
+
+ +
+

微信公众号

+
+
+ +
+
+
+
+
+
+
+
+
    +
  • 首页
  • + #category_root_list() + #for(category : categorys) +
  • #(category.name) +
      + #category_children_list(categoryId=category.id) + #for(categoryItem : categorys) +
    • #(categoryItem.name)
    • + #end + #end +
  • + #end + #end +
+
+
+
+
+
    +
  • 首页
  • + #category_root_list() + #for(category : categorys) +
  • #(category.name) +
      + #category_children_list(categoryId=category.id) + #for(categoryItem : categorys) +
    • #(categoryItem.name)
    • + #end + #end +
  • + #end + #end +
+
+
+
+
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/index.shtm new file mode 100644 index 0000000..23423e5 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/index.shtm @@ -0,0 +1,170 @@ + +#include("common.shtm") + + + + + + 首页 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
    + #slide_list(gid=1) + #for(slide : slides) +
  • +
    + #(slide.title) +
  • + #end + #end +
+
+
+
+
+
+

Headmaster’s Message

+

校长寄语

+
+ +
+         某某理工大学前身是某某军区军工部工业专门学校,创建于1958年。1970年组建成立某某工业学院,2006年经教育部批准更名为某某理工大学。2010年某某省人民政府与中国兵器装备集团、中国兵器工业集团签署了共建某某理工大学协议... + #category(id="801")+more#end +
+
+
+
+

Campus News

+

学校资讯

+
+
    + #content_list(categoryId=823,count=3) + #for(content : contents) +
  • #(content.title)

    #(abbreviate(content.text,51,"..."))

  • + #end + #end +
+
+
+
    + #content_list(categoryId=823,count=5) + #for(content : contents) +
  • #(content.title)
  • + #end + #end +
+
+
+
+
+
+
+
+
+
+
+
+ +
+ Moral Education +

德育视窗

+
+ #category(id="805")学生心理问题的发现与早期介入 #end +
+
    + #content_list(categoryId=805,count=3) + #for(content : contents) +
  • #(content.title)
  • + #end + #end +
+
+
+
+ +
+ Moral Education +

教研教学

+
+ #category(id="809")野外紧急避震必知技巧 #end +
+
    + #content_list(categoryId=809,count=3) + #for(content : contents) +
  • #(content.title)
  • + #end + #end +
+
+
+
+ +
+ Moral Education +

外语特色

+
+ #category(id="812")教师必备:适用于多个场合的20分钟讲课 #end +
+
    + #content_list(categoryId=812,count=3) + #for(content : contents) +
  • #(content.title)
  • + #end + #end +
+
+
+
+
+
+
+
+
+
+
+ #category(id="816")国际交流

International Exchange

国际交流

#end +
+
+
+
+
+
+
+
+ #category(id="819")学子风采

Works of Excellence

学子风采

#end +
+
+
+
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/jyjx_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/jyjx_detail.shtm new file mode 100644 index 0000000..fbca877 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/jyjx_detail.shtm @@ -0,0 +1,89 @@ + +#include("common.shtm") + + + + + + 教研教学-详情 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

野外紧急避震必知技巧

+

浏览:122 日期:2017-08-30

+
+
+ 地震来临之前有什么预防措施吗?下面是出国留学网小编为您带来的“野外紧急避震必知技巧”的最新资讯,很多精彩请锁定出国留学网实用资料栏目。    +
+
+
+ +
+
1.在郊外遇到地震时,尽量找空旷的地带躲避,远离山脚、陡崖等危险地带。    +
2.当遇到山崩、滑坡日寸,应沿斜坡横向水平方向撤离,躲在结实的障碍物或地洶、地坎下。    +
3.正在野外的人,要迅速离开河边、水坝或桥梁,防止地震时河岸坍塌、堤坝跨塌。要避开山脚、陡崖,以防山崩、滚石、滑坡、泥石流等,如遇山崩、滑坡,要迅速向滚石两侧躲避,切不可顺着滚石方向往山下跑;不能到桥下、隧道里避震,以免塌方造成伤亡。    +
4.迅速离开山边、水边等危险环境。    +
5.避开危险物、高耸或悬挂的物品变压器、电线杆、路灯等;广告牌、吊车等。    +
6.不要乱跑,避开人多的地方,不能随便返回室内。   +
  +
三大原则    +
原则一:因地制宜,正确抉择。是住平房还是住楼房,地震发生在白天还是晚上,房子是不是坚固,室内有没有避震空间,你所处的位置离房门远近,室外是否开阔、安全。    +
原则二:行动果断、切忌犹豫。避震能否成功,就在千钧一发之际,决不能瞻前顾后,犹豫不决。如住平房避震时,更要行动果断,或就近躲避,或紧急外出,切勿往返。    +
原则三:伏而待定,不可疾出。古人在《地震录》里曾记载:"卒然闻变,不可疾出,伏而待定,纵有覆巢,可冀完卵",意思就是说,发生地震时,不要急着跑出室外,而应抓紧求生时间寻找合适的避震场所,采取蹲下或坐下的方式,静待地震过去,这样即使房屋倒塌,人亦可安然无恙。 +
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/jyjx_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/jyjx_list.shtm new file mode 100644 index 0000000..1cb4059 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/jyjx_list.shtm @@ -0,0 +1,77 @@ + +#include("common.shtm") + + + + + + 教研教学-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/page.shtm new file mode 100644 index 0000000..24f85b2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/page.shtm @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/wyts_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/wyts_detail.shtm new file mode 100644 index 0000000..1170b9e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/wyts_detail.shtm @@ -0,0 +1,96 @@ + +#include("common.shtm") + + + + + + 外语特色-详情 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

教师必备:适用于多个场合的20分钟讲课技巧

+

浏览:52 日期:2017-08-30

+
+
+
+ +
+
几乎每个教师都经历过“20分钟的讲课”,比如说在学校参加教师技能大赛,应聘教师试讲等,基本上都是20分钟的讲课。这20分钟的讲课很重要,是决定你能否制胜的关键。因此,就要研究20分钟讲课的技巧。 +
+
这涉及到语言、板书、PPT以及三者的有机结合;讲课内容的选择及导入;符合认知规律的讲课思路;学思结合的教学方法等。    +
+
1. 语言、板书、PPT以及三者的有机结合    +
讲课有激情,语言精确 ,语调抑、扬、顿、挫, 注意高、低、快、慢、轻、重、缓、急。    +
板书要体现:鲜明的层次性;知识脉络清晰;概括主要内容。注意版面设计合理,字迹工整。一个成功的板书设计,就是一个微型教案。    +
PPT文字表达醒目;内容精炼,高度概括关键、重点内容页面设计和谐美观、布局合理;文字、图表、音频、视频、动画配合恰当,符合讲课主题;色彩搭配合理、协调;内容的进入与讲课进度同步。    +
良好的语言艺术、工整的板书、醒目的PPT以及三者的有机结合是讲好课的基本功。    +
+
2. 讲课内容的选择    +
讲课内容的选择是参加教师技能大赛讲课的重点,讲课内容选的好,就是成功的一半。选择讲课内容的原则:能够充分展示你的讲课才能。因此,在选择内容时要注意:内容的完整性,有一定的知识深度;说理性强,有严密的逻辑系统性;便于运用学思结合的教学方法,即启发式、讨论式等。另外,要适当考虑案例教学。    +
+
3. 内容导入    +
新内容多用生动而精彩的案例导入,这个案例可以涉及社会关注的热点,可以涉及现代高科技,也可以涉及生产、生活实际。通过案例指出新内容要解决的问题,应该使听着的求知欲望立刻升级,调动听者的学习积极性。    +
+
4. 讲课内容条理清晰,符合认知规律    +
这一点就是要把讲课的内容按照认知规律依次详细分解成若干个最小单元,形成自己的层次分明、具有严密逻辑系统性的讲课思路。符合认知规律的教学思路好比:数学公式的推导;一道几何题的证明;登楼的楼梯,一个台阶一个台阶连续向上。其优点是有利于启发式、讨论式教学,学生易懂易学。    +
+
5. 运用启发式教学,注意学思结合    +
讲课要体现启发、诱导,引导学生边学边思考,使之生动活泼、主动地进行学习,启发的原则是从学生现有的认知水平出发,遵循“最近发展区”的原则。如果你的讲课思路符合认知规律,你的的启发、诱导很容易成功。这种教学方法的优点就是能够培养学生分析问题和解决问题的能力。 +
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/wyts_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/wyts_list.shtm new file mode 100644 index 0000000..b904d0e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/wyts_list.shtm @@ -0,0 +1,77 @@ + +#include("common.shtm") + + + + + + 外语特色-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxgk.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxgk.shtm new file mode 100644 index 0000000..d11a439 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxgk.shtm @@ -0,0 +1,134 @@ + +#include("common.shtm") + + + + + + 学校概况 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+
+
+ 某某机构是一家专业从事企业营销策划、电子商务运营服务的公司,主要业务包含精品网站制作、电子商务平台托管、百度竞价外包、 +
+
+ 我们主要提供以下几点服务: +
+
+ a  淘宝开店与装修 +
+
+ b  网站建设 +
+
+ c  百度竞价外包 +
+
+ d  网络营销外包 +
+
+ 1、以真心换真情,站在客户角度,客户的满意就是我们的追求,切实结合客户营销情况,制定营销方案。 +
+
+ 2、团队网络营销实战经验丰富,可以规避很客户在网络营销中不必要的投入。节省推广费用,增强营销效果。 +
+
+ 3、专业铸就品质,服务赢得信赖,专业的技术水平是我们的根本,贴心的服务是我们和客户之间的友谊桥梁。 +
+
+   +
+
+ 某某机构自成立以来,一直专注于互联网品牌建设,我们团队的成员曾务于国内优秀广告公司及互联网公司业务类型涉及WEB视觉、交互设计、移动终端用户体验等质量和信誉是我们存在的基石。我们注重客户提出的每个要求,充分考虑每一个细节,积极的做好服务,努力开拓更好的视野。我们永远不会因为我们曾经的成绩而满足。在所有新老客户面前,我们都很乐意虚心、朴实的跟您接触,更深入的了解您的企业,以便为您提供更优质的服务! +
+
+   +
+
+ 我们的服务宗旨:持续为客户创造最优质的服务 +
+
+   +
+
+ 感谢您选择某某机构,每一次倾心的合作都是一个全新的体会和挑战,让我们从沟通开始这次愉快的合作吧! +
+
+   +
+
+ 高质量 +
+
+ 某某机构工作室认真对待每一个客户,我们不用口头语言来吹捧我们的优秀,成百上千的案例,见证着我们成长。 +
+
+   +
+
+ 高效率 +
+
+ 直接与设计师、程序师沟通!我们崇尚速度,喜欢感受风驰电掣的狂飙,所以在3-5个工作日内我们为您提供最完美的方案,我们拒绝拖沓! +
+
+   +
+
+ 高诚信 +
客户是什么,他们在想什么,需要我们做什么,这些问题一直困扰着我们。但是经过几年的实践,发现做好客户关系其实很容易,那就是真诚!  +
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxzx_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxzx_detail.shtm new file mode 100644 index 0000000..f280cda --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxzx_detail.shtm @@ -0,0 +1,135 @@ + +#include("common.shtm") + + + + + + 学校资讯-详情 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

如何让自己的网站更有质量?我们有妙招

+

浏览:149 日期:2017-08-30

+
+
+
+   随着互联网的不断发展,对网站的要求越来越高,如何提高网站的质量,让自己在这个竞争激烈的市场中站稳自己的脚步呢?今天,我们汇总了一些方式,希望对大家有帮助。 +
+
+   +
+
+   第一、建设网站前的市场分析 +
+
+   我们告诉大家,在建设网站之前,要好好分析一下相关行业的市场是怎样的,然后结合自身的条件分析,给网站制定一个合理的规划。 +
+
+   +
+
+   第二、选择一个独立稳定的服务器 +
+
+   有的站长为了节约成本,使用了一个低廉的服务器,殊不知这样的服务器极不稳定,会导致用户迟迟打不开网页,他们是没有时间慢慢等待的,只会快速离开网站,增加网站的跳出率。 +
+
+   +
+
+   网站在刚刚建立的时候,就要到正规公司购买一个独立稳定的服务器,保证网站的正常运营速度,才会受到用户的亲睐。 +
+
+   +
+
+   第三、网页设计要简单明了 +
+
+   有的站长为了吸引用户的眼球,把网站设计得花枝招展,其实这样犯了一个严重的错误,用户进入网站之后感到眼花缭乱,很难找到自己需要的东西,他们只会立刻关闭网站,网站的跳出率会随之增多。 +
+
+   +
+
+   网站的结构尽量简洁一些,做到层次分明、中心明确、色调搭配合理等等,给用户舒服的感觉,才能留住更多的有效客户。 +
+
+   +
+
+   第四、网站内容的规划 +
+
+   大家都知道“内容为王”,网站的内容是重中之重,我们建议,可以从一些报纸杂志、多媒体或是生活中寻找素材,既要使文章有价值,又要能吸引用户的眼球,做好了这一点,网站的流量才会越来越多。 +
+
+   +
+
+   切记,千万不要去采集别人的文章,这样的文章重复度太高,没有什么价值,对网站没有任何帮助,还会让搜索引擎觉得你的网站是一个垃圾站,导致网站的排名降低。 +
+
+   +
+
+   我们介绍了提高网站质量的四个方法,大家要引起重视了,并不断努力,不断创新,肯定会取得显著的效果。 +
+
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxzx_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxzx_list.shtm new file mode 100644 index 0000000..0c75741 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xxzx_list.shtm @@ -0,0 +1,87 @@ + +#include("common.shtm") + + + + + + 学校资讯-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/xzfc_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xzfc_detail.shtm new file mode 100644 index 0000000..9dad4c8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xzfc_detail.shtm @@ -0,0 +1,85 @@ + +#include("common.shtm") + + + + + + 学子风采-详情 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

张三丰

+

浏览:191 日期:2017-08-30

+
+
+
+ +
+
张三,中国人最耳熟能详的名字。张三可能真有其人,但更多时候与李四、王五一起指代不特定的某个人,揶揄或者概括常用。例如古代说书人常说:那张三的李四的都来了。也常被用在文学影视作品中。因此名平常普通,近来也被用来指代一个普通人群体,即“张三族”。 +
+
+
+ 如果你是背着生活压力的男人,你就已经成为了“张三族”的候选人。你可能是个生活平稳的中年男人,工作还算稳定,家庭还算和睦,孩子还算听话,每月数额不菲的房贷对生活还构不成太大压力,父母的身体也还算健康。中国人讲究知足常乐,知足常乐没错,可以让人常常保持放松的心态,但它同样也有害处,最大的害处就是容易让人懈怠,容易让人不思进取。平稳总是相对的,你没有意识到领导对你工作的不满是因为你的懈怠,反过来你却说认为领导实在变态;你没有注意到父母的身体一天天变差;你没有注意到温和的妻子已与你渐渐远行……小心了,如果任何一个危机爆发,你都会迅速沦为“张三族”徐峥解读“张三族” +
  +
+
+ 反映都市小人物奋斗故事的《老爸快跑》在央视掀起热浪。一个三十多岁的都市小男人,原本过着懒散、邋遢的小市民生活,一连串突如其来的打击令他方寸大乱,老婆离婚、小店被骗、老父亲生病、争夺孩子抚养权……他的名字叫“张三”,这部戏的热播还引发了一个新名词——张三族,意指生活现状令人堪忧的中年男性。关于张三族的话题油然而生,而扮演张三的徐峥对这个不起眼的群体有着特殊的理解。在接受当年的“张三生活”。 +
+
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/xzfc_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xzfc_list.shtm new file mode 100644 index 0000000..4df37db --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/xzfc_list.shtm @@ -0,0 +1,83 @@ + +#include("common.shtm") + + + + + + 学子风采-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
+ +
+
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/zszp_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/zszp_detail.shtm new file mode 100644 index 0000000..c1f131a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/zszp_detail.shtm @@ -0,0 +1,103 @@ + +#include("common.shtm") + + + + + + 招生招聘-详情 + + + + + + + + + + + + + + + + #include("header.shtm") + + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+ +
+
+
+

招初中德语教师5名

+

浏览:171 日期:2017-08-30

+
+
+
+ 1、针对3到12岁孩子的舞蹈教学工作。 +
+
+ 2、讲究课堂艺术,努力调动学员学习积极性,要有耐心,细心,责任心,不断提高学员的学习兴趣。 +
+
+ 3、根据教案做好课前备课工作。 +
+
+ 4、善于沟通,有团队合作精神。 +
+
+ 5、做好学员的考级工作,完成每学年学员的汇报演出。 +
+
+ 6、完成学校下达的各种演出节目的编排任务。 +
+
+
  +
+
+ 任职要求: +
+
+ 1、1年及以上幼儿舞蹈教学工作经验。 +
+
+ 2、有爱心,耐心,责任心,教学上有创新思维。 +
+
+
+
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban11/zszp_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban11/zszp_list.shtm new file mode 100644 index 0000000..64b35a5 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban11/zszp_list.shtm @@ -0,0 +1,87 @@ + +#include("common.shtm") + + + + + + 招生招聘-列表 + + + + + + + + + + + + + + + + #include("header.shtm") + +
+
+
+
    + #category_children_list(categoryId=currentCategory.parentId) + #for(category : categorys) +
  • #(category.name)
  • + #end + #end +
+
+
+
+
+ +
+
+ 当前位置: + 主页 > + #(currentCategory.name) > +
+
+ #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
+ #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
+ #end +
+
+
+ + #include("footer.shtm") + + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/footer.shtm new file mode 100644 index 0000000..062717f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/footer.shtm @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/fzlc.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/fzlc.shtm new file mode 100644 index 0000000..f967189 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/fzlc.shtm @@ -0,0 +1,178 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 发展历程 + + + + + + + + + + + + + + + +
+ + #include("header.shtm") + +
+
+ 你适合成为 + 职业DJ师吗? +
+ #category(id="905")#end +
+ 点这里实现梦想 +
+
+ +
+
+
+
+   +
+
    +
  • +
    + 2006 +
    +
    +   +
    +
    + 第四届先锋杯全国DJ比赛,DJ某某以中国舞曲网总经理的身份参加中国第一届DJ文化研讨会。发表了《舞曲世界以及其在现实社会中的生存空间》的主题演说,向全中国的所有DJ发出了中国DJ应以推进舞曲音乐为主要发展方向的号召。 +
  • +
  • +
    + 2007 +
    +
    +   +
    +
    + 第五届先锋杯全国DJ比赛,在DJ某某的带领下,DJ汪帅一举获得华东地区DJ冠军和全国亚军的好成绩。第一名由一名多年DJ经验的老DJ获得。值得一提的是当时DJ汪帅开始正规的DJ训练时间还不到6个月。2008年DJ汪帅参加在泰国曼谷举办的亚洲DJ比赛,取得了亚洲排名第三的惊人成绩。 +
  • +
  • +
    + 2008 +
    +
    +   +
    +
    + 第六届先锋杯全国DJ比赛,还在DJ某某的带领下,DJ陶涛一举获得华东地区DJ亚军和全国前六强的成绩。 +
  • +
  • +
    + 2009 +
    +
    +   +
    +
    + 第七届先锋杯全国DJ比赛,同样DJ某某的带领下,DJ汪帅一举获得华南地区DJ冠军和全国亚军的成绩。至此,由DJ某某原创,由DJ学员们进一步发展的《DJ的本质训练法》终于获得了全国专业人士的认同。 +
  • +
  • +
    + 2010 +
    +
    +   +
    +
    + 第八届先锋杯全国DJ比赛,同样DJ某某带领下,DJ王鑫洁 华北赛区混音组季军。 +
  • +
  • +
    + 2011 +
    +
    +   +
    +
    + 第九届先锋杯全国DJ比赛,同样DJ某某带领下,DJ宁静华南赛区磨盘组亚军。 +
  • +
  • +
    + 2012 +
    +
    +   +
    +
    + 第十届先锋杯全国DJ比赛,同样DJ某某带领下,李海静获得华北赛区混音组冠军。 +
  • +
  • +
    + 2014 +
    +
    +   +
    +
    + SMC搓盘DJ大师赛冠军 +
  • +
  • +
    + 2015 +
    +
    +   +
    +
    + SMC搓盘DJ大赛冠军 +
  • +
+
+
+
+ + #include("footer.shtm") + +
+ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/gsjj.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/gsjj.shtm new file mode 100644 index 0000000..6a4d07d --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/gsjj.shtm @@ -0,0 +1,201 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 优势 + + + + + + + + + + + + + + + +
+ + #include("header.shtm") + +
+
+ 你适合成为 + 职业DJ师吗? +
+ #category(id="905")#end +
+ 点这里实现梦想 +
+
+ +
+
+
+ +
+
+ 模客DJ培训中心隶属于武汉模板客文化传播有限公司。公司创始人从2005年开始从事DJ培训事业。迄今超过11年。2016年起,XX正式成为美国DMCC专业DJ组织在中国地区唯一合伙人机构,唯一有权颁发美国DMCC专业DJ执业证书。 +
+
+
    +
  • +
    +   +
    +
    +   +
    +
    + 资历最深 +
    +
    + 2005年开创DJ事业至今超过10年 +
    国内首家DJ艺术培训中心 +
    +
    + 2005年开创DJ事业至今超过10年 +
    国内首家DJ艺术培训中心 +
  • +
  • +
    +   +
    +
    +   +
    +
    + 体系最完整 +
    +
    + 除了完整的精益DJ技术课程体系,还包含了智商+情商+财商 +
    的课程体系,花一样钱,学四样内容 +
    +
    + 除了完整的精益DJ技术课程体系,还包含了智商+情商+财商的课程体系,花一样钱,学四样内容 +
  • +
  • +
    +   +
    +
    +   +
    +
    + 资历最深 +
    +
    + 美国DMCC专业DJ组织在中国地区唯一合伙人机构, +
    唯一有权颁发美国DMCC专业DJ执业证书 +
    +
    + 美国DMCC专业DJ组织在中国地区唯一合伙人机构,唯一有权颁发美国DMCC专业DJ执业证书 +
  • +
+
+
+
+
+
+ 模客DJ培训近年来取得的成绩 +
+
+
+
    +
  • +
    + 2012 +
    +
    + 先锋DJ大赛中国华东区冠军 +
    +
    + 先锋DJ大赛华南区亚军 +
    先锋DJ大赛华南区六强 +
  • +
  • +
    + 2013 +
    +
    + 日本先锋DJ大赛亚洲区亚军 +
    +
    + 先锋DJ大赛中国冠军 +
    先锋DJ大赛全国六强 +
  • +
  • +
    + 2014 +
    +
    + DMC搓盘DJ邀请赛冠军 +
    +
    + PIONEER中国DJ赛冠军 +
    DMC全国邀请赛六强 +
  • +
  • +
    + 2015 +
    +
    + SMC搓盘DJ大赛冠军 +
    +
    + SMC国际搓盘大赛季军 +
    SMC国际搓盘大赛团体第一 +
  • +
+
+
+ +
+
+
+ + #include("footer.shtm") + +
+ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/header.shtm new file mode 100644 index 0000000..20cdc9e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/header.shtm @@ -0,0 +1,46 @@ +
+
+
+
+ 电话/微信 13888888888 咨询QQ 123456 +
+
+
+
+
+ +
+ +
+ + +
+
+ + +
\ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/index.shtm new file mode 100644 index 0000000..a9b80cd --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/index.shtm @@ -0,0 +1,560 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 我的网站 + + + + + + + + + + + + + + + +
+ + #include("header.shtm") + + + + +
+
+
    +
  • +
  • +
  • +
+
+
+
    +
    +
    + +
    +
    + 我们是谁 + About Us +
    +
    +
    + XXDJ培训中心隶属于XXX文化传播有限公司。公司创始人从2005年开始从事DJ培训事业。迄今超过11年。2016年起,XX正式成为美国DMCC专业DJ组织在中国地区唯一合伙人机构,唯一有权颁发美国DMCC专业DJ执业证书。 +
    +
    +
      +
    • +
      +
      +
      +
      +
      + 资历最深 +
      +
      + 2005年开创DJ事业至今超过10年 +
      国内首家DJ艺术培训中心 +
      +
      + 2005年开创DJ事业至今超过10年 +
      国内首家DJ艺术培训中心 +
    • +
    • +
      +
      +
      +
      +
      + 体系最完整 +
      +
      + 除了完整的精益DJ技术课程体系,还包含了智商+情商+财商 +
      的课程体系,花一样钱,学四样内容 +
      +
      + 除了完整的精益DJ技术课程体系,还包含了智商+情商+财商的课程体系,花一样钱,学四样内容 +
    • +
    • +
      +
      +
      +
      +
      + 资历最深 +
      +
      + 美国DMCC专业DJ组织在中国地区唯一合伙人机构, +
      唯一有权颁发美国DMCC专业DJ执业证书 +
      +
      + 美国DMCC专业DJ组织在中国地区唯一合伙人机构,唯一有权颁发美国DMCC专业DJ执业证书 +
    • +
    +
    +
    +
    +
    +
    +
    + 名师推荐 + Teacher +
    + + + +
    +
    +
      + #content_list(categoryId="908",count=5) + #for(content : contents) +
    1. +
      + +
      + Dj辉仔 +
      +
      + 公司主教;2014年师从学习DJ,曾驻场于徐州索玛... +
      +
    2. + #end + #end +
    +
    +
    +
    +
    + +
    + +
    +
    +
    +
    +
    +
    +
    +
    + 课程体系 + Course +
    +
    + 不同班级的课程上课内容不同、课程总体时间不同、就业能力不同 +
    +
    + + #content_list(categoryId="900",count=5) + #for(content : contents) + +
    + +
    +
    + 至尊DJ班 +
    +
    + ¥32900 +
    + #end + #end +
    +
    + +
    +
    +
    +
    +
    +
    +
    + 照片展示 + Photograph +
    +
    +
    +
    +
      +
    • 学员照片
    • +
    • 教学照片
    • +
    • DJ现场
    • +
    • 品牌文化
    • +
    +
    +
    +
      + #content_list(categoryId="903",count=8) + #for(content : contents) +
    • +
      + + +
    • + #end + #end +
    +
      +
    +
      +
    +
      +
    +
    + +
    +
    +
    +
      +
    • 学员照片
    • +
    • 教学照片
    • +
    • DJ现场
    • +
    • 品牌文化
    • +
    +
    +
    +
      + #content_list(categoryId="903",count=8) + #for(content : contents) +
    • +
      + +
    • + #end + #end +
    +
      +
    +
      +
    +
      +
    +
    + +
    +
    +
    +
    +
    + 模客视频 + Video +
    +
    +
      + #content_list(categoryId="904",count=5) + #for(content : contents) +
    • +
      + +
      +
      + 教学视频 +
      +
      + 10年培训经验,10年教学口碑 +
    • + #end + #end + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    + 联系我们 + Contact us +
    +
    +
      +
    • +
      +
      + +
      +
      + 13888888888 +
      +
    • +
    • +
      +
      + +
      +
      + 重庆市渝北区 +
      +
    • +
    • +
      +
      + +
      +
      + 123456 +
      +
    • +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + #category(id="906")新闻资讯#end +
    +
    + #category(id="906")News Dynamic#end +
    +
    +
    +
      + #content_list(categoryId="906",count=5) + #for(content : contents) +
    • 这是一条新闻3
    • + #end + #end +
    +
    +
    +
    +
    +
    + #category(id="902")DJ舞曲#end +
    +
    + #category(id="902")Dance Music #end +
    +
    +
    +
      + #content_list(categoryId="902",count=5) + #for(content : contents) +
    • 这是一首音乐
    • + #end + #end +
    +
    +
    +
    +
    +
    + #category(id="904")DJ视频#end +
    +
    + #category(id="904")DJ Video#end +
    +
    +
    + +
    +
    +
    +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/jxhj.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/jxhj.shtm new file mode 100644 index 0000000..1b2994b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/jxhj.shtm @@ -0,0 +1,88 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 教学环境 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 你适合成为 + 职业DJ师吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    + +
    +
    +
    + +
    +
    + 模板客(MobanVip.Com)成立于2016年,专注于织梦模板的收集、整理与开发工作,旨在为广大用户提供一个更专业的织梦模板下载平台! +
    宗旨:用心做好每一款模板,让企业建站变得更简单,让创业团队用的更放心,让创业者更有效率的创业。 +
    +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/jxts.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/jxts.shtm new file mode 100644 index 0000000..09fa050 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/jxts.shtm @@ -0,0 +1,207 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 教学特色 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 你适合成为 + 职业DJ师吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    + +
    +
    + 1 +
    +
    + 最顶级的DJ技术课程设计,终生免费复训, + 100% 包学会 +
    +
    + DJ技术当中最难掌握的是花式搓盘技术和编曲制作课程。在模客培训中心我们100% 保证每一位学亲都可以轻松掌握。 每位学亲学习之后,终生免费 复训。学期之内 + 学不会全额退款。 +
    +
    +
    +
      + #content_list(categoryId=currentCategory.id,count=4) + #for(content : contents) +
    • +
      + +
      +
      + 关闭 +
      + +
      +
      +
      +
      +
      + 冠军DJ-D-Story教学视频 +
    • + #end + #end +
    +
    +
    +
    +
    + 2 +
    +
    + 最高的课程附加价值, + 100% 改变你的人生 +
    +
    + 请先了解一下我们在校学亲对模客的评价吧 +
    我们定期会和学亲们一起走向社会,传递正能量。 +
    我们所有在校的学亲不论贫富,一律相亲相爱,帮助你建立最好的人脉资源。 +
    +
    +
    +
      + #content_list(categoryId=currentCategory.id,count=4) + #for(content : contents) +
    • +
      + +
      +
      + 关闭 +
      + +
      +
      +
      +
      +
      + 在校学亲的视频 +
    • + #end + #end +
    +
    +
    + +
    +
    +
    +
    + 雄厚的师资力量,100%包你实现梦想 +
    + + + +
    +
    +
      + + #content_list(categoryId=currentCategory.id,count=908) + #for(content : contents) +
    1. +
      + +
      + Dj辉仔 +
      +
      + 公司主教;2014年师从学习DJ,曾驻场于徐州索玛... +
      +
    2. + #end + #end +
    +
    +
    +
    +
    +
    + + #include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/kc.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/kc.shtm new file mode 100644 index 0000000..48827bb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/kc.shtm @@ -0,0 +1,86 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 课程 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 想刚毕业就能拿 + 高薪吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    +
    +
    +
    +
      + #content_list(categoryId=currentCategory.id,count=2) + #for(content : contents) +
    •  至尊DJ班
    • + #end + #end +
    +
    +
    +
      + #content_list(categoryId=currentCategory.id,count=6,start=2) + #for(content : contents) +
    • 超级Dj班
    • + #end + #end +
    +
    +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/news_detail.shtm new file mode 100644 index 0000000..bf0a648 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/news_detail.shtm @@ -0,0 +1,87 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 这是一条新闻3_我的网站 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    +
    + 主页 > + 新闻资讯 > +
    +
    +
    +
    + 这是一条新闻3 +
    +
    + 时间:2016-12-23  浏览:176人 +
    +
    + 这是一条新闻 +
    这是一条新闻 +
    这是一条新闻这是一条新闻这是一条新闻这是一条新闻这是一条新闻 +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/news_list.shtm new file mode 100644 index 0000000..597aea7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/news_list.shtm @@ -0,0 +1,96 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 新闻资讯 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 你适合成为 + 职业DJ师吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    +
    +
    + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
    +
    +   +
    + +
    +
    +
    + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
    +
    + #end +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/page.shtm new file mode 100644 index 0000000..24f85b2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/page.shtm @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/szll.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/szll.shtm new file mode 100644 index 0000000..caab763 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/szll.shtm @@ -0,0 +1,104 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 师资力量 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 你适合成为 + 职业DJ师吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    + + + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/video_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/video_detail.shtm new file mode 100644 index 0000000..01fd8bf --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/video_detail.shtm @@ -0,0 +1,99 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 这是一个教学视频_我的网站 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    +
    + 主页 > + 视频 > +
    +
    +
    +
    + 这是一个教学视频 +
    +
    + 插入视频播放地址 +


    +


    +

    国 内 高 端 D J 培 训 中 心

    +


    +

    + + + + + + + + +

    硬件设施和师资力量最高

    20年资历殿堂教父级DJ老师一对一亲自教学,

    每月平均只招15人入学;


    100%包学会高级DJ技术

    入学前签订合同,不论是否有基础,

    全部100%保证学员学会高级DJ技术;


    100%包找到DJ工作

    入学前签订合同,考试合格,100%保证学员就业,

    找到满意的工作;


    +
    +

    +

    梦想其实并不遥远,我们欢迎喜爱DJ事业的年轻朋友加入我们的DJ大家庭

    + #category(id="905")我要报名 #end +
    +
    +
    +
    +
      + #content_list(categoryId="900",count=5) + #for(content : contents) +
    •  至尊DJ班
    • + #end + #end +
    +
    +
    +
    +
    + + #include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/video_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/video_list.shtm new file mode 100644 index 0000000..1b96121 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/video_list.shtm @@ -0,0 +1,105 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 教学视屏 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 想知道你适合做 + DJ吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    + +
    +
    + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
    +
      + #for(content : contentPage.list) +
    • +
      + 这是一个教学视频 +
      +
      +
      + 这是一个教学视频 +
    • + #end + +
    +
    +
    +
    + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
    +
    + #end +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/yy_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/yy_detail.shtm new file mode 100644 index 0000000..335dcb7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/yy_detail.shtm @@ -0,0 +1,74 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 这是一首音乐_我的网站 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    +
    + 主页 > + 音乐 > +
    +
    +
    +
    + 这是一首音乐 +
    +
    +
    + +
    +
    +
    +
    +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/yy_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/yy_list.shtm new file mode 100644 index 0000000..1232fbf --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/yy_list.shtm @@ -0,0 +1,96 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 音乐中心 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    + 你适合成为 + 职业DJ师吗? +
    + #category(id="905")#end +
    + 点这里实现梦想 +
    +
    +
    +
    + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
    +
    +   +
    + +
    +
    +
    + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
    +
    + #end +
    +
    + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/zp_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/zp_detail.shtm new file mode 100644 index 0000000..3d85a68 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/zp_detail.shtm @@ -0,0 +1,142 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 学员照片七_我的网站 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    +
    + 主页 > + 照片 > +
    +
    +
    + 学员照片七 +
    +
    +
    +
      +
    • +
    • +
    • +
    • +
    +
    + + +
    + +
    +
    + +
    +
    +
      +
    • +
      + +
    • +
    • +
      + +
    • +
    • +
      + +
    • +
    • +
      + +
    • +
    +
    + + +
    + +
    +
    +
    + 其他学员照片 +
    +
    +
      + #content_list(categoryId="908",count=5) + #for(content : contents) +
    • + #end + #end +
    +
    +
    +
    +
    + + + #include("footer.shtm") + +
    + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/zp_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/zp_list.shtm new file mode 100644 index 0000000..a192c98 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/zp_list.shtm @@ -0,0 +1,138 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 照片 + + + + + + + + + + + + + + + +
    + + #include("header.shtm") + +
    +
    +
      +
    • +
    • +
    +
    +
    +
      +
    +
    +
    + +
    +
    +
      +
    • +
    • +
    +
    +
    +
      +
      +
      + + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
      +
      +
      + + + +
      +
      +
      +
      +
      + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end +
      +
      + #end + + #include("footer.shtm") + +
      + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban12/zxbm.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban12/zxbm.shtm new file mode 100644 index 0000000..940a637 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban12/zxbm.shtm @@ -0,0 +1,150 @@ + +#include("common.shtm") + + + + + + + + + + + + + + + + 在线报名 + + + + + + + + + + + + + + + +
      + + #include("header.shtm") + +
      +
      +
      +
      + +
      +
      +
      + + + +
      +
      + +
      + * +
      +
      +
      + +
      + * +
      +
      +
      +
      +
      + +
      + * +
      +
      +
      + +
      + * +
      +
      +
      +
      +
      +
      +
      + 性别 +
      +
      + + +
      +
      +
      + * +
      +
      +
      + + +
      +
      +
      +
      + + +
      +
      +
      +
      + 感兴趣的专业 +
      +
      + +
      +
      +
      + * +
      +
      +
      +
      +
      + +
      +
      + * +
      +
      + + +
      + +
      +
      +
      +
      +
      +
      + + #include("footer.shtm") + +
      + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/about.shtm new file mode 100644 index 0000000..74ce811 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/about.shtm @@ -0,0 +1,55 @@ + +#include("header.shtm") + + + +
      +
      +
      +
      + + +
      +
      + +
      +
      +
      + + + +
      + + #include("left.shtm") + +
      +
      +
      +

      #(currentCategory.name)

      +

      #(currentCategory.subname)

      +
      +
      #include("position.shtm")
      +
      +
      +
      #(currentCategory.introduction)
      +
      +
      +
      +
      + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/case_detail.shtm new file mode 100644 index 0000000..c64171e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/case_detail.shtm @@ -0,0 +1,92 @@ + +#include("header.shtm") + + + +
      +
      +
      +
      + + +
      +
      + +
      +
      +
      + + + +
      + + #include("left.shtm") + +
      +
      +
      +

      #(currentCategory.name)

      +

      #(currentCategory.subname)

      +
      +
      #include("position.shtm")
      +
      +
      +
      +

      #(currentContent.title)

      +
      #(currentContent.title)
      +
      #(currentContent.introduction)
      + +
      +
      + +
      +
      +

      相关推荐

      + #category(id=currentContent.categoryId)更多+#end +
      +
      +
      + #content_list(count=10,categoryId=currentContent.categoryId) + #for(content : contents) +
      + #(abbreviate(content.title,18,'')) +

      #(abbreviate(content.title,18,''))

      +
      + #end + #end +
      +
      +
      + +
      +
      +
      + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/case_list.shtm new file mode 100644 index 0000000..6e4bec7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/case_list.shtm @@ -0,0 +1,69 @@ + +#include("header.shtm") + + + +
      +
      +
      +
      + + +
      +
      + +
      +
      +
      + + +
      + + #include("left.shtm") + +
      +
      +
      +

      #(currentCategory.name)

      +

      #(currentCategory.subname)

      +
      +
      #include("position.shtm")
      +
      + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 6) +
      +
      + #for(content : contentPage.list) +
      + #(content.title) +

      #(content.title)

      +
      + #end +
      +
      +
      + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
      +
      +
      + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/footer.shtm new file mode 100644 index 0000000..76322ae --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/footer.shtm @@ -0,0 +1,90 @@ + + +
      +
      + + +
      +
      + +
      +
      +
      +
      +
      咨询热线
      +
      #(currentCompany.mobile)
      +
      +
      +
      QQ交谈
      +
      +
      +
      + +

      扫一扫

      +
      +
      +
      +
      +
      +
      +
      + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/guestbook.shtm new file mode 100644 index 0000000..5081bfb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/guestbook.shtm @@ -0,0 +1,114 @@ + +#include("header.shtm") + + + +
      +
      +
      +
      + + +
      +
      + +
      +
      +
      + + + +
      + + #include("left.shtm") + +
      +
      +
      +

      #(currentCategory.name)

      +

      #(currentCategory.subname)

      +
      +
      #include("position.shtm")
      +
      +
      +
      +
      +
      + + * +
      +
      + + * +
      + +
      + +
      +
      + + +
      +
      + + +
      +
      +
      +
      +
      +
      +
      +
      + + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/header.shtm new file mode 100644 index 0000000..a873abf --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/header.shtm @@ -0,0 +1,72 @@ + +#include("common.shtm") + + + + + +JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + +
      +
      +
      欢迎来到#(currentCompany.name)!
      + +
      +
      +
      + + + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/index.shtm new file mode 100644 index 0000000..b674011 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/index.shtm @@ -0,0 +1,165 @@ + +#include("header.shtm") + + + +
      +
      +
      +
      + + +
      +
      + +
      +
      +
      + +
      +
      + +
      +

      产品中心

      +

      / PRODUCT

      +
      +
        + #category_children_list(count=5,categoryId=200) + #for(category : categorys) +
      • > #(category.name)
      • + #end + #end +
      + +
      +
      +
      + +
      +
      + +
      +

      工程案例

      +

      / CASE

      +
      +
      + +
      +
      +
      +
      + +
      +
      + +
      +

      企业新闻

      +

      / NEWS

      +
      +
      + #content_list(count=3,categoryId=205) + #for(content : contents) +
      + +

      #(abbreviate(content.title,18,''))

      +

      #(abbreviate(content.text,60,''))...

      +
      + #end + #end + +
      +
      +
        + #content_list(count=3,categoryId=205) + #for(content : contents) +
      • + #(abbreviate(content.title,18,'')) +
      • + #end + #end + +
      +
      +
        +
        +
        +
        +
        + +
        +
        + +
        + #category(id=202) + +#end +
        +
        +

        #(currentCompany.name)

        + +

        #category(id=202) +#(abbreviate(category.text,240,'')) +#end...

        +
        +
        + #category_children_list(count=2,categoryId=202) + #for(category : categorys) +
        + #(category.name) +

        #(category.name)

        +

        #(category.subname)

        +
        + #end + #end + +
        +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/left.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/left.shtm new file mode 100644 index 0000000..44fdb93 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/left.shtm @@ -0,0 +1,37 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/news_detail.shtm new file mode 100644 index 0000000..82deab1 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/news_detail.shtm @@ -0,0 +1,97 @@ + +#include("header.shtm") + + + +
        +
        +
        +
        + + +
        +
        + +
        +
        +
        + + +
        + + #include("left.shtm") + +
        +
        +
        +

        #(currentCategory.name)

        +

        #(currentCategory.subname)

        +
        +
        #include("position.shtm")
        +
        +
        +
        +

        #(currentContent.title)

        +
          +
        • 发布时间:#date(currentContent.publishDate,'yyyy-MM-dd')
        • +
        • 发布者: #(currentContent.author)
        • +
        • 来源: #(currentContent.source)
        • +
        • 阅读量:#(currentContent.visits)
        • +
        +
        #(currentContent.introduction)
        + +
        +
        + +
        +
        +

        相关推荐

        + #category(id=currentContent.categoryId)更多+#end +
        +
        +
        + #content_list(count=10,categoryId=currentContent.categoryId) + #for(content : contents) +
        + #(abbreviate(content.title,18,'')) +

        #(abbreviate(content.title,18,''))

        +
        + #end + #end + +
        +
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/news_list.shtm new file mode 100644 index 0000000..1c78ab4 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/news_list.shtm @@ -0,0 +1,70 @@ + +#include("header.shtm") + + + +
        +
        +
        +
        + + +
        +
        + +
        +
        +
        + +
        + + #include("left.shtm") + +
        +
        +
        +

        #(currentCategory.name)

        +

        #(currentCategory.subname)

        +
        +
        #include("position.shtm")
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 6) +
        +
        + #for(content : contentPage.list) +
        +

        #(abbreviate(content.title,80,''))

        +
        #date(content.publishDate,'yyyy-MM-dd')
        +

        #(abbreviate(content.text,100,''))...

        +
        + #end + +
        +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/page.shtm new file mode 100644 index 0000000..7131783 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/page.shtm @@ -0,0 +1,22 @@ + +#if(totalPages>1) +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/position.shtm new file mode 100644 index 0000000..82ad0bc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/position.shtm @@ -0,0 +1,2 @@ + +当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/product_detail.shtm new file mode 100644 index 0000000..d93123c --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/product_detail.shtm @@ -0,0 +1,159 @@ + +#include("header.shtm") + + + +
        +
        +
        +
        + + +
        +
        + +
        +
        +
        + + + +
        + + #include("left.shtm") + +
        +
        +
        +

        #(currentCategory.name)

        +

        #(currentCategory.subname)

        +
        +
        #include("position.shtm")
        +
        +
        +
        +

        #(currentContent.title)

        +
        #(currentContent.title)
        +
        #(currentContent.introduction)
        + +
        +
        + +
        +
        +

        相关推荐

        + #category(id=currentContent.categoryId)更多+#end +
        +
        +
        + #content_list(count=10,categoryId=currentContent.categoryId) + #for(content : contents) +
        + #(abbreviate(content.title,18,'')) +

        #(abbreviate(content.title,18,''))

        +
        + #end + #end + +
        +
        +
        +
        +
        +

        在线预订

        +
        +
        +
        +
        + + * +
        +
        + + * +
        + +
        + +
        +
        + + +
        +
        + + +
        +
        +
        +
        + + +
        +
        +
        +
        + + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/product_list.shtm new file mode 100644 index 0000000..7ee0893 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/product_list.shtm @@ -0,0 +1,70 @@ + +#include("header.shtm") + + + +
        +
        +
        +
        + + +
        +
        + +
        +
        +
        + + +
        + + #include("left.shtm") + +
        +
        +
        +

        #(currentCategory.name)

        +

        #(currentCategory.subname)

        +
        +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban2/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban2/search.shtm new file mode 100644 index 0000000..a800729 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban2/search.shtm @@ -0,0 +1,63 @@ + +#include("header.shtm") + + + +
        +
        +
        +
        + + +
        +
        + +
        +
        +
        + +
        + + #include("left.shtm") + +
        + #content_page(categoryId = 200,keyword = keyword,pageNumber = pageNumber,pageSize = 6) +
        +
        + #for(content : contentPage.list) +
        +

        #(abbreviate(content.title,80,''))

        +
        #date(content.publishDate,'yyyy-MM-dd')
        +

        #(abbreviate(content.text,100,''))...

        +
        + #end + +
        +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?keyword="+keyword+"&pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/about.shtm new file mode 100644 index 0000000..3297b4b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/about.shtm @@ -0,0 +1,38 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        #(currentCategory.introduction)
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/case_detail.shtm new file mode 100644 index 0000000..f2d88fa --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/case_detail.shtm @@ -0,0 +1,75 @@ + +#include("header.shtm") + + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/case_list.shtm new file mode 100644 index 0000000..73837fe --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/case_list.shtm @@ -0,0 +1,60 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/footer.shtm new file mode 100644 index 0000000..3450644 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/footer.shtm @@ -0,0 +1,74 @@ + + + +
        +
        + 在线QQ +
        +
        + +
          +
        • +
        • 咨询热线
        • +
        • #(currentCompany.mobile)
        • +
        +
        +
        + +
          +
        • +
        • + +

          手机二维码

          +
        • +
        +
        +
        + +
        + +
        + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/guestbook.shtm new file mode 100644 index 0000000..9e0dcbc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/guestbook.shtm @@ -0,0 +1,104 @@ + +#include("header.shtm") + + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        +
        + + * +
        +
        + + * +
        + +
        + +
        +
        + + +
        +
        + + +
        +
        +
        + +
        + + +
        +
        + +
        +
        + + + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/header.shtm new file mode 100644 index 0000000..a0fe2c9 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/header.shtm @@ -0,0 +1,60 @@ + +#include("common.shtm") + + + + + +JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + +
        +
        + +
        + #category(id=305)#(category.name)#end + #category(id=300)#(category.name) #end +
        + 咨询热线: +

        #(currentCompany.mobile)

        +
        + +
        +
        +
        +
        + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/index.shtm new file mode 100644 index 0000000..704b42a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/index.shtm @@ -0,0 +1,219 @@ + +#include("header.shtm") + + +
        + +
        + +
        + + +
        + +
        +

        拓展项目EXPAND

        + #category(id=300)MORE+#end +
        +
        + +
        +
        + +
        +
        + 专业至上、效果为本 +

        与其碌碌无为,不如现在行动,加入我们的培训计划,共同体验成长的滋味

        + +
        +
        + +
        + +
        +

        军事拓展MILITARY

        + #category(id=301)MORE+#end +
        +
        + +
        +
        + +
        +
        + +
        +

        基地介绍BASE

        + #category(id=302)MORE+#end +
        + +
        + +
        +
        + + +
        +
        +
        + +
        +
        + +
        +

        最新动态NEWS

        + #category(id=304)MORE+#end +
        +
        +
          + #content_list(count=4,categoryId=304) + #for(content : contents) +
        • #date(content.publishDate,'MM/dd')#date(content.publishDate,'YYYY') +
          +

          #(abbreviate(content.title,45,''))

          + #(abbreviate(content.text,117,'')) +
          +
        • + #end + #end + +
        + +
        + +
        +
        +
        +
        +
        +
        + +
        +

        在线留言MESSAGE

        + #category(id=306)MORE+#end +
        +
        + 请填写完整以下信息,或者直接联系我们,
        我们将会给您尽快的回复!
        +
        电话:#(currentCompany.mobile)
        +
        #(currentCompany.email)
        +
        #(currentCompany.address)
        +
        +
        + +

        您好 SAY HELLO!

        +
        +
        + +
          +
        • +
        • + +
        • + + + +
        + + +
        + + +
        + +
        +
        +
        + +
        + +
        + + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/jd_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/jd_detail.shtm new file mode 100644 index 0000000..f2d88fa --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/jd_detail.shtm @@ -0,0 +1,75 @@ + +#include("header.shtm") + + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/jd_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/jd_list.shtm new file mode 100644 index 0000000..3d42746 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/jd_list.shtm @@ -0,0 +1,61 @@ + +#include("header.shtm") + + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/job_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/job_detail.shtm new file mode 100644 index 0000000..f2d88fa --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/job_detail.shtm @@ -0,0 +1,75 @@ + +#include("header.shtm") + + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/job_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/job_list.shtm new file mode 100644 index 0000000..87a8723 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/job_list.shtm @@ -0,0 +1,61 @@ + +#include("header.shtm") + + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/left.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/left.shtm new file mode 100644 index 0000000..3e4fe1f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/left.shtm @@ -0,0 +1,42 @@ +
        + #if(currentCategory??) + + #end + + +
        + +
        + 联系我们 + CONTACT US +
        +
        + + #(currentCompany.name)
        +#(currentCompany.name)
        +联系人:#(currentCompany.contact)
        +#(currentCompany.mobile)
        +QQ:#(currentCompany.qq)
        +地址:#(currentCompany.address)
        +
        +
        + +
        + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/news_detail.shtm new file mode 100644 index 0000000..51e3880 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/news_detail.shtm @@ -0,0 +1,67 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + +
        +

        #(currentContent.title)

        +
        作者:#(currentContent.author) 来源: #(currentContent.source) 时间:#date(currentContent.publishDate,'yyyy-MM-dd')
        +
        #(currentContent.introduction)
        +
        + +
        +
        +
        + +
        +

        新闻资讯

        + #category(id=currentCategory.id)更多>>#end +
        +
        +
          + #content_list(categoryId=currentCategory.id,count=10) + #for(content : contents) +
        • #(abbreviate(content.title,15,'')) #date(content.publishDate,'yyyy-MM-dd')
        • + #end + #end +
        +
        +
        +
        +
        + +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/news_list.shtm new file mode 100644 index 0000000..e41909c --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/news_list.shtm @@ -0,0 +1,58 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 10) +
        + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/page.shtm new file mode 100644 index 0000000..7131783 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/page.shtm @@ -0,0 +1,22 @@ + +#if(totalPages>1) +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/position.shtm new file mode 100644 index 0000000..82ad0bc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/position.shtm @@ -0,0 +1,2 @@ + +当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/product_detail.shtm new file mode 100644 index 0000000..ef10f0e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/product_detail.shtm @@ -0,0 +1,74 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/product_list.shtm new file mode 100644 index 0000000..1fc7350 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/product_list.shtm @@ -0,0 +1,59 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end
        +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban3/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban3/search.shtm new file mode 100644 index 0000000..add2c8c --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban3/search.shtm @@ -0,0 +1,52 @@ + +#include("header.shtm") + +
        + +
        +
        + + + +
        + + #include("left.shtm") + + +
        +
        + #content_page(categoryId = 104,keyword = keyword,pageNumber = pageNumber,pageSize = 10) + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?keyword="+keyword+"&pageNumber=") + #include("page.shtm") + #end + + #end
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/about.shtm new file mode 100644 index 0000000..981a044 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/about.shtm @@ -0,0 +1,46 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        +
        #(currentCategory.introduction)
        +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/case_detail.shtm new file mode 100644 index 0000000..12b64d2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/case_detail.shtm @@ -0,0 +1,76 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        +
        +
        +
        #(currentContent.title)
        +

        #(currentContent.title)

        +
        +
        #(currentContent.introduction)
        +
        + +
        +
        +

        相关推荐

        + #category(id=1)更多>>#end +
        +
        + +
        +
        +
        +
        +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/case_list.shtm new file mode 100644 index 0000000..1bc7bbb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/case_list.shtm @@ -0,0 +1,64 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/footer.shtm new file mode 100644 index 0000000..c437b0f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/footer.shtm @@ -0,0 +1,96 @@ + +
        +
        +

        友情链接:#friend_link_list(count=3,gid=1)#for(friendLink : friendLinks) +#(friendLink.name) +#end#end

        +

        本站关键字:关键词1,关键词2,关键词3

        +
        +

        #(currentCompany.name)

        +

        #(currentWeb.icp)

        +
        +
        +
        +
        +
        +
        +
        咨询热线
        +
        #(currentCompany.phone)
        +
        +
        +
        在线客服
        +
        +
        +
        +
        手机网站
        +
        +
        微信公众号
        +
        +
        +
        +
        +
        + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/header.shtm new file mode 100644 index 0000000..925bb54 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/header.shtm @@ -0,0 +1,50 @@ + +#include("common.shtm") + + + + + +JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + +
        +
        + +
        +
        +

        专注于天然植物萃取护肤品研发生产

        +

        研发植物精华无伤害的护肤产品,成就美丽人生

        +
        +
        +

        全国统一服务热线

        +

        #(currentCompany.phone)

        +
        +
        +
        + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/index.shtm new file mode 100644 index 0000000..38cf044 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/index.shtm @@ -0,0 +1,179 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + +
        +
        +

        PRODUCT series

        +

        产品系列

        +
        +
        +
          + #category_children_list(count=3,categoryId=401) + #for(category: categorys) +
        • + +
          #(category.name)
          +

          #(category.name)

          +
          +
          + +
          +
          +
          +
        • + #end + #end + +
        +
        +
        +
        +
        + #content_list(count=5,categoryId=401) + #for(content : contents) +
        #(abbreviate(content.title,18,''))

        #(abbreviate(content.title,18,''))

        + +
        #(abbreviate(content.title,18,''))

        #(abbreviate(content.title,18,''))

        + #end + #end + +
        立即咨询
        +
        +
        +
        + + + +
        +
        +
        +
        +
        + +
        +
        +

        custome experience

        +

        客户体验

        +
        +
        +
        + #category(id=403) +
        #(category.name)
        +
        #(category.name)
        + #end + + #content_list(count=5,categoryId=403) + #for(content : contents) +
        + #(abbreviate(content.title,18,'')) +

        #(abbreviate(content.title,18,''))

        +
        + #end + #end + +
        +
        +
        +
        + #category(id=403)+MORE#end +
        +
        +
        +
        + +
        +
        +

        about us关于沛诚

        +
        +
        +
        #category(id=404) + +#end
        +
        + 注重自然本草与现代科技结合,研发纯植物精华无伤害的护肤产品——成就现代女性的美丽人生! +
        +
        +
        + +

          #(currentCompany.name)#category(id=404) +#(abbreviate(category.text,192,''))...... +#end#category(id=400)[+more]

        #end + 关于沛诚 +
        +
        +
        +
        +
        +

        NEW PRODUCT
        SEASON

        +

        你想要的百款新品

        + 立即咨询 +
        +
        + +
        +
        +

        News information

        +

        新闻资讯

        +
        +
        +
        + #content_list(count=5,categoryId=400) + #for(content : contents) +
        + #(content.title) +
        +

        #(abbreviate(content.title,16,''))

        +

        #(abbreviate(content.text,46,''))... [+more]

        +
        +
        + #end + #end + +
        +
        +
        +
        +
        地址:#(currentCompany.address)
        +
        现在选择我们,选择美丽人生的可能
        +
        + 立即咨询 + #category(id=407)联系我们#end +
        +
        #(currentCompany.phone)
        +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/left.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/left.shtm new file mode 100644 index 0000000..72d353d --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/left.shtm @@ -0,0 +1,40 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/news_detail.shtm new file mode 100644 index 0000000..3260107 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/news_detail.shtm @@ -0,0 +1,90 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        +
        +
        +

        #(currentContent.title)

        +
        + 发布时间:#date(currentContent.publishDate,'yyyy-MM-dd') + 浏览量:#(currentContent.visits) +
        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        +
        分享到:
        +
        +
        + +
        +
        +

        相关推荐

        + #category(id=1)更多>>#end +
        +
        + +
        +
        +
        +
        +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/news_list.shtm new file mode 100644 index 0000000..1b11cb8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/news_list.shtm @@ -0,0 +1,65 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 5) +
        +
        + #for(content : contentPage.list) +
        +
        #date(content.publishDate,'yyyy-MM-dd')
        +

        #(abbreviate(content.title,30,''))

        +

        #(abbreviate(content.text,88,''))...

        +
        + #end + +
        +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/page.shtm new file mode 100644 index 0000000..7131783 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/page.shtm @@ -0,0 +1,22 @@ + +#if(totalPages>1) +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/position.shtm new file mode 100644 index 0000000..82ad0bc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/position.shtm @@ -0,0 +1,2 @@ + +当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/product_detail.shtm new file mode 100644 index 0000000..76ed544 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/product_detail.shtm @@ -0,0 +1,106 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        +
        +
        +

        #(currentContent.title)

        +
        +
        + +
        +
        +
        +
        +
        产品分类:#(currentContent.category.name)
        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.phone)
        +
        +
        + #category(id=1)联系我们#end +
        +
        +
        + + + + + + +
        +
        分享到:
        +
        +
        +
        +
        +
        #(currentContent.introduction)
        +
        +
        +
        + +
        +
        +

        相关推荐

        + #category(id=1)更多>>#end +
        +
        + +
        +
        +
        +
        +
        +
        + + #include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/product_list.shtm new file mode 100644 index 0000000..cc06005 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/product_list.shtm @@ -0,0 +1,64 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        +
        +#content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban4/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban4/search.shtm new file mode 100644 index 0000000..fc5c2c6 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban4/search.shtm @@ -0,0 +1,61 @@ + +#include("header.shtm") + + +
        +
        +
        +

        植物化妆品——更亲近您的肌肤

        +

        Plant cosmetics - more close to your skin

        +
        +
        #(currentCompany.phone)
        +
        +
        +
        + + +
        +
        +
        +
        +
        +
        + + #include("left.shtm") + +
        + #content_page(categoryId = 104,keyword = keyword,pageNumber = pageNumber,pageSize = 5) +
        +
        + #for(content : contentPage.list) +
        +
        #date(content.publishDate,'yyyy-MM-dd')
        +

        #(abbreviate(content.title,30,''))

        +

        #(abbreviate(content.text,88,''))...

        +
        + #end + +
        +
        +
        + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?keyword="+keyword+"&pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/about.shtm new file mode 100644 index 0000000..7cde62b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/about.shtm @@ -0,0 +1,38 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        #(currentCategory.introduction)
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/case_detail.shtm new file mode 100644 index 0000000..93d070f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/case_detail.shtm @@ -0,0 +1,74 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        {content:title}

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/case_list.shtm new file mode 100644 index 0000000..78a37d3 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/case_list.shtm @@ -0,0 +1,59 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 12) + +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        #end +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/footer.shtm new file mode 100644 index 0000000..57bde7f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/footer.shtm @@ -0,0 +1,49 @@ + + + + +
        +
          + +
        • QQ +
        • +
        • 电话 +
          + +
          咨询电话:

          #(currentCompany.mobile)

          +
          +
        • +
        • 扫一扫 +
          + + 手机网站 + +
          +
        • +
        • TOP +
        • +
        +
        + + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/guestbook.shtm new file mode 100644 index 0000000..7ea7799 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/guestbook.shtm @@ -0,0 +1,104 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        + +
        +
        + + * +
        +
        + + * +
        + +
        + +
        +
        + + +
        +
        + + +
        +
        +
        + +
        + + +
        +
        + +
        +
        + + + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/header.shtm new file mode 100644 index 0000000..d5e1b56 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/header.shtm @@ -0,0 +1,77 @@ + +#include("common.shtm") + + + + + +JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + +
        +
        +
        欢迎光临#(currentCompany.name)官网,您值得信赖的工程拆除专家!
        +
        +
      • 加入收藏 |
      • +
      • 设为首页 |
      • + #category(id=505)
      • 联系我们
      • #end +
        +
        +
        +
        +
        + +
        +
        +

        全国服务热线:

        +

        #(currentCompany.mobile)

        +
        + +
        +
        +
        +
        + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/index.shtm new file mode 100644 index 0000000..582c761 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/index.shtm @@ -0,0 +1,307 @@ + +#include("header.shtm") + + + + +
        +
        +
        +
        +
        + + 行业动态: + +
        +
        +
        +
        + + + +
        +
        +
        + +
        +
        + + +
        + +
        +

        拆除打孔工程

        + DISMANTLING +

        主要承接民用建筑的拆除、工业厂房、地基基础、施工设施的拆除

        +
        + +
        +
          + #content_list(count=15,categoryId=501) + #for(content : contents) +
        • + #(content.title) + +
        • + #end + #end +
        +
        +
        + + +
        +
        + +
        +
        +
        +
        +

        全国服务热线:

        +

        #(currentCompany.mobile)

        +
        +
        +

        我们有专门的项目对接人员,施工团队,售后团队

        + #category(id=505)联系我们 #end + #category(id=506)在线留言#end +
        +
        +
        + +
        + +
        +

        安装粉刷

        + WHITEWASH +

        我们有专业团队,深耕行业多年历史,服务湖南一所又一所的企业公司

        +
        +
        +
          +
          + #content_list(count=3,categoryId=502) + #for(content : contents) +
        • + #(content.title) + +
        • + #end + #end + + + #content_list(count=2,categoryId=502,orderBy="isRecommend desc") + #for(content : contents) +
        • + #(content.title) + +
        • + #end + #end + + +
          + + + + + #content_list(count=1,categoryId=502,orderBy="isTop desc") + #for(content : contents) +
        • + #(content.title) +

          全国服务热线

          #(currentCompany.mobile)
          +
        • + #end + #end +
        +
        +
        + +
        +
        + +
        +

        公司简介

        + about us +
        +
        +
        + #category(id=500) + +#end +
        +
        +
        公司简介
        +
        #category(id=500) + #(abbreviate(category.text,140,'')) + #end... +
        + #category(id=500)查看更多+#end +
        +
        +
        +
          + #content_list(count=4,categoryId=501) + #for(content : contents) +
        • + #(content.title) + #(content.title) +
        • + #end + #end + +
        +
        + + +
        +
        +
        + +
        + +
        +
        +

        钻孔打孔Drilling holes

        + +
        +
        + + #category(id=513)
        #end + #content_list(count=3,categoryId=513) + #for(content : contents) +
        +

        #(content.title)

        + [#date(content.publishDate,'yyyy-MM-dd')] +
        + #end + #end + +
        + #category(id=513)MORE+#end +
        + +
        +
        +

        墙壁粉刷WALL PAINTING

        + +
        +
        + + #category(id=514)
        #end + #content_list(count=3,categoryId=514) + #for(content : contents) +
        +

        #(content.title)

        + [#date(content.publishDate,'yyyy-MM-dd')] +
        + #end + #end +
        + #category(id=514)MORE+#end +
        + +
        +
        +

        行业动态DANAMICS

        + +
        +
        + #content_list(count=3,categoryId=504) + #for(content : contents) +
        +

        #(abbreviate(content.title,18,''))—— #(abbreviate(content.text,46,''))...

        +
        + #end + #end + +
        + #category(id=504)MORE+#end +
        + +
        + +
        +
        +
        + +
        +

        联系我们

        + CONTACT US + +
        +
        +

        专业提供粉刷墙壁,水电木工,防水补漏等一站式服务

        + 我们为您提供专业的工业厂房、民用建筑的拆除,赶紧预约吧! +
        +
        + +
        +
        + +
        +
        +
        +
        +
        + + +
        + +
        + +
        +
        +
        +
        咨询热线:#(currentCompany.mobile)
        + +
        #(currentCompany.address)
        +
        +
        + + +
        + + +
        + + +
        + +
        + +
        +
        + +
        + +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/left.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/left.shtm new file mode 100644 index 0000000..0570467 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/left.shtm @@ -0,0 +1,60 @@ +
        + #if(currentCategory??) + + #end +
        + +
        + 拆除打孔工程 + DISMANTLING +
        +
        +
        +
        + #content_list(count=3,categoryId=501) + #for(content : contents) +
        #(content.title)
        + #end + #end + +
        +
        +
        +
        +
        + +
        + +
        + +
        + 联系我们 + CONTACT US +
        +
        + + #(currentCompany.name)
        +联系人:#(currentCompany.contact)
        +#(currentCompany.mobile)
        +QQ:#(currentCompany.qq)
        +地址:#(currentCompany.address)
        +
        +
        + +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/news_detail.shtm new file mode 100644 index 0000000..5654a8e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/news_detail.shtm @@ -0,0 +1,67 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + +
        +

        #(currentContent.title)

        +
        作者: #(currentContent.author) 来源: #(currentContent.source) 时间: #(currentContent.publishDate,'yyyy-MM-dd')
        +
        #(currentContent.introduction)
        +
        + +
        +
        +
        + +
        +

        行业动态

        + #category(id=504)更多>>#end +
        +
        + +
        +
        +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/news_list.shtm new file mode 100644 index 0000000..98e77d8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/news_list.shtm @@ -0,0 +1,57 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 10) + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/page.shtm new file mode 100644 index 0000000..7131783 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/page.shtm @@ -0,0 +1,22 @@ + +#if(totalPages>1) +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/position.shtm new file mode 100644 index 0000000..82ad0bc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/position.shtm @@ -0,0 +1,2 @@ + +当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/product_detail.shtm new file mode 100644 index 0000000..67847ff --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/product_detail.shtm @@ -0,0 +1,74 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentContent.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/product_list.shtm new file mode 100644 index 0000000..de7a0bb --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/product_list.shtm @@ -0,0 +1,59 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 12) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end
        +
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban5/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban5/search.shtm new file mode 100644 index 0000000..c3b0770 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban5/search.shtm @@ -0,0 +1,52 @@ + +#include("header.shtm") + + + + +
        +
        +
        + + #include("left.shtm") + + +
        +
        +#content_page(categoryId = 104,keyword = keyword,pageNumber = pageNumber,pageSize = 10) + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?keyword="+keyword+"&pageNumber=") + #include("page.shtm") + #end + + #end
        +
        + +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/about.shtm new file mode 100644 index 0000000..6c239d9 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/about.shtm @@ -0,0 +1,43 @@ + +#include("header.shtm") + + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        #(currentCategory.introduction)
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/case_detail.shtm new file mode 100644 index 0000000..82d1ae2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/case_detail.shtm @@ -0,0 +1,78 @@ + +#include("header.shtm") + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/case_list.shtm new file mode 100644 index 0000000..59ce8de --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/case_list.shtm @@ -0,0 +1,66 @@ + +#include("header.shtm") + + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        #end +
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/footer.shtm new file mode 100644 index 0000000..8cd5fe1 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/footer.shtm @@ -0,0 +1,50 @@ + +
        + +
        + +
        + 在线QQ +
        +
        + +
          +
        • +
        • 咨询热线
        • +
        • #(currentCompany.mobile)
        • +
        +
        +
        + +
          +
        • +
        • + +

          手机二维码

          +
        • +
        +
        +
        + +
        + +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/guestbook.shtm new file mode 100644 index 0000000..3d37472 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/guestbook.shtm @@ -0,0 +1,108 @@ + +#include("header.shtm") + + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        + +
        +
        + + * +
        +
        + + * +
        + +
        + +
        +
        + + +
        +
        + + +
        +
        +
        + +
        + + +
        +
        + +
        +
        +
        + + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/header.shtm new file mode 100644 index 0000000..2794400 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/header.shtm @@ -0,0 +1,57 @@ + +#include("common.shtm") + + + + + +JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + +
        +
        +
        +
        + +
        +
        +
        + + +
        +
        +
        +
        + +
        + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/index.shtm new file mode 100644 index 0000000..97b2643 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/index.shtm @@ -0,0 +1,207 @@ + +#include("header.shtm") + + + + + +
        +
        +
        + +
        +

        + 关于我们 +

        ABOUT

        + 专业,专心,专注 +

        +
        +
        +
        #content(id=600) + #(abbreviate(content.text,170,'')) + #end...#category(id=600)[查看更多]
        #end +
        +
        +
        +
        +
        + +
        + +
        +
        +

        + 工程案例 +

        CASE

        + 设备精良 +

        +
        +
        +
        + #category_children_list(count=5,categoryId=602) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        +
        +
        + +
        + +
        +
        +
        专业从事园林绿化工程施工
        +
        服务热线:

        #(currentCompany.mobile)

        +
        +
        + +
        + +
        +
        +
        +

        + 养护常识 +

        KNOWLEDGE

        +

        +
        +
        +
          + #content_list(count=3,categoryId=603) + #for(content : contents) +
        • #(content.title)
        • + #end + #end + +
        +
        +
        +
          + #content_list(count=2,categoryId=603) + #for(content : contents) +
        • +
          + #(abbreviate(content.title,35,'')) +
          #date(content.publishDate,'yyyy年MM月dd日')
          +
          + #(abbreviate(content.text,125,''))...
          +
          +
        • + #end + #end + +
        + +
        +
        + +
        + + +
        +
        + 园林养护CURING +
        +
        +
          + #content_list(count=4,categoryId=601) + #for(content : contents) +
        • + + #(content.title) +
        • + #end + #end + +
        +
        +
        +
        +
        + +
        +
        +
        + +

        在线留言 MESSGAE

        +
        + +
        +
        + +
          +
        • *
        • +
        • *
        • + +
        • +
        • + +
        • + +
        + + +
        + + +
        +
        +
        + +
        + +

        + #(currentCompany.name) +

        + +
        +
        + #(currentCompany.name)
        +联系人:#(currentCompany.contact)
        +电话:#(currentCompany.mobile)
        +邮箱:#(currentCompany.email)
        +地址:#(currentCompany.address)
        +
        +
        服务热线:

        #(currentCompany.mobile)

        + + 扫描二维码 查看手机官网
        +
        + +
        +
        +
        + +
        + + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/left.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/left.shtm new file mode 100644 index 0000000..2e04440 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/left.shtm @@ -0,0 +1,40 @@ +
        + #if(currentCategory??) + + #end + + +
        + +
        + 联系我们 + CONTACT +
        +
        + + #(currentCompany.name)
        +联系人:#(currentCompany.contact)
        +电话:#(currentCompany.mobile)
        +邮箱:#(currentCompany.email)
        +地址:#(currentCompany.address) +
        +
        +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/news_detail.shtm new file mode 100644 index 0000000..cc7a470 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/news_detail.shtm @@ -0,0 +1,72 @@ + +#include("header.shtm") + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + +
        +

        #(currentContent.title)

        +
        作者: #(currentContent.author) 来源: #(currentContent.source) 时间:#date(currentContent.publishDate,'yyyy-MM-dd')
        +
        #(currentContent.introduction)
        +
        + +
        +
        +
        + +
        +

        养护常识

        + #category(id=15)更多>>#end +
        +
        + +
        +
        +
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/news_list.shtm new file mode 100644 index 0000000..c73a386 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/news_list.shtm @@ -0,0 +1,61 @@ + +#include("header.shtm") + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 10) + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/page.shtm new file mode 100644 index 0000000..7131783 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/page.shtm @@ -0,0 +1,22 @@ + +#if(totalPages>1) +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/position.shtm new file mode 100644 index 0000000..82ad0bc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/position.shtm @@ -0,0 +1,2 @@ + +当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/product_detail.shtm new file mode 100644 index 0000000..82d1ae2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/product_detail.shtm @@ -0,0 +1,78 @@ + +#include("header.shtm") + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        +
        +
        + #(currentContent.title) +
        +
        +

        #(currentContent.title)

        +
        +
        +
        全国咨询热线:
        +
        #(currentCompany.mobile)
        +
        +
        +
        +
        +
        +

        详情介绍:

        +
        +
        #(currentContent.introduction)
        +
        +
        + + + + + + +
        + +
        +
        +
        +
        + +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/product_list.shtm new file mode 100644 index 0000000..5457b58 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/product_list.shtm @@ -0,0 +1,65 @@ + +#include("header.shtm") + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        +

        #(currentCategory.name)

        +
        当前位置:#include("position.shtm")
        + +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) + +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        #end +
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban6/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban6/search.shtm new file mode 100644 index 0000000..e7755cf --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban6/search.shtm @@ -0,0 +1,56 @@ + +#include("header.shtm") + +
        + +
        + + + +
        +
        +
        +
        + + #include("left.shtm") + + +
        +
        + #content_page(categoryId = 104,keyword = keyword,pageNumber = pageNumber,pageSize = 10) + + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?keyword="+keyword+"&pageNumber=") + #include("page.shtm") + #end + + #end
        +
        + +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/about.shtm new file mode 100644 index 0000000..d1a0bd6 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/about.shtm @@ -0,0 +1,50 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        #(currentCategory.introduction)
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/case_detail.shtm new file mode 100644 index 0000000..ee82472 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/case_detail.shtm @@ -0,0 +1,103 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        +
        +
        #(currentContent.title)
        +
        + #(currentContent.title) +
        +
        + +
        #(currentContent.introduction)
        +
        +
        + + +
        +分享到: + + + + + +
        + + + + +
        +
        + +
        +
        相关推荐
        + +
        +
        +
        +
        +
        +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/case_list.shtm new file mode 100644 index 0000000..ebc38d7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/case_list.shtm @@ -0,0 +1,70 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 12) + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/footer.shtm new file mode 100644 index 0000000..3be4557 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/footer.shtm @@ -0,0 +1,65 @@ +
        +
        + +
        +
        +
        +
        + +
        +

        联系我们

        +
        CONTACT
        +
        +

        + #(currentCompany.name)
        +咨询热线:#(currentCompany.phone)
        +联系人:#(currentCompany.contact) 电话:#(currentCompany.mobile)
        +地址:#(currentCompany.address)
        +

        +
        + +
        +
        +

        关键词

        +
        KEYWORD
        +
        +
          + #category_children_list(count=15,categoryId=12) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end + +
        +
        +
        +
        +
        +

        版权所有:#(currentCompany.name) 联系方式:#(currentCompany.phone)
        联系地址:#(currentCompany.address)

        + top +
        +
        +
        + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/guestbook.shtm new file mode 100644 index 0000000..4c5a851 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/guestbook.shtm @@ -0,0 +1,122 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        +
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        *
        *
         
        + +
        + + +
        +
        +
        +
        + + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/header.shtm new file mode 100644 index 0000000..fdadaa1 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/header.shtm @@ -0,0 +1,48 @@ + +#include("common.shtm") + + + + + +JreCms-永久开源免费的JAVA企业网站开发建设管理系统 + + + + + + + + + +
        +
        + +
        + 全国咨询热线 + #(currentCompany.phone) +
        +
        + +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/index.shtm new file mode 100644 index 0000000..c3a38bd --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/index.shtm @@ -0,0 +1,209 @@ + +#include("header.shtm") + + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        +

        产品展示

        +
        +
        +
          + #category_children_list(count=10,categoryId=700) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end + +
        +
        +
        +
        + 咨询热线
        + #(currentCompany.phone) +
        +#category(id=705)在线预购#end +#category(id=708)联系我们#end +
        +
        + +
        +
        +

        产品展示

        +
        PRODUCT
        +
        + +
        +
        + +
        +
        + +
        + 服务电话: + #(currentCompany.phone) +
        +
        +
        至精至诚,创优创新——专业提供制药机械设备
        + #category(id=705)在线预购#end + #category(id=708)联系我们#end +
        +
        +
        +
        +
        + +
        +

        厂房展示

        +
        workshop
        +
        +
        + +
        +
        + + +
        +
        +
        + + + +
        + +
        + #content(id=702) + +#end +
        +
        +
        +
        +

        公司简介

        +
        ABOUT US
        +
        +
        +

        +   #content(id=702) +#(abbreviate(content.text,188,'')) +#end... +

        + #category(id=706)查看详细>>#end +
        +
        + +
        + +
        +

        新闻动态

        +
        NEWS
        +
        +
        +
        +
          + #content_list(count=3,categoryId=704) + #for(content : contents) +
        • #(content.title)
        • + #end + #end + +
        +
        +
        +
        + + +
        + +
        +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/job_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/job_detail.shtm new file mode 100644 index 0000000..c535ee3 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/job_detail.shtm @@ -0,0 +1,103 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        +
        +
        #(currentContent.title)
        +
        + #(currentContent.title) +
        +
        + +
        #(currentContent.introduction)
        +
        +
        + + +
        +分享到: + + + + + +
        + + + + +
        +
        + +
        +
        相关推荐
        + +
        +
        +
        +
        +
        +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/job_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/job_list.shtm new file mode 100644 index 0000000..387db1d --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/job_list.shtm @@ -0,0 +1,70 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 12) + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/left.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/left.shtm new file mode 100644 index 0000000..3e70319 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/left.shtm @@ -0,0 +1,27 @@ +
        + #if(currentCategory??) +
        +

        #(currentCategory.name)

        + +
        +
        +
          + #category_children_list(count=10,categoryId=currentCategory.id) + #for(category : categorys) +
        • + #(category.name) +
        • + #end + #end +
        +
        + #end +
        +
        + 全国咨询热线
        + #(currentCompany.phone) +
        + #category(id=705)在线预购#end + #category(id=708)联系我们#end +
        +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/news_detail.shtm new file mode 100644 index 0000000..950b9fd --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/news_detail.shtm @@ -0,0 +1,101 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        +
        +
        #(currentContent.title)
        +
        + 时间:#date(currentContent.publishDate,'yyyy-MM-dd')来源: #(currentContent.source) + 字体:[ + ] +
        +
        #(currentContent.introduction)
        +
        + + +
        +分享到: + + + + + +
        + + + + +
        +
        + +
        +
        相关推荐
        + +
        +
        +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/news_list.shtm new file mode 100644 index 0000000..fb27463 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/news_list.shtm @@ -0,0 +1,64 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 10) + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/page.shtm new file mode 100644 index 0000000..7131783 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/page.shtm @@ -0,0 +1,22 @@ + +#if(totalPages>1) +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        +#else + +#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/position.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/position.shtm new file mode 100644 index 0000000..82ad0bc --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/position.shtm @@ -0,0 +1,2 @@ + +当前位置:首页 > #if(currentCategory??)#category_parent_list(categoryId=currentCategory.id)#for(category : categorys)#(category.name) > #end#end#(currentCategory.name)#else#if(position??)#(position)#end#end \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/product_detail.shtm new file mode 100644 index 0000000..a6b24ea --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/product_detail.shtm @@ -0,0 +1,185 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        +
        +
        + #(currentContent.title) +
        +
        +
          +
        • 产品名称:#(currentContent.title)
        • +
        • 产品分类:#(currentContent.category.name)
        • +
        • 咨询热线:#(currentCompany.phone)
        • +
        • 在线订购
        • +
        +
        +
        +
        +
        产品说明:
        +
        #(currentContent.introduction)
        +
        +
        + + +
        +分享到: + + + + + +
        + + + + +
        +
        + +
        +
        相关推荐
        + +
        +
        +
        在线订购
        +
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        *
        *
        + +
        + + +
        +
        +
        +
        +
        +
        + + + +#include("footer.shtm") + + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/product_list.shtm new file mode 100644 index 0000000..0eff7e8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/product_list.shtm @@ -0,0 +1,70 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        +
        当前位置:#include("position.shtm")
        +

        #(currentCategory.name)

        +
        +
        + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 12) + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban7/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban7/search.shtm new file mode 100644 index 0000000..e8269e3 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban7/search.shtm @@ -0,0 +1,60 @@ + +#include("header.shtm") + + +
        +
        +
        + + 新闻动态: +
        + +
        +
        + +
        +
        +
        + + #include("left.shtm") + +
        +
        + #content_page(categoryId = 104,keyword = keyword,pageNumber = pageNumber,pageSize = 10) + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?keyword="+keyword+"&pageNumber=") + #include("page.shtm") + #end + + #end +
        +
        +
        + +#include("footer.shtm") + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/about.shtm new file mode 100644 index 0000000..08e90b1 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/about.shtm @@ -0,0 +1,170 @@ + + + + + + + + + 关于我们_我的网站 + + + + + + + + +
        +

        关于我们

        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +   + 湖北MoMo网络科技发展有限公司是一家专业的Internet网络服务提供商,主要从事互联网的应用,信息咨询领域的研究、开发与服务,专门为大中小企业提供原创的网页设计、网站建设、网站后台数据库开发、及网站推广搜索等全方位的网络解决方案以及网络营销服务。在网络代表着未来的今天,企业信息化及电子商务应用已经从冲动回归理性,必将为21世纪各行各业的发展带来无限商机。 +
        +

        客户至上是我们的理念,让客户盈利是我们的目的。为了不辜负广大客户对我们MoMo的认可和信赖,我们将为广大客户提供更加专注,更加细腻的,更加个性化的服务。

        +

        推进中小企业信息化和电子商务的发展,真正成为企业信息化建设中值得信赖的合作伙伴,我们在强调技术领先,不断进取的同时,关注与同行业的战略合作,从而确保了为我们的客户提供更全面的,一站式的网络营销解决方案。

        +
        +
        +
        +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/case_detail.shtm new file mode 100644 index 0000000..34465f0 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/case_detail.shtm @@ -0,0 +1,224 @@ + + + + + + + + + 中环球船务_我的网站 + + + + + + + + +
        +

        顾客案例

        +
        +
        +
        +
        + +
        +
        +
        +
        + +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/case_list.shtm new file mode 100644 index 0000000..8cefaa8 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/case_list.shtm @@ -0,0 +1,233 @@ + + + + + + + + + 顾客案例_我的网站 + + + + + + + + +
        +

        顾客案例

        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +
        +
      • +
        + 大众汽车 +
        +
        +
        + 2016-10-30 +
        +

        中国报道

        + +
        +
        +
      • +
      • +
        + 大众汽车 +
        +
        +
        + 2016-10-30 +
        +

        中环球船务

        + +
        +
        +
      • +
      • +
        + 大众汽车 +
        +
        +
        + 2016-10-30 +
        +

        cctv

        + +
        +
        +
      • +
      • +
        + 大众汽车 +
        +
        +
        + 2016-10-30 +
        +

        Fedex

        + +
        +
        +
      • +
      • +
        + 大众汽车 +
        +
        +
        + 2016-10-30 +
        +

        北赛电工

        + +
        +
        +
      • +
      • +
        + 大众汽车 +
        +
        +
        + 2016-10-30 +
        +

        大众汽车

        + +
        +
        +
      • +
        +
        +
        + 16条记录 +
        +
        +
        +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/contact.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/contact.shtm new file mode 100644 index 0000000..3f5f82b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/contact.shtm @@ -0,0 +1,197 @@ + + + + + + + + + 联系我们_我的网站 + + + + + + + + +
        +

        联系我们

        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        + +
        + 图片关键词 +
        +
        +
        +   +
        +
        + 某某有限公司 +
        +
        + 地址:重庆渝北区余松路465号 +
        +
        + 电话:027-000000 13800000000 +
        +
        + Q  Q:12345678  12365478 +
        +
        + 邮编:445000 +
        +
        + 邮箱:admin@qq.com +
        +
        + 网址:www.yourdomain.com +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/footer.shtm new file mode 100644 index 0000000..bd1910a --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/footer.shtm @@ -0,0 +1,12 @@ +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/header.shtm new file mode 100644 index 0000000..194f74e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/header.shtm @@ -0,0 +1,40 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/index.shtm new file mode 100644 index 0000000..3f51d87 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/index.shtm @@ -0,0 +1,551 @@ + + + + + + + + + 我的网站 + + + + + + + + + +#include("header.shtm") + +
        + +
        +
        +
        + + +
          + + + + +
        +
        +
        +
        +
        + + + + +
        +
        +
        +
        + + +
        + + + +
        +
        +
        +
        +
        +
        +
        + +
        +

        +
        +
        +
        +
        +
        + +
        +

        1469887325114184.jpg

        +

        湖北MoMo网络科技发展有限公司是一家专业的Internet网络服务提供商,主要从事互联网的应用,信息咨询领域的研究、开发与服务,专门为大中小企业提供原创的网页设计、网站建设、网站后台数据库开发、及网站推广搜索等全方位的网络解决方案以及网络营销服务。在网络代表着未来的今天,企业信息化及电子商务应用已经从冲动回归理性,必将为21世纪各行各业的发展带来无限商机。 客户至上是

        + 更多详情>> +
        +
        +
        +
        +
        +
        +
        + + + +
        +
        +
        +
        +

        您有建站需求?即刻联系我们吧!

        + 联系我们 +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        + +#include("footer.shtm") + + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/news_detail.shtm new file mode 100644 index 0000000..c1a8579 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/news_detail.shtm @@ -0,0 +1,225 @@ + + + + + + + + + 什么是伪静态?伪静态有何作用?哪种好?_我的网站 + + + + + + + + +
        +

        建站经验

        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +
        +
        +
        +

        什么是伪静态?伪静态有何作用?哪种好?

        +
        + 2016-10-30 + + 0 +
        +
        +
        + 伪静态是相对真实静态来讲的,真实静态会生成一个html或htm后缀的文件,访客能够访问到真实存在的静态页面,而伪静态则没有生成实体静态页面文件,而仅仅是以.html一类的静态页面形式,但其实是用PHP程序动态脚本来处理的,这就是伪静态。           静态页面的优缺点:         真实静态通常是为了更好的缓解服务器压力,和增强搜索引擎的友好面,所以都将网页内容生成静态页面。但最大缺陷是每次在网站后台修改网页内容都需要重新生成静态页面,无法实时显示更新的内容,而久之网站内容多了,占用的空间大小以及每次生成静态页面所耗费的服务器资源也不容小觑(有出现内容过多且一次性生成静态页面而导致服务器奔溃的案例)。           伪静态有什么作用?         有的朋友为了实时的显示一些信息,或者还想运用动态脚本解决一些问题,不能用静态的方式来展示网站内容,但是这就损失了对搜索引擎的友好面,怎么样在两者之间找个中间方法呢?这就产生了伪静态技术。           伪静态有什么不足?         由于伪静态是用正则判断需要跳转到的页面而不是真实页面地址,分辨到底显示哪个页面的责任也由直接指定转由服务器CPU来判断了,所以CPU占有量的上升,确实是伪静态最大的弊病。 +
        +
        + +
        + +
        +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/news_list.shtm new file mode 100644 index 0000000..3a58fde --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/news_list.shtm @@ -0,0 +1,274 @@ + + + + + + + + + 新闻中心_我的网站 + + + + + + + + +
        +

        新闻中心

        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +
        +
        +
        +
          +
        • +
          +
          + 什么是伪静态?伪静态有何作用?哪种好? +
          +
          +

          什么是伪静态?伪静态有何作用?哪种好?

          +

            伪静态是相对真实静态来讲的,真实静态会生成一个html或htm后缀的文件,访客能够访问到真实存在的静态页面,而伪静态则没有生成实体静态页面文件,而仅仅是以.html一类的静态页面...

          +

          2016-10-30 0

          +
          +
        • +
        • +
          +
          + 企业网站应该多长时间备份一次? +
          +
          +

          企业网站应该多长时间备份一次?

          +

            企业网站的信息量一般比较少,使用企业网站管理系统让网站备份操作非常简单,我们建议用户没有必要经常去备份网站,一般只需要做到一下几点即可: 网站初次安装、初次配置、添...

          +

          2016-10-30 0

          +
          +
        • +
        • +
          +
          + 如何选择网站关键词? +
          +
          +

          如何选择网站关键词?

          +

            网站关键词是SEO优化的核心,关键词的选择将直接影响网站优化推广效果及网站的价值,选择关键词应该注意一下几点: 考虑用户搜索习惯,而并非企业名称或产品名称,尤其是对于一...

          +

          2016-10-30 0

          +
          +
        • +
        • +
          +
          + 企业建站选择主机和产品服务遇到的问题 +
          +
          +

          企业建站选择主机和产品服务遇到的问题

          +

            个人建站和企业建站是两个不同的,个人建站我们则是需要考虑成本的支出,比较大部分个人建站仅仅是用于兴趣爱好,对于空间和服务的要求可能不是很高的,而企业建站则是不同了...

          +

          2016-10-30 0

          +
          +
        • +
        • +
          +
          + 企业用网站进行网络宣传的优势 +
          +
          +

          企业用网站进行网络宣传的优势

          +

            个人建站和企业建站是两个不同的,个人建站我们则是需要考虑成本的支出,比较大部分个人建站仅仅是用于兴趣爱好,对于空间和服务的要求可能不是很高的,而企业建站则是不同了...

          +

          2016-10-30 0

          +
          +
        • +
        +
        +
        + 1 + 2 + 3 + 下一页 +
        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/page.shtm new file mode 100644 index 0000000..24f85b2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/page.shtm @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/product_detail.shtm new file mode 100644 index 0000000..8080954 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/product_detail.shtm @@ -0,0 +1,267 @@ + + + + + + + + + (自适应手机版)响应式医疗设备网站源码_我的网站 + + + + + + + + +
        +

        外贸型网站

        +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        +
        +
        +
        +

        (自适应手机版)响应式医疗设备网站源码

        +
        + 2016-10-30 + admin + 149 +
        +
        +
        +
        +
        +

        模板称号:(自适应手机版)呼应式医疗设备网站源码 医疗净化工程公司织梦dedecms模板

        +
        +
        + 该模板是十分简略存活的,这么的网站很简略招引访客点击,提高ip流量和pv是十分有利的,随意挂点联盟广告都能养活网站。 +
        +
        + 本套织梦模板选用如今十分盛行的全屏自适应规划规划,且节目列表以简练,十分时髦大气。页面根据分辨率巨细而自动排版,很大程度上改进了页面宽度兼容问题, +
        +
        + 适应大部分显示器分辨率尺度哦。模板全体以多种色彩为主色调,适合做各种类型的网站。 +
        +
        +
        + 同一个后台办理三网合一简略便利,体验极佳 +
        +
        +
        +
        + 1、该模板由MoMo网站长亲身制造,代码洁净整洁; +
        +
        +
        +
        + 2、 + 作用适当的炫酷,适当简练大气高端,模板简略,悉数已数据调用,只需后台修正节目称号即可  +
        +
        + 3、适用于医疗设备、医疗器械 +
        +
        + 4、网站手艺DIV+css,代码精简,首页排版整洁大方、规划合理、利于SEO、图文并茂、静态HTML; +
        +
        + 5、首页和全局从头做了全部优化,便利大家无缝运用; +
        +
        + 6、概况请看演示站点; +
        +
        +
        +
        +
        +
        + +
        + +
        +
        +
        +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban8/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban8/product_list.shtm new file mode 100644 index 0000000..1e9290c --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban8/product_list.shtm @@ -0,0 +1,295 @@ + + + + + + + + + 产品展示_我的网站 + + + + + + + + +
        + +
        +
        +
        +
        + +
        +
        +
        +
        +
        +
        + + +
        +
        +
        + +
        +
        +
        +
        +

        关于我们

        + +
        +
        +

        新闻资讯

        + +
        + +
        +

        客户案例

        +
          +
        +
        +
        + 13800000000 +

        周一至周五 08:30~17:30

        + +
        +
        + +
        +
        + + +
        +
        +
        +
        +
        + +
        +

        Copyright © 2018 网站建设文化传播有限公司 版权所有  

        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/about.shtm new file mode 100644 index 0000000..70e664b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/about.shtm @@ -0,0 +1,35 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +
        + #(currentCategory.introduction) +
        +
        + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/case_detail.shtm new file mode 100644 index 0000000..63847d9 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/case_detail.shtm @@ -0,0 +1,57 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        案例展示一

        + +
        + #category_children_list(categoryId=1103) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        + + +
        +
        +

        #(currentContent.title)

        +

        发布日期:#date(currentContent.publishDate,'yyyy-MM-dd HH:mm') 浏览次数:

        +
        +
        + #(currentContent.introduction) +
        + +
        + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/case_list.shtm new file mode 100644 index 0000000..bce8ee7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/case_list.shtm @@ -0,0 +1,62 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        工程案例

        + +
        + #category_children_list(categoryId=1103) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        + + + +#content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 6) +
        + +
        + +#page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") +#include("page.shtm") +#end + +#end + + + + +#include("footer.shtm") + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/common.shtm new file mode 100644 index 0000000..e83509d --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/common.shtm @@ -0,0 +1 @@ +#set(tpath=base+"/templates/"+currentSite.mobileTemplate) \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/contact.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/contact.shtm new file mode 100644 index 0000000..ab21330 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/contact.shtm @@ -0,0 +1,82 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        联系我们

        + + + +
        + + + +
        +
        +

        地址:这里是您的公司地址
        + 电话:+86-0000-88888
        + 传真:+86-0000-88888
        + 邮编:570000
        + 邮箱:这里是您公司的邮箱地址

        + + + + +
        我的网站
        地址:
        电话:
        50 米
        + +
        +
        + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/footer.shtm new file mode 100644 index 0000000..08b8718 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/footer.shtm @@ -0,0 +1,43 @@ + +
        + +
        + +
        + + + + +
        + + +
        + +
        + +
        +
        X +

        截屏,微信识别二维码

        +

        微信号:

        +

        (点击微信号复制,添加好友)

        +

          打开微信

        +
        +
        +
        微信号已复制,请打开微信添加咨询详情!
        + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/fwlc.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/fwlc.shtm new file mode 100644 index 0000000..a84538f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/fwlc.shtm @@ -0,0 +1,43 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        服务流程

        + + + +
        + + +
        +
        + #(currentCategory.introduction) +
        +
        + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/guestbook.shtm new file mode 100644 index 0000000..0deec67 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/guestbook.shtm @@ -0,0 +1,107 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        在线留言

        + + + +
        + + +
        + + + +
        + + + +< +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/header.shtm new file mode 100644 index 0000000..1bd8fd7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/header.shtm @@ -0,0 +1,34 @@ + +
        +
        +
        + + + + + +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/index.shtm new file mode 100644 index 0000000..28d172b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/index.shtm @@ -0,0 +1,303 @@ + +#include("common.shtm") + + + + + + + 我的网站移动版 + + + + + + + + + + + +#include("header.shtm") + + + + + + + +
        + +
        +
        +
        +

        PRODUCT

        +

        产品中心

        +
        +
        + +
        + #category_children_list(categoryId=1101) + #for(category : categorys) +

        #(category.name)

        + #end + #end +
        + +
        +
        + +
        +
        +
        +
        + + +
        +
        +
        +

        四大产品优势

        +

        选择某某渔网,您的品质之选!

        +
        +
        +
          +
        • +

          适鱼性强、增产较佳

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养...

          +
        • +
        • +

          网结紧固、尺寸准确

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养...

          +
        • +
        • +

          结构合理、规格齐全

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养...

          +
        • +
        • +

          颜色鲜艳、使用寿命长

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养...

          +
        • +
        +
        +
        +
        +
        + + +
        +
        +
        +

        严格把关产品质量,打造渔网行业
        + 品牌标杆!

        +
        + 电话咨询
        +
        + + + #category(id=1103) +
        +
        +
        +

        COOPERATION CASE

        +

        工程案例

        +
        + +
        +
        + +
        +
        +
          +
        +
        +
        + +
        + +
        + 查看更多>>
        +
        + #end + + +
        +
        +
        +

        SERVICE PROCESS

        +

        服务流程

        +
        +
        +
          +
        • +
          +

          产品报价

          +
          +
        • +
        • +
          +

          定金选购

          +
          +
        • +
        • +
          +

          产品确认

          +
          +
        • +
        • +
          +

          产品装车

          +
          +
        • +
        • +
          +

          运输配送

          +
          +
        • +
        • +
          +

          交易付款

          +
          +
        • +
        • +
          +

          售后服务

          +
          +
        • +
        +
        +
        +
        + + +
        +
        +
        +

        善的物流体系,各种服务配套齐全!
        + 欢迎前来订购!

        +
        + 电话咨询
        +
        + + + #category(id=1100) +
        +
        +
        +

        About Us

        +

        关于我们

        +
        +
        +
        +
        +
        +
        +
        +
        +
        +

        专业生产厂家

        +

        16年生产经验,国外进口设备

        +
        +
        +
        +
        +
        +

        优质品牌产品

        +

        产品品质优良,多次荣获省部级名牌

        +
        +
        +
        +

        #(abbreviate(category.text,100,'...'))

        +
        + 了解详情>>
        +
        + #end + + + #category(id=1102) +
        +
        +
        +

        News

        +

        新闻动态

        +
        +
        + + 查看更多>>
        +
        +
        + #end + +
        + + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/news_detail.shtm new file mode 100644 index 0000000..33369e3 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/news_detail.shtm @@ -0,0 +1,57 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        行业新闻

        + +
        + #category_children_list(categoryId=1102) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        + + +
        +
        +

        #(currentContent.title)

        +

        发布日期:#date(currentContent.publishDate,'yyyy-MM-dd HH:mm') 浏览次数:

        +
        +
        + #(currentContent.introduction) +
        + +
        + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/news_list.shtm new file mode 100644 index 0000000..23e4243 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/news_list.shtm @@ -0,0 +1,62 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        新闻动态

        + +
        + #category_children_list(categoryId=1102) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        + + + +#content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 5) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        +#end + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/page.shtm new file mode 100644 index 0000000..69b06ed --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/page.shtm @@ -0,0 +1,17 @@ +
        +
      • 首页
      • + #if(hasPrevious) +
      • 上一页
      • + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) +
      • #(segmentPageNumber)
      • + #else +
      • #(segmentPageNumber)
      • + #end + #end + #if(hasNext) +
      • 下一页
      • + #end +
      • 尾页
      • +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/product_detail.shtm new file mode 100644 index 0000000..fc1b80f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/product_detail.shtm @@ -0,0 +1,71 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        网箱

        + +
        + #category_children_list(categoryId=1101) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        + + + +
        +
        +

        #(currentContent.title)

        +

        发布日期:#date(currentContent.publishDate,'yyyy-MM-dd HH:mm') 浏览次数:

        +
        +
        + + + +

        #(currentContent.introduction)

        +
        +
        + +
        + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/product_list.shtm new file mode 100644 index 0000000..1850768 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/product_list.shtm @@ -0,0 +1,62 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        产品中心

        + +
        + #category_children_list(categoryId=1101) + #for(category : categorys) + #(category.name) + #end + #end +
        + +
        + + + +#content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 6) +
        + +
        + +#page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") +#include("page.shtm") +#end + +#end + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/search.shtm new file mode 100644 index 0000000..01c6f82 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_mobile/search.shtm @@ -0,0 +1,52 @@ + +#include("common.shtm") + + + + + + + 产品中心_我的网站 + + + + + + + + + + + +#include("header.shtm") + + +
        +

        搜索页

        +
        + + +#content_page(keyword = keyword,pageNumber = pageNumber,pageSize = 5) +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?pageNumber=") + #include("page.shtm") + #end + +
        +#end + + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/about.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/about.shtm new file mode 100644 index 0000000..24f7648 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/about.shtm @@ -0,0 +1,90 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 关于我们
        +
        + +
        +
        +

        关于我们

        +
        +
        +
          + #category_children_list(categoryId=1100) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +

        + #(currentCategory.introduction) +

        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/case_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/case_detail.shtm new file mode 100644 index 0000000..8c20fb0 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/case_detail.shtm @@ -0,0 +1,116 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > #category_parent_list(categoryId=currentContent.id,recursive="true")#for(category : categorys)#(category.name) >#end#end #(currentContent.category.name) >
        +
        + +
        +
        +

        工程案例

        +
        +
        +
          + #category_children_list(categoryId=1103) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +
        +
        +

        #(currentContent.title)

        +
        +
        发布时间:#date(currentContent.publishDate,'yyyy-MM-dd HH:mm')人气:
        +

        +

        +
        + + + +
        + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/case_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/case_list.shtm new file mode 100644 index 0000000..eda1467 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/case_list.shtm @@ -0,0 +1,119 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 工程案例 >
        +
        + +
        +
        +

        工程案例

        +
        +
        +
          + #category_children_list(categoryId=1103) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 5) +
        + +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        + #end + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/common.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/common.shtm new file mode 100644 index 0000000..ce72bf2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/common.shtm @@ -0,0 +1,2 @@ +#set(tpath=base+"/templates/"+currentSite.pcTemplate) + diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/contact.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/contact.shtm new file mode 100644 index 0000000..c8630d7 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/contact.shtm @@ -0,0 +1,123 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 联系我们
        +
        + +
        +
        +

        联系我们

        +
        +
        +
          + +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +
        +

        地址:
        + 电话:
        + QQ:
        + 手机:
        + 邮箱:

        + + + +
        + +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/footer.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/footer.shtm new file mode 100644 index 0000000..681c989 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/footer.shtm @@ -0,0 +1,93 @@ + + + + + + + +
        +
        +
        +
        +
          +
        • +

          微信号:微信二维码

          +
        • +
        +
        +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/fwlc.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/fwlc.shtm new file mode 100644 index 0000000..d2cd8a6 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/fwlc.shtm @@ -0,0 +1,86 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 服务流程 >
        +
        + +
        +
        +

        服务流程

        +
        +
        +
          + +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +
        + #(currentCategory.introduction) +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/guestbook.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/guestbook.shtm new file mode 100644 index 0000000..048d8e2 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/guestbook.shtm @@ -0,0 +1,163 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 在线留言
        +
        + +
        +
        +

        在线留言

        +
        +
        +
          + +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +

        我的网站

        +
        +

        地址:
        + 电话:
        + QQ:
        + 手机:
        + 邮箱:

        +
        + + +
        在线留言
        +
        +
        +
        + + + *
        +
        + + + *
        +
        + + +
        +
        + + + *
        + +
        + +
        +
        +
        + +
        +
        +
        + + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/header.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/header.shtm new file mode 100644 index 0000000..273429e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/header.shtm @@ -0,0 +1,54 @@ + +
        +
        + +
        +
        + + +
        +
        +
        +

        全国咨询热线

        +

        +
        + + + +
        +
        + + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/index.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/index.shtm new file mode 100644 index 0000000..452a6b6 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/index.shtm @@ -0,0 +1,334 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + + + +
        + +
        +
        +
        +

        PRODUCT

        +

        产品中心

        +
        +
        + +
        + #category_children_list(categoryId=1101) + #for(category : categorys) +

        #(category.name)

        + #end + #end +
        + +
        +
        + +
        +
        +
        +
        +
        + + +
        +
        +
        +

        四大产品优势

        +

        选择某某渔网,您的品质之选!

        +
        +
        +
          +
        • +

          适鱼性强、增产较佳

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养殖作业,长期以品质优良、价格合理、交货及时、诚实守信,赢得海内外客户青睐。

          +
        • +
        • +

          网结紧固、尺寸准确

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养殖作业,长期以品质优良、价格合理、交货及时、诚实守信,赢得海内外客户青睐。

          +
        • +
        • +

          结构合理、规格齐全

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养殖作业,长期以品质优良、价格合理、交货及时、诚实守信,赢得海内外客户青睐。

          +
        • +
        • +

          颜色鲜艳、使用寿命长

          +

          适用于深海、浅海、江河、湖泊、水库、池塘和沟渠的捕捞、养殖作业,长期以品质优良、价格合理、交货及时、诚实守信,赢得海内外客户青睐。

          +
        • +
        +
        +
        +
        +
        + + +
        +
        +
        +

        严格把关产品质量,打造渔网行业品牌标杆!

        +
        +

        以质量求生存,靠信誉求发展

        +

        +
        +
        + 立即咨询
        +
        + + + #category(id=1103) +
        +
        +
        +

        COOPERATION CASE

        +

        工程案例

        +
        +
        +
        + +
        + +
        +
        +
        + +
        +
        +
          +
        +
        +
        +
        + +
        + 查看更多>>
        +
        + #end + +
        +
        +
        +

        SERVICE PROCESS

        +

        服务流程

        +
        +
        +
          +
        • +
          +

          产品报价

          +
          +
        • +
        • +
          +

          定金选购

          +
          +
        • +
        • +
          +

          产品确认

          +
          +
        • +
        • +
          +

          产品装车

          +
          +
        • +
        • +
          +

          运输配送

          +
          +
        • +
        • +
          +

          交易付款

          +
          +
        • +
        • +
          +

          售后服务

          +
          +
        • +
        +
        +
        +
        + + +
        +
        +
        +

        精益制造、精品工程、精心服务为质量方针

        +
        +

        以质量求生存,靠信誉求发展

        +

        +
        +
        + 立即咨询
        +
        + + + #category(id=1100) +
        +
        +
        +
        +
        +

        About Us

        +

        关于我们

        + 了解详情>>
        +

        #(abbreviate(category.text,100,'...'))

        +
        +
        +
        +
        +

        专业生产厂家

        +

        16年生产经验,国外进口设备

        +
        +
        +
        +
        +
        +

        优质品牌产品

        +

        产品品质优良,多次荣获省部级名牌

        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        + #end + + + #category(id=1102) +
        +
        +
        +

        News

        +

        新闻动态

        +
        +
        + +
        +
        + +
        +
        +
          +
        +
        +
        + +
        + #content_list(count=1,categoryId=category.id,isRecommend="1") + #for(content : contents) + + + #end + #end + + + +
        +
        + 查看更多>>
        +
        + #end + + + #include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/news_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/news_detail.shtm new file mode 100644 index 0000000..adc019b --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/news_detail.shtm @@ -0,0 +1,116 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > #category_parent_list(categoryId=currentContent.id,recursive="true")#for(category : categorys)#(category.name) >#end#end #(currentContent.category.name) >
        +
        + +
        +
        +

        新闻动态

        +
        +
        +
          + #category_children_list(categoryId=1102) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +
        +
        +

        #(currentContent.title)

        +
        +
        发布时间:#date(currentContent.publishDate,'yyyy-MM-dd HH:mm')人气:
        +
        + #(currentContent.introduction) +
        + + + +
        + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/news_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/news_list.shtm new file mode 100644 index 0000000..b3bc84e --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/news_list.shtm @@ -0,0 +1,122 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 新闻动态 >
        +
        + +
        +
        +

        新闻动态

        +
        +
        +
          + #category_children_list(categoryId=1102) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 5) +
        + +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        + #end + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/page.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/page.shtm new file mode 100644 index 0000000..c7e264f --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/page.shtm @@ -0,0 +1,17 @@ +
        + 首页 + #if(hasPrevious) + 上一页 + #end + #for(segmentPageNumber : segment) + #if(segmentPageNumber != pageNumber) + #(segmentPageNumber) + #else + #(segmentPageNumber) + #end + #end + #if(hasNext) + 下一页 + #end + 尾页 +
        \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/product_detail.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/product_detail.shtm new file mode 100644 index 0000000..8ab4d68 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/product_detail.shtm @@ -0,0 +1,256 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > #category_parent_list(categoryId=currentContent.id,recursive="true")#for(category : categorys)#(category.name) >#end#end #(currentContent.category.name) >
        +
        + +
        +
        +

        产品中心

        +
        +
        +
          + #category_children_list(categoryId=1101) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + +
        +
        +

        #(currentContent.title)

        +
        +
        发布时间:#date(currentContent.publishDate,'yyyy-MM-dd HH:mm')人气:
        + +
        +
        +
        +
        +
        +
        + #for(pic : currentContent.pics) + #if(pic??) + + #end + #end +
        +
        +
        +
        +
        +
        +
          + #for(pic : currentContent.pics) + #if(pic??) +
        • + #end + #end +
        +
        +
        +
        + +
        +
        +
        + + + +
        #(currentContent.introduction)
        + + + +
        + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/product_list.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/product_list.shtm new file mode 100644 index 0000000..a266399 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/product_list.shtm @@ -0,0 +1,119 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:主页 > 产品中心 >
        +
        + +
        +
        +

        产品中心

        +
        +
        +
          + #category_children_list(categoryId=1101) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        + +
        + + #content_page(categoryId = currentCategory.id,pageNumber = pageNumber,pageSize = 9) +
        + +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentCategory.path+"?pageNumber=") + #include("page.shtm") + #end + +
        + #end + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/search.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/search.shtm new file mode 100644 index 0000000..603cdad --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/search.shtm @@ -0,0 +1,112 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:搜索 #(keyword) 的结果
        +
        + +
        +
        +

        搜索页

        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        我的网站

        + 地址:
        + 手机:
        +
        +

        咨询热线

        +
        +
        + +
        +
        + + #content_page(keyword = keyword,pageNumber = pageNumber,pageSize = 5) +
        + +
        + + + #page(pageNumber = contentPage.pageNumber,totalPages = contentPage.totalPage,pattern = currentSite.url+"/search?pageNumber=") + #include("page.shtm") + #end + +
        + #end + + +

        推荐资讯

        +
        +
          + #content_list(count=6,categoryId=1102) + #for(content : contents) +
        • #date(content.publishDate,'yyyy-MM-dd')#(content.title)
        • + #end + #end +
        +
        + +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/sitemap.shtm b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/sitemap.shtm new file mode 100644 index 0000000..13682a9 --- /dev/null +++ b/plugins/cms/src/main/resources/templates/cms/templates/moban9_pc/sitemap.shtm @@ -0,0 +1,102 @@ + +#include("common.shtm") + + + + + + 我的网站 + + + + + + + + + + + + + +#include("header.shtm") + + +
        + +
        +
        +
        您的位置:网站首页 > 网站地图
        +
        + +
        +
        +

        产品中心

        +
        +
        +
          + #category_children_list(categoryId=1101) + #for(category : categorys) +
        • #(category.name)
        • + #end + #end +
        +
        +
        + + +
        +
        推荐产品
        +
        + +
        +
        + + +
        +
        联系我们
        +
        +

        渔具批发农林牧渔类网站织梦模板(带手机端)

        + 地址:广东省广州市番禺经济开发区
        + 手机:13988888888
        +
        +

        咨询热线+86 0000 88888

        +
        +
        + +
        +
        +
        + + #category_root_list(count=7) + #for(category : categorys) +
        +
        #(category.name)
        +
        + #category_children_list(categoryId=category.id) + #for(categoryItem : categorys) + #(categoryItem.name) + #end + #end +
        +
        + #end + #end + +
        +
        +
        +
        + +#include("footer.shtm") + + + \ No newline at end of file diff --git a/solon-system/pom.xml b/solon-system/pom.xml index 440090a..9315a29 100644 --- a/solon-system/pom.xml +++ b/solon-system/pom.xml @@ -25,6 +25,11 @@ solon-hotplug + + org.noear + solon-sessionstate-jedis + + org.dromara.autotable auto-table-solon-plugin diff --git a/solon-system/src/main/resources/app.yml b/solon-system/src/main/resources/app.yml index e3ade56..2350ca2 100644 --- a/solon-system/src/main/resources/app.yml +++ b/solon-system/src/main/resources/app.yml @@ -1,6 +1,20 @@ server: port: 8080 contextPath: '/' + schema: 'http://' + domain: 'localhost' + +#超时配置。单位秒(可不配,默认:7200) +server.session.timeout: 7200 +#可共享域配置(可不配,默认当前服务域名;多系统共享时要配置) +server.session.cookieDomain: + +#redis 连接地址 +server.session.state.redis.server: "localhost:6379" +#redis 连接密码 +server.session.state.redis.password: +server.session.state.redis.db: 6 +server.session.state.redis.maxTotal: 1000 #使用代码生成模块时 指定要生成的表存在于哪种数据库,可选值有【mysql、oracle、sqlServer】 project: