當前位置: 首頁>>代碼示例>>PHP>>正文


PHP GlobalTemplete::getSubNavUrl方法代碼示例

本文整理匯總了PHP中GlobalTemplete::getSubNavUrl方法的典型用法代碼示例。如果您正苦於以下問題:PHP GlobalTemplete::getSubNavUrl方法的具體用法?PHP GlobalTemplete::getSubNavUrl怎麽用?PHP GlobalTemplete::getSubNavUrl使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在GlobalTemplete的用法示例。


在下文中一共展示了GlobalTemplete::getSubNavUrl方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

<li>

<span class="first">谘詢專家</span>

<a href="http://<?=URL_PREFIX?>zixun.haodf.com" class="second" target="_blank">網上谘詢</a>
<a href="http://<?=URL_PREFIX?>400.haodf.com" class="second" target="_blank">電話谘詢</a>

</li>

<li><span class="first">-</span></li>

<li><a href="http://<?=URL_PREFIX?>jiahao.haodf.com" class="first" target="_blank">轉診預約</a></li>

<li><span class="first">-</span></li>

<li><a href="<?=GlobalTemplete::getSubNavUrl(GlobalTemplete::CURRENT_PAGE_OVERSEA)?>" class="first" target="_blank">海外就診</a></li>

</ul>

</div>

<!--top_nav end-->

<?php GlobalTemplete::getNotice();?>


<!--廣告位 start-->

<div class="g_ad">
    <?php
       echo AdWord::getHtmlContentByDisease('disease_ba', $disease->id);
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:31,代碼來源:_header.inner.php

示例2:

				<ul class="contentHeader-menu clearfix">
					<li>
                    <a href="http://www.<?=URL_PREFIX?>haodf.com" class="f14 fb ml20" target="_blank">首頁</a>
					</li>
					<li class="contentHeader-menu-split">-</li>
					<li>
						<span class="f14 fb">找好大夫</span>
                        <a href="http://www.<?=URL_PREFIX?>haodf.com/jibing/list.htm" class="ml10" target="_blank">按疾病找</a>
                        <a href="<?=GlobalTemplete::getAllHospitalList()?>" class="ml10" target="_blank">按醫院找</a>
                        <a href="http://www.<?=URL_PREFIX?>haodf.com/keshi/list.htm" class="ml10" target="_blank">按專科找</a>
					</li>
					<li class="contentHeader-menu-split">-</li>
					<li>
						<span class="f14 fb">谘詢專家</span>
                        <a href="http://<?=URL_PREFIX?>zixun.haodf.com" target="_blank" class="ml10">網上谘詢</a>
                        <a href="http://<?=URL_PREFIX?>400.haodf.com" target="_blank" class="ml10">電話谘詢</a>
					</li>
					<li class="contentHeader-menu-split">-</li>
					<li>
                    <a href="http://<?=URL_PREFIX?>jiahao.haodf.com" target="_blank" class="f14 fb">轉診預約</a>
					</li>
					<li class="contentHeader-menu-split">-</li>
					<li>
                    <a href="<?=GlobalTemplete::getSubNavUrl(GlobalTemplete::CURRENT_PAGE_OVERSEA)?>" target="_blank" class="f14 fb">海外就診</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<!-- end contentHeader -->
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:30,代碼來源:_cms_header.php

示例3: if

    <li><a href="http://www.<?=URL_PREFIX?>haodf.com">首頁</a></li>
    <li><strong>找大夫:</strong>
		<a href="http://www.<?=URL_PREFIX?>haodf.com/jibing/list.htm" class="<?=(isset($navType) && $navType=='s_jibing')?$activeColor:''?>">按疾病</a>
	    <a href="<?=GlobalTemplete::getAllHospitalList()?>" class="<?=(isset($navType) && $navType=='s_yiyuan')?$activeColor:''?>">按醫院</a>
	    <a href="http://www.<?=URL_PREFIX?>haodf.com/keshi/list.htm"  class="<?=(isset($navType) && $navType=='s_keshi')?$activeColor:''?>">按專科</a>
    </li>
    <li><strong>谘詢專家:</strong>
    	<a href="http://<?=URL_PREFIX?>zixun.haodf.com/">網上谘詢</a>
    	<a href="http://<?=URL_PREFIX?>400.haodf.com/">電話谘詢</a>
    </li>
    <li>
    	<a href="http://<?=URL_PREFIX?>jiahao.haodf.com/">轉診預約</a>
    </li>
    <li>
    	<a href="<?=GlobalTemplete::getSubNavUrl(GlobalTemplete::CURRENT_PAGE_OVERSEA)?>">海外就診</a>
    </li>
  </ul>
</div>
<div class="hdf_menu_sec">
<div class="menu_sec">
	<p>
		<span>
		 <?=isset($option['menuSec'])?$option['menuSec']:''?>
		</span>
	</p>
</div>
</div>
<?php if(isset($option['secBloodNav']) && $option['secBloodNav']) {?> 
<div class="sec_blood_nav">
 <div>
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:30,代碼來源:xinzang_head_nav.php

示例4:

    <span style="float:right;color:green;font-size:14px">好大夫在線提供的是醫患溝通平台,醫生使用這個平台為患者提供基於病情的建議,而非診療</span>
    <p style="clear:both"></p>
    </div>
  <div class="logo"><a href="http://www.haodf.com">好大夫在線,www.haodf.com</a></div>
  <div class="hdf_menu_subTitle" <?=$style?> ><?=$navSubtitle?></div>
  <ul class="menu_list"> 
    <li><a href="http://www.<?=URL_PREFIX?>haodf.com">首頁</a></li>
    <li><strong>找大夫:</strong>
	    <a href="http://www.<?=URL_PREFIX?>haodf.com/jibing/list.htm">按疾病</a>
	    <a href="<?=GlobalTemplete::getAllHospitalList()?>">按醫院</a>
	    <a href="http://www.<?=URL_PREFIX?>haodf.com/keshi/list.htm">按專科</a></li>
    <li><strong>谘詢專家:</strong>
   		<a href="http://<?=URL_PREFIX?>zixun.haodf.com/" class="<?=(isset($option['navType']) && $option['navType']=="zixun")?'active_consult':''?>">網上谘詢</a>
   		<a href="http://<?=URL_PREFIX?>400.haodf.com/" class="<?=(isset($option['navType']) && $option['navType']=="tel")?'active_consult':''?>">電話谘詢</a></li>
    <li class="<?=(isset($option['navType']) && $option['navType']=="jiahao")?'active_jiahao':''?>"> 
    	<a href="http://<?=URL_PREFIX?>jiahao.haodf.com/">轉診預約</a>
    </li>
    <li>
    	<a class="<?=(isset($option['navType']) && $option['navType']=='haiwai')?'active_blue':''?>" href="<?=GlobalTemplete::getSubNavUrl(GlobalTemplete::CURRENT_PAGE_OVERSEA)?>">海外就診</a>
    </li>
  </ul>
</div>

<div class="hdf_menu_sec">
 <div class="menu_sec">
 <p class="<?=isset($option['content_img'])?$option['content_img']:''?>"><span>
 	<?=isset($option['menuSec'])?$option['menuSec']:''?>
 </p>
 </div>
</div>
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:30,代碼來源:common_head_nav.php


注:本文中的GlobalTemplete::getSubNavUrl方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。