<table width="100%" border="0" cellspacing="0" cellpadding="0" class="doctorhuif"> <tr> <td colspan="4" class="lb_line"></td> </tr> <!-- a post begin --> <?php $i = 0; foreach($dcPostList as $item) { $i++; $item = new DoctorCommentPost($item->id); ?> <tr> <td class="toptrbg" width="5%" > <?php if($item->isFromSpace()) { ?> <img src="<?php echo $imgUri; ?>/images/doctor/icon_doctor.gif" /> <?php } else { ?> <img src="<?php echo $imgUri; ?>/images/doctor/user1_message.png" /> <?php } ?> </td> <td class="toptrbg" width="70%"> <span> <?=$item->displayNameByMask()?> </span> </td> <td class="toptrbg gray" width="20%"><?=$item->ctime->toStringByFormat("Y-m-d H:i")?></td> <td class="toptrbg green" width="5%"><?=$i?><sup>#</sup></td> </tr> <tr> <td colspan="4" class="bottrbg" style="break-word:break-all"> <?=nl2br($item->content)?> <?php if($item->adminComment) {?> <div style="background:#e7ffdf none repeat scroll 0 0; background:#e7ffdf none repeat scroll 0 0;color:#0F862C; padding:5px; margin-left:-6px"> <img src="http://i1.hdfimg.com/images/common/iconwarning.gif" align="absmiddle" /> 好大夫在线管理员提示:<?=$item->adminComment?>