不论前后台模板,必须要加载系统的头部和尾部
<template "ui/head" />模板里的内容<template "ui/foot" />
在你的类方法文件中,使用以下方法调用模板
require LCMS::template("own/xxx");// xxx 即为你模板文件的名字require LCMS::template("own/index/xxx");// 应用功能比较多,模板文件需要分目录的话,可以这样写,代表 tpl/index 目录下的 xxx.html 文件