我调用动态,放到我网站上,打开整个网页就乱了,看看哪不对?- <link href="http://www.daomin.net/home/template/default/style.css" rel="stylesheet" type="text/css" />
- <!--{eval $siteurl = 'http://www.daomin.net/home/';}--><span class="magiccolor4">
- <!--{eval $feed_list = array();}-->
- <!--{loop $_SBLOCK['block17'] $value}-->
- <!--{if empty($feed_list[$value['hash_data']][$value['uid']])}-->
- <!--{eval realname_set($value['uid'], $value['username']);}-->
- <!--{eval $feed_list[$value['hash_data']][$value['uid']] = $value;}--></span>
- <!--{/if}-->
- <!--{/loop}-->
- <!--{eval $list = array();}-->
- <!--{loop $feed_list $values}-->
- <!--{eval $actors = array();}-->
- <!--{eval $a_value = array();}-->
- <!--{loop $values $value}-->
- <!--{if empty($a_value)}-->
- <!--{eval $a_value = $value;}-->
- <!--{/if}-->
- <!--{eval $actors[] = "<a href="{$siteurl}space.php?uid=$value[uid]">".$_SN[$value['uid']]."</a>";}-->
- <!--{/loop}-->
- <!--{eval $a_value = mkfeed($a_value, $actors);}-->
- <!--{if $a_value['dateline']>=$_SGLOBAL['today']}-->
- <!--{eval $list['today'][] = $a_value;}-->
- <!--{elseif $a_value['dateline']>=$_SGLOBAL['today']-3600*24}-->
- <!--{eval $list['yesterday'][] = $a_value;}-->
- <!--{else}-->
- <!--{eval $theday = sgmdate('Y-m-d', $a_value['dateline']);}-->
- <!--{eval $list[$theday][] = $a_value;}-->
- <!--{/if}-->
- <!--{/loop}-->
- <div id="friendfeed" class="box feed hslice">
- <div id="feed_div" class="enter-content" style="text-align:left;">
- <!--{loop $list $day $values}-->
- <!--{if $day=='yesterday'}--><h4 class="feedtime">昨天</h4><!--{elseif $day!='today'}--><h4 class="feedtime">$day</h4><!--{/if}-->
- <ul>
- <!--{loop $values $value}-->
- <li class="type_$value[icon]" id="feed_$value[feedid]_li">
- <h6>
- <!--{eval echo str_replace('src="attachment', 'src="'.$siteurl.'attachment', str_replace('ref="space', 'ref="'.$siteurl.'space', $value[title_template]));}-->
- <!--{if empty($notime)}--> <span class="time"><!--{date('m-d H:i',$value[dateline],1)}--></span><!--{/if}-->
- </h6>
- <!--{if $value['body_template']}-->
- <div class="detail"><!--{eval echo str_replace('ref="space', 'ref="'.$siteurl.'space', $value[body_template]);}--></div>
- <!--{/if}-->
- <!--{if $value['body_general']}-->
- <div class="quote"><span class="q">$value[body_general]</span></div>
- <!--{/if}-->
- </shd>
- <!--{/loop}-->
- </ul>
- <!--{/loop}-->
- </div>
- </div>
复制代码 |