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


PHP Place::getPlaceContent方法代码示例

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


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

示例1: foreach

	<h3 class="d-articleClass-t d-tempTitle">文章分类</h3>
		<div class="d-hosBox-province">

            <?php foreach($lableList as $key => $lable){ ?>
                <?php if(isset($lableId) && $lableId == $key){ 
				?>
                    <a target="_blank" class="active" href="http://www.<?=URL_PREFIX?>haodf.com/jibing/<?=$disease->key?>/wenzhang.htm?lableid=<?=$key?>"><?=LableDefine::getLableTitle($key)?></a>
                <?php }else{ ?>
                    <a target="_blank" href="http://www.<?=URL_PREFIX?>haodf.com/jibing/<?=$disease->key?>/wenzhang.htm?lableid=<?=$key?>"><?=LableDefine::getLableTitle($key)?></a>
                <?php } ?>
            <?php } ?>
        </div>
        <div class="p15 f-yahei">
             <?php if(isset($isPGroup)){?>
                <!-- 碎片组模板:疾病页,disease;碎片模板:三级页疾病知识讲解区,disease_jbzs_doctor_jiangjie  beg-->
                   <?=Place::getPlaceContent('disease', 'disease_jbzs_doctor_jiangjie', $disease->key)?>
                <!-- end-->
             <?php }else{?>
		        <?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_jbzs_doctor_jiangjie', dirname(__FILE__).'/diseasepiece/i_jbzs_doctor_jiangjie.php')?>
             <?php }?>
		<ul class="mt30 doctorArticleList">
            <?php
            $i = 0;
            foreach($diseaseLableList as $type => $diseaseLable)
            {
				if(0 != $i & $i++%5 == 0)
				{
					echo('<li class="clearfix">&nbsp</li>');
				}

                if (strtolower($diseaseLable['type']) == DiseaseLable::LABLE_ZHUANTI)
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:article_content.php

示例2:

<link href="http://i1.hdfimg.com/css/css.css?1303386395" rel="stylesheet" type="text/css" />
<link href="http://i1.hdfimg.com/css/hospital_index2.css?2011" rel="stylesheet" type="text/css" />
<link href="http://i1.hdfimg.com/nav/nav.css?1303460346" rel="stylesheet" type="text/css"/> 
<script type="text/javascript" src="http://i1.hdfimg.com/js/jquery-1.4.2.min.js"></script>
</head>
<body id='blue'>
<?php 
$option['navType'] = 's_yiyuan';
$option['activeColor'] = 'active_blue';
$option['subtitle'] = GlobalTemplete::CURRENT_PAGE_LOOKING_FOR_DOCTOR;
GlobalTemplete::getHeadNav('www', $option);  
?>
<center>
<?php 
echo AdWord::getHtmlContentByHospital('hospital_ba', AdWord::OBJECT_0);
echo Place::getPlaceContent('ads', 'disease_ads_one', 'ad_hospital_one');
?>
<div id="m_search_disable"></div>
<div id="m_search_box"></div>
<div id="m_body_html">
    <div id="m_body_html_ctt" class="p_disease_index">
        <div class="m_left_270">
            <div class="m_box_blue">
                <div class="bxhd">
                    <div class="lf"></div>
                    <div class="rt"></div>
                </div>
                <div class="bxmd">
                    <div class="ct">
                        <div class="jeshi_tree">
							<div id="el_tree_1000000" class="v">
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:hospitallist.php

示例3: if

<!-- start banner -->
  <?php if(isset($isPGroup)){?>
           <?=Place::getPlaceContent('disease', 'disease_ad', $disease->key)?>
  <?php }else{?>
           <?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_ad', dirname(__FILE__).'/diseasepiece/i_ad.php')?>
  <?php }?>
<!-- end banner -->
<!-- start disease-menu -->
<div class="disease-menu clearfix mt15">
    <?php if(isset($isPGroup)){?>
           <?=Place::getPlaceContent('disease', 'disease_icon', $disease->key)?>
    <?php }else{?>
        <h2 class="fl heartDisease" style="<?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_icon', dirname(__FILE__).'/diseasepiece/i_icon.php')?>"><?=$disease->name?></h2>
    <?php }?>
    <ul class="fr disease-menu-list">
        <li style="width:114px;"><a target="_blank" href="<?=DiseaseController::getChildUrl($disease->key, 'index')?>">疾病首页</a></li>
        <li style="width:114px;"><a target="_blank" href="<?=DiseaseController::getChildUrl($disease->key, 'article')?>" class="<?=isset($articlePageStatus) ? $articlePageStatus : ''?>">疾病知识</a></li>
        <li style="width:114px;"><a target="_blank" href="<?=DiseaseController::getChildUrl($disease->key, 'zhuanti')?>" class="<?=isset($zhuantiPageStatus) ? $zhuantiPageStatus : ''?>">专题报道</a></li>
        <li style="width:114px;"><a target="_blank" href="<?=DiseaseController::getChildUrl($disease->key, 'case')?>" class="<?=isset($zixunPageStatus) ? $zixunPageStatus : ''?>">咨询医生</a></li>
        <li style="width:114px;"><a target="_blank" href="<?=DiseaseController::getChildUrl($disease->key, 'doctor')?>" class="<?=isset($doctorPageStatus) ? $doctorPageStatus : ''?>">医生推荐</a></li>
        <li style="width:114px;"><a target="_blank" href="<?=DiseaseController::getChildUrl($disease->key, 'hospital')?>" class="<?=isset($hospitalPageStatus) ? $hospitalPageStatus : ''?>">医院推荐</a></li>
    </ul>
</div>
<!-- end disease-menu -->

<!-- start d-nav -->
<div class="d-nav mt15">
    <span>当前位置:</span> <a href="http://www.<?=URL_PREFIX?>haodf.com">好大夫在线</a> &gt; <a href="/jibing/list.htm">疾病</a> &gt; <a href="<?=DiseaseController::getChildUrl($disease->key, 'index')?>"><?=$disease->name?></a> &gt; <span class="green"><?=isset($pageName)? $pageName:""?></span>
</div>
<!-- end d-nav -->
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:a_top.php

示例4: dirname

<?php include_once dirname(__file__).'/../header.php';?>
<link href="http://i1.hdfimg.com/css/base.css?20121018" rel="stylesheet" type="text/css" />
<div id="onLineDoctor" style="display:none;"></div>
<!--start izixun-->
<div class="izixun">
<?php //2013-04-26 ARK-5937 include_once dirname(__file__).'/_top_disease_search.php';
  echo  Place::getPlaceContent('ads', 'disease_ads_one', 'ad_zixun_one'); 
  echo AdWord::getHtmlContentByHospital('zixun_ba', AdWord::OBJECT_0);
?>

<!--start izixun-content-->
<div class="izixun-content clearfix mt10">
<?php include_once dirname(__file__).'/../left_category.php';?>


	  <!--start izixun-content-main-->
	  <div class="izixun-content-main fl">
		<?php include_once('_right_index.php');?>
	  </div>
	  <!--start izixun-content-main-->
	</div>
	<!--end izixun-content-->
 </div>
 <!--end izixun-->

<div class="mb10"></div>
<?php include_once dirname(__file__).'/../footer.php';?>
<?php GlobalTemplete::getBubble(); ?>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:28,代码来源:index.php

示例5: index

    public function index($request,$response)
    {/*{{{*/
        /* bigpipe用来做切换,true表示关闭,以普通模式浏览 */
        $response->nobp = ($request->nobp == null) ? false : true;
        //搜索
        $response->searchWords = $this->getHotSearchWords();
        List($blueImage, $redImage) = $this->getHomeBigImage();
        $response->blueImage = $blueImage;
        $response->redImage = $redImage;
        //在线专家
        $response->onLineDoctorList = DoctorClient::getInstance()->getOnLineDoctor4HomePage();

        //按医院找大夫
        $provList = $this->getProvList();
        $provKeyList = $this->getProvKey();
        $hospitalIds = array();
        foreach ($provList as $p => $prov)
        {
            foreach ($prov as $h => $hospital)
            {
                $hospitalIds[] = $h;
            }
        }
        $response->hospitalList = DAL::get()->find('hospital', $hospitalIds);
        $response->provList = $provList;
        $response->provKeyList = $provKeyList;

                
        //咨询专家 咨询列表
        $response->doctorPatientSets = $this->getFlowList4HomePage(self::THREADCATEGORY_COUNT, self::THREAD_COUNT);
        $response->statistics = SpaceClient::getInstance()->getStatistics();

        //咨询专家 电话咨询列表
		$recommendDoctorList = PaymentClient::getInstance()->getRecDoctorList4HomePage(10, 3);
        $response->recommendDoctorList = $recommendDoctorList; 
        $spaceUserIds = $doctorIds = array();
        foreach ($recommendDoctorList as $facultyInfo)
        {
            $facultyDoctorInfo = isset($facultyInfo['doctor']) ? $facultyInfo['doctor'] : array();
            foreach ($facultyDoctorInfo as $doctor)
            {
                $spaceUserIds[] = $doctor->getSpace()->user->id;
                $doctorIds[] = $doctor->id;
            }
        }

		$productList = $lastOrders = array();
		if(!empty($spaceUserIds) && !empty($doctorIds))
		{
			//电话咨询产品
			$productList = ProductClient::getInstance()->getProductsBySpaceIds($spaceUserIds, array(ServiceDef::TYPE_TELORDER));
			//取最新订单
			$lastOrders = PaymentClient::getInstance()->getLatestServiceList($doctorIds);
		}
		$response->productList = $productList;
        $lastOrderGroupBySpace = array();
        foreach ($lastOrders as $lastOrder)
        {
            if ($lastOrder->getSpace() instanceof Space)
            {
                $lastOrderGroupBySpace[$lastOrder->getSpace()->id] = $lastOrder;
            } 
        }
        $response->lastOrderGroupBySpace = $lastOrderGroupBySpace;

        //预约加号
        $doctorNumber = PlussignChannelClient::getInstance()->getPlusSignDoctorCount();//全国开通加号医生总数目
        $patientNumber = SpaceClient::getInstance()->getPlusSignPatientCount();
        $patientOrderList = PatientClient::getInstance()->getPatientOrderList();
        $response->doctorNumber = $doctorNumber;
        $response->patientNumber = $patientNumber;	
        $response->patientOrderList = $patientOrderList;

        //分享经验
        $commentCount = DoctorCommentClient::getInstance()->getCommentCount();
        $response->thankListCount = isset($commentCount['letter']) ? $commentCount['letter'] : 0;
        $response->doctorCommentListCount = isset($commentCount['comment']) ? $commentCount['comment'] : 0;

        $expList = DAL::get()->find_all_for_top('cureexp', 4);
        $response->expList = $expList;

        $thankList = DAL::get()->find_all_for_top('curethankletter', 4);
        $response->thankList = $thankList;        

        //出诊 停诊信息
        $response->hospitalAnnounceList = HospitalClient::getInstance()->getHospitalAnnounceList4HomePage(3);
        $response->cmslinkList = CmsClient::getInstance()->getCmsLinkList(self::CMS_COUNT);

        //好大夫动态
        $response->latestList = SpaceLogClient::getInstance()->getLatestList(self::LAST_COUNT);
        $response->images = $this->_images;

        //礼物动态
        $spaceId = 0;
        $result = PresentClient::getInstance()->showPresentBanner($spaceId, 12, $request->from, array(), false);
        $response->presentOrders = $result['presentOrders'];

        //最新专家文章
        $limit = self::ARTICLE_COUNT - substr_count(Place::getPlaceContent('haodf_index','wenzhang_url','onlyone'), '<li>');
        $articleList = ArticleClient::getInstance()->getArticleList4Index($limit);
//.........这里部分代码省略.........
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:101,代码来源:indexcontroller.php

示例6:

						</td>
						<td class="middle_right">&nbsp;</td>
					</tr>
					<tr>
						<td class="bottom_left"></td>
						<td class="bottom_middle"></td>
						<td class="bottom_right"></td>
					</tr>
					<tr>
						<td height="8" colspan="3"></td>
					</tr>
				</table>
				</td>
				<td width="8" valign="top"></td>
				<td width="365" valign="top">
                <?php echo  Place::getPlaceContent('ads', 'disease_ads_one', 'ad_faculty_one');
                      echo AdWord::getHtmlContentByHospital('faculty_bu', $faculty->id);
                ?>
				<?php include '_400.php' ?>
				<?php include_once '_side_casedoctor.php' ?>
				</td>
			</tr>
		</table></td>
	</tr>
</table>

<?php GlobalTemplete::getGlobalFooter(); ?>
<?php GlobalTemplete::getBubble(); ?>
</div>
</body>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:caselist.php

示例7:

<?php echo Place::getPlaceContent('ads', 'disease_ads_one', 'ad_index_one'); ?>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:1,代码来源:index_content_slide.php

示例8: if

<?php include_once "_header.php";
?>
<div class="w960 bc" id="disease">
    <?php include_once "a_top.php" ?>
	<div class="clearfix mt15">
		<div class="w650 fl">
            <?php if(isset($isPGroup)){?>
                <?=Place::getPlaceContent('disease', 'disease_zxys', $disease->key)?>
                <?=Place::getPlaceContent('disease', 'disease_leftbanner', $disease->key)?>
            <?php }else{?>
                <?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_zxys', dirname(__FILE__).'/diseasepiece/a_titles.php')?>
		      	<!-- start banner -piece-->
		    	<?=SpiderClient::getInstance()->showPiece($channelId, $isPreview, 'disease_leftbanner', dirname(__FILE__).'/diseasepiece/z_leftad.php')?>
		    	<!-- end banner -->
            <?php }?>
            <?php include_once "a_content.php" ?>
		</div>
		<div class="w300 fr">
		 <?php include_once "article_zixun.php" ?>
		 <?php include_once "zhuanti_zixun.php" ?>
	 	 <?php include_once "a_right.php" ?>
		 </div>
	</div>
</div>
<a class="toTop none" href="#top">
    <span class="pa toTop-text">·µ»Ø¶¥²¿</span>
</a>
<script type="text/javascript"  src="http://i1.hdfimg.com/www/spider/new_disease.js"></script>
<?php if(isset($isPGroup) && $isPGroup)
{
    globalTemplete::getEditPlaceBox();
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:ask.php

示例9: empty

<form action="<?php 
echo $router->urlfor('index/search');
?>
" class="f14">
<div class="ui-widget">
    <label for="tags"><span class="searchItem-span fb">按疾病查找</span> </label>
    <input id="tags"  type="text" name="diseasename" value="<?php 
echo empty($diseasename) ? '请输入与疾病相关的关键词' : $diseasename;
?>
"  class="gray2 searchItem-txt">
                    <input type="hidden" name="province" value=""/>
                    <input type="hidden" name="facultyname" value=""/>
                    <input type="hidden" name="hospitalname" value=""/>
                    <input type="submit" value="搜索" class="searchItem-submit"/>
                    <?php 
echo Place::getPlaceContent('tel_content_mgr', '400_searchbox_right', 'onlyone');
?>
 
</div>
                    <ul class="clearfix searchItem-hotCase f12">                        <li class="green">热门疾病:</li>
                    <?php 
foreach ($hotDiseaseNameList as $_diseasename) {
    ?>
                        <li><a href="<?php 
    echo $router->urlfor('index/search', array('diseasename' => $_diseasename, 'province' => '', 'facultyname' => '', 'hospitalname' => '', 'nowpage' => 1));
    ?>
"><?php 
    echo $_diseasename;
    ?>
</a></li>
                         
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:search.php

示例10:

 </h1>
<?php 
    if ($canShowCharge) {
        ?>
        <img src="http://i1.hdfimg.com/doctorzone/images/zixun_icon2.png" align="absmiddle">
<?php 
    }
    if ($space->id != $user->id && $canShowTel) {
        ?>
         <img src="http://i1.hdfimg.com/doctorzone/images/zixun_icon4.png" align="absmiddle">
<?php 
    }
    if ($space->id != $user->id && $canShowPresent) {
        ?>
         <img src="http://i1.hdfimg.com/doctorzone/images/zixun_icon9.png" align="absmiddle">
<?php 
    }
    if ($canShowPrivated) {
        ?>
        <img src="http://i1.hdfimg.com/doctorzone/images/zixun_icon5.png" align="absmiddle">
<?php 
    }
    ?>
    <?php 
    if (mb_strlen($flowTitle) < 14 && false == $space->isPhoneOpenedForFront()) {
        echo Place::getPlaceContent('tel_content_mgr', 'spaceflowtitle', 'onlyone');
    }
    ?>
</div>
<?php 
}
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:_title.php

示例11:

						<!-- start advisoryOnline -->
							<?php include_once "i_advisoryonline.php"?>

						<!-- end advisoryOnline -->
                         <?=Place::getPlaceContent('disease', 'disease_sf', $disease->key)?>
                         <?=Place::getPlaceContent('disease', 'disease_hyh', $disease->key)?>
					</div>
					<!-- end d-side -->
				</div>
			<!-- end d-mainContent -->

		</div>
		</div>
		<!-- end disease-content -->	
		<!-- start banner 广告piece-->
            <?=Place::getPlaceContent('disease', 'disease_middle_ad', $disease->key)?>
		<!-- end banner -->

		<!-- start d-introExpert -->
		<?php include_once "i_experts.php" ?>
		<!-- end d-introExpert -->

		<!-- start d-introHos -->
		<?php include_once "i_hospitals.php"?>
		<!-- end d-introHos -->

</div>

<a class="toTop none" href="#top">
	<span class="pa toTop-text">返回顶部</span>
</a>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:diseaseindex.php

示例12: foreach

            <?php
            foreach ($rightArticleList as $article)
            {
            ?>
                  <li>  <a target="_blank" href="<?=$article->getUrl()?>"><?=$article->title.Article::$sourceDesc[$article->source]?></a></li>
            <?php 
            }
?>
		</ul>
		</div>
</div>
<!--end d-sideBox -->
<?php } ?>

 <?php if(isset($isPGroup)){?>
                <?=Place::getPlaceContent('disease', 'disease_jdwd_page', $disease->key)?>
            <?php }else{?>

<?php if(isset($rightThread) && false == empty($rightThread)) { 
?>
<!--start d-sideBox -->
	<div class="d-sideBox mt10">
		<h3 class="d-sideBox-t gray f14">经典问答</h3>
			<div class="p15">
			<ul class="dd-articleBox-list">
            <?php
            foreach ($rightThread as $thread)
            {
            ?>
                  <li>  <a target="_blank" href="<?=$thread->url?>"><?=$thread->title?></a></li>
            <?php 
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:article_zixun.php

示例13:

<div class="red bold">
<?php echo Place::getPlaceContent('space_content_mgr','showtelaccount_tip','onlyone'); ?>
</div>
<br/>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:4,代码来源:payment.php


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