<script type="text/javascript" src="http://i1.hdfimg.com/space/present/present.js?2012072501"></script> <div class="hdf-doc"> <h1 class="w960 mb10 xianxin_topic_header"><?=$zhuanTi->title ?></h1> <div class="w960 mb10"> <div class="p10 clearfix xianxin_topic_intr"> <?php $leadImg = $zhuanTi->leadimg; if(empty($leadImg) == false) { $leadImgUrl = TuClient::getInstance()->getThumbnailUrl($zhuanTi->leadimg, 386, 264, TuClient::TYPE_ZOOM); ?> <img src="<?=$leadImgUrl ?>" alt="" class="fl xianxin_topic_img mr10 xianxin_topic_img_size"/> <?php }?> <div style="overflow:hidden"> <h2 class="gray"> </h2> <p class="t2 lh180 pt10"><?=Seolink::outPut(nl2br($zhuanTi->leadin)) ?></p> </div> </div> </div> <div class="w960 clearfix"> <div class="main-t6"> <?php $i = 0; foreach($typeidList as $type) { if($type->flag == 1)continue; $i ++; $topicids = explode(',', $type->topicids); $topicList = DAL::get()->find('topic', $topicids); ?>
<input name="title" type="text" id="title" value="<?php echo $hospitalAnnounce->title; ?> " size="60"> <input name="id" type="hidden" id="id" value="<?php echo $hospitalAnnounce->id; ?> " size="60"> </td> </tr> <tr> <td align="right" valign="top">内容</td> <td> <div style="float:left"> <textarea name="content" cols="60" rows="25" id="content"/><?php echo Seolink::rip($hospitalAnnounce->content); ?> </textarea> </div> <div style="padding-left:20px; float:left;"><?php echo nl2br($contentLink); ?> </div> </td> </tr> <tr> <td align="right" valign="top"> </td> <td><input name="scheduleUpdateTime" type="checkbox" id="UpdateScheduleUpdateTime" value="1"> 同时更新医院<span class="STYLE1">出诊</span>信息更新时间</td> </tr> <tr>
protected static function getLinkData() { if (!self::$linkdata) { self::$linkdata = array(); self::$linkdata = DiseaseClient::getInstance()->getSeoLinkList(); } }
public function addReTopic($request, $response) { /*{{{*/ $groupIds = $request->getRequest('groupIds', array()); $groupList = DAL::get()->find('regroup', $groupIds); $article = DAL::get()->find('article', $request->articleId); if (false == $article->isNull()) { if (false == empty($groupIds) && false === array_search('refused', $groupIds)) { foreach ($groupList as $group) { if (false == $group->isNull()) { $reBoard = DAL::get()->find('reboard', $group->reboardId); if ($reBoard->isNull()) { continue; } $content = htmlspecialchars_decode(Seolink::directOutPut($article->content)); if (strpos($this->space->extraOptions, 'ArticleEmbeddedLink=0') === FALSE) { $content = preg_replace('/^(.{300}.*?)\\<(br|\\/p|\\/div|\\/center)/is', '\\1' . $this->space->getFullUrl() . '<\\2', $content); } $content = preg_replace("/<\\/?a[^>]*>/i", "", $content); $content = $content . "\n\n<span style='color:#007BC1'>希望此文对大家有帮助,欢迎大家在这里跟帖讨论,发表自己的心得与感想。祝大家早日康复!</span>"; ResidentEvilClient::getInstance()->createTopic($group->space, $reBoard, $group->space->user, $article->title, $content, $article->id); } } } else { ArticleClient::getInstance()->modifyArticle($article->id, array('reproduce' => Article::REPRODUCE_REFUSED)); } } $response->setRedirect($response->router->urlfor('adminarticle/newpostcomplete', array('id' => $article->id))); }
$value = $educateGrade == '无职称' ? '' : $educateGrade; $educateGrade = $educateGrade == '无职称' ? '未选择(不显示)' : $educateGrade;?> <option value="<?=$value?>" <?=$selected ? 'selected' : ''?>><?=$educateGrade?></option> <?}?> </select> </p> <div class="clearfix pb10"> <p class="fl mr5">擅长</p> <p class="fl"> <textarea name="var[specialize]" class="text_write2 f12 p5"><?=$space->getInfoDataByKey('specialize')?></textarea> </p> </div> <div class="clearfix pb10"> <p class="fl mr5">介绍</p> <p class="fl"> <textarea name="var[intro]" class="text_write2 f12 p5"><?=Seolink::rip($space->getInfoDataByKey('intro')) ?></textarea> </p> </div> <div class="pb10 pl30"> <a class="lit_btn" href="javascript:;" id="submit_doctorinfo" onclick='return submitform("ax_post_doctorinfo")'>确定</a> </div> <span class="orange1 f12 ml30">注:修改审核后生效(1个工作日) </span> </div> </form> <div class="pl20 oh zoom"> <p class="orange1">温馨提示:</p> <p class="gray2"> 医生信息将会同步更新至您的个人网站、好大夫在线、新浪、搜狐、人民网、新华网等数十家网站,全面展现个人品牌形象。</p> </div> </div> </div> <script src="http://i1.hdfimg.com/doctorzone/js/doctor/adminsetup.js?<?=$imgTimestamp?>" type="text/javascript"></script>
<?=$delim?><a href='<?=$tfaculty->getUrl()?>' target='_blank' class='blue'><?=$tfaculty->name?></a> <font class='gray'>(<?=$tfaculty->hospitalCount?>家医院,<?=$tfaculty->doctorCount?>位医生)</font> <?php $delim = ','; } ?> </td> </tr> <tr><td colspan="2" height="10"></td></tr> <?php } ?> <?php if($faculty->intro) { ?> <tr> <td width="3%"></td> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="about"> <tr> <td colspan="2" class="about_top"><?=XString::truncate(nl2br(Seolink::output($faculty->intro)), 270)?></td> </tr> <tr> <td colspan="2" class="about_top more"><a href="<?=$faculty->getInfoUrl()?>" class="blue_link">详细介绍>></a></td> </tr> </table></td> </tr> <tr><td colspan="2" height="10"></td></tr> <?php } ?> <?php if (count($diseaseFacultyList) > 0 ) {?> <?php foreach ($diseaseFacultyList as $diseaseFaculty) { if ($diseaseFaculty->disease->name) { if (isset($jibing_str_top) == false) { $jibing_str_top = '';
<td><input name="name" type="text" id="name" value="<?php echo $hospitalFaculty->name; ?> " size="60"></td> </tr> <tr> <td align="right">医院科室电话</td> <td><input size="60" name="vars[phone]" type="text" value="<?php echo $hospitalFaculty->phone; ?> " /></td> </tr> <tr> <td align="right">介绍</td> <td><textarea name="vars[intro]" cols="60" rows="10"><?php echo Seolink::rip($hospitalFaculty->intro); ?> </textarea></td> </tr> <tr> <td align="right">好大夫官方结论</td> <td><textarea name="vars[conclusion]" cols="60" rows="4" id="HospitalFacultyConclusion"><?php echo $hospitalFaculty->conclusion; ?> </textarea></td> </tr> <tr> <td align="right">科室分档</td> <td><select name="vars[level]" id="HospitalFacultyLevel"> <option value="0" <?php echo $hospitalFaculty->level == HospitalFaculty::FACULTY_LEVEL_0 ? "selected" : "";
<div class="left"> <div class="con"> <h5><?=$zhuanTi->title?></h5> <ul> <li> <p> <?=Seolink::outPut(nl2br($zhuanTi->leadin))?> </p> </li> </ul> </div> <div class="con2"> </div> <!-- 专家观点 --> <div class="box boxb"> <div class="wt" style=" height:27px; line-height:27px; border-bottom:1px solid #65C9FF; "> <div class="m img_article"> <a style="text-decoration: none; font-size:14px; font-weight:bold;" target="_blank" href="http://www.haodf.com/jibing/<?=$disease->key?>/wenzhang.htm"> 专家观点 </a> </div> </div> <div class="wm"> <div class="ct"> <?php if(empty($curlzhuantiList) == false) { foreach($curlzhuantiList as $zhuanti) { ?> <div class="line_A">
echo $hospital->featuredFaculties; ?> " size="60"></td> </tr> <tr> <td align="right" valign="top">简介</td> <td><textarea name="vars[intro]" cols="100" rows="10" style="font-size:12px;"><?php echo Seolink::rip($hospital->intro); ?> </textarea> </td> </tr> <tr> <td align="right" valign="top">好大夫官方结论</td> <td><textarea name="vars[conclusion]" cols="100" rows="6"><?php echo Seolink::rip($hospital->conclusion); ?> </textarea></td> </tr> <tr> <td align="right" valign="top">是否完成SEO</td> <td> <input name="vars[isActivated]" type="radio" value="1">已上线 <input name="vars[isActivated]" type="radio" value="0">未上线 </td> </tr> </table> <div align="center"> <input type="submit" name="Submit" id="Submit" onclick='this.style.visibility="hidden";' value="确定" ><font color="red"><?php echo $msg; ?>
public function getDoctorInfo($doctorId) {/*{{{*/ $doctor = DAL::get()->find('doctor', $doctorId); $res = $this->checkDoctorAndSpace($doctor); if($res) { $this->setErrorCode($res); return 0; } $doctorInfo = array(); $doctorInfo['name'] = $doctor->space->name; $doctorInfo['sex'] = $doctor->sex; $doctorInfo['birthday'] = $doctor->birthday; $doctorInfo['grade'] = $doctor->grade; $doctorInfo['educateGrade'] = $doctor->educateGrade; $doctorInfo['specialize'] = $doctor->specialize; $doctorInfo['intro'] = Seolink::rip($doctor->intro); $this->content = $doctorInfo; }/*}}}*/
<td class="navbar_focus_middle"><?=$hospital->commonName?>出诊/停诊信息</td> <td class="navbar_focus_right"></td> </tr> </table> </td> <td class="top_right"> </td> </tr> <tr> <td class="middle_left"></td> <td> <table border="0" cellpadding="0" cellspacing="0" class="czsj" width="100%"> <tr> <td colspan="3"> <?php Seolink::$_normalize_style = "style='color:#098BCE'"; echo nl2br(Seolink::output($hospital->hospitalAnnounce->content, 'blue')); ?> </td> </tr> </table> </td> <td class="middle_right"></td> </tr> <tr> <td class="bottom_left"></td> <td class="bottom_middle"></td> <td class="bottom_right"></td> </tr> <tr> <td colspan="3" height="8"></td> </tr>
</span> </p> <p class="clearfix pb25"> <span class="fl w70 ">擅长:</span> <span class="fl ml5"> <textarea class="text_write2 f12 p5" name="var[specialize]"><?php echo $space->getInfoDataByKey('specialize'); ?> </textarea> </span> </p> <p class="clearfix"> <span class="fl w70 ">介绍:</span> <span class="fl ml5"> <textarea class="text_write2 f12 p5" name="var[intro]"><?php echo Seolink::rip($space->getInfoDataByKey('intro')); ?> </textarea> </span> </p> </div> <p class="pl50 ml25"><input class="submit_btn" type="submit" value="确定"/></p> </form> </div> </div> <!--右侧 end--> <?php $scripts[] = 'js/jquery-ui-1.8/js/jquery-ui-1.8.custom.min.js'; $scripts[] = 'js/jquery-ui-1.8/js/ui.datepicker-zh-CN.js'; //$scripts[] = 'doctorzone/js/jQuery.SelectBox.js';
else { var formObj = document.getElementById('toaskform'); formObj.action = 'http://zixun.haodf.com/ask.php?case_title='+threadtitle; formObj.target = '_blank'; formObj.submit(); } } </script> <div id="banner"></div> <div id="ad"> <div class="left"> <div class="line"> <h1><?=$zhuanTi->title?></h1> <h1><p><?=Seolink::outPut(nl2br($zhuanTi->leadin))?></p></h1> </div> <ul> <?php $i = 0; foreach($typeidList as $typeid) { if ($typeid->flag) continue; if (4 == $i++) echo '</ul><ul>'; ?> <li>·<a href="#typeid_<?=$typeid->id?>" class="ad_tit"><?=mb_substr($typeid->title, 0, 17, 'gbk')?></a></li> <?php } ?> </ul> </div> <div class="right">
?> <p class="tr"><a href="<?php echo $article->space->url; ?> huanyouhui/share2group.html?articleid=<?php echo $article->id; ?> " class="edit3 f12 fs">分享到我的患友会>></a></p> <?php } ?> </div> <div class="pb20 article_detail" style="word-wrap: break-word;"> <?php $content = htmlspecialchars_decode(Seolink::outPut($article->content)); if (strpos($space->extraOptions, 'ArticleEmbeddedLink=0') === FALSE) { $content = preg_replace('/^(.{300}.*?)\\<(br|\\/p|\\/div|\\/center)/is', '\\1' . $space->getFullUrl() . '<\\2', $content); echo $content; } if (false == $articleAttachmentRef->isNull()) { $errorInfo = $articleAttachmentRef->errorInfo; ?> <input type="hidden" name="errorInfo" id="errorInfo" value="<?php if (isset($errorInfo)) { echo $errorInfo; } ?> " />
<td><input name="vars[practitionerId]" type="text" value="<?php echo $doctor->isNull() == false ? $doctor->practitionerId : ''; ?> "></td> </tr> <tr> <td align="right">专长</td> <td><textarea name="vars[specialize]" cols="80" rows="2" id="Specialize"><?php echo $doctor->isNull() == false ? $doctor->specialize : ''; ?> </textarea></td> </tr> <tr> <td align="right">介绍</td> <td><textarea name="vars[intro]" cols="80" rows="8" id="Intro"><?php echo Seolink::rip($doctor->isNull() == false ? $doctor->intro : ''); ?> </textarea> </td> </tr> <?php include "_categoryvote.php"; ?> <tr> <td align="right">好大夫官方结论</td> <td><textarea name="vars[conclusion]" cols="80" rows="4" id="DoctorConclusion"><?php echo $doctor->isNull() == false ? $doctor->conclusion : ''; ?> </textarea></td> </tr> <tr> <td align="right">是否专家</td>
}?> <div class="gray h25 xianxinMainBox_subTitle f12"> <span class="fl">来源:<?=($zhuanti->isNull() == false) ? $zhuanti->source : '' ?></span> <span class="fr"><?=($zhuanti->isNull() == false) ? $zhuanti->ctime->toString() : '' ?></span> </div> <div class="tr f12 xianxin_userOption mt5"><a href="javascript:void(0)" onclick="copyLink()" class="xianxin_userOption_link pr5">复制链接</a> <!-- <a href="#" class="xianxin_userOption_pr pr5">打印</a> --> <a href="#" class="xianxin_userOption_fs" style="text-decoration: none;"> <em class="f16 f16big ">大</em> <em class="f14 f14mid"> 中</em> <em class="f12small"> 小</em> </a> </div> <div class="change_fontSize pb10 pt10"> <?=htmlspecialchars_decode(Seolink::outPut($curContent));?> </div> <?php if($pageNum > 1) { include_once '_article_page.php'; }?> </div> <!--end xianxinMainBox--> <!--start xianxinMainBox--> <?php if(empty($curlZhuantiList) == false || empty($curlArticleList) == false) { $i = 0; ?> <div class="xianxinMainBox f14"> <h3 class="xianxinMainBox_h3">相关文章</h3>
<?php include_once dirname(__file__).'/../_headergohome.php' ?> <div class="disease_nav_div_2"> <div class="disease_nav"> <ul> <li class="current"><a href="<?=$router->urlfor('disease/info', array('key' => $disease->key))?>">¼²²¡½éÉÜ</a></li> <li class=""><a class="last" href="<?=$router->urlfor('disease/getrelateddiseaselist', array('key'=>$disease->key))?>">Ïà¹Ø¼²²¡</a></li> </ul> <div class="clear_l"></div> </div> </div> <?php $content = $diseaseIntro['fld_diseasecontent']; $content = Seolink::directOutPut($content); $content = str_replace('www.haodf.com', URL_PREFIX.'m.haodf.com/touch', $content); ?> <div class="main_content_box"> <div class="con_top"> <h1>ʲôÊÇ<?=$disease->name?>£¿</h1> </div> <div class="con_con black" style="padding-top:10px;"> <p><?php echo $content; ?></p> </div> </div> <style> .con_con a{ color:#000; display:inline;} .con_con strong{ font-weight:normal;} </style> <script type="text/javascript">