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

澳德pc

正在显示 36 个修改的文件 包含 2223 行增加164 行删除
<?php
namespace app\admin\controller;
use cmf\controller\AdminBaseController;
use think\Db;
use app\admin\model\AdminMenuModel;
class MembersController extends AdminBaseController{
//显示会员列表
public function mem_list(){
$data = Db::name('members') -> select();
$this -> assign('data',$data);
return $this -> fetch();
}
//添加会员
public function mem_add(){
$data['name'] = input('post.name');
$data['passwd'] = input('post.passwd');
$data['jifen'] = input('post.jifen');
$id = Db::name('members') -> insertGetId($data);
return $id;
}
//当点击编辑时显示会员数据
public function mem_edit_show(){
$id = input('post.id');
$data = Db::name('members') -> where('id',$id) -> find();
return json_encode($data);
}
//更新数据
public function mem_edit_up(){
$data['id'] = input('post.id');
$data['name'] = input('post.name');
$data['passwd'] = input('post.passed');
$data['jifen'] = input('post.jifen');
$res = Db::name('members') -> update($data);
return true;
}
//删除数据
public function mem_del(){
$id = input('post.id');
Db::name('members') -> delete($id);
return true;
}
}
\ No newline at end of file
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class AboutController extends HomeBaseController{
//显示关于我们
public function about_us(){
//头部图片
$image = Db::name('slide_item') -> where('slide_id',3) -> find();
$this -> assign('image',$image);
//关于我们
$about_data = Db::name('portal_post') -> where('id',3) -> find();
$about_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_data['post_content']));
$this -> assign('about_data',$about_data);
$about_img_one = Db::name('portal_post') -> where('id',4) -> find();
$about_img_one['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_img_one['post_content']));
$this -> assign('about_img_one',$about_img_one);
$about_img_two = Db::name('portal_post') -> where('id',4) -> find();
$about_img_two['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_img_two['post_content']));
$this -> assign('about_img_two',$about_img_two);
return $this -> fetch();
}
//显示使命与愿景
public function vision(){
$category_post = Db::name('portal_category_post') -> where('category_id',4) -> find();
$data = Db::name('portal_post') -> where('id',$category_post['post_id']) -> find();
$data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
$this -> assign('data',$data);
return $this -> fetch();
}
//显示核心团队
public function team(){
$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);
/* foreach ($data as $key => $value){
$value['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($value['post_content']));
}*/
$this -> assign('data',$data);
return $this -> fetch();
}
}
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class ContactController extends HomeBaseController{
//显示联系我们页
public function lianxi(){
$data = Db::name('map') -> where('id',1) -> find();
$this -> assign('data',$data);
return $this -> fetch();
}
//添加客户数据
public function lx_add(){
$data['name'] = input('post.name');
$data['phone'] = input('post.phone');
$data['email'] = input('post.email');
$data['content'] = input('post.content');
$data['status'] = 0;
$res = Db::name('customer_data') -> insert($data);
return true;
}
}
\ No newline at end of file
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class HealthController extends HomeBaseController{
//显示中心设施
public function facilities(){
$fac_id = Db::name('portal_category_post') -> where('category_id',7) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
//显示中心设备
public function shebei(){
$fac_id = Db::name('portal_category_post') -> where('category_id',8) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
//显示服务品质
public function pinzhi(){
$fac_id = Db::name('portal_category_post') -> where('category_id',9) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
}
... ...
... ... @@ -17,6 +17,10 @@ class IndexController extends HomeBaseController
public function index()
{
//首页头部图片
$image = Db::name('slide_item') -> where('slide_id',2) -> find();
$this -> assign('image',$image);
//首页关于我们
$about_data = Db::name('portal_post') -> where('id',1) -> find();
$about_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($about_data['post_content']));
... ... @@ -27,10 +31,42 @@ class IndexController extends HomeBaseController
$shebei_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($shebei_data['post_content']));
$this -> assign('shebei_data',$shebei_data);
//首页澳德咨询
$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();
$this -> assign('new_data',$new_data[0]);
foreach ($new_data as $key => $val){
if($key != 0){
$newdata[] = $val;
}
}
$this -> assign('newdata',$newdata);
return $this->fetch(':index');
}
}
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class MembersController extends HomeBaseController{
//显示会员规则
public function members(){
$category_id = Db::name('portal_category_post') -> where('category_id',25) -> find();
$data = Db::name('portal_post') -> where('id',$category_id['post_id']) -> find();
$data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
$this -> assign('data',$data);
return $this -> fetch();
}
//显示会员优势
public function members_you(){
$category_id = Db::name('portal_category_post') -> where('category_id',26) -> find();
$data = Db::name('portal_post') -> where('id',$category_id['post_id']) -> find();
$data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
$this -> assign('data',$data);
return $this -> fetch();
}
}
\ No newline at end of file
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class NewController extends HomeBaseController{
//显示澳德新闻列表
public function aonew(){
$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);
$this -> assign('data',$new_data);
return $this -> fetch();
}
//显示新闻内容页
public function new_content(){
$id = $this -> request -> param();
$data = Db::name('portal_post') -> where('id',$id['id']) -> find();
$data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
$this -> assign('data',$data);
return $this -> fetch();
}
//显示行业动向新闻列表
public function indu_new(){
$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);
$this -> assign('data',$new_data);
return $this -> fetch();
}
}
\ No newline at end of file
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class ServiceController extends HomeBaseController{
//显示服务项目轮播列表
public function service(){
//显示德国抗衰老项目(仅限会员)轮播
$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();
$this -> assign('kang_data',$kang_data);
//显示治疗项目轮播
$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();
$this -> assign('zhiliao_data',$zhiliao_data);
//显示医美项目轮播
$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();
$this -> assign('yimei_data',$yimei_data);
//显示体检检测
$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();
$this -> assign('tijian_data',$tijian_data);
//显示辅助治疗
$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();
$this -> assign('fuzhu_data',$fuzhu_data);
return $this -> fetch();
}
//显示内容页
public function content(){
$id = $this -> request -> param();
$data = Db::name('portal_post') -> where('id',$id['id']) -> find();
$data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
$this -> assign('data',$data);
$post_data = Db::name('portal_category_post') -> where('post_id',$id['id']) -> find();
$category = Db::name('portal_category') -> where('id',$post_data['category_id']) -> find();
$this -> assign('category',$category);
return $this -> fetch();
}
}
\ No newline at end of file
... ...
<?php
namespace app\portal\controller;
use cmf\controller\HomeBaseController;
use EasyWeChat\Foundation\Application;
use think\Db;
class TechnologyController extends HomeBaseController{
//显示德国抗衰老技术
public function technology(){
$fac_id = Db::name('portal_category_post') -> where('category_id',12) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
//显示德国合作伙伴
public function partner(){
$fac_id = Db::name('portal_category_post') -> where('category_id',13) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
//显示安全保障
public function security(){
$fac_id = Db::name('portal_category_post') -> where('category_id',14) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
//显示法律法规
public function law(){
$fac_id = Db::name('portal_category_post') -> where('category_id',15) -> find();
$fac_data = Db::name('portal_post') -> where('id',$fac_id['post_id']) -> find();
$fac_data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($fac_data['post_content']));
$this -> assign('data',$fac_data);
return $this -> fetch();
}
}
... ...
... ... @@ -7,13 +7,13 @@ return [
// 数据库类型
'type' => 'mysql',
// 服务器地址
'hostname' => '127.0.0.1',
'hostname' => 'rm-m5eblhc9o3515i25neo.mysql.rds.aliyuncs.com',
// 数据库名
'database' => 'aode',
// 用户名
'username' => 'root',
'username' => 'db136s1ehvo1yn73',
// 密码
'password' => 'root',
'password' => 'cxz307311SJK',
// 端口
'hostport' => '3306',
// 数据库编码默认采用utf8
... ...
... ... @@ -19,6 +19,7 @@ return array (
'ADMIN_MAILER_TEMPLATEPOST' => '邮件模板提交',
'ADMIN_MAILER_TEST' => '邮件发送测试',
'ADMIN_MAP_MAPLIST' => '地图管理',
'ADMIN_MEMBERS_MEM_LIST' => '会员管理',
'ADMIN_MENU_ADD' => '后台菜单添加',
'ADMIN_MENU_ADDPOST' => '后台菜单添加提交保存',
'ADMIN_MENU_DELETE' => '后台菜单删除',
... ...
<include file="public@header" />
</head>
<body>
<button type="button" class="btn btn-default" style="margin:10px 10px;" data-toggle="modal" data-target="#myModal">添加会员</button>
<table class="table table-bordered" style="margin:10px 10px;">
<caption>会员列表</caption>
<thead>
<tr>
<th>用户名</th>
<th>操作</th>
</tr>
</thead>
<tbody class="zhuijia">
<volist name="data" id="vo">
<tr class="tr{$vo.id}">
<td>{$vo.name}</td>
<td>
<button type="button" class="btn btn-default" data-toggle='modal' data-target='#editModal' onclick="edit({$vo.id})">编辑</button>
<button type="button" class="btn btn-default" onclick="del({$vo.id})">删除</button>
</td>
</tr>
</volist>
</tbody>
</table>
<!-- 添加模态框(Modal) -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">添加会员</h4>
</div>
<div class="modal-body">
<div class="input-group">
<span class="input-group-addon">用户名:</span>
<input type="text" name="name" class="form-control">
</div>
<div class="input-group" style="margin-top: 5px;">
<span class="input-group-addon">密码:</span>
<input type="text" name="passwd" class="form-control">
</div>
<div class="input-group" style="margin-top: 5px;">
<span class="input-group-addon">积分:</span>
<input type="text" name="jifen" class="form-control">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default guanbi" data-dismiss="modal">关闭</button>
<button type="button" class="btn btn-primary" onclick="add()">提交</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<!-- 编辑模态框(Modal) -->
<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">编辑会员</h4>
</div>
<div class="modal-body">
<div class="input-group">
<span class="input-group-addon">用户名:</span>
<input type="text" name="ename" class="form-control">
</div>
<div class="input-group" style="margin-top: 5px;">
<span class="input-group-addon">密码:</span>
<input type="text" name="epasswd" class="form-control">
</div>
<div class="input-group" style="margin-top: 5px;">
<span class="input-group-addon">积分:</span>
<input type="text" name="ejifen" class="form-control">
</div>
<input type="hidden" name="id" value="">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default eguanbi" data-dismiss="modal">关闭</button>
<button type="button" class="btn btn-primary" onclick="tjedit()">提交</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<script>
//添加会员
function add(){
name = $("input[name='name']").val();
passwd = $("input[name='passwd']").val();
jifen = $("input[name='jifen']").val();
$.post("{:url('Members/mem_add')}",{name:name,passwd:passwd,jifen:jifen},function(data){
$('.guanbi').trigger('click');
$('.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>");
$('.form-control').val('');
});
}
//编辑会员
function edit(id){
$.post("{:url('Members/mem_edit_show')}",{id:id},function(data){
shuju = JSON.parse(data);
$("input[name='ename']").val(shuju.name);
$("input[name='epasswd']").val(shuju.passwd);
$("input[name='ejifen']").val(shuju.jifen);
$("input[name='id']").val(shuju.id);
});
}
//编辑模态框提交
function tjedit(){
id = $("input[name='id']").val();
name = $("input[name='ename']").val();
passed = $("input[name='epasswd']").val();
jifen = $("input[name='ejifen']").val();
$.post("{:url('Members/mem_edit_up')}",{id:id,name:name,passed:passed,jifen:jifen},function(data){
$('.eguanbi').trigger('click');
});
}
//删除数据
function del(id){
ccc = window.confirm('是否删除?');
if(ccc){
$.post("{:url('Members/mem_del')}",{id:id},function(data){
$('.tr'+id).remove();
});
}
}
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>聯係我們</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=hG4FuySg0nLRGkY8pQZsGQVA8jCb81F3"></script>
<style>
.BMapLabel{
width: 173px;
height: 20px;
margin-top: -10px !important;
margin-left: 10px !important;
/*padding-left: 10px !important;*/
line-height: 24px !important;
text-align: center !important;
/*border: 1px solid black !important;*/
}
#map{
margin-top:35px;
}
.anchorBL{
display: none !important;
}
</style>
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="contact_box">
<div class="ab2_title" style="border:0">
<a href="">首頁</a>
<span> > </span>
<a href="">聯係我們</a>
</div>
<div class="ab2_con">
<div class="contact_tit">
<h2>聯係我們</h2>
<p><span>/</span>CONTACT US</p>
</div>
<div style="width:1054px;height:449px;border:#ccc solid 1px;font-size:12px" id="map"></div>
</div>
<div class="contact_con">
<div class="contact_con_left">
<h2>澳德綜合健康中心有限公司 </h2>
<div class="contact_con_left1">
<p>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</p>
<p>電話 : (852) 2582 0188</p>
<p>傳真 : (852) 2582 0199</p>
<p>電郵 : info@medisun.hk</p>
</div>
</div>
<div class="contact_con_right">
<ul>
<li>
<label>
姓名
</label>
<input type="text" class="inpTxt" name="name">
</li>
<li>
<label>電話</label>
<input type="text" class="inpTxt" name="phone">
</li>
<li>
<label>郵箱</label>
<input type="text" class="inpTxt" name="email">
</li>
</ul>
<div class="contact_tarea">
<p>內容</p>
<textarea id="content"></textarea>
</div>
<button type="button" onclick="add()" class="contact_btn">提交</button>
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script>
//点击提交客户资料
function add(){
name = $("input[name='name']").val();
phone = $("input[name='phone']").val();
email = $("input[name='email']").val();
content = $('#content').val();
if(phone==''){
alert('请填写姓名电话');
}else{
if(name==''){
alert('请填写姓名电话');
}else{
$.post("{:url('Contact/lx_add')}",{name:name,phone:phone,email:email,content:content},function(data){
alert('提交成功');
});
}
}
}
</script>
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.js"></script>
<script type="text/javascript" src="__TMPL__/public/assets/js/index.js"></script>
<script type="text/javascript">
$('.inpTxt').each(function () {
$(this).focus(function(){
$(this).parents("li").css('border-bottom','1px solid #E29C6D')
});
});
$('.inpTxt').each(function () {
$(this).blur(function(){
$(this).parents("li").css('border-bottom','1px solid rgba(230,230,230,1)')
});
});
//创建和初始化地图函数:
function initMap(){
createMap();//创建地图
setMapEvent();//设置地图事件
addMapControl();//向地图添加控件
addMapOverlay();//向地图添加覆盖物
}
function createMap(){
map = new BMap.Map("map");
map.centerAndZoom(new BMap.Point("{$data.jingdu}","{$data.weidu}"),16);
}
function setMapEvent(){
map.enableScrollWheelZoom();
map.enableKeyboard();
map.enableDragging();
map.enableDoubleClickZoom()
}
function addClickHandler(target,window){
target.addEventListener("click",function(){
target.openInfoWindow(window);
});
}
function addMapOverlay(){
var markers = [
{content:"{$data.address}",title:"{$data.title}",imageOffset: {width:-46,height:-21},position:{lat:22.337395,lng:114.176184}},
];
for(var index = 0; index < markers.length; index++ ){
var point = new BMap.Point(markers[index].position.lng,markers[index].position.lat);
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),{
imageOffset: new BMap.Size(markers[index].imageOffset.width,markers[index].imageOffset.height)
})});
var label = new BMap.Label(markers[index].title,{offset: new BMap.Size(25,5)});
var opts = {
width: 200,
title: markers[index].title,
enableMessage: false
};
var infoWindow = new BMap.InfoWindow(markers[index].content,opts);
marker.setLabel(label);
addClickHandler(marker,infoWindow);
map.addOverlay(marker);
};
var labels = [
];
for(var index = 0; index < labels.length; index++){
var opt = { position: new BMap.Point(labels[index].position.lng,labels[index].position.lat )};
var label = new BMap.Label(labels[index].content,opt);
map.addOverlay(label);
};
}
//向地图添加控件
function addMapControl(){
var navControl = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:2});
map.addControl(navControl);
}
var map;
initMap();
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>中心設施</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">健康中心</a>
<span> > </span>
<a href="">中心設施</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>中心設備</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">健康中心</a>
<span> > </span>
<a href="">服务品质</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>中心設備</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">健康中心</a>
<span> > </span>
<a href="">中心設備</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>關於我們</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!--banner-->
<div class="banner">
<img src="{:cmf_get_image_url($image.image)}" alt="">
<div class="banner_aside">
<ul>
<li><a href="{$shoue.href}" class="banner_aside_active">{$shoue.name}</a></li>
<li class="about">
<a>{$guanyu.name}</a>
<div class="banner_aside_2">
<volist name="guanyu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a >{$jiangkang.name}</a>
<div class="banner_aside_2">
<volist name="jiangkang_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a href="{$fuwu.href}">{$fuwu.name}</a>
<div class="banner_aside_2">
<volist name="fuwu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$jishu.name}</a>
<div class="banner_aside_2">
<volist name="jishu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$zixun.name}</a>
<div class="banner_aside_2">
<volist name="zuixin_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$huiyuan.name}</a>
<div class="banner_aside_2">
<volist name="huiyuan_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li><a href="{$lianxi.href}">{$lianxi.name}</a></li>
</ul>
</div>
</div>
<!--main1-->
<div class="ab_main1">
<div class="ab_main1_box">
<div class="main2_txt2">
<h2>{$about_data.post_title}</h2>
<p><span>/</span>ABOUT US</p>
</div>
<div class="ab_main1_txt">
{$about_data.post_content}
</div>
</div>
</div>
<!--main2-->
<div class="ab_main2">
<ul>
<li>
<div class="ab_main2_img">
{$about_img_one.post_content}
</div>
<php>$arr = json_decode($about_img_one['more'],true);</php>
<img style="margin-left: auto" src="{:cmf_get_image_url($arr.thumbnail)}" alt="">
</li>
<li>
<php>$arr_two = json_decode($about_img_two['more'],true);</php>
<img src="{:cmf_get_image_url($arr_two.thumbnail)}" alt="">
<div class="ab_main2_img ab_main2_img2">
{$about_img_two.post_content}
</div>
</li>
</ul>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>核心團隊</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<style>
/*分页样式*/
.pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
.pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
.pagination .active{background-color: #dd1a20;color: #fff;}
.pagination .disabled{color:#aaa;}
</style>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab3_main_box">
<div class="ab2_title">
<a>首頁</a>
<span> > </span>
<a>關於澳德</a>
<span> > </span>
<a>核心醫療團隊</a>
</div>
<div class="ab3_con">
<div class="ab2_con_tit">
<h2>使命與願景</h2>
</div>
<div class="ab3_con_list">
<ul>
<volist name="data" id="val">
<li>
<php>$arr = json_decode($val['more'],true);</php>
<img src="{:cmf_get_image_url($arr.thumbnail)}" alt="">
<div class="ab3_con_listTxt">
<h2>{$val.post_title}</h2>
<p>{$val.post_excerpt}</p>
</div>
</li>
</volist>
</ul>
</div>
</div>
</div>
</div>
<!--分页-->
<div class="pro4_page pagination">
<!--<ul>
<a href=""><img src="img/aicon181.png" alt=""></a>
<li class="page_active">1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<a href=""><img src="img/aicon191.png" alt=""></a>
</ul>-->
{$data->render()}
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
<script>
//底部tab
$('.pro4_page ul li').click(function () {
$(this).addClass('page_active').siblings().removeClass('page_active')
})
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>使命與願景</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">關於澳德</a>
<span> > </span>
<a href="">使命與願景</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -8,54 +8,64 @@
<body>
<div class="box">
<!--header-->
<header></header>
<header>
<include file="public@nav"/>
</header>
<!--banner-->
<div class="banner">
<img src="__TMPL__/public/assets/images/aicon01.png" alt="">
<img src="{:cmf_get_image_url($image.image)}" alt="">
<div class="banner_aside">
<ul>
<li><a href="index.html" class="banner_aside_active">首頁</a></li>
<li><a href="{$shoue.href}" class="banner_aside_active">{$shoue.name}</a></li>
<li class="about">
<a>關於澳德</a>
<a>{$guanyu.name}</a>
<div class="banner_aside_2">
<a href="about_us.html">關於我們</a>
<a href="about_us2.html">使命與願景</a>
<a href="about_us3.html">核心醫療團隊</a>
<volist name="guanyu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a >健康中心</a>
<a >{$jiangkang.name}</a>
<div class="banner_aside_2">
<a href="health_center.html">中心設施</a>
<a href="health_center2.html">中心設備</a>
<a href="health_center3.html">服務品質</a>
<volist name="jiangkang_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li><a href="service.html">服務項目</a></li>
<li class="about">
<a>技術支持與合作</a>
<a href="{$fuwu.href}">{$fuwu.name}</a>
<div class="banner_aside_2">
<a href="technology1.html">德國抗衰老技術</a>
<a href="technology2.html">德國合作夥伴</a>
<a href="technology3.html">安全保障</a>
<a href="technology4.html">法律法規</a>
<volist name="fuwu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>澳德資訊</a>
<a>{$jishu.name}</a>
<div class="banner_aside_2">
<a href="news.html">澳德新闻</a>
<a href="news2.html">行业动向</a>
<volist name="jishu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>澳德會員</a>
<a>{$zixun.name}</a>
<div class="banner_aside_2">
<a href="members1.html">会员规则</a>
<a href="members2.html">会员优势</a>
<volist name="zuixin_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li><a href="contact.html">聯係我們</a></li>
<li class="about">
<a>{$huiyuan.name}</a>
<div class="banner_aside_2">
<volist name="huiyuan_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li><a href="{$lianxi.href}">{$lianxi.name}</a></li>
</ul>
</div>
</div>
... ... @@ -141,25 +151,26 @@
<p><span>/</span>DEUTSCHE NEWS</p>
</div>
<div class="main3_con2">
<div class="main3_left">
<div class="main3_left1">
<div class="main3_left1_1">
<h2>01</h2>
<span>/</span>
<h2>25</h2>
<p>2019</p>
<a href="{:url('New/new_content',array('id'=>$new_data.post_id))}">
<div class="main3_left">
<div class="main3_left1">
<div class="main3_left1_1">
<h2>{$new_data.create_time|date="m",###}</h2>
<span>/</span>
<h2>{$new_data.create_time|date="d",###}</h2>
<p>{$new_data.create_time|date="Y",###}</p>
</div>
</div>
<div class="main3_left2">
<h2>{$new_data.post_title}</h2>
<p>{$new_data.post_excerpt}</p>
</div>
</div>
<div class="main3_left2">
<h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>
<p>香港麥迪舜醫療集團與清華大學在清華大學工字廳舉行了簽字儀式,正式 宣佈雙方合作成立[清華大學麥迪舜細胞技術研究院]並同時設立[清華麥迪舜細胞技術與再…(更多)</p>
</div>
</div>
</a>
<div class="main3_right">
<h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>
<h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>
<h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>
<h2>清華大學麥迪舜細胞技術研究院及再生醫學產業基金</h2>
<volist name="newdata" id="vo">
<a href="{:url('New/new_content',array('id'=>$vo.post_id))}"><h2>{$vo.post_title}</h2></a>
</volist>
</div>
</div>
... ... @@ -168,7 +179,9 @@
</div>
<!--header-->
<footer></footer>
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>會員規則</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">澳德會員</a>
<span> > </span>
<a href="">會員規則</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>會員優勢</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">澳德會員</a>
<span> > </span>
<a href="">會員優勢</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>澳德新聞</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<style>
/*分页样式*/
.pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
.pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
.pagination .active{background-color: #dd1a20;color: #fff;}
.pagination .disabled{color:#aaa;}
</style>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main1-->
<div class="ser_main inform_main">
<div class="ser_main_box news_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">澳德資訊</a>
<span> > </span>
<a href="">澳德新聞</a>
</div>
<!--内容-->
<div class="inform_con">
<ul>
<volist name="data" id="vo">
<li>
<a href="{:url('New/new_content',array('id'=>$vo.post_id))}">
<div class="inform_box1">
<div class="inform_box1_rq">
<div class="inform_box1_rq1">
<h2>{$vo.create_time|date="m",###}</h2>
<span>/</span>
<h2>{$vo.create_time|date="d",###}</h2>
<p>{$vo.create_time|date="Y",###}</p>
</div>
</div>
<div class="inform_box1_nr">
<h2>
{$vo.post_title}
</h2>
<p>
{$vo.post_excerpt}
</p>
</div>
</div>
</a>
</li>
</volist>
</ul>
</div>
</div>
</div>
<!--分页-->
<div class="pro4_page pagination">
<!-- <ul>
<a href=""><img src="img/aicon181.png" alt=""></a>
<li class="page_active">1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<a href=""><img src="img/aicon191.png" alt=""></a>
</ul>-->
{$data->render()}
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
<script>
//底部tab
$('.pro4_page ul li').click(function () {
$(this).addClass('page_active').siblings().removeClass('page_active')
})
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>澳德新聞</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<style>
/*分页样式*/
.pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
.pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
.pagination .active{background-color: #dd1a20;color: #fff;}
.pagination .disabled{color:#aaa;}
</style>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main1-->
<div class="ser_main inform_main">
<div class="ser_main_box news_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">澳德資訊</a>
<span> > </span>
<a href="">行业动向</a>
</div>
<!--内容-->
<div class="inform_con">
<ul>
<volist name="data" id="vo">
<li>
<a href="{:url('New/new_content',array('id'=>$vo.post_id))}">
<div class="inform_box1">
<div class="inform_box1_rq">
<div class="inform_box1_rq1">
<h2>{$vo.create_time|date="m",###}</h2>
<span>/</span>
<h2>{$vo.create_time|date="d",###}</h2>
<p>{$vo.create_time|date="Y",###}</p>
</div>
</div>
<div class="inform_box1_nr">
<h2>
{$vo.post_title}
</h2>
<p>
{$vo.post_excerpt}
</p>
</div>
</div>
</a>
</li>
</volist>
</ul>
</div>
</div>
</div>
<!--分页-->
<div class="pro4_page pagination">
<!-- <ul>
<a href=""><img src="img/aicon181.png" alt=""></a>
<li class="page_active">1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<a href=""><img src="img/aicon191.png" alt=""></a>
</ul>-->
{$data->render()}
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
<script>
//底部tab
$('.pro4_page ul li').click(function () {
$(this).addClass('page_active').siblings().removeClass('page_active')
})
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>澳德新聞--详情</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">澳德資訊</a>
<span> > </span>
<a href="">澳德新聞</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>使命與願景</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">服务项目</a>
<span> > </span>
<a href="">{$category.name}</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>服務項目</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main1内容-->
<div class="ser_main">
<div class="ser_main_box">
<!--标题-->
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">服務項目</a>
</div>
<!--列表-->
<div class="ser_main_list">
<div class="ser_list">
<div class="ser_listTitle">
<h2>德國抗衰老治療項目(僅限會員)</h2>
<p>German Anti-Aging Project</p>
</div>
<div style="position: relative">
<div class="ser_con swiper-container5">
<ul class="swiper-wrapper">
<volist name="kang_data" id="vo">
<li class="swiper-slide">
<a href="{:url('Service/content',array('id'=>$vo.post_id))}">
<php>$arr=json_decode($vo['more'],true);</php>
<img src="{:cmf_get_image_url($arr.thumbnail)}" alt="">
<h3>{$vo.post_title}</h3>
<p>{$vo.post_excerpt}</p>
</a>
</li>
</volist>
</ul>
</div>
<div class="swiper-button-next5"></div>
<div class="swiper-button-prev5"></div>
</div>
</div>
</div>
<div class="ser_main_list">
<div class="ser_list">
<div class="ser_listTitle">
<h2>治疗项目</h2>
<p>TREATMENT PROGRAM</p>
</div>
<div style="position: relative">
<div class="ser_con swiper-container3">
<ul class="swiper-wrapper">
<volist name="zhiliao_data" id="vo">
<li class="swiper-slide">
<a href="{:url('Service/content',array('id'=>$vo.post_id))}">
<php>$arr1=json_decode($vo['more'],true);</php>
<img src="{:cmf_get_image_url($arr1.thumbnail)}" alt="">
<h3>{$vo.post_title}</h3>
<p>{$vo.post_excerpt}</p>
</a>
</li>
</volist>
</ul>
</div>
<div class="swiper-button-next3"></div>
<div class="swiper-button-prev3"></div>
</div>
</div>
</div>
<div class="ser_main_list">
<div class="ser_list">
<div class="ser_listTitle">
<h2>医美项目</h2>
<p>MEDICAL BEAUTY PROJECT</p>
</div>
<div style="position: relative">
<div class="ser_con swiper-container4">
<ul class="swiper-wrapper">
<volist name="yimei_data" id="vo">
<li class="swiper-slide">
<a href="{:url('Service/content',array('id'=>$vo.post_id))}">
<php>$arr2=json_decode($vo['more'],true);</php>
<img src="{:cmf_get_image_url($arr2.thumbnail)}" alt="">
<h3>{$vo.post_title}</h3>
<p>{$vo.post_excerpt}</p>
</a>
</li>
</volist>
</ul>
</div>
<div class="swiper-button-next4"></div>
<div class="swiper-button-prev4"></div>
</div>
</div>
</div>
<div class="ser_main_list">
<div class="ser_list">
<div class="ser_listTitle">
<h2>体检检测</h2>
<p>PHYSICAL EXAMINATION</p>
</div>
<div style="position: relative">
<div class="ser_con swiper-container">
<ul class="swiper-wrapper">
<volist name="tijian_data" id="vo">
<li class="swiper-slide">
<a href="{:url('Service/content',array('id'=>$vo.post_id))}">
<php>$arr3=json_decode($vo['more'],true);</php>
<img src="{:cmf_get_image_url($arr3.thumbnail)}" alt="">
<h3>{$vo.post_title}</h3>
<p>{$vo.post_excerpt}</p>
</a>
</li>
</volist>
</ul>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
</div>
<div class="ser_main_list">
<div class="ser_list">
<div class="ser_listTitle">
<h2>辅助治疗项目</h2>
<p>ADJUVANT THERAPY</p>
</div>
<div style="position: relative">
<div class="ser_con swiper-container2">
<ul class="swiper-wrapper">
<volist name="fuzhu_data" id="vo">
<li class="swiper-slide">
<a href="{:url('Service/content',array('id'=>$vo.post_id))}">
<php>$arr4=json_decode($vo['more'],true);</php>
<img src="{:cmf_get_image_url($arr4.thumbnail)}" alt="">
<h3>{$vo.post_title}</h3>
<p>{$vo.post_excerpt}</p>
</a>
</li>
</volist>
</ul>
</div>
<div class="swiper-button-next2"></div>
<div class="swiper-button-prev2"></div>
</div>
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
<script src="__TMPL__/public/assets/js/swiper.min.js"></script>
<script>
//德國抗衰老治療項目
var swiper = new Swiper('.swiper-container5', {
slidesPerView: 3,
spaceBetween: 60,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next5',
prevEl: '.swiper-button-prev5',
},
});
//治疗项目
var swiper = new Swiper('.swiper-container3', {
slidesPerView: 3,
spaceBetween: 60,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next3',
prevEl: '.swiper-button-prev3',
},
});
// 医美项目
var swiper = new Swiper('.swiper-container4', {
slidesPerView: 3,
spaceBetween: 60,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next4',
prevEl: '.swiper-button-prev4',
},
});
// 体检检测
var swiper = new Swiper('.swiper-container', {
slidesPerView: 3,
spaceBetween: 60,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
//辅助治疗项目
var swiper = new Swiper('.swiper-container2', {
slidesPerView: 3,
spaceBetween: 60,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next2',
prevEl: '.swiper-button-prev2',
},
});
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>法律法规</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">技術支持與合作</a>
<span> > </span>
<a href="">法律法规</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>德國合作伙伴</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">技術支持與合作</a>
<span> > </span>
<a href="">德國合作伙伴</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>安全保障</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">技術支持與合作</a>
<span> > </span>
<a href="">安全保障</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>德國抗衰老技術</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<body>
<div class="box2">
<!--header-->
<header>
<include file="public@nav"/>
</header>
<!-- 侧边导航-->
<div class="banner_aside banner_aside2">
<include file="public@header"/>
</div>
<!--main-->
<div class="ab2_main">
<div class="ab2_main_box">
<div class="ab2_title">
<a href="">首頁</a>
<span> > </span>
<a href="">技術支持與合作</a>
<span> > </span>
<a href="">德国抗衰老技術</a>
</div>
<div class="ab2_con">
<div class="ab2_con_tit">
<h2>{$data.post_title}</h2>
<p>發佈時間:{$data.create_time|date="Y-m-d H:i:s",###}</p>
</div>
<div class="ab2_con_txt">
{$data.post_content}
</div>
</div>
</div>
</div>
<!--footer-->
<footer>
<include file="public@footer"/>
</footer>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -442,12 +442,12 @@ p{word-wrap:break-word}
position: relative;
}
.banner_aside_2{
width: 100px;
width: 120px;
display: none;
position: absolute;
overflow: hidden;
top: 0;
right: -100px;
right: -120px;
}
.banner_aside_2 a{
display: block;
... ... @@ -494,12 +494,12 @@ p{word-wrap:break-word}
display: -webkit-flex;
align-items: center;
background-size: 100% 100%;
background-image: url("../img/aicon11.png");
background-image: url("../images/aicon11.png");
}
.ab_main2_img2{
right: 0;
background-size: 100% 100%;
background-image: url("../img/aicon12.png");
background-image: url("../images/aicon12.png");
}
.ab_main2 ul li{
position: relative;
... ... @@ -711,18 +711,18 @@ p{word-wrap:break-word}
.swiper-container{
z-index: 1;
}
.swiper-button-next, .swiper-button-prev,.swiper-button-next2, .swiper-button-prev2{
.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{
top: 42%
}
.swiper-button-next,.swiper-button-next2{
.swiper-button-next,.swiper-button-next2,.swiper-button-next3,.swiper-button-next4,.swiper-button-next5{
right: -24px;
background-image: url("../img/aicon20.png");
background-image: url("../images/aicon20.png");
}
.swiper-button-prev,.swiper-button-prev2{
.swiper-button-prev,.swiper-button-prev2,.swiper-button-prev3,.swiper-button-prev4,.swiper-button-prev5{
left: -24px;
background-image: url("../img/aicon21.png");
background-image: url("../images/aicon21.png");
}
.swiper-button-prev,.swiper-button-next,.swiper-button-prev2,.swiper-button-next2{
.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{
width:54px;
height:54px;
outline: none;
... ... @@ -730,7 +730,7 @@ p{word-wrap:break-word}
background-size: 25% 50%;
background-color:rgba(128,128,128,0.4);
}
.swiper-button-next2, .swiper-button-prev2 {
.swiper-button-next2, .swiper-button-prev2,.swiper-button-next3, .swiper-button-prev3,.swiper-button-next4, .swiper-button-prev4,.swiper-button-next5,.swiper-button-prev5{
position: absolute;
margin-top: -22px;
z-index: 1;
... ... @@ -743,6 +743,21 @@ p{word-wrap:break-word}
cursor: auto;
pointer-events: none;
}
.swiper-button-next3.swiper-button-disabled, .swiper-button-prev3.swiper-button-disabled {
opacity: .35;
cursor: auto;
pointer-events: none;
}
.swiper-button-next4.swiper-button-disabled, .swiper-button-prev4.swiper-button-disabled {
opacity: .35;
cursor: auto;
pointer-events: none;
}
.swiper-button-next5.swiper-button-disabled, .swiper-button-prev5.swiper-button-disabled {
opacity: .35;
cursor: auto;
pointer-events: none;
}
.inform_main{
flex: 1;
}
... ...
<br>
<!-- Footer ================================================== -->
<hr>
<div id="footer">
<hook name="footer_start"/>
<div class="links">
<links>
<a href="{$vo.url|default=''}" target="{$vo.target|default=''}">{$vo.name|default=''}</a>&nbsp;
</links>
<div class="footer">
<div class="footer_box">
<div class="footer1">
<dl>
<dt>聯絡我們</dt>
<dd>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</dd>
<dd>電話 : (852) 2582 0188</dd>
<dd>傳真 : (852) 2582 0199</dd>
<dd>電郵 : info@medisun.hk</dd>
</dl>
<dl>
<dt>聯絡我們</dt>
<dd>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</dd>
<dd>電話 : (852) 2582 0188</dd>
<dd>傳真 : (852) 2582 0199</dd>
<dd>電郵 : info@medisun.hk</dd>
</dl>
<dl>
<dt>聯絡我們</dt>
<dd>地址 : 香港九龍灣臨澤街8號傲騰廣場25樓</dd>
<dd>電話 : (852) 2582 0188</dd>
<dd>傳真 : (852) 2582 0199</dd>
<dd>電郵 : info@medisun.hk</dd>
</dl>
</div>
<div class="footer2">
<p>Copyright © 2018-2019,DEUTSHE INTEGRATED HEALTHCARE.All rights reserved.</p>
</div>
</div>
<p>
Made by <a href="http://www.bronet.cn" target="_blank">bronet</a>
Code licensed under the
<a href="http://www.apache.org/licenses/LICENSE-2.0" rel="nofollow" target="_blank">Apache License v2.0</a>.
<br/>
Based on
<a href="http://getbootstrap.com/" target="_blank">Bootstrap</a>.
Icons from
<a href="http://fortawesome.github.com/Font-Awesome/" target="_blank">Font Awesome</a>
<br>
备案号:
<notempty name="site_info.site_icp">
<a href="http://www.miitbeian.gov.cn/" target="_blank">{$site_info.site_icp}</a>
<else/>
请在后台设置"网站信息"设置"备案信息"
</notempty>
</p>
</div>
<div id="backtotop">
<i class="fa fa-arrow-circle-up"></i>
</div>
</div>
\ No newline at end of file
... ...
<ul>
<li><a href="{$shoue.href}">{$shoue.name}</a></li>
<li class="about">
<a class="banner_aside_active">{$guanyu.name}</a>
<div class="banner_aside_2">
<volist name="guanyu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$jiangkang.name}</a>
<div class="banner_aside_2">
<volist name="jiangkang_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li>
<a href="{$fuwu.href}">
{$fuwu.name}
</a>
<div class="banner_aside_2">
<volist name="fuwu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$jishu.name}</a>
<div class="banner_aside_2">
<volist name="jishu_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$zixun.name}</a>
<div class="banner_aside_2">
<volist name="zuixin_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li class="about">
<a>{$huiyuan.name}</a>
<div class="banner_aside_2">
<volist name="huiyuan_son" id="vo">
<a href="{$vo.href}">{$vo.name}</a>
</volist>
</div>
</li>
<li><a href="{$lianxi.href}">{$lianxi.name}</a></li>
</ul>
\ No newline at end of file
... ...
<nav class="navbar navbar-default navbar-fixed-top active">
<div class="container active">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="__ROOT__/">{$theme_vars.company_name|default='bronet'}</a>
</div>
<div class="collapse navbar-collapse active" id="bs-example-navbar-collapse-1">
<ul id="main-menu" class="nav navbar-nav">
<navigation nav-id="" root="" id="main-navigation" class="nav navbar-nav navbar-nav-custom" max-level="0">
<navigationMenu root="li" class="menu-item menu-item-level-{$level}">
<a href="{$menu.href|default=''}" target="{$menu.target|default=''}">
{$menu.name|default=''}
</a>
</navigationMenu>
<navigationFolder root="li"
class="dropdown dropdown-custom dropdown-custom-level-{$level}"
dropdown="ul"
dropdown-class="dropdown-menu dropdown-menu-level-{$level}">
<a href="#" class="dropdown-toggle dropdown-toggle-{$level}" data-toggle="dropdown">
{$menu.name|default=''}<span class="caret"></span>
</a>
</navigationFolder>
</navigation>
</ul>
<ul class="nav navbar-nav navbar-right" id="main-menu-user">
<!--
<li class="login">
<a class="dropdown-toggle notifactions" href="/index.php/user/notification/index"> <i
class="fa fa-envelope"></i> <span class="count">0</span></a>
</li>
-->
<li class="dropdown user login">
<a class="dropdown-toggle user" data-toggle="dropdown" href="#">
<php>$user=cmf_get_current_user();</php>
<if condition="empty($user['avatar'])">
<img src="__TMPL__/public/assets/images/headicon.png" class="headicon">
<else/>
<img src="{:cmf_get_user_avatar_url($user['avatar'])}" class="headicon" width="30"/>
</if>
<span class="user-nickname"></span><b class="caret"></b>
</a>
<ul class="dropdown-menu pull-right">
<li><a href="{:cmf_url('user/Profile/center')}"><i class="fa fa-user"></i> &nbsp;个人中心</a></li>
<li class="divider"></li>
<li><a href="{:cmf_url('user/Index/logout')}"><i class="fa fa-sign-out"></i> &nbsp;退出</a></li>
</ul>
</li>
<li class="dropdown user offline" style="display: list-item;">
<a class="dropdown-toggle user" data-toggle="dropdown" href="#">
<img src="__TMPL__/public/assets/images/headicon.png" class="headicon">
登录<b class="caret"></b>
</a>
<ul class="dropdown-menu pull-right">
<li><a href="{:cmf_url('user/Login/index')}"><i class="fa fa-sign-in"></i> &nbsp;登录</a></li>
<li class="divider"></li>
<li><a href="{:cmf_url('user/Register/index')}"><i class="fa fa-user"></i> &nbsp;注册</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-right" method="post" action="{:cmf_url('portal/Search/index')}">
<div class="form-group">
<input type="text" class="form-control" name="keyword" placeholder="Search"
value="{:input('param.keyword','')}">
</div>
<input type="submit" class="btn btn-primary" value="Go" style="margin:0"/>
</form>
</div>
</div>
</nav>
\ No newline at end of file
<div class="header header_bor">
<a href= "{:url('Index/index')}">
<img class="logo" src="{:cmf_get_image_url($logo.image)}" alt="">
</a>
</div>
\ No newline at end of file
... ...
... ... @@ -25,6 +25,52 @@ class HomeBaseController extends BaseController
parent::_initialize();
$siteInfo = cmf_get_site_info();
View::share('site_info', $siteInfo);
//网站logo
$logo = Db::name('slide_item') -> where('slide_id',1) -> find();
$this -> assign('logo',$logo);
//网站导航栏
$shoue = Db::name('nav_menu') -> where('id',1) -> find();
$this -> assign('shoue',$shoue);
$guanyu = Db::name('nav_menu') -> where('id',2) -> find();
$this -> assign('guanyu',$guanyu);
$guanyu_son = Db::name('nav_menu') -> where('parent_id',2) -> select();
$this -> assign('guanyu_son',$guanyu_son);
$jiangkang = Db::name('nav_menu') -> where('id',3) -> find();
$this -> assign('jiangkang',$jiangkang);
$jiangkang_son = Db::name('nav_menu') -> where('parent_id',3) -> select();
$this -> assign('jiangkang_son',$jiangkang_son);
$fuwu = Db::name('nav_menu') -> where('id',4) -> find();
$this -> assign('fuwu',$fuwu);
$fuwu_son = Db::name('nav_menu') -> where('parent_id',4) -> select();
$this -> assign('fuwu_son',$fuwu_son);
$jishu = Db::name('nav_menu') -> where('id',5) -> find();
$this -> assign('jishu',$jishu);
$jishu_son = Db::name('nav_menu') -> where('parent_id',5) -> select();
$this -> assign('jishu_son',$jishu_son);
$zixun = Db::name('nav_menu') -> where('id',6) -> find();
$this -> assign('zixun',$zixun);
$zuixin_son = Db::name('nav_menu') -> where('parent_id',6) -> select();
$this -> assign('zuixin_son',$zuixin_son);
$huiyuan = Db::name('nav_menu') -> where('id',7) -> find();
$this -> assign('huiyuan',$huiyuan);
$huiyuan_son = Db::name('nav_menu') -> where('parent_id',7) -> select();
$this -> assign('huiyuan_son',$huiyuan_son);
$lianxi = Db::name('nav_menu') -> where('id',8) -> find();
$this -> assign('lianxi',$lianxi);
}
public function _initializeView()
... ...