public function ajaxBindTicket($request, $response)
 {
     /*{{{*/
     $doctorCommentPostList = DoctorCommentPost::createList($request->ids);
     $res = InspectClient::getInstance()->bindTicket($doctorCommentPostList, $this->inspector);
     echo json_encode($res);
     return parent::DIRECT_OUTPUT;
 }
Example #2
0
                <p class='red f14 pb5'>您已回复成功,审核通过后才能被展示</p>
                <?}?>
                <!-- end -->

              <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">