Example #1
0
			<div class="phone-item-inner pt20 clearfix pb20">
				<!--start phone-list-box-->
				<div class="phone-list-box fl mr30">
					<div class="fl subLogo subLogo-position1 mr20"></div>
					<div class="oh">
						<h3 class="fn f36 phone-blue f-yahei">查询</h3>
						<p class="f16 phone-gray">站在挂号处前不再迷茫,<span class="phone-blue fb">好评医生</span>一查便知</p>
					</div>
				</div>
				<!--end phone-list-box-->
				<!--start phone-list-box-->
				<div class="phone-list-box fl mr30">
					<div class="fl subLogo subLogo-position2 mr20"></div>
					<div class="oh">
						<h3 class="fn f36 phone-blue f-yahei">咨询</h3>
                        <p class="f16 phone-gray">免费咨询<span class="phone-blue fb"><?=XString::setSearchText()?>万位</span>正规医院专家</p>
					</div>
				</div>
				<!--end phone-list-box-->
				<!--start phone-list-box-->
				<div class="phone-list-box fl">
					<div class="fl subLogo subLogo-position3 mr20"></div>
					<div class="oh">
						<h3 class="fn f36 phone-blue f-yahei">专家回复</h3>
						<p class="f16 phone-gray"><span class="phone-blue fb">及时查看</span>专家本人的回复</p>
					</div>
				</div>
				<!--end phone-list-box-->
				<!--start phone-list-box-->
				<div class="phone-list-box fl mr30 mt20">
					<div class="fl subLogo subLogo-position4 mr20"></div>
    </div>
    <?php include_once '_left_zhuanjiaguandian.php';?>
    <div class="cls2"></div>
    <?php if($diseaseContent['fld_diseasecontent']){?>
      <div class="jbnew_l_t_l_bar">
        <div class="jbnew_l_t_l_tit">什么是<?=$disease->name?>?</div>
        <div class="jbnew_l_t_l_con">  <?=mb_ereg_replace(' ','',strip_tags($diseaseIntro))."。";?>
            <a href="http://www.<?=URL_PREFIX?>haodf.com/jibing/<?=$disease->key?>/jieshao.htm" class="green_jb">看详情>></a>
        </div>
      </div>
      <?php }?> 
    <div id="onLineDoctor" style="display:none;"></div> 
  </div>
<script type="text/javascript">
var element = document.getElementById('searchtxt')
element.value = "在此咨询,<?=XString::setSearchText()?>万名正规医院大夫给您网络就医指导...";
var isTxtEmpty = 0;
function clearInput()
{
	if (isTxtEmpty < 1)
	{
		element.value = '';
	}
	isTxtEmpty = 1;
	
}
function toAskPage(url)
{
	if (element.value.length < 5 || isTxtEmpty<1) { alert("您的标题过于简单,请在标题中概述您的问题"); return false; }
	window.location.href=url+element.value;
}
	/** вия╞йврЁ */
	public function index($request, $response)
	{/*{{{*/
		$response->case_type_id = $request->case_type_id;
		$this->_setPublicVars($request, $response);
		/** ╣╠г╟я║тЯ╣дcaseTypeId */
		$categoryId = $caseTypeId = $request->getRequest('case_type_id', 'all');
		$response->caseTypeId = $caseTypeId;
        $response->statistics = SpaceClient::getInstance()->getStatistics();
        $this->getZixunInfoWithoutCategoryId($request, $response);
        if ($response->category->isNull() || 0 == $response->category->id)
        {
            //index
            $response->SEOTitle = 'мЬиовия╞тзоъв╗╪р_вия╞р╫т╨тзоър╫иЗ_╨ц╢С╥Ртзоъ';
            $response->keywords = 'вия╞р╫иЗё╛вия╞тзоъв╗╪р';
            $response->description = '╨ц╢С╥Ртзоъсп'.XString::setSearchText().'мР╤Юр╫иЗ╦Ы╬щдЦ╣д╡║гИ╦Ьп╘оЮс╕╣джнаф╫╗рИё╛мЬиовия╞тзоър╫иЗё╛вия╞р╫т╨тзоъв╗╪рё╛╪╡╡║╡Ия╞ё╛мЬиовия╞╪╡╡║ё╛вия╞р╫иЗв╗╪р╬мх╔╨ц╢С╥Ртзоъ║ё';
        }
        else
        {
            //category
            $response->SEOTitle = $response->category->name.'вия╞р╫иЗ_'.$response->category->name.'тзоъвия╞в╗╪р_╨ц╢С╥Ртзоъ'; 
            $response->keywords = $response->category->name.'вия╞р╫иЗё╛'.$response->category->name.'вия╞в╗╪р';
            $response->description = '╨ц╢С╥Ртзоъ'.$response->category->name.'вия╞╩Аспх╗мЧв╗╪р╦Ы╬щдЦ╣д╡║гИлА╧╘╨оюМ╣д╣джнаф╫╗рИё╛'.$response->category->name.'тзоъвия╞р╫иЗё╛'.$response->category->name.'тзоъвия╞в╗╪рё╛'.$response->category->name.'мЬиовия╞р╫т╨р╫иЗ╬мх╔╨ц╢С╥Ртзоъ║ё';
        }
	}/*}}}*/
Example #4
0
 <form method="post" action="" id="zixun_ask_form_bottom" name="zixun_ask_form_bottom">
<input type="hidden" name="srcflag" value="15" />
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
<!--    "if(this.value=='在此咨询,5万名正规医院大夫给您网络就医指导...'){this.value='';}"-->
      <td width="325" valign="top"><textarea onclick="stopInterval();"  rows="" cols="" id="searchtxt" name="searchtxt"></textarea></td>
      <td width="120" valign="top"><input type="image" onclick="toAsk();" width="113" height="62" src="http://i1.hdfimg.com/homepage/images/index_cen_72.gif" /></td>
      <td valign="top" style="font-family:'微软雅黑','黑体'; font-size:16px; font-weight:bold; line-height:30px;">
    
      可咨询全国专家 <span class="orange2"><?=$statistics['spaces'] ?></span>位<br />
      已回复患者问题 <span class="orange2"><?=$statistics['spacereplythreads']?> </span>个</td>
     
    </tr>
  </table>
  </form>
</div>
<script type="text/javascript">
var text = '在此咨询,<?=XString::setSearchText()?>万名正规医院大夫给您网络就医指导...';
function toAsk(){
    var formObj = document.getElementById('zixun_ask_form_bottom');
    threadtitle = document.getElementById('searchtxt').value;
    if("在"==threadtitle.substr(threadtitle,1)){
    	threadtitle="";
        }
    formObj.action = "http://<?=URL_PREFIX?>zixun.haodf.com/ask.php?srcflag&from=zixunhaodf&case_title="+threadtitle;
    //formObj.target = '_blank';
    formObj.submit();
}
</script>
<script src="http://i1.hdfimg.com/homepage/js/function.js?20140711" type="text/javascript"></script>