示例#1
0
				</div>
				<div class="con_middle con_middle_search">
				{if is_array($station_info)}
					<ul>
					{foreach $station_info as $key => $value}
							<li class="search_li">
								<ul class="search_result">
									<li><a target="_blank" href="<?php 
echo hg_build_link(SNS_VIDEO . "station_play.php", array("sta_id" => $value['id']));
?>
"><img src="{$value['small']}"/></a></li>
									<li>名称:<a target="_blank" href="<?php 
echo hg_build_link(SNS_VIDEO . "station_play.php", array("sta_id" => $value['id']));
?>
"><?php 
echo hg_match_red(hg_cutchars($value['web_station_name'], 7, " "), $name);
?>
</a></li>
									<li>标签:<?php 
echo $value['tags'] ? hg_tags(hg_cutchars($value['tags'], 7, " "), $name, "station_search.php") : "暂无";
?>
</li>
									<li>点击次数:{$value['click_count']}</li>
								</ul>
							</li>
						{/foreach}
					</ul>
					{$showpages}
					{/if}
				</div>
				<div class="con_bottom clear"></div>
示例#2
0
文件: search.php 项目: h3len/Project
			</div>
			<div class="con_middle con_middle_search">
			{if is_array($video_info)} 
				<ul>
				{foreach $video_info as $key => $value}
						<li class="search_li">
							<ul class="search_result">
								<li><a target="_blank" href="<?php 
echo hg_build_link("video_play.php", array("id" => $value['id']));
?>
"><img src="{$value['schematic']}"/></a></li>
								<li>名称:<a target="_blank" href="<?php 
echo hg_build_link("video_play.php", array("id" => $value['id']));
?>
"><?php 
echo hg_match_red(hg_cutchars($value['title'], 7, " "), $name);
?>
</a></li>
								<li>标签:<?php 
echo $value['tags'] ? hg_tags(hg_cutchars($value['tags'], 7, " "), $name) : "暂无";
?>
</li>
								<li>播发次数:{$value['play_count']}</li>
							</ul>
						</li>
					{/foreach}
				</ul> 
				{$showpages}
			{/if}
			</div>
			<div class="con_bottom clear"></div>	
示例#3
0
        $len = strlen('#' . $keywords . '#');
        if (substr(trim($value['text']), $len - 1, 1) == '#') {
            $value['text'] = substr(trim($value['text']), $len);
        }
        $text = hg_verify($value['text']);
        $text_show = ':' . ($value['text'] ? $value['text'] : $this->lang['forward_null']);
        if ($value['reply_status_id']) {
            $forward_show = '//@' . $value['user']['username'] . ' ' . $text_show;
            $title = $this->lang['forward_one'] . $value['retweeted_status']['text'];
            $status_id = $value['reply_user_id'];
        } else {
            $forward_show = '';
            $title = $this->lang['forward_one'] . $value['text'];
            $status_id = $value['member_id'];
        }
        $text_show = hg_match_red(hg_verify($text_show), $keywords);
        $transmit_info = $value['retweeted_status'];
        ?>
		<li>
			<span class="zhibo_huifu"><a href="javascript:void(0);" onclick="disreplyStatus(<?php 
        echo $value['id'];
        ?>
, '<?php 
        echo $value['user']['username'];
        ?>
');return false;">回复</a></span>
			<a href="<?php 
        echo $user_url;
        ?>
" class="zhibo_name" target="_blank"><?php 
        echo $value['user']['username'];