コード例 #1
0
				<li style="width:80px; background:url(http://i1.hdfimg.com/v2/images/h_hf/user1_message.gif) 0 3px no-repeat">             
                <a style="color:red;text-decoration:none;">
                                                咨询已满
                </a>
                </li>
                <?php } else { ?>
                <li  style="width:80px; background:url(http://i1.hdfimg.com/v2/images/h_hf/user1_message.gif) 0 3px no-repeat">             
                <a href="http://<?=URL_PREFIX?>zixun.haodf.com/ask.php?host_user_id=<?=$space->user->id?>" target="_blank" style="color:green;">
                                                可咨询
                </a>
                </li>
                <?php } ?>
				<?php } ?>
				<?php if ($space->isNull() == false && $space->isPhoneOpenedForFront($curUser->id)) { ?>
				<li  style="background:url(http://i1.hdfimg.com/v2/images/h_hf/telephone.gif) 0 3px no-repeat">
                <a href="<?=$space->getPatientFeedBackUrl()?>" target="_blank" style="color:#ff6600;">
                                             可通电话
                </a>
                </li>
				<?php } ?>
				<?php } else {echo '&nbsp;';}?>
				<?php if ($space->isNull() == false && in_array($space->user->id, (array)$bookingList)) { ?>
				<li style="width:100px;background: url(http://i1.hdfimg.com/space/booking/images/jiahao_03.gif) no-repeat 0px 3px;">
					<a target="_blank" href="http://<?=URL_PREFIX?>jiahao.haodf.com/doctor/<?=$space->user->name?>/index.htm">可加号</a>
				</li>
				<?php } ?>
			</td>
		</tr>
		<?php } ?>
	</table>
	<?php if ($pageIndex == 'doctor') { ?>
コード例 #2
0
        <?php if (true == $space->isNull())
        {
        ?>
            <div class="oh zoom pl15 lh160">
            </div>
            <p class="expert_open pb10">
            <a target="_blank" href="<?=$doctor2->getUrl()?>" class="kart_icon1">专家信息</a>
</p>
        <?php
        }
        ?>
        <?php if(false == $space->isNull()){ ?>
						<p class="expert_open pb10">
							<a target="_blank" href="<?=$space->getUrl()?>" class="g_home">个人网站</a>
                <?php if ($space->isNull() == false && $space->isPhoneOpenedForFront($curUser->id)) { ?>
                    <a target="_blank" href="<?=$space->getPatientFeedBackUrl()?>" class="g_tel">可通电话</a>
                <?php } ?>
                <?php if(true == $space->isCaseAndNewCaseOpen() && false == $space->isRefusedNewCase() && $space->user->allowAnswer() && 0 != $space->modulecase->allowNewMaxNumber){ ?>
                           <a target="_blank" href="<?=$space->getAskUrl()?>" class="g_advise1">可咨询</a>
                    <?php  } ?>
                <?php if ($space->isBookingOpened()) { ?>
							<a  target="_blank" href="http://<?=URL_PREFIX?>jiahao.haodf.com/doctor/<?=$space->userName?>/index.htm" class="g_jia">可加号</a>				
                <? } ?>
						</p>
        <? } ?>
						<p class="gray3 pt10">
                        <?php if(isset($postCount) && $postCount > 0){ ?>
                            <a target="_blank" href="http://www.<?=URL_PREFIX?><?=$space->userName?>.haodf.com/zixun/list.htm" class="look_a1">近两周回复<span class="look_num1"><?=$postCount?></span>问</a> |
                        <?php } ?>
                        <?php if (false == $space->isNull()) {
                                $articleCount = ArticleClient::getInstance()->getArticleCount('article', null, $space);