コード例 #1
0
ファイル: index.php プロジェクト: sdgdsffdsfff/hdf-client
													<?=$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">详细介绍&gt;&gt;</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 = '';
コード例 #2
0
ファイル: _content.php プロジェクト: sdgdsffdsfff/hdf-client
<style>
    .con_con a{ color:#000; display:inline;}
    .con_con strong{ font-weight:normal;}
    .con_con .flexpaper_viewer{ text-indent:0px;}
    .con_con table{ text-indent:0px;}
</style>
<div class="main_content_box">
	<div class="con_top">
        <h1><?=$article->title?></h1>
        <div class="con_time">发表于&nbsp;<?=substr($article->ctime, 0, 10)?></div>
        <div class="con_read">已阅读<span class="con_red" id="hits"></span>次</div>
    </div>
    <div class="con_con black hh">
    <p>
        <?php 
        $content = htmlspecialchars_decode(Seolink::output($article->content)); 
        $content = str_replace('www.haodf.com', URL_PREFIX.'m.haodf.com/touch', $content); 
        
        if (strpos($article->space->extraOptions, 'ArticleEmbeddedLink=0') === FALSE) 
        {
            $content = preg_replace('/^(.{300}.*?)\<(br|\/p|\/div|\/center)/is', '\\1' . $article->space->getFullUrl() .'<\\2', $content);
            echo $content;
        } 
        if (false == $articleAttachmentRef->isNull() && $articleAttachmentRef->hasConverted2swf() && $articleAttachmentRef->swfAttachmentCount > 0)
        {
?>
            <link rel="stylesheet" type="text/css" href="http://i1.hdfimg.com/space/css_new/flexpaper.css" />
            <script type="text/javascript" src="http://i1.hdfimg.com/space/js/flexpaper/flexpaper.js?20130912"></script>
            <script type="text/javascript" src="http://i1.hdfimg.com/space/js/flexpaper/flexpaper_handlers.js?20130912"></script>
            <div id="documentViewer" class="flexpaper_viewer" style="width:100%;height:300px;margin-top:20px;"></div>
コード例 #3
0
ファイル: announce.php プロジェクト: sdgdsffdsfff/hdf-client
								<td class="navbar_focus_middle"><?=$hospital->commonName?>出诊/停诊信息</td>
								<td class="navbar_focus_right"></td>
							</tr>
						</table>
						</td>
						<td class="top_right">&nbsp;</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>