当前位置: 首页>>代码示例>>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;未经允许,请勿转载。