<div> <!--start tel-service-item--> <?php foreach ($ganxieCommentList as $comment) { ?> <div class="tel-service-item pt15 pb15"> <div class="tel-service-line clearfix"> <div class="tel-service-user1 fl"> <p>患者:<span class="green3"><?php echo $comment->isFromGuest() ? XString::getMaskIp($comment->getIp()) : XString::truncate($comment->user->name, 1, '***'); ?> </span></p> <p>地区:来自<?php echo $comment->getIpLocation(); ?> </p> <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