作者 anyv
1 个管道 的构建 通过 耗费 4 秒

澳德pc

正在显示 36 个修改的文件 包含 2223 行增加164 行删除
  1 +<?php
  2 +namespace app\admin\controller;
  3 +
  4 +use cmf\controller\AdminBaseController;
  5 +use think\Db;
  6 +use app\admin\model\AdminMenuModel;
  7 +
  8 +class MembersController extends AdminBaseController{
  9 +
  10 + //显示会员列表
  11 + public function mem_list(){
  12 +
  13 + $data = Db::name('members') -> select();
  14 + $this -> assign('data',$data);
  15 + return $this -> fetch();
  16 +
  17 + }
  18 +
  19 + //添加会员
  20 + public function mem_add(){
  21 +
  22 + $data['name'] = input('post.name');
  23 + $data['passwd'] = input('post.passwd');
  24 + $data['jifen'] = input('post.jifen');
  25 + $id = Db::name('members') -> insertGetId($data);
  26 + return $id;
  27 +
  28 + }
  29 +
  30 + //当点击编辑时显示会员数据
  31 + public function mem_edit_show(){
  32 +
  33 + $id = input('post.id');
  34 + $data = Db::name('members') -> where('id',$id) -> find();
  35 + return json_encode($data);
  36 +
  37 + }
  38 +
  39 + //更新数据
  40 + public function mem_edit_up(){
  41 +
  42 + $data['id'] = input('post.id');
  43 + $data['name'] = input('post.name');
  44 + $data['passwd'] = input('post.passed');
  45 + $data['jifen'] = input('post.jifen');
  46 + $res = Db::name('members') -> update($data);
  47 + return true;
  48 +
  49 + }
  50 +
  51 + //删除数据
  52 + public function mem_del(){
  53 + $id = input('post.id');
  54 + Db::name('members') -> delete($id);
  55 + return true;
  56 + }
  57 +
  58 +
  59 +
  60 +
  61 +
  62 +
  63 +
  64 +
  65 +
  66 +
  67 +
  68 +}
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +
  8 +class AboutController extends HomeBaseController{
  9 +
  10 + //显示关于我们
  11 + public function about_us(){
  12 +
  13 + //头部图片
  14 + $image = Db::name('slide_item') -> where('slide_id',3) -> find();
  15 + $this -> assign('image',$image);
  16 +
  17 + //关于我们
  18 + $about_data = Db::name('portal_post') -> where('id',3) -> find();
  19 + $about_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_data['post_content']));
  20 + $this -> assign('about_data',$about_data);
  21 +
  22 + $about_img_one = Db::name('portal_post') -> where('id',4) -> find();
  23 + $about_img_one['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_img_one['post_content']));
  24 + $this -> assign('about_img_one',$about_img_one);
  25 +
  26 + $about_img_two = Db::name('portal_post') -> where('id',4) -> find();
  27 + $about_img_two['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_img_two['post_content']));
  28 + $this -> assign('about_img_two',$about_img_two);
  29 +
  30 + return $this -> fetch();
  31 +
  32 + }
  33 +
  34 + //显示使命与愿景
  35 + public function vision(){
  36 +
  37 + $category_post = Db::name('portal_category_post') -> where('category_id',4) -> find();
  38 + $data = Db::name('portal_post') -> where('id',$category_post['post_id']) -> find();
  39 + $data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
  40 + $this -> assign('data',$data);
  41 + return $this -> fetch();
  42 +
  43 + }
  44 +
  45 + //显示核心团队
  46 + public function team(){
  47 +
  48 + $data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',5) -> paginate(6);
  49 + /* foreach ($data as $key => $value){
  50 + $value['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($value['post_content']));
  51 + }*/
  52 + $this -> assign('data',$data);
  53 + return $this -> fetch();
  54 +
  55 + }
  56 +
  57 +
  58 +
  59 +
  60 +
  61 +
  62 +
  63 +
  64 +
  65 +}
  66 +
  67 +
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +
  8 +class ContactController extends HomeBaseController{
  9 +
  10 + //显示联系我们页
  11 + public function lianxi(){
  12 +
  13 + $data = Db::name('map') -> where('id',1) -> find();
  14 + $this -> assign('data',$data);
  15 + return $this -> fetch();
  16 +
  17 +
  18 + }
  19 +
  20 + //添加客户数据
  21 + public function lx_add(){
  22 +
  23 + $data['name'] = input('post.name');
  24 + $data['phone'] = input('post.phone');
  25 + $data['email'] = input('post.email');
  26 + $data['content'] = input('post.content');
  27 + $data['status'] = 0;
  28 + $res = Db::name('customer_data') -> insert($data);
  29 + return true;
  30 +
  31 + }
  32 +
  33 +
  34 +
  35 +
  36 +
  37 +
  38 +}
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +
  8 +class HealthController extends HomeBaseController{
  9 +
  10 +
  11 + //显示中心设施
  12 + public function facilities(){
  13 +
  14 + $fac_id = Db::name('portal_category_post') -> where('category_id',7) -> find();
  15 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  16 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  17 + $this -> assign('data',$fac_data);
  18 + return $this -> fetch();
  19 +
  20 + }
  21 +
  22 + //显示中心设备
  23 + public function shebei(){
  24 +
  25 + $fac_id = Db::name('portal_category_post') -> where('category_id',8) -> find();
  26 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  27 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  28 + $this -> assign('data',$fac_data);
  29 + return $this -> fetch();
  30 +
  31 + }
  32 +
  33 + //显示服务品质
  34 + public function pinzhi(){
  35 +
  36 + $fac_id = Db::name('portal_category_post') -> where('category_id',9) -> find();
  37 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  38 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  39 + $this -> assign('data',$fac_data);
  40 + return $this -> fetch();
  41 +
  42 +
  43 + }
  44 +
  45 +
  46 +
  47 +
  48 +}
  49 +
  50 +
@@ -17,6 +17,10 @@ class IndexController extends HomeBaseController @@ -17,6 +17,10 @@ class IndexController extends HomeBaseController
17 public function index() 17 public function index()
18 { 18 {
19 19
  20 + //首页头部图片
  21 + $image = Db::name('slide_item') -> where('slide_id',2) -> find();
  22 + $this -> assign('image',$image);
  23 +
20 //首页关于我们 24 //首页关于我们
21 $about_data = Db::name('portal_post') -> where('id',1) -> find(); 25 $about_data = Db::name('portal_post') -> where('id',1) -> find();
22 $about_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_data['post_content'])); 26 $about_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_data['post_content']));
@@ -27,10 +31,42 @@ class IndexController extends HomeBaseController @@ -27,10 +31,42 @@ class IndexController extends HomeBaseController
27 $shebei_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($shebei_data['post_content'])); 31 $shebei_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($shebei_data['post_content']));
28 $this -> assign('shebei_data',$shebei_data); 32 $this -> assign('shebei_data',$shebei_data);
29 33
  34 + //首页澳德咨询
  35 + $new_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where('category_id',22) -> order('b.id desc') -> limit(5) -> select();
  36 + $this -> assign('new_data',$new_data[0]);
  37 +
  38 + foreach ($new_data as $key => $val){
  39 + if($key != 0){
  40 + $newdata[] = $val;
  41 + }
  42 + }
  43 + $this -> assign('newdata',$newdata);
  44 +
  45 +
30 return $this->fetch(':index'); 46 return $this->fetch(':index');
31 47
32 48
33 } 49 }
34 50
35 51
  52 +
  53 +
  54 +
  55 +
  56 +
  57 +
  58 +
  59 +
  60 +
  61 +
  62 +
  63 +
  64 +
  65 +
  66 +
  67 +
  68 +
  69 +
  70 +
  71 +
36 } 72 }
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +
  8 +class MembersController extends HomeBaseController{
  9 +
  10 + //显示会员规则
  11 + public function members(){
  12 +
  13 + $category_id = Db::name('portal_category_post') -> where('category_id',25) -> find();
  14 + $data = Db::name('portal_post') -> where('id',$category_id['post_id']) -> find();
  15 + $data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
  16 + $this -> assign('data',$data);
  17 + return $this -> fetch();
  18 +
  19 + }
  20 +
  21 +
  22 + //显示会员优势
  23 + public function members_you(){
  24 +
  25 + $category_id = Db::name('portal_category_post') -> where('category_id',26) -> find();
  26 + $data = Db::name('portal_post') -> where('id',$category_id['post_id']) -> find();
  27 + $data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
  28 + $this -> assign('data',$data);
  29 + return $this -> fetch();
  30 +
  31 + }
  32 +
  33 +
  34 +
  35 +
  36 +
  37 +
  38 +
  39 +
  40 +
  41 +
  42 +
  43 +
  44 +
  45 +
  46 +}
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +
  8 +class NewController extends HomeBaseController{
  9 +
  10 + //显示澳德新闻列表
  11 + public function aonew(){
  12 +
  13 + $new_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id=22") -> paginate(8);
  14 + $this -> assign('data',$new_data);
  15 + return $this -> fetch();
  16 +
  17 + }
  18 +
  19 + //显示新闻内容页
  20 + public function new_content(){
  21 +
  22 + $id = $this -> request -> param();
  23 + $data = Db::name('portal_post') -> where('id',$id['id']) -> find();
  24 + $data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
  25 + $this -> assign('data',$data);
  26 + return $this -> fetch();
  27 +
  28 + }
  29 +
  30 + //显示行业动向新闻列表
  31 + public function indu_new(){
  32 +
  33 + $new_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id=23") -> paginate(8);
  34 + $this -> assign('data',$new_data);
  35 + return $this -> fetch();
  36 +
  37 + }
  38 +
  39 +
  40 +
  41 +
  42 +
  43 +
  44 +
  45 +
  46 +
  47 +
  48 +
  49 +
  50 +}
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +class ServiceController extends HomeBaseController{
  8 +
  9 + //显示服务项目轮播列表
  10 + public function service(){
  11 +
  12 + //显示德国抗衰老项目(仅限会员)轮播
  13 + $kang_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id = 16") -> select();
  14 + $this -> assign('kang_data',$kang_data);
  15 +
  16 + //显示治疗项目轮播
  17 + $zhiliao_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id = 17") -> select();
  18 + $this -> assign('zhiliao_data',$zhiliao_data);
  19 +
  20 + //显示医美项目轮播
  21 + $yimei_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id = 18") -> select();
  22 + $this -> assign('yimei_data',$yimei_data);
  23 +
  24 + //显示体检检测
  25 + $tijian_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id = 19") -> select();
  26 + $this -> assign('tijian_data',$tijian_data);
  27 +
  28 + //显示辅助治疗
  29 + $fuzhu_data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id=b.id','LEFT') -> where("a.category_id = 20") -> select();
  30 + $this -> assign('fuzhu_data',$fuzhu_data);
  31 +
  32 + return $this -> fetch();
  33 +
  34 + }
  35 +
  36 + //显示内容页
  37 + public function content(){
  38 +
  39 + $id = $this -> request -> param();
  40 + $data = Db::name('portal_post') -> where('id',$id['id']) -> find();
  41 + $data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
  42 + $this -> assign('data',$data);
  43 +
  44 + $post_data = Db::name('portal_category_post') -> where('post_id',$id['id']) -> find();
  45 + $category = Db::name('portal_category') -> where('id',$post_data['category_id']) -> find();
  46 + $this -> assign('category',$category);
  47 +
  48 + return $this -> fetch();
  49 +
  50 + }
  51 +
  52 +
  53 +
  54 +
  55 +
  56 +
  57 +
  58 +
  59 +
  60 +
  61 +
  62 +
  63 +
  64 +
  65 +
  66 +
  67 +
  68 +}
  1 +<?php
  2 +namespace app\portal\controller;
  3 +
  4 +use cmf\controller\HomeBaseController;
  5 +use EasyWeChat\Foundation\Application;
  6 +use think\Db;
  7 +class TechnologyController extends HomeBaseController{
  8 +
  9 + //显示德国抗衰老技术
  10 + public function technology(){
  11 +
  12 + $fac_id = Db::name('portal_category_post') -> where('category_id',12) -> find();
  13 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  14 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  15 + $this -> assign('data',$fac_data);
  16 + return $this -> fetch();
  17 +
  18 + }
  19 +
  20 + //显示德国合作伙伴
  21 + public function partner(){
  22 +
  23 + $fac_id = Db::name('portal_category_post') -> where('category_id',13) -> find();
  24 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  25 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  26 + $this -> assign('data',$fac_data);
  27 + return $this -> fetch();
  28 +
  29 + }
  30 +
  31 + //显示安全保障
  32 + public function security(){
  33 +
  34 + $fac_id = Db::name('portal_category_post') -> where('category_id',14) -> find();
  35 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  36 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  37 + $this -> assign('data',$fac_data);
  38 + return $this -> fetch();
  39 +
  40 + }
  41 +
  42 + //显示法律法规
  43 + public function law(){
  44 +
  45 + $fac_id = Db::name('portal_category_post') -> where('category_id',15) -> find();
  46 + $fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
  47 + $fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
  48 + $this -> assign('data',$fac_data);
  49 + return $this -> fetch();
  50 +
  51 + }
  52 +
  53 +
  54 +
  55 +
  56 +
  57 +
  58 +
  59 +
  60 +}
  61 +
@@ -7,13 +7,13 @@ return [ @@ -7,13 +7,13 @@ return [
7 // 数据库类型 7 // 数据库类型
8 'type' => 'mysql', 8 'type' => 'mysql',
9 // 服务器地址 9 // 服务器地址
10 - 'hostname' => '127.0.0.1', 10 + 'hostname' => 'rm-m5eblhc9o3515i25neo.mysql.rds.aliyuncs.com',
11 // 数据库名 11 // 数据库名
12 'database' => 'aode', 12 'database' => 'aode',
13 // 用户名 13 // 用户名
14 - 'username' => 'root', 14 + 'username' => 'db136s1ehvo1yn73',
15 // 密码 15 // 密码
16 - 'password' => 'root', 16 + 'password' => 'cxz307311SJK',
17 // 端口 17 // 端口
18 'hostport' => '3306', 18 'hostport' => '3306',
19 // 数据库编码默认采用utf8 19 // 数据库编码默认采用utf8
@@ -19,6 +19,7 @@ return array ( @@ -19,6 +19,7 @@ return array (
19 'ADMIN_MAILER_TEMPLATEPOST' => '邮件模板提交', 19 'ADMIN_MAILER_TEMPLATEPOST' => '邮件模板提交',
20 'ADMIN_MAILER_TEST' => '邮件发送测试', 20 'ADMIN_MAILER_TEST' => '邮件发送测试',
21 'ADMIN_MAP_MAPLIST' => '地图管理', 21 'ADMIN_MAP_MAPLIST' => '地图管理',
  22 + 'ADMIN_MEMBERS_MEM_LIST' => '会员管理',
22 'ADMIN_MENU_ADD' => '后台菜单添加', 23 'ADMIN_MENU_ADD' => '后台菜单添加',
23 'ADMIN_MENU_ADDPOST' => '后台菜单添加提交保存', 24 'ADMIN_MENU_ADDPOST' => '后台菜单添加提交保存',
24 'ADMIN_MENU_DELETE' => '后台菜单删除', 25 'ADMIN_MENU_DELETE' => '后台菜单删除',
  1 +<include file="public@header" />
  2 +</head>
  3 +<body>
  4 +<button type="button" class="btn btn-default" style="margin:10px 10px;" data-toggle="modal" data-target="#myModal">添加会员</button>
  5 +<table class="table table-bordered" style="margin:10px 10px;">
  6 + <caption>会员列表</caption>
  7 + <thead>
  8 + <tr>
  9 + <th>用户名</th>
  10 + <th>操作</th>
  11 + </tr>
  12 + </thead>
  13 + <tbody class="zhuijia">
  14 + <volist name="data" id="vo">
  15 + <tr class="tr{$vo.id}">
  16 + <td>{$vo.name}</td>
  17 + <td>
  18 + <button type="button" class="btn btn-default" data-toggle='modal' data-target='#editModal' onclick="edit({$vo.id})">编辑</button>
  19 + <button type="button" class="btn btn-default" onclick="del({$vo.id})">删除</button>
  20 + </td>
  21 + </tr>
  22 + </volist>
  23 + </tbody>
  24 +</table>
  25 +<!-- 添加模态框(Modal) -->
  26 +<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  27 + <div class="modal-dialog">
  28 + <div class="modal-content">
  29 + <div class="modal-header">
  30 + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  31 + <h4 class="modal-title" id="myModalLabel">添加会员</h4>
  32 + </div>
  33 + <div class="modal-body">
  34 + <div class="input-group">
  35 + <span class="input-group-addon">用户名:</span>
  36 + <input type="text" name="name" class="form-control">
  37 + </div>
  38 + <div class="input-group" style="margin-top: 5px;">
  39 + <span class="input-group-addon">密码:</span>
  40 + <input type="text" name="passwd" class="form-control">
  41 + </div>
  42 + <div class="input-group" style="margin-top: 5px;">
  43 + <span class="input-group-addon">积分:</span>
  44 + <input type="text" name="jifen" class="form-control">
  45 + </div>
  46 + </div>
  47 + <div class="modal-footer">
  48 + <button type="button" class="btn btn-default guanbi" data-dismiss="modal">关闭</button>
  49 + <button type="button" class="btn btn-primary" onclick="add()">提交</button>
  50 + </div>
  51 + </div><!-- /.modal-content -->
  52 + </div><!-- /.modal -->
  53 +</div>
  54 +
  55 +<!-- 编辑模态框(Modal) -->
  56 +<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  57 + <div class="modal-dialog">
  58 + <div class="modal-content">
  59 + <div class="modal-header">
  60 + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  61 + <h4 class="modal-title" id="myModalLabel">编辑会员</h4>
  62 + </div>
  63 + <div class="modal-body">
  64 + <div class="input-group">
  65 + <span class="input-group-addon">用户名:</span>
  66 + <input type="text" name="ename" class="form-control">
  67 + </div>
  68 + <div class="input-group" style="margin-top: 5px;">
  69 + <span class="input-group-addon">密码:</span>
  70 + <input type="text" name="epasswd" class="form-control">
  71 + </div>
  72 + <div class="input-group" style="margin-top: 5px;">
  73 + <span class="input-group-addon">积分:</span>
  74 + <input type="text" name="ejifen" class="form-control">
  75 + </div>
  76 + <input type="hidden" name="id" value="">
  77 + </div>
  78 + <div class="modal-footer">
  79 + <button type="button" class="btn btn-default eguanbi" data-dismiss="modal">关闭</button>
  80 + <button type="button" class="btn btn-primary" onclick="tjedit()">提交</button>
  81 + </div>
  82 + </div><!-- /.modal-content -->
  83 + </div><!-- /.modal -->
  84 +</div>
  85 +
  86 +<script>
  87 + //添加会员
  88 + function add(){
  89 +
  90 + name = $("input[name='name']").val();
  91 + passwd = $("input[name='passwd']").val();
  92 + jifen = $("input[name='jifen']").val();
  93 + $.post("{:url('Members/mem_add')}",{name:name,passwd:passwd,jifen:jifen},function(data){
  94 + $('.guanbi').trigger('click');
  95 + $('.zhuijia').append("<tr class='tr"+data+"'><td>"+name+"</td><td><button type='button' class='btn btn-default' data-toggle='modal' data-target='#editModal' onclick='edit("+data+")'>编辑</button><button type='button' class='btn btn-default' onclick='del("+data+")'>删除</button></td></tr>");
  96 + $('.form-control').val('');
  97 +
  98 + });
  99 + }
  100 +
  101 + //编辑会员
  102 + function edit(id){
  103 + $.post("{:url('Members/mem_edit_show')}",{id:id},function(data){
  104 + shuju = JSON.parse(data);
  105 + $("input[name='ename']").val(shuju.name);
  106 + $("input[name='epasswd']").val(shuju.passwd);
  107 + $("input[name='ejifen']").val(shuju.jifen);
  108 + $("input[name='id']").val(shuju.id);
  109 + });
  110 + }
  111 +
  112 + //编辑模态框提交
  113 + function tjedit(){
  114 + id = $("input[name='id']").val();
  115 + name = $("input[name='ename']").val();
  116 + passed = $("input[name='epasswd']").val();
  117 + jifen = $("input[name='ejifen']").val();
  118 + $.post("{:url('Members/mem_edit_up')}",{id:id,name:name,passed:passed,jifen:jifen},function(data){
  119 +
  120 + $('.eguanbi').trigger('click');
  121 + });
  122 +
  123 + }
  124 +
  125 + //删除数据
  126 + function del(id){
  127 + ccc = window.confirm('是否删除?');
  128 + if(ccc){
  129 + $.post("{:url('Members/mem_del')}",{id:id},function(data){
  130 + $('.tr'+id).remove();
  131 + });
  132 + }
  133 + }
  134 +
  135 +
  136 +</script>
  137 +</body>
  138 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>聯係我們</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 + <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=hG4FuySg0nLRGkY8pQZsGQVA8jCb81F3"></script>
  8 + <style>
  9 + .BMapLabel{
  10 + width: 173px;
  11 + height: 20px;
  12 + margin-top: -10px !important;
  13 + margin-left: 10px !important;
  14 + /*padding-left: 10px !important;*/
  15 + line-height: 24px !important;
  16 + text-align: center !important;
  17 + /*border: 1px solid black !important;*/
  18 + }
  19 + #map{
  20 + margin-top:35px;
  21 + }
  22 + .anchorBL{
  23 + display: none !important;
  24 + }
  25 + </style>
  26 +</head>
  27 +<body>
  28 +<div class="box2">
  29 + <!--header-->
  30 + <header>
  31 + <include file="public@nav"/>
  32 + </header>
  33 + <!-- 侧边导航-->
  34 + <div class="banner_aside banner_aside2">
  35 + <include file="public@header"/>
  36 + </div>
  37 + <!--main-->
  38 + <div class="ab2_main">
  39 + <div class="contact_box">
  40 + <div class="ab2_title" style="border:0">
  41 + <a href="">首頁</a>
  42 + <span> > </span>
  43 + <a href="">聯係我們</a>
  44 + </div>
  45 + <div class="ab2_con">
  46 + <div class="contact_tit">
  47 + <h2>聯係我們</h2>
  48 + <p><span>/</span>CONTACT US</p>
  49 + </div>
  50 + <div style="width:1054px;height:449px;border:#ccc solid 1px;font-size:12px" id="map"></div>
  51 + </div>
  52 + <div class="contact_con">
  53 + <div class="contact_con_left">
  54 + <h2>澳德綜合健康中心有限公司 </h2>
  55 + <div class="contact_con_left1">
  56 + <p>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</p>
  57 + <p>電話 : (852) 2582 0188</p>
  58 + <p>傳真 : (852) 2582 0199</p>
  59 + <p>電郵 : info@medisun.hk</p>
  60 + </div>
  61 + </div>
  62 + <div class="contact_con_right">
  63 + <ul>
  64 + <li>
  65 + <label>
  66 + 姓名
  67 + </label>
  68 + <input type="text" class="inpTxt" name="name">
  69 + </li>
  70 + <li>
  71 + <label>電話</label>
  72 + <input type="text" class="inpTxt" name="phone">
  73 + </li>
  74 + <li>
  75 + <label>郵箱</label>
  76 + <input type="text" class="inpTxt" name="email">
  77 + </li>
  78 + </ul>
  79 + <div class="contact_tarea">
  80 + <p>內容</p>
  81 + <textarea id="content"></textarea>
  82 + </div>
  83 + <button type="button" onclick="add()" class="contact_btn">提交</button>
  84 + </div>
  85 + </div>
  86 + </div>
  87 + </div>
  88 + <!--footer-->
  89 + <footer>
  90 + <include file="public@footer"/>
  91 + </footer>
  92 +</div>
  93 +
  94 +<script>
  95 + //点击提交客户资料
  96 + function add(){
  97 + name = $("input[name='name']").val();
  98 + phone = $("input[name='phone']").val();
  99 + email = $("input[name='email']").val();
  100 + content = $('#content').val();
  101 + if(phone==''){
  102 + alert('请填写姓名电话');
  103 + }else{
  104 + if(name==''){
  105 + alert('请填写姓名电话');
  106 + }else{
  107 + $.post("{:url('Contact/lx_add')}",{name:name,phone:phone,email:email,content:content},function(data){
  108 + alert('提交成功');
  109 + });
  110 + }
  111 + }
  112 +
  113 + }
  114 +</script>
  115 +
  116 +<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.js"></script>
  117 +<script type="text/javascript" src="__TMPL__/public/assets/js/index.js"></script>
  118 +<script type="text/javascript">
  119 + $('.inpTxt').each(function () {
  120 + $(this).focus(function(){
  121 + $(this).parents("li").css('border-bottom','1px solid #E29C6D')
  122 + });
  123 + });
  124 + $('.inpTxt').each(function () {
  125 + $(this).blur(function(){
  126 + $(this).parents("li").css('border-bottom','1px solid rgba(230,230,230,1)')
  127 + });
  128 + });
  129 +
  130 +
  131 + //创建和初始化地图函数:
  132 + function initMap(){
  133 + createMap();//创建地图
  134 + setMapEvent();//设置地图事件
  135 + addMapControl();//向地图添加控件
  136 + addMapOverlay();//向地图添加覆盖物
  137 + }
  138 + function createMap(){
  139 + map = new BMap.Map("map");
  140 + map.centerAndZoom(new BMap.Point("{$data.jingdu}","{$data.weidu}"),16);
  141 + }
  142 + function setMapEvent(){
  143 + map.enableScrollWheelZoom();
  144 + map.enableKeyboard();
  145 + map.enableDragging();
  146 + map.enableDoubleClickZoom()
  147 + }
  148 + function addClickHandler(target,window){
  149 + target.addEventListener("click",function(){
  150 + target.openInfoWindow(window);
  151 + });
  152 + }
  153 + function addMapOverlay(){
  154 + var markers = [
  155 + {content:"{$data.address}",title:"{$data.title}",imageOffset: {width:-46,height:-21},position:{lat:22.337395,lng:114.176184}},
  156 + ];
  157 + for(var index = 0; index < markers.length; index++ ){
  158 + var point = new BMap.Point(markers[index].position.lng,markers[index].position.lat);
  159 + var marker = new BMap.Marker(point,{icon:new BMap.Icon("http://api.map.baidu.com/lbsapi/createmap/images/icon.png",new BMap.Size(20,25),{
  160 + imageOffset: new BMap.Size(markers[index].imageOffset.width,markers[index].imageOffset.height)
  161 + })});
  162 + var label = new BMap.Label(markers[index].title,{offset: new BMap.Size(25,5)});
  163 + var opts = {
  164 + width: 200,
  165 + title: markers[index].title,
  166 + enableMessage: false
  167 + };
  168 + var infoWindow = new BMap.InfoWindow(markers[index].content,opts);
  169 + marker.setLabel(label);
  170 + addClickHandler(marker,infoWindow);
  171 + map.addOverlay(marker);
  172 + };
  173 + var labels = [
  174 + ];
  175 + for(var index = 0; index < labels.length; index++){
  176 + var opt = { position: new BMap.Point(labels[index].position.lng,labels[index].position.lat )};
  177 + var label = new BMap.Label(labels[index].content,opt);
  178 + map.addOverlay(label);
  179 + };
  180 + }
  181 + //向地图添加控件
  182 + function addMapControl(){
  183 + var navControl = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:2});
  184 + map.addControl(navControl);
  185 + }
  186 + var map;
  187 + initMap();
  188 +</script>
  189 +</body>
  190 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>中心設施</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">健康中心</a>
  25 + <span> > </span>
  26 + <a href="">中心設施</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>中心設備</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">健康中心</a>
  25 + <span> > </span>
  26 + <a href="">服务品质</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>中心設備</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">健康中心</a>
  25 + <span> > </span>
  26 + <a href="">中心設備</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>關於我們</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!--banner-->
  15 + <div class="banner">
  16 + <img src="{:cmf_get_image_url($image.image)}" alt="">
  17 + <div class="banner_aside">
  18 + <ul>
  19 + <li><a href="{$shoue.href}" class="banner_aside_active">{$shoue.name}</a></li>
  20 + <li class="about">
  21 + <a>{$guanyu.name}</a>
  22 + <div class="banner_aside_2">
  23 + <volist name="guanyu_son" id="vo">
  24 + <a href="{$vo.href}">{$vo.name}</a>
  25 + </volist>
  26 + </div>
  27 + </li>
  28 + <li class="about">
  29 + <a >{$jiangkang.name}</a>
  30 + <div class="banner_aside_2">
  31 + <volist name="jiangkang_son" id="vo">
  32 + <a href="{$vo.href}">{$vo.name}</a>
  33 + </volist>
  34 + </div>
  35 + </li>
  36 + <li class="about">
  37 + <a href="{$fuwu.href}">{$fuwu.name}</a>
  38 + <div class="banner_aside_2">
  39 + <volist name="fuwu_son" id="vo">
  40 + <a href="{$vo.href}">{$vo.name}</a>
  41 + </volist>
  42 + </div>
  43 + </li>
  44 + <li class="about">
  45 + <a>{$jishu.name}</a>
  46 + <div class="banner_aside_2">
  47 + <volist name="jishu_son" id="vo">
  48 + <a href="{$vo.href}">{$vo.name}</a>
  49 + </volist>
  50 + </div>
  51 + </li>
  52 + <li class="about">
  53 + <a>{$zixun.name}</a>
  54 + <div class="banner_aside_2">
  55 + <volist name="zuixin_son" id="vo">
  56 + <a href="{$vo.href}">{$vo.name}</a>
  57 + </volist>
  58 + </div>
  59 + </li>
  60 + <li class="about">
  61 + <a>{$huiyuan.name}</a>
  62 + <div class="banner_aside_2">
  63 + <volist name="huiyuan_son" id="vo">
  64 + <a href="{$vo.href}">{$vo.name}</a>
  65 + </volist>
  66 + </div>
  67 + </li>
  68 + <li><a href="{$lianxi.href}">{$lianxi.name}</a></li>
  69 + </ul>
  70 + </div>
  71 + </div>
  72 + <!--main1-->
  73 + <div class="ab_main1">
  74 + <div class="ab_main1_box">
  75 + <div class="main2_txt2">
  76 + <h2>{$about_data.post_title}</h2>
  77 + <p><span>/</span>ABOUT US</p>
  78 + </div>
  79 + <div class="ab_main1_txt">
  80 + {$about_data.post_content}
  81 + </div>
  82 + </div>
  83 + </div>
  84 + <!--main2-->
  85 + <div class="ab_main2">
  86 + <ul>
  87 + <li>
  88 + <div class="ab_main2_img">
  89 + {$about_img_one.post_content}
  90 + </div>
  91 + <php>$arr = json_decode($about_img_one['more'],true);</php>
  92 + <img style="margin-left: auto" src="{:cmf_get_image_url($arr.thumbnail)}" alt="">
  93 + </li>
  94 + <li>
  95 + <php>$arr_two = json_decode($about_img_two['more'],true);</php>
  96 + <img src="{:cmf_get_image_url($arr_two.thumbnail)}" alt="">
  97 + <div class="ab_main2_img ab_main2_img2">
  98 + {$about_img_two.post_content}
  99 + </div>
  100 + </li>
  101 + </ul>
  102 + </div>
  103 + <!--footer-->
  104 + <footer>
  105 + <include file="public@footer"/>
  106 + </footer>
  107 +</div>
  108 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  109 +<script src="__TMPL__/public/assets/js/index.js"></script>
  110 +</body>
  111 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>核心團隊</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<style>
  9 + /*分页样式*/
  10 + .pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
  11 + .pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
  12 + .pagination .active{background-color: #dd1a20;color: #fff;}
  13 + .pagination .disabled{color:#aaa;}
  14 +</style>
  15 +<body>
  16 +<div class="box2">
  17 + <!--header-->
  18 + <header>
  19 + <include file="public@nav"/>
  20 + </header>
  21 + <!-- 侧边导航-->
  22 + <div class="banner_aside banner_aside2">
  23 + <include file="public@header"/>
  24 + </div>
  25 + <!--main-->
  26 + <div class="ab2_main">
  27 + <div class="ab3_main_box">
  28 + <div class="ab2_title">
  29 + <a>首頁</a>
  30 + <span> > </span>
  31 + <a>關於澳德</a>
  32 + <span> > </span>
  33 + <a>核心醫療團隊</a>
  34 + </div>
  35 + <div class="ab3_con">
  36 + <div class="ab2_con_tit">
  37 + <h2>使命與願景</h2>
  38 + </div>
  39 + <div class="ab3_con_list">
  40 + <ul>
  41 + <volist name="data" id="val">
  42 + <li>
  43 + <php>$arr = json_decode($val['more'],true);</php>
  44 + <img src="{:cmf_get_image_url($arr.thumbnail)}" alt="">
  45 + <div class="ab3_con_listTxt">
  46 + <h2>{$val.post_title}</h2>
  47 + <p>{$val.post_excerpt}</p>
  48 + </div>
  49 + </li>
  50 + </volist>
  51 + </ul>
  52 + </div>
  53 + </div>
  54 + </div>
  55 + </div>
  56 + <!--分页-->
  57 + <div class="pro4_page pagination">
  58 + <!--<ul>
  59 + <a href=""><img src="img/aicon181.png" alt=""></a>
  60 + <li class="page_active">1</li>
  61 + <li>2</li>
  62 + <li>3</li>
  63 + <li>4</li>
  64 + <li>5</li>
  65 + <li>6</li>
  66 + <a href=""><img src="img/aicon191.png" alt=""></a>
  67 + </ul>-->
  68 + {$data->render()}
  69 + </div>
  70 +
  71 + <!--footer-->
  72 +
  73 + <footer>
  74 + <include file="public@footer"/>
  75 + </footer>
  76 +</div>
  77 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  78 +<script src="__TMPL__/public/assets/js/index.js"></script>
  79 +<script>
  80 + //底部tab
  81 + $('.pro4_page ul li').click(function () {
  82 + $(this).addClass('page_active').siblings().removeClass('page_active')
  83 + })
  84 +</script>
  85 +</body>
  86 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>使命與願景</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">關於澳德</a>
  25 + <span> > </span>
  26 + <a href="">使命與願景</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
@@ -8,54 +8,64 @@ @@ -8,54 +8,64 @@
8 <body> 8 <body>
9 <div class="box"> 9 <div class="box">
10 <!--header--> 10 <!--header-->
11 - <header></header> 11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
12 <!--banner--> 14 <!--banner-->
13 <div class="banner"> 15 <div class="banner">
14 - <img src="__TMPL__/public/assets/images/aicon01.png" alt=""> 16 + <img src="{:cmf_get_image_url($image.image)}" alt="">
15 <div class="banner_aside"> 17 <div class="banner_aside">
16 <ul> 18 <ul>
17 - <li><a href="index.html" class="banner_aside_active">首頁</a></li> 19 + <li><a href="{$shoue.href}" class="banner_aside_active">{$shoue.name}</a></li>
18 <li class="about"> 20 <li class="about">
19 - <a>關於澳德</a> 21 + <a>{$guanyu.name}</a>
20 <div class="banner_aside_2"> 22 <div class="banner_aside_2">
21 - <a href="about_us.html">關於我們</a>  
22 - <a href="about_us2.html">使命與願景</a>  
23 - <a href="about_us3.html">核心醫療團隊</a> 23 + <volist name="guanyu_son" id="vo">
  24 + <a href="{$vo.href}">{$vo.name}</a>
  25 + </volist>
24 </div> 26 </div>
25 </li> 27 </li>
26 <li class="about"> 28 <li class="about">
27 - <a >健康中心</a> 29 + <a >{$jiangkang.name}</a>
28 <div class="banner_aside_2"> 30 <div class="banner_aside_2">
29 - <a href="health_center.html">中心設施</a>  
30 - <a href="health_center2.html">中心設備</a>  
31 - <a href="health_center3.html">服務品質</a> 31 + <volist name="jiangkang_son" id="vo">
  32 + <a href="{$vo.href}">{$vo.name}</a>
  33 + </volist>
32 </div> 34 </div>
33 </li> 35 </li>
34 - <li><a href="service.html">服務項目</a></li>  
35 <li class="about"> 36 <li class="about">
36 - <a>技術支持與合作</a> 37 + <a href="{$fuwu.href}">{$fuwu.name}</a>
37 <div class="banner_aside_2"> 38 <div class="banner_aside_2">
38 - <a href="technology1.html">德國抗衰老技術</a>  
39 - <a href="technology2.html">德國合作夥伴</a>  
40 - <a href="technology3.html">安全保障</a>  
41 - <a href="technology4.html">法律法規</a> 39 + <volist name="fuwu_son" id="vo">
  40 + <a href="{$vo.href}">{$vo.name}</a>
  41 + </volist>
42 </div> 42 </div>
43 </li> 43 </li>
44 <li class="about"> 44 <li class="about">
45 - <a>澳德資訊</a> 45 + <a>{$jishu.name}</a>
46 <div class="banner_aside_2"> 46 <div class="banner_aside_2">
47 - <a href="news.html">澳德新闻</a>  
48 - <a href="news2.html">行业动向</a> 47 + <volist name="jishu_son" id="vo">
  48 + <a href="{$vo.href}">{$vo.name}</a>
  49 + </volist>
49 </div> 50 </div>
50 </li> 51 </li>
51 <li class="about"> 52 <li class="about">
52 - <a>澳德會員</a> 53 + <a>{$zixun.name}</a>
53 <div class="banner_aside_2"> 54 <div class="banner_aside_2">
54 - <a href="members1.html">会员规则</a>  
55 - <a href="members2.html">会员优势</a> 55 + <volist name="zuixin_son" id="vo">
  56 + <a href="{$vo.href}">{$vo.name}</a>
  57 + </volist>
56 </div> 58 </div>
57 </li> 59 </li>
58 - <li><a href="contact.html">聯係我們</a></li> 60 + <li class="about">
  61 + <a>{$huiyuan.name}</a>
  62 + <div class="banner_aside_2">
  63 + <volist name="huiyuan_son" id="vo">
  64 + <a href="{$vo.href}">{$vo.name}</a>
  65 + </volist>
  66 + </div>
  67 + </li>
  68 + <li><a href="{$lianxi.href}">{$lianxi.name}</a></li>
59 </ul> 69 </ul>
60 </div> 70 </div>
61 </div> 71 </div>
@@ -141,25 +151,26 @@ @@ -141,25 +151,26 @@
141 <p><span>/</span>DEUTSCHE NEWS</p> 151 <p><span>/</span>DEUTSCHE NEWS</p>
142 </div> 152 </div>
143 <div class="main3_con2"> 153 <div class="main3_con2">
144 - <div class="main3_left">  
145 - <div class="main3_left1">  
146 - <div class="main3_left1_1">  
147 - <h2>01</h2>  
148 - <span>/</span>  
149 - <h2>25</h2>  
150 - <p>2019</p> 154 + <a href="{:url('New/new_content',array('id'=>$new_data.post_id))}">
  155 + <div class="main3_left">
  156 + <div class="main3_left1">
  157 + <div class="main3_left1_1">
  158 + <h2>{$new_data.create_time|date="m",###}</h2>
  159 + <span>/</span>
  160 + <h2>{$new_data.create_time|date="d",###}</h2>
  161 + <p>{$new_data.create_time|date="Y",###}</p>
  162 + </div>
  163 + </div>
  164 + <div class="main3_left2">
  165 + <h2>{$new_data.post_title}</h2>
  166 + <p>{$new_data.post_excerpt}</p>
151 </div> 167 </div>
152 </div> 168 </div>
153 - <div class="main3_left2">  
154 - <h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>  
155 - <p>香港麥迪舜醫療集團與清華大學在清華大學工字廳舉行了簽字儀式,正式 宣佈雙方合作成立[清華大學麥迪舜細胞技術研究院]並同時設立[清華麥迪舜細胞技術與再…(更多)</p>  
156 - </div>  
157 - </div> 169 + </a>
158 <div class="main3_right"> 170 <div class="main3_right">
159 - <h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>  
160 - <h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>  
161 - <h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>  
162 - <h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2> 171 + <volist name="newdata" id="vo">
  172 + <a href="{:url('New/new_content',array('id'=>$vo.post_id))}"><h2>{$vo.post_title}</h2></a>
  173 + </volist>
163 </div> 174 </div>
164 </div> 175 </div>
165 176
@@ -168,7 +179,9 @@ @@ -168,7 +179,9 @@
168 179
169 </div> 180 </div>
170 <!--header--> 181 <!--header-->
171 - <footer></footer> 182 + <footer>
  183 + <include file="public@footer"/>
  184 + </footer>
172 </div> 185 </div>
173 186
174 <script src="__TMPL__/public/assets/js/jquery.js"></script> 187 <script src="__TMPL__/public/assets/js/jquery.js"></script>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>會員規則</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">澳德會員</a>
  25 + <span> > </span>
  26 + <a href="">會員規則</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>會員優勢</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">澳德會員</a>
  25 + <span> > </span>
  26 + <a href="">會員優勢</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>澳德新聞</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
  7 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  8 +</head>
  9 +<style>
  10 + /*分页样式*/
  11 + .pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
  12 + .pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
  13 + .pagination .active{background-color: #dd1a20;color: #fff;}
  14 + .pagination .disabled{color:#aaa;}
  15 +</style>
  16 +<body>
  17 +<div class="box2">
  18 + <!--header-->
  19 + <header>
  20 + <include file="public@nav"/>
  21 + </header>
  22 + <!-- 侧边导航-->
  23 + <div class="banner_aside banner_aside2">
  24 + <include file="public@header"/>
  25 + </div>
  26 + <!--main1-->
  27 + <div class="ser_main inform_main">
  28 + <div class="ser_main_box news_main_box">
  29 + <div class="ab2_title">
  30 + <a href="">首頁</a>
  31 + <span> > </span>
  32 + <a href="">澳德資訊</a>
  33 + <span> > </span>
  34 + <a href="">澳德新聞</a>
  35 + </div>
  36 + <!--内容-->
  37 + <div class="inform_con">
  38 + <ul>
  39 + <volist name="data" id="vo">
  40 + <li>
  41 + <a href="{:url('New/new_content',array('id'=>$vo.post_id))}">
  42 + <div class="inform_box1">
  43 + <div class="inform_box1_rq">
  44 + <div class="inform_box1_rq1">
  45 + <h2>{$vo.create_time|date="m",###}</h2>
  46 + <span>/</span>
  47 + <h2>{$vo.create_time|date="d",###}</h2>
  48 + <p>{$vo.create_time|date="Y",###}</p>
  49 + </div>
  50 + </div>
  51 + <div class="inform_box1_nr">
  52 + <h2>
  53 + {$vo.post_title}
  54 + </h2>
  55 + <p>
  56 + {$vo.post_excerpt}
  57 + </p>
  58 + </div>
  59 + </div>
  60 + </a>
  61 + </li>
  62 + </volist>
  63 +
  64 + </ul>
  65 + </div>
  66 + </div>
  67 + </div>
  68 + <!--分页-->
  69 + <div class="pro4_page pagination">
  70 + <!-- <ul>
  71 + <a href=""><img src="img/aicon181.png" alt=""></a>
  72 + <li class="page_active">1</li>
  73 + <li>2</li>
  74 + <li>3</li>
  75 + <li>4</li>
  76 + <li>5</li>
  77 + <li>6</li>
  78 + <a href=""><img src="img/aicon191.png" alt=""></a>
  79 + </ul>-->
  80 + {$data->render()}
  81 + </div>
  82 +
  83 + <!--footer-->
  84 + <footer>
  85 + <include file="public@footer"/>
  86 + </footer>
  87 +</div>
  88 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  89 +<script src="__TMPL__/public/assets/js/index.js"></script>
  90 +<script>
  91 + //底部tab
  92 + $('.pro4_page ul li').click(function () {
  93 + $(this).addClass('page_active').siblings().removeClass('page_active')
  94 + })
  95 +</script>
  96 +</body>
  97 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>澳德新聞</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
  7 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  8 +</head>
  9 +<style>
  10 + /*分页样式*/
  11 + .pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
  12 + .pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
  13 + .pagination .active{background-color: #dd1a20;color: #fff;}
  14 + .pagination .disabled{color:#aaa;}
  15 +</style>
  16 +<body>
  17 +<div class="box2">
  18 + <!--header-->
  19 + <header>
  20 + <include file="public@nav"/>
  21 + </header>
  22 + <!-- 侧边导航-->
  23 + <div class="banner_aside banner_aside2">
  24 + <include file="public@header"/>
  25 + </div>
  26 + <!--main1-->
  27 + <div class="ser_main inform_main">
  28 + <div class="ser_main_box news_main_box">
  29 + <div class="ab2_title">
  30 + <a href="">首頁</a>
  31 + <span> > </span>
  32 + <a href="">澳德資訊</a>
  33 + <span> > </span>
  34 + <a href="">行业动向</a>
  35 + </div>
  36 + <!--内容-->
  37 + <div class="inform_con">
  38 + <ul>
  39 + <volist name="data" id="vo">
  40 + <li>
  41 + <a href="{:url('New/new_content',array('id'=>$vo.post_id))}">
  42 + <div class="inform_box1">
  43 + <div class="inform_box1_rq">
  44 + <div class="inform_box1_rq1">
  45 + <h2>{$vo.create_time|date="m",###}</h2>
  46 + <span>/</span>
  47 + <h2>{$vo.create_time|date="d",###}</h2>
  48 + <p>{$vo.create_time|date="Y",###}</p>
  49 + </div>
  50 + </div>
  51 + <div class="inform_box1_nr">
  52 + <h2>
  53 + {$vo.post_title}
  54 + </h2>
  55 + <p>
  56 + {$vo.post_excerpt}
  57 + </p>
  58 + </div>
  59 + </div>
  60 + </a>
  61 + </li>
  62 + </volist>
  63 + </ul>
  64 + </div>
  65 + </div>
  66 + </div>
  67 + <!--分页-->
  68 + <div class="pro4_page pagination">
  69 + <!-- <ul>
  70 + <a href=""><img src="img/aicon181.png" alt=""></a>
  71 + <li class="page_active">1</li>
  72 + <li>2</li>
  73 + <li>3</li>
  74 + <li>4</li>
  75 + <li>5</li>
  76 + <li>6</li>
  77 + <a href=""><img src="img/aicon191.png" alt=""></a>
  78 + </ul>-->
  79 + {$data->render()}
  80 + </div>
  81 +
  82 + <!--footer-->
  83 + <footer>
  84 + <include file="public@footer"/>
  85 + </footer>
  86 +</div>
  87 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  88 +<script src="__TMPL__/public/assets/js/index.js"></script>
  89 +<script>
  90 + //底部tab
  91 + $('.pro4_page ul li').click(function () {
  92 + $(this).addClass('page_active').siblings().removeClass('page_active')
  93 + })
  94 +</script>
  95 +</body>
  96 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>澳德新聞--详情</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">澳德資訊</a>
  25 + <span> > </span>
  26 + <a href="">澳德新聞</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>使命與願景</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">服务项目</a>
  25 + <span> > </span>
  26 + <a href="">{$category.name}</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>服務項目</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
  7 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  8 +</head>
  9 +<body>
  10 +<div class="box">
  11 + <!--header-->
  12 + <header>
  13 + <include file="public@nav"/>
  14 + </header>
  15 + <!-- 侧边导航-->
  16 + <div class="banner_aside banner_aside2">
  17 + <include file="public@header"/>
  18 + </div>
  19 + <!--main1内容-->
  20 + <div class="ser_main">
  21 + <div class="ser_main_box">
  22 + <!--标题-->
  23 + <div class="ab2_title">
  24 + <a href="">首頁</a>
  25 + <span> > </span>
  26 + <a href="">服務項目</a>
  27 + </div>
  28 + <!--列表-->
  29 + <div class="ser_main_list">
  30 + <div class="ser_list">
  31 + <div class="ser_listTitle">
  32 + <h2>德國抗衰老治療項目(僅限會員)</h2>
  33 + <p>German Anti-Aging Project</p>
  34 + </div>
  35 + <div style="position: relative">
  36 + <div class="ser_con swiper-container5">
  37 + <ul class="swiper-wrapper">
  38 + <volist name="kang_data" id="vo">
  39 + <li class="swiper-slide">
  40 + <a href="{:url('Service/content',array('id'=>$vo.post_id))}">
  41 + <php>$arr=json_decode($vo['more'],true);</php>
  42 + <img src="{:cmf_get_image_url($arr.thumbnail)}" alt="">
  43 + <h3>{$vo.post_title}</h3>
  44 + <p>{$vo.post_excerpt}</p>
  45 + </a>
  46 + </li>
  47 + </volist>
  48 + </ul>
  49 + </div>
  50 + <div class="swiper-button-next5"></div>
  51 + <div class="swiper-button-prev5"></div>
  52 + </div>
  53 + </div>
  54 + </div>
  55 + <div class="ser_main_list">
  56 + <div class="ser_list">
  57 + <div class="ser_listTitle">
  58 + <h2>治疗项目</h2>
  59 + <p>TREATMENT PROGRAM</p>
  60 + </div>
  61 + <div style="position: relative">
  62 + <div class="ser_con swiper-container3">
  63 + <ul class="swiper-wrapper">
  64 + <volist name="zhiliao_data" id="vo">
  65 + <li class="swiper-slide">
  66 + <a href="{:url('Service/content',array('id'=>$vo.post_id))}">
  67 + <php>$arr1=json_decode($vo['more'],true);</php>
  68 + <img src="{:cmf_get_image_url($arr1.thumbnail)}" alt="">
  69 + <h3>{$vo.post_title}</h3>
  70 + <p>{$vo.post_excerpt}</p>
  71 + </a>
  72 + </li>
  73 + </volist>
  74 + </ul>
  75 + </div>
  76 + <div class="swiper-button-next3"></div>
  77 + <div class="swiper-button-prev3"></div>
  78 + </div>
  79 + </div>
  80 + </div>
  81 + <div class="ser_main_list">
  82 + <div class="ser_list">
  83 + <div class="ser_listTitle">
  84 + <h2>医美项目</h2>
  85 + <p>MEDICAL BEAUTY PROJECT</p>
  86 + </div>
  87 + <div style="position: relative">
  88 + <div class="ser_con swiper-container4">
  89 + <ul class="swiper-wrapper">
  90 + <volist name="yimei_data" id="vo">
  91 + <li class="swiper-slide">
  92 + <a href="{:url('Service/content',array('id'=>$vo.post_id))}">
  93 + <php>$arr2=json_decode($vo['more'],true);</php>
  94 + <img src="{:cmf_get_image_url($arr2.thumbnail)}" alt="">
  95 + <h3>{$vo.post_title}</h3>
  96 + <p>{$vo.post_excerpt}</p>
  97 + </a>
  98 + </li>
  99 + </volist>
  100 + </ul>
  101 + </div>
  102 + <div class="swiper-button-next4"></div>
  103 + <div class="swiper-button-prev4"></div>
  104 + </div>
  105 + </div>
  106 + </div>
  107 + <div class="ser_main_list">
  108 + <div class="ser_list">
  109 + <div class="ser_listTitle">
  110 + <h2>体检检测</h2>
  111 + <p>PHYSICAL EXAMINATION</p>
  112 + </div>
  113 + <div style="position: relative">
  114 + <div class="ser_con swiper-container">
  115 + <ul class="swiper-wrapper">
  116 + <volist name="tijian_data" id="vo">
  117 + <li class="swiper-slide">
  118 + <a href="{:url('Service/content',array('id'=>$vo.post_id))}">
  119 + <php>$arr3=json_decode($vo['more'],true);</php>
  120 + <img src="{:cmf_get_image_url($arr3.thumbnail)}" alt="">
  121 + <h3>{$vo.post_title}</h3>
  122 + <p>{$vo.post_excerpt}</p>
  123 + </a>
  124 + </li>
  125 + </volist>
  126 + </ul>
  127 + </div>
  128 + <div class="swiper-button-next"></div>
  129 + <div class="swiper-button-prev"></div>
  130 + </div>
  131 + </div>
  132 + </div>
  133 + <div class="ser_main_list">
  134 + <div class="ser_list">
  135 + <div class="ser_listTitle">
  136 + <h2>辅助治疗项目</h2>
  137 + <p>ADJUVANT THERAPY</p>
  138 + </div>
  139 + <div style="position: relative">
  140 + <div class="ser_con swiper-container2">
  141 + <ul class="swiper-wrapper">
  142 + <volist name="fuzhu_data" id="vo">
  143 + <li class="swiper-slide">
  144 + <a href="{:url('Service/content',array('id'=>$vo.post_id))}">
  145 + <php>$arr4=json_decode($vo['more'],true);</php>
  146 + <img src="{:cmf_get_image_url($arr4.thumbnail)}" alt="">
  147 + <h3>{$vo.post_title}</h3>
  148 + <p>{$vo.post_excerpt}</p>
  149 + </a>
  150 + </li>
  151 + </volist>
  152 +
  153 + </ul>
  154 + </div>
  155 + <div class="swiper-button-next2"></div>
  156 + <div class="swiper-button-prev2"></div>
  157 + </div>
  158 + </div>
  159 + </div>
  160 + </div>
  161 + </div>
  162 + <!--footer-->
  163 + <footer>
  164 + <include file="public@footer"/>
  165 + </footer>
  166 +</div>
  167 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  168 +<script src="__TMPL__/public/assets/js/index.js"></script>
  169 +<script src="__TMPL__/public/assets/js/swiper.min.js"></script>
  170 +<script>
  171 + //德國抗衰老治療項目
  172 + var swiper = new Swiper('.swiper-container5', {
  173 + slidesPerView: 3,
  174 + spaceBetween: 60,
  175 + pagination: {
  176 + el: '.swiper-pagination',
  177 + clickable: true,
  178 + },
  179 + navigation: {
  180 + nextEl: '.swiper-button-next5',
  181 + prevEl: '.swiper-button-prev5',
  182 + },
  183 + });
  184 + //治疗项目
  185 + var swiper = new Swiper('.swiper-container3', {
  186 + slidesPerView: 3,
  187 + spaceBetween: 60,
  188 + pagination: {
  189 + el: '.swiper-pagination',
  190 + clickable: true,
  191 + },
  192 + navigation: {
  193 + nextEl: '.swiper-button-next3',
  194 + prevEl: '.swiper-button-prev3',
  195 + },
  196 + });
  197 + // 医美项目
  198 + var swiper = new Swiper('.swiper-container4', {
  199 + slidesPerView: 3,
  200 + spaceBetween: 60,
  201 + pagination: {
  202 + el: '.swiper-pagination',
  203 + clickable: true,
  204 + },
  205 + navigation: {
  206 + nextEl: '.swiper-button-next4',
  207 + prevEl: '.swiper-button-prev4',
  208 + },
  209 + });
  210 + // 体检检测
  211 + var swiper = new Swiper('.swiper-container', {
  212 + slidesPerView: 3,
  213 + spaceBetween: 60,
  214 + pagination: {
  215 + el: '.swiper-pagination',
  216 + clickable: true,
  217 + },
  218 + navigation: {
  219 + nextEl: '.swiper-button-next',
  220 + prevEl: '.swiper-button-prev',
  221 + },
  222 + });
  223 + //辅助治疗项目
  224 + var swiper = new Swiper('.swiper-container2', {
  225 + slidesPerView: 3,
  226 + spaceBetween: 60,
  227 + pagination: {
  228 + el: '.swiper-pagination',
  229 + clickable: true,
  230 + },
  231 + navigation: {
  232 + nextEl: '.swiper-button-next2',
  233 + prevEl: '.swiper-button-prev2',
  234 + },
  235 + });
  236 +
  237 +</script>
  238 +</body>
  239 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>法律法规</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">技術支持與合作</a>
  25 + <span> > </span>
  26 + <a href="">法律法规</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>德國合作伙伴</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">技術支持與合作</a>
  25 + <span> > </span>
  26 + <a href="">德國合作伙伴</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>安全保障</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">技術支持與合作</a>
  25 + <span> > </span>
  26 + <a href="">安全保障</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
  1 +<!DOCTYPE html>
  2 +<html lang="en">
  3 +<head>
  4 + <meta charset="UTF-8">
  5 + <title>德國抗衰老技術</title>
  6 + <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
  7 +</head>
  8 +<body>
  9 +<div class="box2">
  10 + <!--header-->
  11 + <header>
  12 + <include file="public@nav"/>
  13 + </header>
  14 + <!-- 侧边导航-->
  15 + <div class="banner_aside banner_aside2">
  16 + <include file="public@header"/>
  17 + </div>
  18 + <!--main-->
  19 + <div class="ab2_main">
  20 + <div class="ab2_main_box">
  21 + <div class="ab2_title">
  22 + <a href="">首頁</a>
  23 + <span> > </span>
  24 + <a href="">技術支持與合作</a>
  25 + <span> > </span>
  26 + <a href="">德国抗衰老技術</a>
  27 + </div>
  28 + <div class="ab2_con">
  29 + <div class="ab2_con_tit">
  30 + <h2>{$data.post_title}</h2>
  31 + <p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
  32 + </div>
  33 + <div class="ab2_con_txt">
  34 + {$data.post_content}
  35 + </div>
  36 + </div>
  37 + </div>
  38 + </div>
  39 + <!--footer-->
  40 + <footer>
  41 + <include file="public@footer"/>
  42 + </footer>
  43 +</div>
  44 +<script src="__TMPL__/public/assets/js/jquery.js"></script>
  45 +<script src="__TMPL__/public/assets/js/index.js"></script>
  46 +</body>
  47 +</html>
@@ -442,12 +442,12 @@ p{word-wrap:break-word} @@ -442,12 +442,12 @@ p{word-wrap:break-word}
442 position: relative; 442 position: relative;
443 } 443 }
444 .banner_aside_2{ 444 .banner_aside_2{
445 - width: 100px; 445 + width: 120px;
446 display: none; 446 display: none;
447 position: absolute; 447 position: absolute;
448 overflow: hidden; 448 overflow: hidden;
449 top: 0; 449 top: 0;
450 - right: -100px; 450 + right: -120px;
451 } 451 }
452 .banner_aside_2 a{ 452 .banner_aside_2 a{
453 display: block; 453 display: block;
@@ -494,12 +494,12 @@ p{word-wrap:break-word} @@ -494,12 +494,12 @@ p{word-wrap:break-word}
494 display: -webkit-flex; 494 display: -webkit-flex;
495 align-items: center; 495 align-items: center;
496 background-size: 100% 100%; 496 background-size: 100% 100%;
497 - background-image: url("../img/aicon11.png"); 497 + background-image: url("../images/aicon11.png");
498 } 498 }
499 .ab_main2_img2{ 499 .ab_main2_img2{
500 right: 0; 500 right: 0;
501 background-size: 100% 100%; 501 background-size: 100% 100%;
502 - background-image: url("../img/aicon12.png"); 502 + background-image: url("../images/aicon12.png");
503 } 503 }
504 .ab_main2 ul li{ 504 .ab_main2 ul li{
505 position: relative; 505 position: relative;
@@ -711,18 +711,18 @@ p{word-wrap:break-word} @@ -711,18 +711,18 @@ p{word-wrap:break-word}
711 .swiper-container{ 711 .swiper-container{
712 z-index: 1; 712 z-index: 1;
713 } 713 }
714 -.swiper-button-next, .swiper-button-prev,.swiper-button-next2, .swiper-button-prev2{ 714 +.swiper-button-next, .swiper-button-prev,.swiper-button-next2, .swiper-button-prev2,.swiper-button-next3, .swiper-button-prev3,.swiper-button-next4, .swiper-button-prev4,.swiper-button-next5, .swiper-button-prev5{
715 top: 42% 715 top: 42%
716 } 716 }
717 -.swiper-button-next,.swiper-button-next2{ 717 +.swiper-button-next,.swiper-button-next2,.swiper-button-next3,.swiper-button-next4,.swiper-button-next5{
718 right: -24px; 718 right: -24px;
719 - background-image: url("../img/aicon20.png"); 719 + background-image: url("../images/aicon20.png");
720 } 720 }
721 -.swiper-button-prev,.swiper-button-prev2{ 721 +.swiper-button-prev,.swiper-button-prev2,.swiper-button-prev3,.swiper-button-prev4,.swiper-button-prev5{
722 left: -24px; 722 left: -24px;
723 - background-image: url("../img/aicon21.png"); 723 + background-image: url("../images/aicon21.png");
724 } 724 }
725 -.swiper-button-prev,.swiper-button-next,.swiper-button-prev2,.swiper-button-next2{ 725 +.swiper-button-prev,.swiper-button-next,.swiper-button-prev2,.swiper-button-next2,.swiper-button-prev3,.swiper-button-next3,.swiper-button-prev4,.swiper-button-next4,.swiper-button-prev5,.swiper-button-next5{
726 width:54px; 726 width:54px;
727 height:54px; 727 height:54px;
728 outline: none; 728 outline: none;
@@ -730,7 +730,7 @@ p{word-wrap:break-word} @@ -730,7 +730,7 @@ p{word-wrap:break-word}
730 background-size: 25% 50%; 730 background-size: 25% 50%;
731 background-color:rgba(128,128,128,0.4); 731 background-color:rgba(128,128,128,0.4);
732 } 732 }
733 -.swiper-button-next2, .swiper-button-prev2 { 733 +.swiper-button-next2, .swiper-button-prev2,.swiper-button-next3, .swiper-button-prev3,.swiper-button-next4, .swiper-button-prev4,.swiper-button-next5,.swiper-button-prev5{
734 position: absolute; 734 position: absolute;
735 margin-top: -22px; 735 margin-top: -22px;
736 z-index: 1; 736 z-index: 1;
@@ -743,6 +743,21 @@ p{word-wrap:break-word} @@ -743,6 +743,21 @@ p{word-wrap:break-word}
743 cursor: auto; 743 cursor: auto;
744 pointer-events: none; 744 pointer-events: none;
745 } 745 }
  746 +.swiper-button-next3.swiper-button-disabled, .swiper-button-prev3.swiper-button-disabled {
  747 + opacity: .35;
  748 + cursor: auto;
  749 + pointer-events: none;
  750 +}
  751 +.swiper-button-next4.swiper-button-disabled, .swiper-button-prev4.swiper-button-disabled {
  752 + opacity: .35;
  753 + cursor: auto;
  754 + pointer-events: none;
  755 +}
  756 +.swiper-button-next5.swiper-button-disabled, .swiper-button-prev5.swiper-button-disabled {
  757 + opacity: .35;
  758 + cursor: auto;
  759 + pointer-events: none;
  760 +}
746 .inform_main{ 761 .inform_main{
747 flex: 1; 762 flex: 1;
748 } 763 }
1 -<br>  
2 -<!-- Footer ================================================== -->  
3 -<hr>  
4 -<div id="footer">  
5 - <hook name="footer_start"/>  
6 - <div class="links">  
7 - <links>  
8 - <a href="{$vo.url|default=''}" target="{$vo.target|default=''}">{$vo.name|default=''}</a>&nbsp;  
9 - </links>  
10 - 1 +<div class="footer">
  2 + <div class="footer_box">
  3 + <div class="footer1">
  4 + <dl>
  5 + <dt>聯絡我們</dt>
  6 + <dd>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</dd>
  7 + <dd>電話 : (852) 2582 0188</dd>
  8 + <dd>傳真 : (852) 2582 0199</dd>
  9 + <dd>電郵 : info@medisun.hk</dd>
  10 + </dl>
  11 + <dl>
  12 + <dt>聯絡我們</dt>
  13 + <dd>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</dd>
  14 + <dd>電話 : (852) 2582 0188</dd>
  15 + <dd>傳真 : (852) 2582 0199</dd>
  16 + <dd>電郵 : info@medisun.hk</dd>
  17 + </dl>
  18 + <dl>
  19 + <dt>聯絡我們</dt>
  20 + <dd>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</dd>
  21 + <dd>電話 : (852) 2582 0188</dd>
  22 + <dd>傳真 : (852) 2582 0199</dd>
  23 + <dd>電郵 : info@medisun.hk</dd>
  24 + </dl>
  25 + </div>
  26 + <div class="footer2">
  27 + <p>Copyright © 2018-2019,DEUTSHE INTEGRATED HEALTHCARE.All rights reserved.</p>
  28 + </div>
11 </div> 29 </div>
12 - <p>  
13 - Made by <a href="http://www.bronet.cn" target="_blank">bronet</a>  
14 - Code licensed under the  
15 - <a href="http://www.apache.org/licenses/LICENSE-2.0" rel="nofollow" target="_blank">Apache License v2.0</a>.  
16 - <br/>  
17 - Based on  
18 - <a href="http://getbootstrap.com/" target="_blank">Bootstrap</a>.  
19 - Icons from  
20 - <a href="http://fortawesome.github.com/Font-Awesome/" target="_blank">Font Awesome</a>  
21 - <br>  
22 - 备案号:  
23 - <notempty name="site_info.site_icp">  
24 - <a href="http://www.miitbeian.gov.cn/" target="_blank">{$site_info.site_icp}</a>  
25 - <else/>  
26 - 请在后台设置"网站信息"设置"备案信息"  
27 - </notempty>  
28 -  
29 -  
30 - </p>  
31 -</div>  
32 -<div id="backtotop">  
33 - <i class="fa fa-arrow-circle-up"></i>  
34 -</div> 30 +</div>
  1 +<ul>
  2 + <li><a href="{$shoue.href}">{$shoue.name}</a></li>
  3 + <li class="about">
  4 + <a class="banner_aside_active">{$guanyu.name}</a>
  5 + <div class="banner_aside_2">
  6 + <volist name="guanyu_son" id="vo">
  7 + <a href="{$vo.href}">{$vo.name}</a>
  8 + </volist>
  9 + </div>
  10 + </li>
  11 + <li class="about">
  12 + <a>{$jiangkang.name}</a>
  13 + <div class="banner_aside_2">
  14 + <volist name="jiangkang_son" id="vo">
  15 + <a href="{$vo.href}">{$vo.name}</a>
  16 + </volist>
  17 + </div>
  18 + </li>
  19 + <li>
  20 + <a href="{$fuwu.href}">
  21 + {$fuwu.name}
  22 + </a>
  23 + <div class="banner_aside_2">
  24 + <volist name="fuwu_son" id="vo">
  25 + <a href="{$vo.href}">{$vo.name}</a>
  26 + </volist>
  27 + </div>
  28 + </li>
  29 + <li class="about">
  30 + <a>{$jishu.name}</a>
  31 + <div class="banner_aside_2">
  32 + <volist name="jishu_son" id="vo">
  33 + <a href="{$vo.href}">{$vo.name}</a>
  34 + </volist>
  35 + </div>
  36 + </li>
  37 + <li class="about">
  38 + <a>{$zixun.name}</a>
  39 + <div class="banner_aside_2">
  40 + <volist name="zuixin_son" id="vo">
  41 + <a href="{$vo.href}">{$vo.name}</a>
  42 + </volist>
  43 + </div>
  44 + </li>
  45 + <li class="about">
  46 + <a>{$huiyuan.name}</a>
  47 + <div class="banner_aside_2">
  48 + <volist name="huiyuan_son" id="vo">
  49 + <a href="{$vo.href}">{$vo.name}</a>
  50 + </volist>
  51 + </div>
  52 + </li>
  53 + <li><a href="{$lianxi.href}">{$lianxi.name}</a></li>
  54 +</ul>
1 -<nav class="navbar navbar-default navbar-fixed-top active">  
2 - <div class="container active">  
3 - <div class="navbar-header">  
4 - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"  
5 - data-target="#bs-example-navbar-collapse-1" aria-expanded="false">  
6 - <span class="sr-only">Toggle navigation</span>  
7 - <span class="icon-bar"></span>  
8 - <span class="icon-bar"></span>  
9 - <span class="icon-bar"></span>  
10 - </button>  
11 - <a class="navbar-brand" href="__ROOT__/">{$theme_vars.company_name|default='bronet'}</a>  
12 - </div>  
13 -  
14 - <div class="collapse navbar-collapse active" id="bs-example-navbar-collapse-1">  
15 - <ul id="main-menu" class="nav navbar-nav">  
16 - <navigation nav-id="" root="" id="main-navigation" class="nav navbar-nav navbar-nav-custom" max-level="0">  
17 - <navigationMenu root="li" class="menu-item menu-item-level-{$level}">  
18 - <a href="{$menu.href|default=''}" target="{$menu.target|default=''}">  
19 - {$menu.name|default=''}  
20 - </a>  
21 - </navigationMenu>  
22 - <navigationFolder root="li"  
23 - class="dropdown dropdown-custom dropdown-custom-level-{$level}"  
24 - dropdown="ul"  
25 - dropdown-class="dropdown-menu dropdown-menu-level-{$level}">  
26 - <a href="#" class="dropdown-toggle dropdown-toggle-{$level}" data-toggle="dropdown">  
27 - {$menu.name|default=''}<span class="caret"></span>  
28 - </a>  
29 - </navigationFolder>  
30 - </navigation>  
31 - </ul>  
32 - <ul class="nav navbar-nav navbar-right" id="main-menu-user">  
33 - <!--  
34 - <li class="login">  
35 - <a class="dropdown-toggle notifactions" href="/index.php/user/notification/index"> <i  
36 - class="fa fa-envelope"></i> <span class="count">0</span></a>  
37 - </li>  
38 - -->  
39 - <li class="dropdown user login">  
40 - <a class="dropdown-toggle user" data-toggle="dropdown" href="#">  
41 - <php>$user=cmf_get_current_user();</php>  
42 - <if condition="empty($user['avatar'])">  
43 - <img src="__TMPL__/public/assets/images/headicon.png" class="headicon">  
44 - <else/>  
45 - <img src="{:cmf_get_user_avatar_url($user['avatar'])}" class="headicon" width="30"/>  
46 - </if>  
47 - <span class="user-nickname"></span><b class="caret"></b>  
48 - </a>  
49 - <ul class="dropdown-menu pull-right">  
50 - <li><a href="{:cmf_url('user/Profile/center')}"><i class="fa fa-user"></i> &nbsp;个人中心</a></li>  
51 - <li class="divider"></li>  
52 - <li><a href="{:cmf_url('user/Index/logout')}"><i class="fa fa-sign-out"></i> &nbsp;退出</a></li>  
53 - </ul>  
54 - </li>  
55 - <li class="dropdown user offline" style="display: list-item;">  
56 - <a class="dropdown-toggle user" data-toggle="dropdown" href="#">  
57 - <img src="__TMPL__/public/assets/images/headicon.png" class="headicon">  
58 - 登录<b class="caret"></b>  
59 - </a>  
60 - <ul class="dropdown-menu pull-right">  
61 - <li><a href="{:cmf_url('user/Login/index')}"><i class="fa fa-sign-in"></i> &nbsp;登录</a></li>  
62 - <li class="divider"></li>  
63 - <li><a href="{:cmf_url('user/Register/index')}"><i class="fa fa-user"></i> &nbsp;注册</a></li>  
64 - </ul>  
65 - </li>  
66 - </ul>  
67 - <form class="navbar-form navbar-right" method="post" action="{:cmf_url('portal/Search/index')}">  
68 - <div class="form-group">  
69 - <input type="text" class="form-control" name="keyword" placeholder="Search"  
70 - value="{:input('param.keyword','')}">  
71 - </div>  
72 - <input type="submit" class="btn btn-primary" value="Go" style="margin:0"/>  
73 - </form>  
74 - </div>  
75 - </div>  
76 -</nav>  
  1 +<div class="header header_bor">
  2 + <a href= "{:url('Index/index')}">
  3 + <img class="logo" src="{:cmf_get_image_url($logo.image)}" alt="">
  4 + </a>
  5 +</div>
@@ -25,6 +25,52 @@ class HomeBaseController extends BaseController @@ -25,6 +25,52 @@ class HomeBaseController extends BaseController
25 parent::_initialize(); 25 parent::_initialize();
26 $siteInfo = cmf_get_site_info(); 26 $siteInfo = cmf_get_site_info();
27 View::share('site_info', $siteInfo); 27 View::share('site_info', $siteInfo);
  28 +
  29 + //网站logo
  30 + $logo = Db::name('slide_item') -> where('slide_id',1) -> find();
  31 + $this -> assign('logo',$logo);
  32 +
  33 + //网站导航栏
  34 + $shoue = Db::name('nav_menu') -> where('id',1) -> find();
  35 + $this -> assign('shoue',$shoue);
  36 +
  37 + $guanyu = Db::name('nav_menu') -> where('id',2) -> find();
  38 + $this -> assign('guanyu',$guanyu);
  39 + $guanyu_son = Db::name('nav_menu') -> where('parent_id',2) -> select();
  40 + $this -> assign('guanyu_son',$guanyu_son);
  41 +
  42 + $jiangkang = Db::name('nav_menu') -> where('id',3) -> find();
  43 + $this -> assign('jiangkang',$jiangkang);
  44 + $jiangkang_son = Db::name('nav_menu') -> where('parent_id',3) -> select();
  45 + $this -> assign('jiangkang_son',$jiangkang_son);
  46 +
  47 + $fuwu = Db::name('nav_menu') -> where('id',4) -> find();
  48 + $this -> assign('fuwu',$fuwu);
  49 + $fuwu_son = Db::name('nav_menu') -> where('parent_id',4) -> select();
  50 + $this -> assign('fuwu_son',$fuwu_son);
  51 +
  52 + $jishu = Db::name('nav_menu') -> where('id',5) -> find();
  53 + $this -> assign('jishu',$jishu);
  54 + $jishu_son = Db::name('nav_menu') -> where('parent_id',5) -> select();
  55 + $this -> assign('jishu_son',$jishu_son);
  56 +
  57 + $zixun = Db::name('nav_menu') -> where('id',6) -> find();
  58 + $this -> assign('zixun',$zixun);
  59 + $zuixin_son = Db::name('nav_menu') -> where('parent_id',6) -> select();
  60 + $this -> assign('zuixin_son',$zuixin_son);
  61 +
  62 + $huiyuan = Db::name('nav_menu') -> where('id',7) -> find();
  63 + $this -> assign('huiyuan',$huiyuan);
  64 + $huiyuan_son = Db::name('nav_menu') -> where('parent_id',7) -> select();
  65 + $this -> assign('huiyuan_son',$huiyuan_son);
  66 +
  67 + $lianxi = Db::name('nav_menu') -> where('id',8) -> find();
  68 + $this -> assign('lianxi',$lianxi);
  69 +
  70 +
  71 +
  72 +
  73 +
28 } 74 }
29 75
30 public function _initializeView() 76 public function _initializeView()