if($isSohu) $url = PartnerUrl::getDiseaseLink($comments->disease->key); elseif($isPicc) $url = "/jibing/".$comments->disease->key.".htm"; else $url = "/disease/".$comments->disease->key.".htm"; } else { $url = "http://www.haodf.com/jibing/".$comments->disease->key.".htm"; } ?> <a href="<?=$url ?>" class="blue"><?=$comments->disease->name ?></a><?php } else { echo $comments->tag; } ?></span></td> <td><?php echo Doctor::getCommentRateStr($comments->attitude,Doctor::TYPE_SVC) ;?></td> </tr> <tr> <td><?php echo Doctor::getCommentRateStr($comments->skill,Doctor::TYPE_FLV) ;?></td> </tr> <tr> <td height="28" colspan="3"><?php if($comments->remedy){ echo "<span class=gray>治疗方式:</span>".$comments->remedy."<br>"; } ?> <?php echo nl2br($comments->content); ?> </td> </tr> </table> <?php } ?> <?php } else { ?> 该大夫还没有点评,等你现在给他写第一篇点评哦!这就开始... <?php } ?> </td> </tr>
<tr> <td width="50%"><span class="gray">疾病:</span><?php if ($comment->disease->isNull() == false) { print '<a href="http://www.haodf.com/jibing/' . $comment->disease->key . '.htm" target="_blank" class="gray" style="text-decoration: none;">' . $comment->tag . '</a>'; } else { print $comment->tag; } ?> </td> <td width="34%"><?=str_replace('maroon', 'orange', Doctor::getCommentRateStr($comment->skill))?></td> </tr> <tr> <td width="50%"><span class="gray">就诊大夫:</span> <a class="blue" href="http://www.haodf.com/doctor/<?=Codec::getInstance()->encodeId($doctor->id)?>.htm"><?=$doctor->name?></a> </td> <td width="34%"><?=str_replace('maroon', 'orange', Doctor::getCommentRateStr($comment->attitude, "Service"))?></td> </tr> </table></td> <td class="dlert"></td> </tr> <tr> <td class="midlt"></td> <td> <?php include '_comment_inner.php'; ?> </td> <td class="midrt"></td> </tr> <tr> <td class="botlt"></td> <td class="botmd"></td> <td class="botrt"></td>
<p>疾病:<?php echo $comment->getDiseaseName4Flow(); ?> </p> <?php if ($comment->isCureExp() && false == empty($comment->remedy)) { ?> <p>治疗方式:<?$comment->remedy?></p> <?php } ?> <p><span class="mr20"><?php echo str_replace('maroon', 'orange1', Doctor::getCommentRateStr($comment->skill)); ?> </span><?php echo str_replace('maroon', 'orange1', Doctor::getCommentRateStr($comment->attitude, 'Service')); ?> </p> </div> <div class="tel-service-user-details1 fl"> <div class="con"> <span> <span><?php echo nl2br(trim($comment->content)); ?> </span> <em class="thankFeedBack cp blue4">展开>></em> </span> </div> </div> </div>
<div class="dis_article_2 bt_e ovh clearfix" shortcontent='<?=XString::htmlspecialchars_encode($shortContent)?>' commoncontent='<?=XString::htmlspecialchars_encode($commonContent)?>' <?php if (strlen($commonContent) > 128) { ?>onclick="closeure(this);" <?php } ?>> <div class="pb5 pl40 <?=$doctorComment->isCureThankLetter() ? 'hos_dis_tha' : 'hos_dis'?>"> <p class="gray3">»¼Õß: <?=$doctorComment->displayNameByMask()?> </p> <p class="gray3">¼²²¡: <?php if ($doctorComment->disease->isNull() == false) { print $chaos->getChaosItem('<a href="' . $router->urlfor('disease/diseaseknowledge',array('key' => $doctorComment->disease->key)) . '" style="display:inline; color:#333;">' . $doctorComment->tag . '</a>', $chaos->iwords_disease, 3, '<a href="/touch/jibing/~1~.htm" style="display:inline; color:#333;">~2~</a>'); } else { print $chaos->getChaosItem($doctorComment->tag, $chaos->iwords_disease, 3, '<a href="/touch/jibing/~1~.htm" style="display:inline; color:#333;">~2~</a>'); } ?> </p> </div> <?php if (Doctor::getCommentRateStr($doctorComment->attitude) && Doctor::getCommentRateStr($doctorComment->attitude, "Service")) { ?> <p class="gray6 pb10 pl40"> <?=str_replace('maroon', 'green_2', Doctor::getCommentRateStr($doctorComment->skill))?>¡¡ <?=str_replace('maroon', 'green_2', Doctor::getCommentRateStr($doctorComment->attitude, "Service"))?> </p> <?php } ?> <p class="gray6 f15 lh140 pt5 pb5 feedback"> <?php if (strlen($commonContent) > 128) { ?><a href="javascript:;" class="gray3"><?php } ?> <span class="gray3"><?=$shortContent?></span> <?php if (strlen($commonContent) > 128) { ?></a><?php }?> </p> <p class="fl gray9 pb10"><?=date('Y-m-d', $doctorComment->ctime->getTime())?></p> <p class="fr pr5 <?=$shortContent == $commonContent ? '' : 'contract retract' ?>"></p> </div> <?php } }?>