金祖余
  • 姓名:金祖余
  • 职称:主任医师
  • 科室:皮肤科
立 即 提 问
关注
微信挂号服务平台

个人简介: 1963年毕业于上海医科大学医疗系。曾任北京医院皮肤科主任,获国务院政府特殊津贴。社会兼职:中华医学会北京皮肤科学会委员,中国中

详情
[php] $Model = new Model(); $sql = "SELECT a.exp_name,a.exp_photo,a.exp_zhic,a.exp_treat,a.exp_regi,a.exp_zjurl,a.exp_tie,a.exp_brief,a.exp_bdbk,a.exp_part,a.exp_site,d.zxdm FROM `dczyy_experts` as a inner join `dczyy_setting` as d on d.pid=a.exp_site where a.exp_id='$pid' limit 1"; $volist = $Model->query($sql); foreach($volist as $value){ echo '
'.htmlspecialchars_decode(htmlspecialchars_decode($value['exp_brief'])).'
'; } [/php]
[php] $time = M('timevisitt'); $tlist = $time->where("zjid='".$pid."'")->field("itime")->order("'itime'")->select(); $str = array(); foreach($tlist as $key=>$value){ foreach($value as $k=>$v){ switch ($v) { case ($v === 0): $str[0] = 1; break; case 1: $str[1] = 1; break; case 2: $str[2] = 1; break; case 3: $str[3] = 1; break; case 4: $str[4] = 1; break; case 5: $str[5] = 1; break; case 6: $str[6] = 1; break; case 7: $str[7] = 1; break; case 8: $str[8] = 1; break; case 9: $str[9] = 1; break; case 10: $str[10] = 1; break; case 11: $str[11] = 1; break; case 12: $str[12] = 1; break; case 13: $str[13] = 1; break; case 14: $str[14] = 1; break; case 15: $str[15] = 1; break; case 16: $str[16] = 1; break; case 17: $str[17] = 1; break; case 18: $str[18] = 1; break; case 19: $str[19] = 1; break; case 20: $str[20] = 1; break; } } } echo ''; if($str[0]==1){ echo ''; } else { echo ''; } if($str[2]==1){ echo ''; } else { echo ''; } if($str[4]==1){ echo ''; } else { echo ''; } if($str[6]==1){ echo ''; } else { echo ''; } if($str[8]==1){ echo ''; } else { echo ''; } if($str[10]==1){ echo ''; } else { echo ''; } if($str[12]==1){ echo ''; } else { echo ''; } echo ''; if($str[1]==1){ echo ''; } else { echo ''; } if($str[3]==1){ echo ''; } else { echo ''; } if($str[5]==1){ echo ''; } else { echo ''; } if($str[7]==1){ echo ''; } else { echo ''; } if($str[9]==1){ echo ''; } else { echo ''; } if($str[11]==1){ echo ''; } else { echo ''; } if($str[13]==1){ echo ''; } else { echo ''; } echo ''; if($str[14]==1){ echo ''; } else { echo ''; } if($str[15]==1){ echo ''; } else { echo ''; } if($str[16]==1){ echo ''; } else { echo ''; } if($str[17]==1){ echo ''; } else { echo ''; } if($str[18]==1){ echo ''; } else { echo ''; } if($str[19]==1){ echo ''; } else { echo ''; } if($str[20]==1){ echo ''; } else { echo ''; } echo ''; [/php]
出诊出诊出诊出诊出诊出诊出诊
出诊出诊出诊出诊出诊出诊出诊
出诊出诊出诊出诊出诊出诊出诊

看病经验

[php] $Model = new Model(); $sql = "SELECT a.id,a.hzm,a.ways,a.Content,a.liaoxiao,a.service,a.uptime,b.exp_name,c.Disease FROM `dczyy_case` as a inner join `dczyy_experts` as b on a.zjid=b.exp_id inner join `dczyy_bzc` as c on a.bzm=c.bid where a.zjid='".$pid."' and a.status='1' order by a.uptime desc limit 0,9"; $volist = $Model->query($sql); $cou= count($volist); foreach($volist as $key=>$value){ if($key%3 == 0){ echo ''; } echo '
  • 患者:'.$value['hzm'].'
  • 疗效:'.$value['liaoxiao'].'
  • 疾病:'.$value['Disease'].'
  • 态度:'.$value['service'].'
  • 就诊大夫:'.$value['exp_name'].'
  • 时间:'.date('Y-m-d',$value['uptime']).'

治疗方法:'.$value['ways'].'

表现病症:'.htmlspecialchars_decode(htmlspecialchars_decode($value['Content'])).'
'; if(($key+1)%3 == 0){ echo ''; } } $atrarr = array(1,2,4,5,7,8); if(in_array($cou,$atrarr)) { echo ''; } [/php]

相同科室的医生

[php] $Model = new Model(); $expdb = M("experts"); $eid=$expdb->where("exp_id='".$pid."'")->getField("exp_part"); $sql = "SELECT a.exp_id,a.exp_name,a.exp_photo,a.exp_zhic,a.exp_desc,a.exp_treat,a.exp_zjpdurl,a.exp_regi,a.exp_zjurl,a.exp_site,a.exp_part,a.exp_pinyin,d.zxdm,a.exp_uptime FROM `dczyy_experts` as a inner join `dczyy_setting` as d on d.pid=a.exp_site where a.exp_state='1' and a.exp_part='".$eid."' and a.exp_site='30' order by a.exp_uptime limit 0,9"; $volist = $Model->query($sql); foreach($volist as $key=>$value){ echo '
'.$value['exp_name'].''.$value['exp_zhic'].'

擅长疾病:'; $bzc = M('bzc'); $bzclist = $bzc->where("exp_id='".$value['exp_id']."'")->field("Disease")->limit("3")->order("'Sequence'")->select(); foreach($bzclist as $k=>$v){ echo $v['Disease'].','; } echo'

'; } [/php]

科室文章推荐

    [php] $Model = new Model(); $expdb = M("experts"); $eid=$expdb->where("exp_id='".$pid."'")->getField("exp_part"); $volist = $Model->query($sql); $sql = "SELECT a.id,a.MainTitle,a.url,a.uptime,b.Disease,c.exp_pinyin,c.exp_name,c.exp_zhic,c.exp_zjpdurl FROM `dczyy_interviews` as a inner join `dczyy_bzc` as b on a. con_theme =b.bid inner join `dczyy_experts` as c on a.zjid=c.exp_id where a.Status='发布' and c.exp_part='".$eid."' order by a.uptime desc limit 0,7"; $volist = $Model->query($sql); foreach($volist as $value){ echo '
  • '.$value['exp_name'].' '.$value['exp_zhic'].' 人已读
  • '; } [/php]

地址:北京朝阳区四惠惠河南街1092号(四惠交通枢纽对面,九号温泉向西200米第三栋古建筑即可)

版权所有:北京四惠中医医院 京ICP证16028103号-5 Copyright1911-2012 www.bjjk120.com All Rights Reserved

提示:任何关于疾病的建议都不能替代执业医师的面对面诊断。所有门诊时间仅供参考,最终以医院当日公布为准。

网友、医生言论权代表其个人观点,不代表本站同意其说法,请谨慎参阅,本站不承担由此引起的法律责任。