<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[ php与smarty结合时：smarty下PHP一样的strpos函数的使用示例]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Thu, 22 Mar 2012 07:18:34 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	主要是表格背景，字体交替等在smarty中的运用：<br/><textarea name="code" class="php" rows="15" cols="100">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;&#123;if $netdata[i].lastday&#124;strpos:&quot;-&quot; !== false&#125;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#039;260&#039;&gt;&lt;&#123;$netdata[i].lastday&#125;&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;&#123;else&#125;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#039;260&#039;&gt;&lt;font color=&#039;red&#039;&gt;&lt;&#123;$netdata[i].lastday&#125;&gt;&lt;/font&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;&#123;/if&#125;&gt;
</textarea><br/><br/><textarea name="code" class="php" rows="15" cols="100">
&lt;table&nbsp;&nbsp;border=&quot;0&quot; cellpadding=&quot;1&quot; cellspacing=&quot;2&quot;&gt;
&nbsp;&nbsp;&lt;thead&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;业务XX&lt;/th&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;空闲CC数&lt;/th&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;机器VV&lt;/th&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;空闲VV比率(%)&lt;/th&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;NN昨天&lt;/th&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;TT上周&lt;/th&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;
&nbsp;&nbsp;&lt;/thead&gt;
&nbsp;&nbsp;&lt;tbody id=&quot;myfstpage&quot;&gt;
&nbsp;&nbsp;&lt;&#123;section name=i loop=$netdata&#125;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&quot;300&quot; style=&quot;text-align:left&quot;&gt;&lt;&#123;$netdata[i].name&#125;&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&quot;260&quot;&gt; &lt;a target=_blank href=&quot;http://VVV.web.com/cost/idle.htm?type=&lt;&#123;$netdata[i].type&#125;&gt;&amp;id=&lt;&#123;$netdata[i].id&#125;&gt;&amp;date=&lt;&#123;$time&#125;&gt;&quot;&gt;&lt;&#123;$netdata[i].idlenum&#125;&gt;&lt;/a&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&quot;260&quot;&gt;&lt;&#123;$netdata[i].count&#125;&gt;&lt;/td&gt;
&nbsp;&nbsp;&lt;td width=&quot;260&quot;&gt;&lt;&#123;$netdata[i].idlerate&#125;&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;&#123;if $netdata[i].lastday&#124;strpos:&quot;-&quot; !== false&#125;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#039;260&#039;&gt;&lt;&#123;$netdata[i].lastday&#125;&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;&#123;else&#125;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#039;260&#039;&gt;&lt;font color=&#039;red&#039;&gt;&lt;&#123;$netdata[i].lastday&#125;&gt;&lt;/font&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;&#123;/if&#125;&gt;
&nbsp;&nbsp;&lt;td width=&quot;260&quot;&gt;&lt;&#123;$netdata[i].lastweek&#125;&gt;&lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;
&nbsp;&nbsp;&lt;&#123;/section&#125;&gt;
&nbsp;&nbsp;&lt;/tbody&gt;
&lt;/table&gt;
</textarea>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论]  php与smarty结合时：smarty下PHP一样的strpos函数的使用示例]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>