<table align="center" width="1020" cellspacing="0" cellpadding="0" border="0" class="zixun-doctor bc"> <tr> <td valign="top" width="720" class="f14"> <?php //回复列表 if (false == $flow->isPrivated() || $user->id == $flow->user->id) {/*{{{*/ foreach ($flowableList as $flowable) { if(($flowable instanceof DoctorPatientPost) || ($flowable instanceof Post)) { include(dirname(__FILE__).'/flow/_thread_post_detail.php'); } else { include dirname(__FILE__).'/flow/'.DoctorPatientRef::getPostTemplate(get_class($flowable), 'browser'); } } }/*}}}*/ //继续提问 //include dirname(__FILE__).'/_patient_reply.php'; ?> </td> <td width="10"> </td> <td valign="top" width="220"> <?php $isFuwai = true; //患者信息 $user = $flow->user; if(isset($object) && $object != 'browser')
<?php $canCompliant = false; foreach ($flowList as $flow) { if ($flow->isNull()) { continue; } if ($flow instanceof DoctorPatientPost || $flow instanceof Post) { if ($editPost->isNull() || $editPost->id != $flow->id) { include dirname(__FILE__) . '/' . DoctorPatientRef::getPostTemplate(get_class($flow), $object); } } else { include dirname(__FILE__) . '/' . DoctorPatientRef::getPostTemplate(get_class($flow), $object); } if ($flow instanceof DoctorPatientPost || $flow instanceof Post || $flow instanceof Thread) { $canCompliant = true; } } if ($canCompliant) { include dirname(__FILE__) . '/_complaint_popbox.php'; $scripts[] = 'doctorzone/flow/complaint.js'; ?> <script type="text/javascript"> $(document).ready(function(){ initFancyBox("a.showComplaint"); }); </script> <?php }
if($flow instanceof DoctorPatientPost && $flow->isDeleted()) { ?> <div style="word-break : break-all;">此对话已删除<a href="<?=$router->urlfor('nfsaudit/recoverdeletedpost', array('postId'=>$flow->id,'ticketId'=>$ticket->id)) ?>">[误删复原]</a> </div> <?php } else if($flow instanceof FollowupPost && $flow->isDeleted()) { ?> <div style="word-break : break-all;">此对话已删除<a href="<?=$router->urlfor('nfsaudit/recoverdeletedfollowuppost', array('postid'=>$flow->id,'ticketId'=>$ticket->id)) ?>">[误删复原]</a> </div> <?php } else { include dirname(__FILE__).'/incdetail/'.DoctorPatientRef::getPostTemplate(get_class($flow)); if ($flow instanceof DoctorPatientPost || $flow instanceof FollowupPost) { $attachmentIds = $flow->getDisplayAttachmentIds(); if (false == empty($attachmentIds)) { $aids = array(); foreach ($attachmentIds as $attachId) { if($flow instanceof DoctorPatientPost){ $attach = isset($attachments[$attachId])?$attachments[$attachId]:null; if ($attach && false == $attach->isDeleted()) $aids[] = $attachId; } else {
foreach ($flowables as $flowable) { if ($flowable instanceof XDateTime) { include dirname(__FILE__).'/flowposttemplates/_datetime.php'; } else if ($flowable instanceof ServiceCard)//这儿走不到了,会改为别的实现,但页面保留 { include dirname(__FILE__).'/flowposttemplates/_servicecard.php'; } else { if ($firstThread instanceof Proposal && $flowable->id == $firstThread->id) { continue; } include dirname(__FILE__).'/flowposttemplates/'.DoctorPatientRef::getPostTemplate(get_class($flowable)); } } if ($nowPage == $pages && ($orderdesc || $userSelfIsLogin)) { include_once dirname(__file__).'/flowdetailinc/_serviceused.php'; include_once dirname(__file__).'/flowdetailinc/_serviceprovider.php'; include_once dirname(__file__).'/flowdetailinc/_serviceapply.php'; } ?> <script type="text/javascript"> $(document).ready(function(){ $("#container a").attr("target", ""); }); </script>