当前位置: 首页>>代码示例>>PHP>>正文


PHP GlobalTemplete类代码示例

本文整理汇总了PHP中GlobalTemplete的典型用法代码示例。如果您正苦于以下问题:PHP GlobalTemplete类的具体用法?PHP GlobalTemplete怎么用?PHP GlobalTemplete使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了GlobalTemplete类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getSpaceBannerAd

function getSpaceBannerAd($key)
{
    global $IS_SPACE_BANNER_AD_LOADED;
    if ($IS_SPACE_BANNER_AD_LOADED) {
        return;
    }
    $spaceBannerAds = array('xiaochuan' => '<a href="http://www.haodf.com/info/xc/xc.html" target="_blank"><img src="http://i1.hdfimg.com/v2/images/disease/tg/xiaochuan_banner.jpg?20111202"></a>', 'baineizhang' => '<a href="http://www.haodf.com/zhuanti/lnxbnzjkjyjz1.htm" target="_blank"><img src="http://i1.hdfimg.com/v2/images/disease/tg/baineizhang_banner.jpg?20111114"></a>', 'shenjingyuan' => '<a href="http://www.haodf.com/info/sjyhyh/sjyhyh.html" target="_blank"><img src="http://i1.hdfimg.com/v2/images/disease/tg/shenjingyuan_banner.jpg"></a>', 'fenshimianyi' => '<a href="http://www.haodf.com/info/hyh/fsmy.html" target="_blank"><img src="http://i1.hdfimg.com/v2/images/disease/tg/fenshimianyi_banner.jpg?20111202"></a>', 'ruxianai' => '<a href="http://www.haodf.com/info/rxa/rxa.html" target="_blank"><img src="http://i1.hdfimg.com/v2/images/disease/tg/ruxianai_banner.jpg"></a>');
    $IS_SPACE_BANNER_AD_LOADED = true;
    if (in_array($key, array_keys($spaceBannerAds))) {
        echo $spaceBannerAds[$key];
    } else {
        if ('zhitongche' == $key) {
            GlobalTemplete::getBaiduAd(590451);
        } else {
            if ('yigan' == $key) {
                GlobalTemplete::getBaiduAd(642555);
            } else {
                if ('followupdoctor' == $key) {
                    GlobalTemplete::getBaiduAd(642511);
                } else {
                    $IS_SPACE_BANNER_AD_LOADED = false;
                }
            }
        }
    }
}
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:26,代码来源:_ads4Designation.php

示例2:

<div style="padding: 0px 10px 10px 10px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" class="tab_white">
	<tr>
		<td>
		<table align="center" border="0" cellpadding="0" cellspacing="0" width="960" style="border: 1px #ECECEC solid">
			<tr>
				<td style="background-color: #ECECEC" width="70" align="center">
				<a href="/info/links.php" target="_blank">ÓÑÇéÁ´½Ó</a></td>
				<td style="padding-left: 5px;">
				<a href="<?=GlobalTemplete::getAllHospitalList()?>" target="_blank">È«¹úÒ½Ôºµ¼º½</a>
				<a href="http://health.sohu.com/" target="_blank">ËѺü½¡¿µ</a> 
				<a href="http://act1.health.sohu.com/mc/jibing1.php" target="_blank">Ò½ÁƲéѯ</a>
				<a href="http://www.xywy.com" target="_blank">Ñ°Ò½ÎÊÒ©Íø</a> 
				<a href="http://www.iiyi.com" target="_blank">°®°®Ò½</a> 
				<a href="http://health.sina.com.cn/index.shtml" target="_blank">ÐÂÀ˽¡¿µ</a> 
				<a href="http://www.china-obgyn.net" target="_blank">¸¾²ú¿ÆÍø</a> 
				<a href="http://www.yaolan.com" target="_blank">Ò¡ÀºÍø</a> 
				<a href="http://www.fx120.net" target="_blank">·ÅÐÄÒ½Ô·Íø</a> 
				<a href="http://www.babytree.com" target="_blank">±¦±¦Ê÷</a> 
				<a href="http://www.familydoctor.com.cn" target="_blank">¼ÒÍ¥Ò½ÉúÔÚÏß</a> 
				<a href="http://www.csdn.net/" target="_blank">csdn</a> 
				<a href="http://health.ifeng.com/" target="_blank">·ï»ËÍø½¡¿µ</a> 
				<a href="http://baby.ifeng.com/" target="_blank">·ï»ËÍøÇ××Ó</a> 
				<a href="http://www.idna.com.cn/" target="_blank">iDNA</a> 
				<a href="http://www.xingshulin.com/" target="_blank">ÐÓÊ÷ÁÖ</a> 
				<a href="/info/links.php" target="_blank">¸ü¶à...</a></td>
			</tr>
		</table>
		<table align="center" border="0" cellpadding="0" cellspacing="0"
			width="960" style="border: 1px #ECECEC solid">
			<tr>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:hezuo.php

示例3: date

    <div class="mt30"></div>
    <?php GlobalTemplete::getGlobalFooter(); ?>
    <div style="display:none">
    <script src="http://s11.cnzz.com/stat.php?id=2724401&web_id=2724401" language="JavaScript"></script>
    </div>
 <?php GlobalTemplete::getPvstat();?>
 <!--<?php echo date("Y-m-d H:i:s");?>-->
</body>
</html>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:9,代码来源:_footer.php

示例4: isset

<?php GlobalTemplete::getHeadNav('www');?>
<link href="<?=$imgUrl ?>/zhuanti/css/base.css?2012052401" rel="stylesheet" type="text/css" />
<link href="<?=$imgUrl ?>/zhuanti/css/xianxin_topic.css?20120426" rel="stylesheet" type="text/css" /> 
<script>
$(document).ready(function(){
    $('.f16big').click(function(){
        $('.change_fontSize').css('font-size','16px')
    })
    $('.f14mid').click(function(){
        $('.change_fontSize').css('font-size','14px')
    })
    $('.f12small').click(function(){
        $('.change_fontSize').css('font-size','12px')
    })
})
</script>
<?php 
$curlZhuantiList = isset($curlZhuantiList) ? $curlZhuantiList : array();
$curlArticleList = isset($curlArticleList) ? $curlArticleList : array();
$curlcaseList = isset($curlcaseList) ? $curlcaseList : array();
$zhuantiDrarr = isset($zhuantiDrarr) ? $zhuantiDrarr :array();
$zhuantiDrarr = $zhuanti->zhuanTiDoctorRefs;
$style = '';
if(empty($curlcaseList)  && empty($zhuantiDrarr))
{
	$style = "style='float:none; margin:0 auto'";
}?>
    <div class="hdf-doc">
        <div class="w960 clearfix">
            <div class="main-t6" <?=$style ?>>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:articlemodel.php

示例5: dirname

<?php include_once "_header.php" ?>
<?php GlobalTemplete::getQRCode4PhoneClient($curUser);?>
<div class="w960 bc" id="disease">
<!--tart banner -->
    <?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_ad', dirname(__FILE__).'/diseasepiece/i_ad.php')?>
	<!-- end banner -->
	<!-- start disease-menu -->
    <?php include_once "i_top.php" ?>
	<!-- end disease-menu -->
	<!-- start disease-content -->
	<div class="disease-content mt15">

			<!-- start h263 -->
			<div class="h263 clearfix">

					<!-- start disease-slide -->
                    <?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_focusmap', dirname(__FILE__).'/diseasepiece/i_focus.php')?>
					<!-- end disease-slide -->

					<div class="w666 fr">
					<!-- start disease-overview -->
						<?php include_once "i_outline.php" ?>
					<!-- end disease-overview -->

					<!-- start disease-searchTerm -->
					<?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_searchword', dirname(__FILE__).'/diseasepiece/i_searchword.php')?>
					<!-- end disease-searchTerm -->
					<?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_searchword_bottom_ad', dirname(__FILE__).'/diseasepiece/i_searchword_b_ad.php')?>
					</div>
            </div>
			<!-- end h263 -->
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:index.php

示例6:

<link href="http://i1.hdfimg.com/nav/nav.css?1303460346" rel="stylesheet" type="text/css"/>
<style type="text/css">
.wz {
	padding-left: 20px;
}
.jiantou {
	padding-left: 10px;
}
.zw {
	padding: 10px;
}
</style>
</head>

<body id='green'>
<?php GlobalTemplete::getHeadNav('common'); ?>
<div style="margin: 10px auto 0;width: 960px;">
<table width="960" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF">
	<tr>
		<td>
		<table width="749" cellpadding="0" cellspacing="0" border="0" align="center">
			<tr>
				<td valign="top">
				<table width="258" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
						<img src="images/jieshao/jies_01.gif" width="258" height="84" /></td>
					</tr>
					<tr>
						<td>
						<img src="images/jieshao/jies_03.gif" width="258" height="313" /></td>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:intro2.php

示例7:

    </tr>
    <tr>
        <td colspan="2" align="center">
            <table id="overseamanage" width="100%" border="0" cellspacing="0" cellpadding="2" style="display:none;">
                <tr>
                    <td width="45%" align="right" class="normalfont"></td>
                    <td width="55%" align="left" class="normalfont">
                    </td>
                </tr>
                <tr>
                    <td align="right" class="normalfont" width="50"></td>
                    <td align="right" class="normalfont">
                        <?php 
if (isset($overseaTree) && false == empty($overseaTree)) {
    zTreeNode::setTarget($overseaTree, 'detail');
    GlobalTemplete::getZTree($overseaTree);
}
?>
                    </td>
                    <td align="left" class="normalfont"></td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td colspan="2" align="center">
            <a href="/spider/showupload" target="detail">上传文件</a>
        </td>
    </tr>
</table>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:tree2.php

示例8:

    .gonglue a:hover {
        color: #333;
    }
    </style>

<div class="oldpatients_box">
    <div class="oldpatients">
        <div class="oldpatients-title">门诊/住院患者报到</div>
        <div class="oldpatients_con">
            <div class="tips" style="text-align:left; padding-left:186px;margin-bottom:-20px;">
                <?=$user->hasPatient()?"请选择报到患者":"请填写报到患者信息"?>
            </div>
            <div style="width:650px; margin:0 auto;">
                <p class="pt20"></p>
                <form action='dopatientsignin' method='post' name='form1' id='form1' class="fw-patients f14">
                    <?php  GlobalTemplete::getMultiPatient(array('user' => $user, 'patientId'=>'-1', 'thePatient' => $thePatient)); ?>
                    <input type="hidden" name="from" id="from" value="patientlist" />
                    <input type="hidden" name="forward" id="forward" value="<?=$forward?>" />
                    <input type="hidden" name="spaceId" id="spaceId" value="<?=$spaceId?>" />
                    <input type="hidden" name="newPatientTel" id="newPatientTel" value="<?=$thePatient['mobile']?>" />
                </form>
                <div style="padding-left: 10px; background-color: #eff8d6;" id="el_my_attachment"></div>
                <p></p>

                <div class="choose-btn pt20 pb10">
                    <a onclick="submitSignin('/user/choosepatient')" class="general-btn fb f14">
                        <span class="general-btn-l pl10">
                            <span class="general-btn-r pr10">
                                报&#12288;到
                            </span>
                        </span>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:showpatientlist.php

示例9:

				<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

示例10:

</div> 
<!--end scenterMain--> 
    <div class="scenter-corner-b clearfix"> 
        <img src="<?=$imgUrl?>/userspace/images/scenter23.gif" class="fl"/> 
        <img src="<?=$imgUrl?>/userspace/images/scenter24.gif" class="fr"/> 
    </div>
</div> 
<!--end scenterContent-->
</div> 
<!--end scenter-main--> 
<div class="scenter-bottom"></div>
</div> 
<?php 
GlobalTemplete::getGlobalFooter(); 
GlobalTemplete::getQRCode4PhoneClient($user);
?>
</body>
</html>

<div style="display:none">
<script src="http://s84.cnzz.com/stat.php?id=1915189&web_id=1915189" language="JavaScript"></script>
</div>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:22,代码来源:new_footer.php

示例11:

    <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

示例12:

        <a target="_blank" href="http://www.stluciabj.cn/"><img src="http://i1.hdfimg.com/homepage/images/overseas07.jpg"></a>
        <a target="_blank" href="http://www.hao123.com/?src=hdf"><img src="http://i1.hdfimg.com/homepage/images/overseas08.jpg"></a>
        </div>
    </div>
    <div class="clear"></div>
</div>
<div style="padding: 0px 10px 10px 10px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" class="tab_white">
	<tr>
		<td>
		<table align="center" border="0" cellpadding="0" cellspacing="0" width="960" style="border: 1px #ECECEC solid">
			<tr>
				<td style="background-color: #ECECEC" width="70" align="center">
				<a href="/info/links.php" target="_blank">友情链接</a></td>
				<td style="padding-left: 5px;">
				<a href="<?=GlobalTemplete::getAllHospitalList()?>" target="_blank">全国医院导航</a>
				<a href="http://health.sohu.com/" target="_blank">搜狐健康</a> 
				<a href="http://www.xywy.com" target="_blank">寻医问药网</a> 
				<a href="http://www.iiyi.com" target="_blank">爱爱医</a> 
				<a href="http://health.sina.com.cn/index.shtml" target="_blank">新浪健康</a> 
				<a href="http://www.china-obgyn.net" target="_blank">妇产科网</a> 
				<a href="http://www.yaolan.com" target="_blank">摇篮网</a> 
				<a href="http://www.fx120.net" target="_blank">放心医苑网</a> 
				<a href="http://www.familydoctor.com.cn" target="_blank">家庭医生在线</a> 
				<a href="http://www.csdn.net/" target="_blank">csdn</a> 
				<a href="http://www.99.com.cn/" target="_blank">99健康</a> 
				<a href="http://health.ifeng.com/" target="_blank">凤凰网健康</a> 
				<a href="http://baby.ifeng.com/" target="_blank">凤凰网亲子</a> 
				<a href="http://www.idna.com.cn/" target="_blank">iDNA</a> 
				<a href="http://www.xingshulin.com/" target="_blank">杏树林</a> 
				<a href="http://www.medlive.cn" target="_blank">医脉通</a> 
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:index_content_footer.php

示例13:

<?php GlobalTemplete::getHeadNav('www');?>
<div class="container">
  <div class="mian">
<?php include 'doctor/_header.php'; ?>
    <div class="luj" style="float:left;">
		&nbsp;&nbsp;当前位置:<a href="http://www.haodf.com" target="_blank">好大夫在线</a> &gt;
                <a href="<?=GlobalTemplete::getAllHospitalList()?>" target="_blank">医院列表</a> &gt;
<?php $province = ($doctor->hospitalfaculty->isNull()) ? '' : $doctor->hospitalfaculty->hospital->province
?>
				<a href="http://<?=(empty($provinceUrlTable[$province]) ? 'q.haodf.com' : $provinceUrlTable[$province])?>" target="_blank"><?=$province?></a> &gt;
<?php
  if(false == $doctor->hospitalfaculty->isNull()){
?>
				<a href="/hospital/<?=Codec::getInstance()->encodeId($doctor->hospitalfaculty->hospital->id)?>.htm" target="_blank"><?=$doctor->hospitalfaculty->hospital->commonName?></a> &gt;
				<a href="/faculty/<?=Codec::getInstance()->encodeId($doctor->hospitalfaculty->id)?>.htm" target="_blank"><?=$doctor->hospitalfaculty->name?></a> &gt;
              <a href="<?=$doctor->getUrl()?>"><?=$doctor->name?></a> &gt; 信息中心页
<?php }?>
	</div>
	<div class="cls"></div>
  </div>
</div>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:21,代码来源:content_bp_top.php

示例14: inityear

    <script type="text/javascript" src="http://i1.hdfimg.com/zixun/js/patient.39aca86c.js"></script>
    <script type="text/javascript" src="http://i1.hdfimg.com/zixun/js/city.b6ba4734.js"></script>
    <script type="text/javascript" src="http://i1.hdfimg.com/zixun/js/dateselect.js?1303386395"></script>
<SCRIPT LANGUAGE="JavaScript">
$(function(){
    inityear($("#dateyear"));
    initmonth($("#datemonth"));
});
</SCRIPT>
</head>
<body>
	<div class="checkPatients">
		<h3 class="checkPatients-title f16">请您选择相应的患者资料</h3>
        <form id="select_patient" name="select_patient" action="<?=$target?>" method="post">
        <input type="hidden" name="usesession" value='true'/>
            <?php GlobalTemplete::getMultiPatient(array('user' => $user, 'thePatient' => $thePatient, 'patientId' => $patientId, 'from' => $from)); ?>
            <div class="checkPatients-submit"><input type="button" onclick="submitForm();" value="确认提交"></div>
        </form>
    </div>
	<script type="text/javascript">
        function submitForm()
        {/*{{{*/
            if (checkFormInput("select_patient"))
            {
                document.select_patient.submit()
            }
        }/*}}}*/
	</script>
</body>
</html>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:patientselect.php

示例15:

    include 'showdetail_bigpipe_inc/pushback_pagelet.php';
    $id = 'bp_callingads';
    include 'showdetail_bigpipe_inc/pushback_pagelet.php';
    $id = 'bp_nospaceservice';
    include 'showdetail_bigpipe_inc/pushback_pagelet.php';
    $id = 'bp_footer';
    include 'showdetail_bigpipe_inc/pushback_pagelet.php';

    BigPipe::end();
}

include 'showdetail_bigpipe_inc/frame_end.php';

$theDoctor = $doctor;
//include dirname(__FILE__).'/_qrcode.inner.php'; 
GlobalTemplete::getQRCode4PhoneClient($curUser, $newUser);
?>

<?php 
//网站变灰悼念
if (in_array($doctor->id, array(89075))) { ?>
<script type="text/javascript" src="http://i1.hdfimg.com/doctorzone/js/grayscale.js?1122"></script>
<script type="text/javascript">
$(function(){
grayscale($("body"));
var grayscaleFilterUrl = "data:image/svg+xml;gbk,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"; 
$("body").css({"filter":("url(" + grayscaleFilterUrl + ")"),"filter":"gray","-webkit-filter":"grayscale(100%)"});
});
</script>
<?php } ?>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:showdetail.php


注:本文中的GlobalTemplete类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。