<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TryLife</title>
	<atom:link href="http://www.trylife.cn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trylife.cn</link>
	<description>人生短暂,多多尝试!</description>
	<lastBuildDate>Wed, 01 Sep 2010 20:44:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://www.trylife.cn/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>to_time() 帝国CMS日期时间转UNIX时间戳函数</title>
		<link>http://www.trylife.cn/ecms-datatime-or-data-to-unixtemp-function/</link>
		<comments>http://www.trylife.cn/ecms-datatime-or-data-to-unixtemp-function/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 20:44:04 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[帝国CMS]]></category>
		<category><![CDATA[帝国CMS二次开发]]></category>
		<category><![CDATA[帝国CMS插件]]></category>
		<category><![CDATA[php时间日期转换]]></category>
		<category><![CDATA[帝国CMS函数]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1247</guid>
		<description><![CDATA[to_time() 帝国CMS日期时间转UNIX时间戳函数]]></description>
			<content:encoded><![CDATA[<h3>to_time()</h3>
<p><strong>函数：</strong>to_time()<br />
<strong> 功能：</strong>将日期 / 日期时间 类型转为unix时间戳的函数<br />
<strong> 位置：</strong>帝国CMS e/class/connect.php<br />
<strong>版本：</strong>6.5</p>
<h5>to_time($datetime)</h5>
<p><strong>$datetime</strong> : 日期类型格式如:2012-12-12 日期时间如:2012-12-12 12:12:12<br />
函数返回unix时间戳</p>
<p><span id="more-1247"></span></p>
<h3>to_time()函数注释</h3>
<pre name="code" class="php">
function to_time($datetime)
{

	//2010-06-23
	//10个长度正好是上边的长度
	//下面给补充了空格 时 分 秒
	if(strlen($datetime)==10)
	{
		$datetime.=" 00:00:00";
	}

	//以空格分割了日期和时间
	//0日期
	//1时间
	$r=explode(" ",$datetime);

	//以连接线分割了日期
	//0年
	//1月
	//2日
	$t=explode("-",$r[0]);

	//以英文冒号分割时间
	//0小时
	//1分钟
	//2秒钟
	$k=explode(":",$r[1]);

	//mktime() 函数返回一个日期的 Unix 时间戳
	//mktime(hour,minute,second,month,day,year,is_dst)
	//参数总是表示 GMT 日期，因此 is_dst 对结果没有影响
	//GMT=Greenwich mean time 格林尼治标准时间
	//is_dst 自从php5.1.0就被废弃了
	$dbtime=@mktime($k[0],$k[1],$k[2],$t[1],$t[2],$t[0]);

	//返回UNIX时间戳
	return $dbtime;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/ecms-datatime-or-data-to-unixtemp-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EcmsToSendMail() 帝国CMS发送邮件函数</title>
		<link>http://www.trylife.cn/ecms-sendmail-function/</link>
		<comments>http://www.trylife.cn/ecms-sendmail-function/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 20:05:09 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[帝国CMS]]></category>
		<category><![CDATA[帝国CMS二次开发]]></category>
		<category><![CDATA[帝国CMS插件]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1237</guid>
		<description><![CDATA[帝国CMS发送邮件函数 - 帝国CMS二次开发]]></description>
			<content:encoded><![CDATA[<h3>EcmsToSendMail()</h3>
<p><strong>函数：</strong>EcmsToSendMail()<br />
<strong> 功能：</strong>帝国CMS邮件发送函数<br />
<strong> 位置：</strong>帝国CMS SendEmail.inc.php<br />
<strong>版本：</strong>6.5</p>
<h5>EcmsToSendMail($email,$subject,$content);</h5>
<p><strong>$emai </strong> : 邮件地址可为数组<br />
<strong>$subject </strong> : 邮件标题<br />
<strong>$content </strong> : 邮件内容</p>
<h5>说明</h5>
<p>函数遵循后台配置，后台配置使用什么方法发送邮件，函数将会使用什么方法发送邮件；<br />
1.mail函数这个方法必须配置服务器邮件环境，环境不受待见得话会出来就是个垃圾邮件~<br />
2.smtp这个方法不用配置服务器，使用163等邮箱smtp即可 就是老屏蔽<br />
<span id="more-1237"></span></p>
<h3>EcmsToSendMail()使用示例</h3>
<pre name="code" class="php">
<!--php.code.start-->
//文件位置e/trylife/ecms-function/test-sendmail.php
require("../../class/connect.php");
require("../../class/db_sql.php");
$link=db_connect();
$empire=new mysqlquery();

#$mail='trylife@qq.com';
$email=array('trylife@qq.com','94592590@qq.com');
$subject='Test EmpireCMS send mail';
$content='this is mail contents';

@include(ECMS_PATH.'e/class/SendEmail.inc.php');
EcmsToSendMail($email,$subject,$content);

db_close();
$empire=null;
<!--php.code.end-->
</pre>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;exp.line&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
楼下的猫叫声实在太残忍了- -！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/ecms-sendmail-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>帝国CMS定义函数使用率 前100位</title>
		<link>http://www.trylife.cn/ecms-functions-rate-top-100/</link>
		<comments>http://www.trylife.cn/ecms-functions-rate-top-100/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 23:12:24 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[帝国CMS]]></category>
		<category><![CDATA[帝国CMS二次开发]]></category>
		<category><![CDATA[帝国CMS函数]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1222</guid>
		<description><![CDATA[帝国CMS定义函数使用率 前100位]]></description>
			<content:encoded><![CDATA[<p>帝国CMS6.5 系统定义函数使用次数排列文档，做功能拓展和二次开发的童鞋前100肯定是必看的<br />
排第一的果不其然就是printerror()这个信息提示函数 使用了1904次，sql类里的方法基本都靠前特别是query()1440次 , fetch() 720次 ， fetch1 539 次； 所有函数排列点击<a href="http://www.trylife.cn/wp-content/uploads/2010/08/EmpireCMS65-Functions-Top-100.html" target="_blank">《帝国CMS函数列表》</a></p>
<p>备注：不包括JS函数 系统标签函数</p>
<style>
.date_table {text-align:left; color:#093E56;font-size:12px;} 
.date_table .header {background:#D3DCE3; font-weight:normal; color:#ffffff; }  
.date_table tr{background:#E5E5E5;}
.date_table tr .red{color:red;}
.date_table .odd{background:#ffffff}
.date_table .even{background:#D5E6F2}
.date_table .header{background:#1D507D;color:ffffff;}
.date_table td,th{padding:3px 6px;}
.date_table .same {color:gray;font-weight:normal;}
.date_table .resizestyle{color:red;}
.date_table .newfile{background:green;color:#ffffff}
.date_table .footerinfo {padding:5px;color:gray; font-size:9px;}
.footerinfo h2 {line-height:8px;}
.footerinfo a{color:#666666; text-decoration:none;}
</style>
<table class="date_table">
<tbody>
<tr class="header">
<th>ID</th>
<th>函数</th>
<th>使用次数</th>
<th>定义位置</th>
</tr>
<tr class="even">
<td><b>1</b></td>
<td>printerror()</td>
<td>1904</td>
<td>/e/class/connect.php line 132</td>
</tr>
<tr class="odd">
<td><b>2</b></td>
<td>query()</td>
<td>1440</td>
<td>/e/class/db_sql.php line 10</td>
</tr>
<tr class="even">
<td><b>3</b></td>
<td>fetch1()</td>
<td>720</td>
<td>/e/class/db_sql.php line 30</td>
</tr>
<tr class="odd">
<td><b>4</b></td>
<td>fetch()</td>
<td>539</td>
<td>/e/class/db_sql.php line 22</td>
</tr>
<tr class="even">
<td><b>5</b></td>
<td>checklevel()</td>
<td>513</td>
<td>/e/class/functions.php line 3414</td>
</tr>
<tr class="odd">
<td><b>6</b></td>
<td>insert_dolog()</td>
<td>370</td>
<td>/e/class/functions.php line 3625</td>
</tr>
<tr class="even">
<td><b>7</b></td>
<td>db_connect()</td>
<td>366</td>
<td>/e/class/connect.php line 66</td>
</tr>
<tr class="odd">
<td><b>8</b></td>
<td>db_close()</td>
<td>363</td>
<td>/e/class/connect.php line 110</td>
</tr>
<tr class="even">
<td><b>9</b></td>
<td>is_login()</td>
<td>267</td>
<td>/e/class/functions.php line 3466</td>
</tr>
<tr class="odd">
<td><b>10</b></td>
<td>reppostvar()</td>
<td>222</td>
<td>/e/class/connect.php line 334</td>
</tr>
<tr class="even">
<td><b>11</b></td>
<td>gettotal()</td>
<td>193</td>
<td>/e/class/db_sql.php line 52</td>
</tr>
<tr class="odd">
<td><b>12</b></td>
<td>gotourl()</td>
<td>148</td>
<td>/e/admin/map.php line 25</td>
</tr>
<tr class="even">
<td><b>13</b></td>
<td>getcvar()</td>
<td>138</td>
<td>/e/class/connect.php line 125</td>
</tr>
<tr class="odd">
<td><b>14</b></td>
<td>loadlang()</td>
<td>128</td>
<td>/e/class/connect.php line 294</td>
</tr>
<tr class="even">
<td><b>15</b></td>
<td>doreqvalue()</td>
<td>113</td>
<td>/e/class/qinfofun.php line 72</td>
</tr>
<tr class="odd">
<td><b>16</b></td>
<td>getdotemptb()</td>
<td>112</td>
<td>/e/class/connect.php line 266</td>
</tr>
<tr class="even">
<td><b>17</b></td>
<td>esetcookie()</td>
<td>87</td>
<td>/e/class/connect.php line 118</td>
</tr>
<tr class="odd">
<td><b>18</b></td>
<td>lastid()</td>
<td>86</td>
<td>/e/class/db_sql.php line 70</td>
</tr>
<tr class="even">
<td><b>19</b></td>
<td>islogin()</td>
<td>72</td>
<td>/e/class/user.php line 775</td>
</tr>
<tr class="odd">
<td><b>20</b></td>
<td>close()</td>
<td>70</td>
<td>/e/class/class.smtp.php line 193</td>
</tr>
<tr class="even">
<td><b>21</b></td>
<td>reppoststr()</td>
<td>70</td>
<td>/e/class/connect.php line 381</td>
</tr>
<tr class="odd">
<td><b>22</b></td>
<td>page2()</td>
<td>66</td>
<td>/e/class/functions.php line 58</td>
</tr>
<tr class="even">
<td><b>23</b></td>
<td>spopenchfile()</td>
<td>57</td>
<td>/e/admin/EditCjNews.php line 102</td>
</tr>
<tr class="odd">
<td><b>24</b></td>
<td>gettemptb()</td>
<td>57</td>
<td>/e/class/connect.php line 248</td>
</tr>
<tr class="even">
<td><b>25</b></td>
<td>returnclass()</td>
<td>55</td>
<td>/e/class/connect.php line 1624</td>
</tr>
<tr class="odd">
<td><b>26</b></td>
<td>repphpaspjspcode()</td>
<td>50</td>
<td>/e/class/q_functions.php line 47</td>
</tr>
<tr class="even">
<td><b>27</b></td>
<td>sys_returnbqtitlelink()</td>
<td>49</td>
<td>/e/class/connect.php line 797</td>
</tr>
<tr class="odd">
<td><b>28</b></td>
<td>getconfig()</td>
<td>47</td>
<td>/e/class/functions.php line 4745</td>
</tr>
<tr class="even">
<td><b>29</b></td>
<td>to_time()</td>
<td>46</td>
<td>/e/class/connect.php line 587</td>
</tr>
<tr class="odd">
<td><b>30</b></td>
<td>doutfandgbk()</td>
<td>41</td>
<td>/e/class/user.php line 50</td>
</tr>
<tr class="even">
<td><b>31</b></td>
<td>checkfilemod()</td>
<td>36</td>
<td>/e/admin/PathLevel.php line 37</td>
</tr>
<tr class="odd">
<td><b>32</b></td>
<td>writefiletext_n()</td>
<td>36</td>
<td>/e/class/connect.php line 671</td>
</tr>
<tr class="even">
<td><b>33</b></td>
<td>sub()</td>
<td>34</td>
<td>/e/class/connect.php line 442</td>
</tr>
<tr class="odd">
<td><b>34</b></td>
<td>delfiletext()</td>
<td>34</td>
<td>/e/class/connect.php line 632</td>
</tr>
<tr class="even">
<td><b>35</b></td>
<td>over()</td>
<td>32</td>
<td>/e/admin/adminstyle/2/AdminMain.php line 61</td>
</tr>
<tr class="odd">
<td><b>36</b></td>
<td>checkall()</td>
<td>32</td>
<td>/e/admin/tags/ListTags.php line 430</td>
</tr>
<tr class="even">
<td><b>37</b></td>
<td>out()</td>
<td>32</td>
<td>/e/admin/adminstyle/2/AdminMain.php line 73</td>
</tr>
<tr class="odd">
<td><b>38</b></td>
<td>sys_returnbqclassname()</td>
<td>32</td>
<td>/e/class/connect.php line 890</td>
</tr>
<tr class="even">
<td><b>39</b></td>
<td>readfiletext()</td>
<td>31</td>
<td>/e/class/connect.php line 637</td>
</tr>
<tr class="odd">
<td><b>40</b></td>
<td>getnewsjs()</td>
<td>30</td>
<td>/e/class/functions.php line 2634</td>
</tr>
<tr class="even">
<td><b>41</b></td>
<td>delfj()</td>
<td>30</td>
<td>/e/data/html/q2.php line 16</td>
</tr>
<tr class="odd">
<td><b>42</b></td>
<td>addfj()</td>
<td>30</td>
<td>/e/data/html/q2.php line 7</td>
</tr>
<tr class="even">
<td><b>43</b></td>
<td>forecolor()</td>
<td>29</td>
<td>/e/admin/sp/AddSpInfo.php line 80</td>
</tr>
<tr class="odd">
<td><b>44</b></td>
<td>egetip()</td>
<td>29</td>
<td>/e/class/connect.php line 300</td>
</tr>
<tr class="even">
<td><b>45</b></td>
<td>jumptomain()</td>
<td>29</td>
<td>/e/admin/adminstyle/2/AdminMain.php line 97</td>
</tr>
<tr class="odd">
<td><b>46</b></td>
<td>reppostvar2()</td>
<td>29</td>
<td>/e/class/connect.php line 358</td>
</tr>
<tr class="even">
<td><b>47</b></td>
<td>getfiletype()</td>
<td>28</td>
<td>/e/class/connect.php line 411</td>
</tr>
<tr class="odd">
<td><b>48</b></td>
<td>addrepad()</td>
<td>28</td>
<td>/e/admin/AddInfoClass.php line 181</td>
</tr>
<tr class="even">
<td><b>49</b></td>
<td>lmescape_str()</td>
<td>28</td>
<td>/e/class/moddofun.php line 2264</td>
</tr>
<tr class="odd">
<td><b>50</b></td>
<td>replaceloadtgtemp()</td>
<td>28</td>
<td>/e/class/tempfun.php line 906</td>
</tr>
<tr class="even">
<td><b>51</b></td>
<td>writefiletext()</td>
<td>27</td>
<td>/e/class/connect.php line 658</td>
</tr>
<tr class="odd">
<td><b>52</b></td>
<td>clearaddsdata()</td>
<td>26</td>
<td>/e/class/connect.php line 2046</td>
</tr>
<tr class="even">
<td><b>53</b></td>
<td>stripaddsdata()</td>
<td>25</td>
<td>/e/class/connect.php line 2064</td>
</tr>
<tr class="odd">
<td><b>54</b></td>
<td>getclass()</td>
<td>23</td>
<td>/e/class/functions.php line 5174</td>
</tr>
<tr class="even">
<td><b>55</b></td>
<td>repinfozz()</td>
<td>23</td>
<td>/e/class/functions.php line 1103</td>
</tr>
<tr class="odd">
<td><b>56</b></td>
<td>page1()</td>
<td>23</td>
<td>/e/class/connect.php line 539</td>
</tr>
<tr class="even">
<td><b>57</b></td>
<td>listhtml()</td>
<td>22</td>
<td>/e/class/functions.php line 1618</td>
</tr>
<tr class="odd">
<td><b>58</b></td>
<td>wipespecial()</td>
<td>22</td>
<td>/e/class/ftp.php line 8</td>
</tr>
<tr class="even">
<td><b>59</b></td>
<td>replacefc()</td>
<td>22</td>
<td>/e/class/cjfun.php line 582</td>
</tr>
<tr class="odd">
<td><b>60</b></td>
<td>checktempgroup()</td>
<td>22</td>
<td>/e/class/functions.php line 373</td>
</tr>
<tr class="even">
<td><b>61</b></td>
<td>gettxtfieldtext()</td>
<td>22</td>
<td>/e/class/connect.php line 2072</td>
</tr>
<tr class="odd">
<td><b>62</b></td>
<td>showclass_addclass()</td>
<td>21</td>
<td>/e/class/functions.php line 997</td>
</tr>
<tr class="even">
<td><b>63</b></td>
<td>ecms_showeditorvar()</td>
<td>21</td>
<td>/e/admin/ecmseditor/infoeditor/fckeditor.php line 8</td>
</tr>
<tr class="odd">
<td><b>64</b></td>
<td>get_lines()</td>
<td>21</td>
<td>/e/class/class.smtp.php line 962</td>
</tr>
<tr class="even">
<td><b>65</b></td>
<td>returnformhidden()</td>
<td>20</td>
<td>/e/class/functions.php line 388</td>
</tr>
<tr class="odd">
<td><b>66</b></td>
<td>repsperssstr()</td>
<td>20</td>
<td>/e/web/index.php line 44</td>
</tr>
<tr class="even">
<td><b>67</b></td>
<td>getinfostr()</td>
<td>19</td>
<td>/e/class/cjfun.php line 589</td>
</tr>
<tr class="odd">
<td><b>68</b></td>
<td>gethtml()</td>
<td>19</td>
<td>/e/class/functions.php line 1992</td>
</tr>
<tr class="even">
<td><b>69</b></td>
<td>error_handler()</td>
<td>18</td>
<td>/e/class/SendEmail.inc.php line 1396</td>
</tr>
<tr class="odd">
<td><b>70</b></td>
<td>make_password()</td>
<td>18</td>
<td>/e/class/connect.php line 503</td>
</tr>
<tr class="even">
<td><b>71</b></td>
<td>newsbq()</td>
<td>17</td>
<td>/e/class/functions.php line 1403</td>
</tr>
<tr class="odd">
<td><b>72</b></td>
<td>returnresult()</td>
<td>17</td>
<td>/e/install/data/fun.php line 32</td>
</tr>
<tr class="even">
<td><b>73</b></td>
<td>returnyhsql()</td>
<td>17</td>
<td>/e/class/connect.php line 1020</td>
</tr>
<tr class="odd">
<td><b>74</b></td>
<td>echoviewfile()</td>
<td>16</td>
<td>/e/data/ecmseditor/infoeditor/epage/TranMedia.php line 98</td>
</tr>
<tr class="even">
<td><b>75</b></td>
<td>encodeconfig()</td>
<td>16</td>
<td>/e/admin/ecmseditor/infoeditor/fckeditor_php4.php line 219</td>
</tr>
<tr class="odd">
<td><b>76</b></td>
<td>ecms_qeditorprinterror()</td>
<td>16</td>
<td>/e/class/qinfofun.php line 1208</td>
</tr>
<tr class="even">
<td><b>77</b></td>
<td>ajax_printerror()</td>
<td>15</td>
<td>/e/class/connect.php line 204</td>
</tr>
<tr class="odd">
<td><b>78</b></td>
<td>connected()</td>
<td>14</td>
<td>/e/class/class.smtp.php line 168</td>
</tr>
<tr class="even">
<td><b>79</b></td>
<td>dotitlefont()</td>
<td>14</td>
<td>/e/class/connect.php line 683</td>
</tr>
<tr class="odd">
<td><b>80</b></td>
<td>repphpaspjspcodetext()</td>
<td>14</td>
<td>/e/class/functions.php line 203</td>
</tr>
<tr class="even">
<td><b>81</b></td>
<td>repfieldtextnbsp()</td>
<td>14</td>
<td>/e/class/connect.php line 1890</td>
</tr>
<tr class="odd">
<td><b>82</b></td>
<td>togetfiletype()</td>
<td>14</td>
<td>/e/admin/ecmseditor/infoeditor/epage/TranFlash.php line 79</td>
</tr>
<tr class="even">
<td><b>83</b></td>
<td>returnfilesavepath()</td>
<td>14</td>
<td>/e/class/connect.php line 1371</td>
</tr>
<tr class="odd">
<td><b>84</b></td>
<td>addcheckviewtempcode()</td>
<td>13</td>
<td>/e/class/functions.php line 47</td>
</tr>
<tr class="even">
<td><b>85</b></td>
<td>num()</td>
<td>13</td>
<td>/e/class/db_sql.php line 37</td>
</tr>
<tr class="odd">
<td><b>86</b></td>
<td>sys_returnbqtemp()</td>
<td>12</td>
<td>/e/class/t_functions.php line 579</td>
</tr>
<tr class="even">
<td><b>87</b></td>
<td>returnmfilef()</td>
<td>12</td>
<td>/e/class/functions.php line 3854</td>
</tr>
<tr class="odd">
<td><b>88</b></td>
<td>returnreplacelistf()</td>
<td>12</td>
<td>/e/class/connect.php line 1047</td>
</tr>
<tr class="even">
<td><b>89</b></td>
<td>installshowmsg()</td>
<td>12</td>
<td>/e/install/data/fun.php line 218</td>
</tr>
<tr class="odd">
<td><b>90</b></td>
<td>dellistenews()</td>
<td>12</td>
<td>/e/class/functions.php line 180</td>
</tr>
<tr class="even">
<td><b>91</b></td>
<td>replacelistvars()</td>
<td>12</td>
<td>/e/class/connect.php line 1056</td>
</tr>
<tr class="odd">
<td><b>92</b></td>
<td>docheckall()</td>
<td>11</td>
<td>/e/admin/db/AddM.php line 284</td>
</tr>
<tr class="even">
<td><b>93</b></td>
<td>replacetempvar()</td>
<td>11</td>
<td>/e/class/q_functions.php line 639</td>
</tr>
<tr class="odd">
<td><b>94</b></td>
<td>ecms_editorprinterror()</td>
<td>11</td>
<td>/e/admin/ecmseditor/editorfun.php line 3</td>
</tr>
<tr class="even">
<td><b>95</b></td>
<td>delnewsfile()</td>
<td>11</td>
<td>/e/class/functions.php line 769</td>
</tr>
<tr class="odd">
<td><b>96</b></td>
<td>getsearch()</td>
<td>11</td>
<td>/e/class/functions.php line 2917</td>
</tr>
<tr class="even">
<td><b>97</b></td>
<td>domkdir()</td>
<td>11</td>
<td>/e/class/connect.php line 708</td>
</tr>
<tr class="odd">
<td><b>98</b></td>
<td>checksavetranfiletype()</td>
<td>11</td>
<td>/e/class/connect.php line 1895</td>
</tr>
<tr class="even">
<td><b>99</b></td>
<td>copyecmstb()</td>
<td>11</td>
<td>/e/class/functions.php line 3819</td>
</tr>
<tr class="odd">
<td><b>100</b></td>
<td>returnsqllistf()</td>
<td>11</td>
<td>/e/class/connect.php line 1036</td>
</tr>
<tr class="even">
<td colspan="4">
<div class="footerinfo">
<h2>Analysis Information:</h2>
<p><b>Source : </b>EmpireCMS6.5 (201007201830) GBK<br />
<b>Order : </b>references DEST LIMIT 100<br />
<b>DateTime : </b>2010-08-28 07:13:00</p>
<p><b>Author : </b><a href="http://www.trylife.cn" target="_blank">⌒_⌒TryLife</a> (<a href="http://bbs.phome.net/search/?ebb=SearchMember&#038;userid=20761" target="_blank">bbs.phome.net</a>)</p>
<p><b>Tools : </b>Unnamed PHP Source Analytics Tools by <a href="http://www.trylife.cn" target="_blank">Trylife</a><br />
<b>Blog : </b><a href="http://www.trylife.cn" target="_blank">www.trylife.cn</a>
</td>
</tr>
</div>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/ecms-functions-rate-top-100/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>esetcookie()  getcvar() -帝国CMS cookie 操作函数</title>
		<link>http://www.trylife.cn/ecms-cookie-functions/</link>
		<comments>http://www.trylife.cn/ecms-cookie-functions/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 19:09:00 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[帝国CMS]]></category>
		<category><![CDATA[帝国CMS二次开发]]></category>
		<category><![CDATA[帝国CMS插件]]></category>
		<category><![CDATA[帝国CMS模板]]></category>
		<category><![CDATA[esetcookie()]]></category>
		<category><![CDATA[getcvar()]]></category>
		<category><![CDATA[帝国CMS cookie]]></category>
		<category><![CDATA[帝国CMS函数]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1206</guid>
		<description><![CDATA[帝国CMS cookie 操作函数]]></description>
			<content:encoded><![CDATA[<h3>esetcookie()</h3>
<p><strong>函数：</strong>esetcookie()<br />
<strong> 功能：</strong>设置cookie / 函数向客户端发送一个 HTTP cookie 主要带了帝国CMS前后台cookie前缀 path 等用起来方便<br />
<strong> 位置：</strong>帝国CMS e/class/connect.php<br />
<strong>版本：</strong>6.5</p>
<h5>esetcookie($var,$val,$life=0,$ecms=0)</h5>
<p><strong>$var </strong> : 必填 cookie名<br />
<strong>$val </strong> : 必填 cookie值<br />
<strong>$life </strong> : 选填 过期unix时间戳<br />
<strong>$ecms </strong> : 选填 0 前台 1 后台 默认0</p>
<h3>getcvar()</h3>
<p><strong>函数：</strong>getcvar()<br />
<strong> 功能：</strong>返回cookie / 配合esetcookie()使用 事半功倍<br />
<strong> 位置：</strong>帝国CMS e/class/connect.php<br />
<strong>版本：</strong>6.5</p>
<h5>getcvar($var,$ecms=0)</h5>
<p><strong>$var </strong> : 必填 cookie名<br />
<strong>$ecms </strong> : 选填 0 前台 1 后台 默认0</p>
<p><span id="more-1206"></span></p>
<h3>esetcookie() getcvar() 测试代码</h3>
<pre  class="php" name="code">
//我放到了e/trylife/ecms-function/ecms-cookie.php 这个文件里了
require("../../class/connect.php");

//设置未来的60分钟有效
$life=time()+3600;

//常识刷新后显示上一个设置
$test=(int)getcvar('test');
$val=$test+1;

//设置COOKIE
esetcookie('test',$val,$life);

//输出
echo " 现在设置的： $val ";
echo " 上一个设置： $test ";
</pre>
<h3>esetcookie() 注释</h3>
<pre  class="php" name="code">
function esetcookie($var,$val,$life=0,$ecms=0){

	//全局变量以此为：作用域 ，作用路径 ， 前台前缀 ， 后台前缀
	//这些变量都在 e/class/config.php
	global $phome_cookiedomain,$phome_cookiepath,$phome_cookievarpre,$phome_cookieadminvarpre;

	//三目运算 根据$ecms值 0 1 得到cookie前缀
	//php里 0 也是空
	$varpre=empty($ecms)?$phome_cookievarpre:$phome_cookieadminvarpre;

	//setcookie()
	//http://www.w3school.com.cn/php/func_http_setcookie.asp
	return setcookie($varpre.$var,$val,$life,$phome_cookiepath,$phome_cookiedomain);

}
</pre>
<h3>esetcookie()使用87次 </h3>
<p>//数据来自工具 PHPxref<br />
<code><br />
    * /e/class/onclickfun.php ->  line 135<br />
    * /e/tool/gfen/index.php -> line 51<br />
    * /e/tool/gfen/index.php -> line 72<br />
    * /e/tool/gfen/index.php -> line 73<br />
    * /e/public/digg/index.php -> line 70<br />
    * /e/payapi/BuyGroupPay.php -> line 48<br />
    * /e/payapi/BuyGroupPay.php -> line 49<br />
    * /e/sch/index.php -> line 29<br />
    * /e/payapi/tenpay/to_pay.php -> line 36<br />
    * /e/class/qinfofun.php -> line 814<br />
    * /e/class/qinfofun.php -> line 849<br />
    * /e/class/qinfofun.php -> line 902<br />
    * /e/class/qinfofun.php -> line 974<br />
    * /e/admin/ListInfoClass.php -> line 316<br />
    * /e/class/user.php -> line 624<br />
    * /e/class/user.php -> line 625<br />
    * /e/class/user.php -> line 626<br />
    * /e/class/user.php -> line 627<br />
    * /e/class/user.php -> line 634<br />
    * /e/class/user.php -> line 799<br />
    * /e/class/user.php -> line 821<br />
    * /e/class/user.php -> line 919<br />
    * /e/class/user.php -> line 920<br />
    * /e/class/user.php -> line 921<br />
    * /e/class/user.php -> line 922<br />
    * /e/class/user.php -> line 998<br />
    * /e/class/user.php -> line 999<br />
    * /e/class/user.php -> line 1000<br />
    * /e/class/user.php -> line 1001<br />
    * /e/class/user.php -> line 1018<br />
    * /e/payapi/alipay/payend.php -> line 17<br />
    * /e/payapi/pay.php -> line 66<br />
    * /e/payapi/tenpay/payend.php -> line 17<br />
    * /e/space/CheckUser.php -> line 13<br />
    * /e/tool/gbook/index.php -> line 32<br />
    * /e/enews/plfun.php -> line 151<br />
    * /e/enews/plfun.php -> line 259<br />
    * /e/payapi/ShopPay.php -> line 33<br />
    * /e/enews/votefun.php -> line 27<br />
    * /e/enews/votefun.php -> line 63<br />
    * /e/enews/votefun.php -> line 174<br />
    * /e/class/ShopSysFun.php -> line 4<br />
    * /e/class/ShopSysFun.php -> line 273<br />
    * /e/class/ShopSysFun.php -> line 369<br />
    * /e/admin/user/EditPassword.php -> line 98<br />
    * /e/payapi/alipay/to_pay.php -> line 77<br />
    * /e/class/adminfun.php -> line 14<br />
    * /e/class/adminfun.php -> line 15<br />
    * /e/class/adminfun.php -> line 147<br />
    * /e/class/adminfun.php -> line 151<br />
    * /e/class/adminfun.php -> line 155<br />
    * /e/class/adminfun.php -> line 156<br />
    * /e/class/adminfun.php -> line 157<br />
    * /e/class/adminfun.php -> line 158<br />
    * /e/class/adminfun.php -> line 159<br />
    * /e/class/adminfun.php -> line 160<br />
    * /e/class/adminfun.php -> line 168<br />
    * /e/class/adminfun.php -> line 169<br />
    * /e/class/adminfun.php -> line 227<br />
    * /e/class/adminfun.php -> line 228<br />
    * /e/class/adminfun.php -> line 229<br />
    * /e/class/adminfun.php -> line 230<br />
    * /e/enews/gbookfun.php -> line 60<br />
    * /e/tool/feedback/index.php -> line 31<br />
    * /e/search/index.php -> line 407<br />
    * /e/DoInfo/ListInfo.php -> line 23<br />
    * /e/admin/ReHtml/DoRehtml.php -> line 33<br />
    * /e/admin/ReHtml/DoRehtml.php -> line 34<br />
    * /e/class/connect.php -> line 1910<br />
    * /e/class/connect.php -> line 1938<br />
    * /e/class/connect.php -> line 2246<br />
    * /e/class/connect.php -> line 2265<br />
    * /e/data/template/gbooktemp.txt -> line 32<br />
    * /e/DoInfo/AddInfo.php -> line 99<br />
    * /e/payapi/chinabank/to_pay.php -> line 27<br />
    * /e/class/CheckLevel.php -> line 109<br />
    * /e/class/CheckLevel.php -> line 120<br />
    * /e/class/CheckLevel.php -> line 130<br />
    * /e/class/CheckLevel.php -> line 178<br />
    * /e/class/CheckLevel.php -> line 200<br />
    * /e/payapi/chinabank/payend.php -> line 17<br />
    * /e/data/template/schalltemp.txt -> line 29<br />
    * /e/admin/DoCj.php -> line 24<br />
    * /e/class/functions.php -> line 1073<br />
    * /e/class/functions.php -> line 3505<br />
    * /e/class/functions.php -> line 3548<br />
    * /e/class/functions.php -> line 3564</p>
<p></code></p>
<h3>getcvar()使用138次 </h3>
<p>//数据来自工具 PHPxref<br />
<code><br />
    * /e/member/mspace/gbookfun.php ->  line 16<br />
    * /e/member/mspace/gbookfun.php -> line 19<br />
    * /e/class/onclickfun.php -> line 127<br />
    * /e/install/data/empirecms.temp.sql -> line 226<br />
    * /e/tool/gfen/index.php -> line 45<br />
    * /e/public/digg/index.php -> line 20<br />
    * /e/sch/index.php -> line 20<br />
    * /e/data/template/loginiframetemp.txt -> line 7<br />
    * /e/data/template/loginiframetemp.txt -> line 18<br />
    * /e/data/template/loginiframetemp.txt -> line 19<br />
    * /e/class/q_functions.php -> line 320<br />
    * /e/class/q_functions.php -> line 433<br />
    * /e/class/q_functions.php -> line 434<br />
    * /e/member/login/loginjs.php -> line 7<br />
    * /e/member/login/loginjs.php -> line 18<br />
    * /e/member/login/loginjs.php -> line 19<br />
    * /e/pl/index.php -> line 10<br />
    * /e/member/register/ChangeRegister.php -> line 20<br />
    * /e/class/qinfofun.php -> line 700<br />
    * /e/class/qinfofun.php -> line 701<br />
    * /e/class/qinfofun.php -> line 702<br />
    * /e/class/qinfofun.php -> line 734<br />
    * /e/admin/ListInfoClass.php -> line 325<br />
    * /e/admin/ListInfoClass.php -> line 468<br />
    * /e/space/template/default/gbook.temp.php -> line 9<br />
    * /e/space/template/default/gbook.temp.php -> line 113<br />
    * /e/class/user.php -> line 487<br />
    * /e/class/user.php -> line 629<br />
    * /e/class/user.php -> line 780<br />
    * /e/class/user.php -> line 784<br />
    * /e/class/user.php -> line 789<br />
    * /e/class/user.php -> line 797<br />
    * /e/class/user.php -> line 819<br />
    * /e/class/user.php -> line 1005<br />
    * /e/admin/ebak/inc/header.php -> line 16<br />
    * /e/admin/ebak/inc/header.php -> line 17<br />
    * /e/admin/ebak/inc/header.php -> line 18<br />
    * /e/admin/ebak/inc/header.php -> line 19<br />
    * /e/payapi/alipay/payend.php -> line 11<br />
    * /e/payapi/alipay/payend.php -> line 20<br />
    * /e/payapi/alipay/payend.php -> line 107<br />
    * /e/payapi/alipay/payend.php -> line 114<br />
    * /e/payapi/pay.php -> line 56<br />
    * /e/payapi/tenpay/payend.php -> line 11<br />
    * /e/payapi/tenpay/payend.php -> line 20<br />
    * /e/payapi/tenpay/payend.php -> line 101<br />
    * /e/payapi/tenpay/payend.php -> line 108<br />
    * /e/space/CheckUser.php -> line 10<br />
    * /e/template/ShopSys/order.php -> line 11<br />
    * /e/template/ShopSys/order.php -> line 135<br />
    * /e/template/ShopSys/order.php -> line 153<br />
    * /e/class/CheckClassLevel.php -> line 19<br />
    * /e/class/CheckClassLevel.php -> line 20<br />
    * /e/DoInfo/ecms.php -> line 17<br />
    * /e/DoInfo/ecms.php -> line 18<br />
    * /e/DoInfo/ecms.php -> line 19<br />
    * /e/enews/plfun.php -> line 16<br />
    * /e/enews/plfun.php -> line 17<br />
    * /e/enews/plfun.php -> line 18<br />
    * /e/enews/plfun.php -> line 105<br />
    * /e/enews/plfun.php -> line 242<br />
    * /e/class/cjfun.php -> line 1773<br />
    * /e/payapi/ShopPay.php -> line 23<br />
    * /e/enews/votefun.php -> line 10<br />
    * /e/enews/votefun.php -> line 45<br />
    * /e/enews/votefun.php -> line 159<br />
    * /e/class/ShopSysFun.php -> line 42<br />
    * /e/class/ShopSysFun.php -> line 116<br />
    * /e/class/ShopSysFun.php -> line 132<br />
    * /e/class/ShopSysFun.php -> line 189<br />
    * /e/class/ShopSysFun.php -> line 190<br />
    * /e/class/ShopSysFun.php -> line 193<br />
    * /e/class/ShopSysFun.php -> line 286<br />
    * /e/ShopSys/SubmitOrder/index.php -> line 15<br />
    * /e/space/template/comdefault/gbook.temp.php -> line 9<br />
    * /e/space/template/comdefault/gbook.temp.php -> line 113<br />
    * /e/member/register/index.php -> line 20<br />
    * /e/class/adminfun.php -> line 6<br />
    * /e/class/adminfun.php -> line 8<br />
    * /e/class/adminfun.php -> line 36<br />
    * /e/class/adminfun.php -> line 37<br />
    * /e/ShopSys/order/index.php -> line 16<br />
    * /e/admin/ListClass.php -> line 23<br />
    * /e/admin/ListClass.php -> line 87<br />
    * /e/admin/ListClass.php -> line 96<br />
    * /e/enews/gbookfun.php -> line 6<br />
    * /e/enews/gbookfun.php -> line 29<br />
    * /e/enews/gbookfun.php -> line 54<br />
    * /e/enews/gbookfun.php -> line 55<br />
    * /e/member/mspace/feedbackfun.php -> line 16<br />
    * /e/member/mspace/feedbackfun.php -> line 19<br />
    * /e/search/index.php -> line 127<br />
    * /e/search/index.php -> line 134<br />
    * /e/admin/ecmseditor/FileMain.php -> line 28<br />
    * /e/class/connect.php -> line 1916<br />
    * /e/class/connect.php -> line 2257<br />
    * /e/template/ShopSys/SubmitOrder.php -> line 11<br />
    * /e/template/ShopSys/SubmitOrder.php -> line 145<br />
    * /e/template/ShopSys/buycar.php -> line 11<br />
    * /e/action/ListInfo.php -> line 66<br />
    * /e/member/iframe/index.php -> line 7<br />
    * /e/member/iframe/index.php -> line 18<br />
    * /e/member/iframe/index.php -> line 19<br />
    * /e/DoInfo/AddInfo.php -> line 27<br />
    * /e/DoInfo/AddInfo.php -> line 28<br />
    * /e/DoInfo/AddInfo.php -> line 29<br />
    * /e/class/CheckLevel.php -> line 103<br />
    * /e/class/CheckLevel.php -> line 104<br />
    * /e/class/CheckLevel.php -> line 107<br />
    * /e/class/CheckLevel.php -> line 118<br />
    * /e/class/CheckLevel.php -> line 128<br />
    * /e/class/CheckLevel.php -> line 176<br />
    * /e/class/CheckLevel.php -> line 198<br />
    * /e/payapi/chinabank/payend.php -> line 11<br />
    * /e/payapi/chinabank/payend.php -> line 20<br />
    * /e/payapi/chinabank/payend.php -> line 92<br />
    * /e/payapi/chinabank/payend.php -> line 99<br />
    * /e/data/template/schalltemp.txt -> line 20<br />
    * /e/DoInfo/ChangeClass.php -> line 21<br />
    * /e/DoInfo/ChangeClass.php -> line 22<br />
    * /e/action/ListInfo/index.php -> line 32<br />
    * /e/class/functions.php -> line 7<br />
    * /e/class/functions.php -> line 3468<br />
    * /e/class/functions.php -> line 3469<br />
    * /e/class/functions.php -> line 3470<br />
    * /e/class/functions.php -> line 3478<br />
    * /e/class/functions.php -> line 3479<br />
    * /e/class/functions.php -> line 3484<br />
    * /e/class/functions.php -> line 3486<br />
    * /e/class/functions.php -> line 3488<br />
    * /e/class/functions.php -> line 3498<br />
    * /e/class/functions.php -> line 3507<br />
    * /e/class/functions.php -> line 3524<br />
    * /e/class/functions.php -> line 3536<br />
    * /e/class/functions.php -> line 3537<br />
    * /e/class/functions.php -> line 3538<br />
    * /e/class/functions.php -> line 3541<br />
    * /e/class/functions.php -> line 3575<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/ecms-cookie-functions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ReplaceSvars() 帝国CMS函数</title>
		<link>http://www.trylife.cn/replacesvars-ecms-functions/</link>
		<comments>http://www.trylife.cn/replacesvars-ecms-functions/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 19:29:58 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[帝国CMS]]></category>
		<category><![CDATA[帝国CMS二次开发]]></category>
		<category><![CDATA[帝国CMS插件]]></category>
		<category><![CDATA[帝国CMS模板]]></category>
		<category><![CDATA[帝国CMS函数]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1156</guid>
		<description><![CDATA[函数：ReplaceSvars()
 功能：替换公共标记
 位置：帝国CMS e/class/connect.php
修改例子一：增加网站名称标签
1.函数体return $temp;上方加入代码如下

//增加网站名称标签
$temp=str_replace('[!--sitename--]',$public_r['sitename'],$temp);

2.[!--sitename--]标签加入模板测试 可以显示网站名称
讨论：
0.只针对部分模板有用 比如首页模板 ，对列表模板 内容模板 是其他函数作用:

列表：e/class/functions.php Class_ReplaceSvars()
内容：e/class/functions.php nfo_ReplaceSvars()
搜索：e/class/functions.php nfo_ReplaceStemp()

1.例子本身没有什么意义，在模板中我们完全可以使用&#60;?=$public_r[sitename]?&#62;来表示网站名称
2.模板内多处使用网站地址使用[!--news.url--]要比使用&#60;?=$public_r[newsurl]?&#62;效率稍高

原函数：(EmpireCMS 6.5)
//替换公共标记

function ReplaceSvars($temp,$url,$classid,$title,$key,$des,$add,$repvar=1){

	global $public_r,$class_r,$class_zr;

	if($repvar==1)//全局模板变量

	{

		$temp=ReplaceTempvar($temp);

	}

	$temp=str_replace('[!--class.menu--]',$public_r['classnavs'],$temp);//栏目导航

	$temp=str_replace('[!--newsnav--]',$url,$temp);//位置导航

	$temp=str_replace('[!--pagetitle--]',$title,$temp);

	$temp=str_replace('[!--pagekey--]',$key,$temp);

	$temp=str_replace('[!--pagedes--]',$des,$temp);

	$temp=str_replace('[!--self.classid--]',0,$temp);

	$temp=str_replace('[!--news.url--]',$public_r['newsurl'],$temp);

	return $temp;

}

]]></description>
			<content:encoded><![CDATA[<p><strong>函数：</strong>ReplaceSvars()<br />
<strong> 功能：</strong>替换公共标记<br />
<strong> 位置：</strong>帝国CMS e/class/connect.php</p>
<h3>修改例子一：增加网站名称标签</h3>
<p><strong>1.函数体return $temp;上方加入代码如下</strong><br />
<code><br />
//增加网站名称标签<br />
$temp=str_replace('[!--sitename--]',$public_r['sitename'],$temp);<br />
</code></p>
<p><strong>2.[!--sitename--]标签加入模板测试 可以显示网站名称</strong></p>
<h3>讨论：</h3>
<p>0.只针对部分模板有用 比如首页模板 ，对列表模板 内容模板 是其他函数作用:<br />
<em><br />
列表：e/class/functions.php Class_ReplaceSvars()<br />
内容：e/class/functions.php nfo_ReplaceSvars()<br />
搜索：e/class/functions.php nfo_ReplaceStemp()<br />
</em><br />
1.例子本身没有什么意义，在模板中我们完全可以使用&lt;?=$public_r[sitename]?&gt;来表示网站名称<br />
2.模板内多处使用网站地址使用[!--news.url--]要比使用&lt;?=$public_r[newsurl]?&gt;效率稍高</p>
<p><span id="more-1156"></span></p>
<p><strong>原函数：(EmpireCMS 6.5)</strong></p>
<pre class="php">//替换公共标记

function ReplaceSvars($temp,$url,$classid,$title,$key,$des,$add,$repvar=1){

	global $public_r,$class_r,$class_zr;

	if($repvar==1)//全局模板变量

	{

		$temp=ReplaceTempvar($temp);

	}

	$temp=str_replace('[!--class.menu--]',$public_r['classnavs'],$temp);//栏目导航

	$temp=str_replace('[!--newsnav--]',$url,$temp);//位置导航

	$temp=str_replace('[!--pagetitle--]',$title,$temp);

	$temp=str_replace('[!--pagekey--]',$key,$temp);

	$temp=str_replace('[!--pagedes--]',$des,$temp);

	$temp=str_replace('[!--self.classid--]',0,$temp);

	$temp=str_replace('[!--news.url--]',$public_r['newsurl'],$temp);

	return $temp;

}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/replacesvars-ecms-functions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ReplaceListVars() 帝国CMS函数</title>
		<link>http://www.trylife.cn/replacelistvars-ecms-functions/</link>
		<comments>http://www.trylife.cn/replacelistvars-ecms-functions/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 16:46:28 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[帝国CMS]]></category>
		<category><![CDATA[帝国CMS二次开发]]></category>
		<category><![CDATA[帝国CMS插件]]></category>
		<category><![CDATA[帝国CMS模板]]></category>
		<category><![CDATA[帝国CMS函数]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1134</guid>
		<description><![CDATA[函数：ReplaceListVars()
 功能：替换列表模板/标签模板/搜索模板
 位置：帝国CMS e/class/connect.php



例子一：最新信息图标



例子二：N分钟前信息 个性时间显示




修改例子一：最新信息 new图标
1.准备个图标放在e/trylife/common/images/title_new.gif
2.ReplaceListVars()函数体内 return $listtemp; 代码上方加入如下代码：

$new_icon='';
if((time()-$r[newstime])&#60;86400)
{
$new_icon='&#60;img src="'.$public_r[newsurl].'e/trylife/common/images/title_new.gif" /&#62;';
}
$listtemp=str_replace('[!--NewIcon--]',$new_icon,$listtemp);

3.列表模板VAR合适位置加入[!--NewIcon--]
5.刷新列表（动态列表就不用刷新了）
修改例子二：多少分钟前信息
1.e/class/userfun.php加入如下函数
//多少小时以前
function trylife_TimePass($newstime,$formatdate)
{
	//过去的秒钟数
	$p=time()-$newstime;

	if($p&#60;60)
	{
		return ''.$p.'秒前';
	}
	elseif($p&#60;3600)
	{
		return ''.floor($p/60).'分钟前';
	}
	elseif($p&#60;86400)
	{
		return ''.floor($p/3600).'小时前';
	}
	elseif($p&#60;2592000)//30天
	{
		return ''.floor($p/86400).'天前';
	}
	else
	{
		return format_datetime($newstime,$formatdate);
	}

}

2.ReplaceListVars() 函数体内修改片段
		elseif($f=='newstime')//时间

		{

			//$value=date($formatdate,$value);

			//$value=format_datetime($value,$formatdate);
			$value=trylife_TimePass($value,$formatdate);

			$spf=1;

		}

讨论：
1.实现例子中效果的方法很多，比如使用列表模板VAR支持动态代码 在模板VAR中进行判断
2.如果不是整站需要此类的功能，还是讨论1中的方法会节省整体效率
3.ReplaceListVars()支持对列表模板/标签模板/搜索模板的替换，其他情况下比如使用灵动标签的情况还需要重写相同代码到模板中，使用情况多的话，还是将返回图标功能写成函数定义到e/class/userfun.php中，这样就可以重复使用～～
4.例子二 实际应用页面生成的是HTML的话 用JS更为合理～～ 节省资源和时间实时
]]></description>
			<content:encoded><![CDATA[<p><strong>函数：</strong>ReplaceListVars()<br />
<strong> 功能：</strong>替换列表模板/标签模板/搜索模板<br />
<strong> 位置：</strong>帝国CMS e/class/connect.php</p>
<div>
<div style="float:left; text-align:center;;">
<img class="alignnone size-full wp-image-1139" title="new_icon_demo" src="http://www.trylife.cn/wp-content/uploads/2010/08/new_icon_demo.jpg" alt="" width="310"  /></p>
<p><b>例子一：最新信息图标</b></p>
</div>
<div style="float:right; text-align:center;">
<img class="alignnone size-full wp-image-1152" title="ecms_min_ago" src="http://www.trylife.cn/wp-content/uploads/2010/08/ecms_min_ago.jpg" alt="" width="310"/></p>
<p><b>例子二：N分钟前信息 个性时间显示</b></p>
</div>
<div style="clear:both"></div>
</div>
<p><span id="more-1134"></span></p>
<h3>修改例子一：最新信息 new图标<img class="alignnone size-full wp-image-1137" title="title_new" src="http://www.trylife.cn/wp-content/uploads/2010/08/title_new.gif" alt="" width="27" height="9" /></h3>
<p>1.准备个图标放在e/trylife/common/images/title_new.gif<br />
2.ReplaceListVars()函数体内 <span style="color: #008000;">return $listtemp;</span> 代码上方加入如下代码：</p>
<p><code><br />
$new_icon='';<br />
if((time()-$r[newstime])&lt;86400)<br />
{<br />
$new_icon='&lt;img src="'.$public_r[newsurl].'e/trylife/common/images/title_new.gif" /&gt;';<br />
}<br />
$listtemp=str_replace('[!--NewIcon--]',$new_icon,$listtemp);<br />
</code></p>
<p>3.列表模板VAR合适位置加入[!--NewIcon--]<br />
5.刷新列表（动态列表就不用刷新了）</p>
<h3>修改例子二：多少分钟前信息</h3>
<p>1.e/class/userfun.php加入如下函数</p>
<pre class="php" name="code">//多少小时以前
function trylife_TimePass($newstime,$formatdate)
{
	//过去的秒钟数
	$p=time()-$newstime;

	if($p&lt;60)
	{
		return '<span style="color: red;"><strong>'.$p.'</strong>秒前</span>';
	}
	elseif($p&lt;3600)
	{
		return '<span style="color: green;"><strong>'.floor($p/60).'</strong>分钟前</span>';
	}
	elseif($p&lt;86400)
	{
		return '<span style="color: blue;"><strong>'.floor($p/3600).'</strong>小时前</span>';
	}
	elseif($p&lt;2592000)//30天
	{
		return '<span style="color: gray;"><strong>'.floor($p/86400).'</strong>天前</span>';
	}
	else
	{
		return format_datetime($newstime,$formatdate);
	}

}
</pre>
<p>2.ReplaceListVars() 函数体内修改片段</p>
<pre class="php" name="code">		elseif($f=='newstime')//时间

		{

			//$value=date($formatdate,$value);

			//$value=format_datetime($value,$formatdate);
			$value=trylife_TimePass($value,$formatdate);

			$spf=1;

		}
</pre>
<h3>讨论：</h3>
<p>1.实现例子中效果的方法很多，比如使用列表模板VAR支持动态代码 在模板VAR中进行判断<br />
2.如果不是整站需要此类的功能，还是讨论1中的方法会节省整体效率<br />
3.ReplaceListVars()支持对列表模板/标签模板/搜索模板的替换，其他情况下比如使用灵动标签的情况还需要重写相同代码到模板中，使用情况多的话，还是将返回图标功能写成函数定义到e/class/userfun.php中，这样就可以重复使用～～<br />
4.例子二 实际应用页面生成的是HTML的话 用JS更为合理～～ 节省资源和时间实时</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/replacelistvars-ecms-functions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP5.3  ZendOptimizer</title>
		<link>http://www.trylife.cn/php5-3-x-with-zendoptimizer/</link>
		<comments>http://www.trylife.cn/php5-3-x-with-zendoptimizer/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 12:35:55 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP 5.3.*]]></category>
		<category><![CDATA[Zend Guard]]></category>
		<category><![CDATA[Zend Optimizer]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1109</guid>
		<description><![CDATA[从PHP5.3.x开始Zend Guard 将代替ZendOptimizer：

从PHP5.3k开始Zend Guard将取代Zend Optimizer~下载安装Zend Guard
实际上不用装Zend Guard了 直接下载LOADER就可以了
下好之后扔进usr/local/zend/ 修改php.ini就可以了～和以前的Zend Optimizer一样

地址：http://forums.zend.com/viewtopic.php?f=57&#38;t=6595
运行的接过还是很让人无奈的应该是文件加密的版本太低了 出现下面的错误

Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in


下面的内容不用看了 就是为了撑下版面 囧：
PHP版本和ZendOptimizer版本不对应

trylife@ubuntu:~$ php -version
Zend Optimizer requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for [...]]]></description>
			<content:encoded><![CDATA[<h1>从PHP5.3.x开始Zend Guard 将代替ZendOptimizer：</h1>
<p><code><br />
从PHP5.3k开始Zend Guard将取代Zend Optimizer~下载安装Zend Guard<br />
实际上不用装Zend Guard了 直接下载LOADER就可以了<br />
下好之后扔进usr/local/zend/ 修改php.ini就可以了～和以前的Zend Optimizer一样<br />
</code><br />
地址：http://forums.zend.com/viewtopic.php?f=57&amp;t=6595</p>
<p><strong>运行的接过还是很让人无奈的</strong>应该是文件加密的版本太低了 出现下面的错误</p>
<p><code><br />
Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in<br />
</code></p>
<p><span id="more-1109"></span></p>
<h3>下面的内容不用看了 就是为了撑下版面 囧：</h3>
<p><strong>PHP版本和ZendOptimizer版本不对应</strong><br />
<code class="Terminal"><br />
trylife@ubuntu:~$ php -version<br />
Zend Optimizer requires Zend Engine API version 220060519.<br />
The Zend Engine API version 220090626 which is installed, is newer.<br />
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer.</code><code class="Terminal"><br />
PHP Warning:  PHP Startup: Zend Optimizer: Unable to initialize module<br />
Module compiled with module API=20060613<br />
PHP    compiled with module API=20090626<br />
These options need to match<br />
in Unknown on line 0</code><code class="Terminal"><br />
PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli) (built: May 13 2010 20:03:45)<br />
Copyright (c) 1997-2009 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies</code></p>
<p><strong>ZendOptimizer 还没有支持PHP5.3.x的版本</strong><br />
<code class="Terminal"><br />
trylife@ubuntu:~/ZendOptimizer-3.3.9-linux-glibc23-x86_64/data$ ls -ll<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 4_2_0_comp<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 4_2_x_comp<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 4_3_x_comp<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 4_4_x_comp<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 5_0_x_comp<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 5_1_x_comp<br />
drwxr-xr-x 2 root root 4096 2009-08-24 19:58 5_2_x_comp<br />
-rw-r--r-- 1 root root 2088 2004-01-29 00:35 poweredbyoptimizer.gif<br />
</code></p>
<p><strong><br />
要退回到PHP5.2.x?</strong>貌似不用<br />
<code class="Terminal"><br />
Zend has released an "Early Access" release of Zend Guard with support for PHP 5.3. Along with this release is a EA release of a "Guard Loader "component which is the run-time component for Zend Guard for PHP 5.3 (this issued instead of Optimizer). This release was fully tested with Zend Server and Zend Server CE. In each package there is a README file that explains how to install Guard Loader 5.3 on Zend Server/CE. For non-Zend Server installs users will have to copy the .so/.dll to their server and add to their php.ini:<br />
</code><br />
从PHP5.3k开始Zend Guard将取代Zend Optimizer~下载安装Zend Guard</p>
<p><span style="color: #ff0000;">实际上不用装Zend Guard了 直接下载LOADER就可以了</p>
<p>http://forums.zend.com/viewtopic.php?f=57&amp;t=6595</span></p>
<p><span style="color: #ff0000;">下好之后扔进usr/local/zend/ 修改php.ini就可以了～和以前的Zend Optimizer一样<br />
</span></p>
<p><code class="Terminal"><br />
trylife@ubuntu:~/Downloads$ wget http://downloads.zend.com/guard/5.1.0EA/ZendGuard-5_1_0_EA.bin<br />
trylife@ubuntu:~/Downloads$ ./ZendGuard-5_0_1.bin<br />
Preparing to install...<br />
Extracting the JRE from the installer archive...<br />
Unpacking the JRE...<br />
Extracting the installation resources from the installer archive...<br />
Configuring the installer for this system's environment...<br />
#.....<br />
Launching installer... #从现在开始卡一段时间<br />
</code></p>
<p>接下来出现界面步骤<br />
<img class="alignnone size-full wp-image-1123" title="Screenshot-Untitled Window-Zend-Guard" src="http://www.trylife.cn/wp-content/uploads/2010/08/Screenshot-Untitled-Window-Zend-Guard.png" alt="" width="603" height="400" /></p>
<p><strong>运行的接过还是很让人无奈的</strong>应该是文件加密的版本太低了 出现下面的错误</p>
<p><code class="Terminal"><br />
Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/php5-3-x-with-zendoptimizer/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>好看的动漫</title>
		<link>http://www.trylife.cn/%e5%a5%bd%e7%9c%8b%e7%9a%84%e5%8a%a8%e6%bc%ab/</link>
		<comments>http://www.trylife.cn/%e5%a5%bd%e7%9c%8b%e7%9a%84%e5%8a%a8%e6%bc%ab/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 20:51:50 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[Psychology]]></category>
		<category><![CDATA[动漫]]></category>
		<category><![CDATA[好看的日本动漫]]></category>
		<category><![CDATA[有什么好看的动漫]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1071</guid>
		<description><![CDATA[好看的动漫]]></description>
			<content:encoded><![CDATA[<h1>好看的动漫</h1>
<p>trylife个人觉得好看的动漫都是迎合人的心理的，不同人群有不同的心理需要，所以好看的动漫还是要分人群的；你是属于那一类人群呢？你心理需要的好看的动漫又是哪一种呢？</p>
<h3>好看的动漫NO1:从弱小变强大</h3>
<div>
<p style="float: left; padding-left: 30px;"><img class="alignnone size-full wp-image-1074" title="好看的动漫：火影忍者" src="http://www.trylife.cn/wp-content/uploads/2010/08/huoyingrenzhe.jpg" alt="" width="120" height="168" /></p>
<p style="padding-left: 30px; padding: 5px 8px;">代表：<strong>《火影忍者》</strong><br />
很多人都有弱小的经历和感受，遇到同类的武侠小说，动漫作品都会深深的被故事里主人公从弱小变强大，得到认同的过程而吸引，产生共鸣；主人公从弱小不被看中到强大得到认同这一个过程相信你也是看的身临其境，有时候会意淫幻想你就是那个主角；另外还有你的英雄情节，看到主人公危急时刻挺挺身而出，比如鸣人打到第一个佩恩的时候，你是不是也很激动呢？</p>
<p>你有发现《火影忍者》开始不好看了吗？鸣人已经长大了，你也长大了；渐渐的已经不再符合你的心理需要了，现在继续看可能还纠结这过往的感情，期待更新可能是期待故事的结局；
</p>
<div style="clear:both"></div>
</div>
<h3>好看的动漫NO2:我想有个法宝</h3>
<div>
<p style="float: left; padding-left: 30px;"><img class="alignnone size-full wp-image-1074" title="好看的动漫:机器猫" src="http://www.trylife.cn/wp-content/uploads/2010/08/jiqimao.jpg" alt="" width="120" height="168" /></p>
<p style="padding-left: 30px; padding: 5px 8px;">代表：<strong>《机器猫》</strong><br />
同NO1一样还是小时候老被欺负，但是发现通过自我修炼还是难以强大，这个时候你想有一个法宝；神仙们都有法宝，大雄也有法宝，不过大雄的法宝更贴近科学和可能，所以选了大雄的机器猫；</p>
<p>每次这个机器猫都能解决问题，或者帮助收拾胖子；大熊的机器猫要比圣斗士的战衣要贴近现实的多，圣斗士都是干到宇宙里面的，想有个贴近生活的还是机器猫这玩意有用；</p>
<p>你想有个法宝，你爱上了法宝类型的动漫……
</p>
<div style="clear:both"></div>
</div>
<h3>好看的动漫NO3:运动场上装B</h3>
<div>
<p style="float: left; padding-left: 30px;"><img class="alignnone size-full wp-image-1074" title="好看的动漫:灌篮高手" src="http://www.trylife.cn/wp-content/uploads/2010/08/guanlangaoshou.jpg" alt="" width="120" height="168" /></p>
<p style="padding-left: 30px; padding: 5px 8px;">代表：<strong>《灌篮高手》</strong><br />
这个就更贴近生活了，运动男的动漫最爱，夸张的描写，传奇的色彩；各种技能无限装B；记得还有个《足球小子》当然还有《网球王子》《篮球飞人》这些都是贴近生活的幻想，你觉得好看是因为你需要……
</p>
<div style="clear:both"></div>
</div>
<h3>好看的动漫NO4:生理需要</h3>
<div>
<p style="float: left; padding-left: 30px;"><img class="alignnone size-full wp-image-1074" title="好看的动漫:两个人的世界" src="http://www.trylife.cn/wp-content/uploads/2010/08/lianggerendeshijie.jpg" alt="" width="120" height="168" /></p>
<p style="padding-left: 30px; padding: 5px 8px;">代表：<strong>《两个人的世界》</strong><br />
你也长大了，你开始有需要了，于是你对两性神秘的探索开始了，那些萌系的我们就直接飘过吧；直接来到深入了解的境界；其实这部漫画里的内容很有教育意义；吃果子前，特别是结婚前看看，胜过看任何A片，教育片……<br />
看一部好的H动漫，要比看一步高清的A片有进步的多，成年那女人手必备～<br />
当然还有同人动漫属于特殊需要了 ～
</p>
<div style="clear:both"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/%e5%a5%bd%e7%9c%8b%e7%9a%84%e5%8a%a8%e6%bc%ab/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>围观时代 &#8211; 创建独立博客围观流效应</title>
		<link>http://www.trylife.cn/sns-onlookers/</link>
		<comments>http://www.trylife.cn/sns-onlookers/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 18:51:24 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[博主足迹]]></category>
		<category><![CDATA[围观]]></category>
		<category><![CDATA[围观流]]></category>
		<category><![CDATA[围观队伍]]></category>
		<category><![CDATA[流入]]></category>
		<category><![CDATA[流出]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1043</guid>
		<description><![CDATA[继续上一篇 博客ping好友设想 – 独立博客的P2P SNS trylife继续联想：
围观流与围观队伍
1.围观流
独立博客虽然是网络社会的一个成员，也显示的很独立；发篇博文来围观的都是网络“散民”；有没有一种可能让围观产生流动效应，你可以想象一群围“散民”群众在某一个博客围观之后，通过博主的侧栏足迹围观到另一个博客呢，形成一种群众足迹的流动；
可以想象下跟随你喜欢的博主足迹（大多为评论足迹）去踩踏或追捧另外一个博主，你会不会感觉很有意思呢；而且这种关系已经从登门拜访升级到了跟随出游的程度；不要老和你的客人呆在家里，出去还可以苔青，还可以盖楼开房呢！
现在的独立博客，入流点基本上建立在博主的博文上，流出点会在评论链接，或者关闭浏览；流出点流出点造成了一定的损失，评论链接点出后的内容是被喜欢的成功率很低，而根据足迹（跟随博主评论）这样的模式会大大提高流出的价值；
2.围观队伍
围观流形成，会逐渐形成习惯，形成围观队伍；围观队伍的名称可以是这样格式 [XXX博主的围观小队]xxx;受益的不仅是你足迹的博客，也同样给你带来了声望；这样的模式形成trylife相信很多浏览者会期待博主的足迹，因为这样的功能会给你的浏览者带来社会功能的享受，也会在没有更新博客时候带来原始点入；
围观流与围观队伍的价值
1.带粉丝者出去玩，增加感情 增加你和你的粉丝的感情，增加你和被围观者的感情
2.围观团队增加声望 [XXX博主的围观小队]xxx 不损失你的人气，还会增加你的名气
3.增加流出价值  看完你的新博文评论之后，不是关闭，而是流出
4.社会团体性，网络玩起来更有意思 带人出去踩踏围观,风骚阿
5.共享话题 一个人创建话题总是有限，带出去享受更多的讨论
6.评论你的评论 出门总是不孤独
7.围观软文？ 有点品的都不会这么干
8.你想到的啥？ 来吧 说说撒
名词解释
1.博主足迹：博主评论/浏览其他独立博客并在自己博客留下的动态链接
2.流入:博主流量来源（这里不说点入，是因点入相对个体而言，流入相对群体而言）
3.流出：群体离开博客的方式（相对点出同上）
4.围观流：根据博主评论足迹的流出效应
]]></description>
			<content:encoded><![CDATA[<p>继续上一篇 <a title="Permanent Link to 博客ping好友设想 – 独立博客的P2P SNS" rel="bookmark" href="../blog-friend-ping/">博客ping好友设想 – 独立博客的P2P SNS</a> trylife继续联想：</p>
<h3>围观流与围观队伍</h3>
<p><strong>1.围观流</strong></p>
<p>独立博客虽然是网络社会的一个成员，也显示的很独立；发篇博文来围观的都是网络“散民”；有没有一种可能让围观产生流动效应，你可以想象一群围“散民”群众在某一个博客围观之后，通过博主的<strong><span style="color: #ff0000;">侧栏足迹</span></strong>围观到另一个博客呢，形成一种群众足迹的流动；</p>
<p>可以想象下跟随你喜欢的博主足迹（大多为评论足迹）去踩踏或追捧另外一个博主，你会不会感觉很有意思呢；而且这种关系已经从登门拜访升级到了跟随出游的程度；不要老和你的客人呆在家里，出去还可以苔青，还可以盖楼开房呢！</p>
<p>现在的独立博客，入流点基本上建立在博主的博文上，流出点会在评论链接，或者关闭浏览；流出点流出点造成了一定的损失，评论链接点出后的内容是被喜欢的成功率很低，而根据足迹（跟随博主评论）这样的模式会大大提高流出的价值；</p>
<p><strong>2.围观队伍</strong></p>
<p>围观流形成，会逐渐形成习惯，形成围观队伍；围观队伍的名称可以是这样格式 [XXX博主的围观小队]xxx;受益的不仅是你足迹的博客，也同样给你带来了声望；这样的模式形成trylife相信很多浏览者会期待博主的足迹，因为这样的功能会给你的浏览者带来社会功能的享受，也会在没有更新博客时候带来原始点入；</p>
<h3>围观流与围观队伍的价值</h3>
<p><strong>1.带粉丝者出去玩，增加感情</strong> 增加你和你的粉丝的感情，增加你和被围观者的感情<br />
<strong>2.围观团队增加声望</strong> [XXX博主的围观小队]xxx 不损失你的人气，还会增加你的名气<br />
<strong>3.增加流出价值 </strong> 看完你的新博文评论之后，不是关闭，而是流出<br />
<strong>4.社会团体性，网络玩起来更有意思</strong> 带人出去踩踏围观,风骚阿<br />
<strong>5.共享话题</strong> 一个人创建话题总是有限，带出去享受更多的讨论<br />
<strong>6.评论你的评论</strong> 出门总是不孤独<br />
<strong>7.围观软文？</strong> 有点品的都不会这么干<br />
<strong>8.你想到的啥？</strong> 来吧 说说撒</p>
<h3><strong>名词解释</strong></h3>
<address>1.博主足迹：博主评论/浏览其他独立博客并在自己博客留下的动态链接<br />
2.流入:博主流量来源（这里不说点入，是因点入相对个体而言，流入相对群体而言）<br />
3.流出：群体离开博客的方式（相对点出同上）<br />
4.围观流：根据博主评论足迹的流出效应</address>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/sns-onlookers/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>tieba.baidu.jp</title>
		<link>http://www.trylife.cn/tieba-baidu-jp/</link>
		<comments>http://www.trylife.cn/tieba-baidu-jp/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 18:02:24 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[other]]></category>
		<category><![CDATA[baidu.jp]]></category>
		<category><![CDATA[images.baidu.jp]]></category>
		<category><![CDATA[tieba.baidu.jp]]></category>
		<category><![CDATA[video.baidu.jp]]></category>
		<category><![CDATA[日本百度]]></category>
		<category><![CDATA[日本百度图片搜索]]></category>
		<category><![CDATA[日本百度怎么上]]></category>
		<category><![CDATA[日本百度视频搜索]]></category>
		<category><![CDATA[日本百度贴吧]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=985</guid>
		<description><![CDATA[tieba.baidu.jp,日本百度]]></description>
			<content:encoded><![CDATA[<h3>tieba.baidu.jp 一定是精英团队</h3>
<p>日本百度贴吧上线域名tieba.baidu.jp 废话不多说，下面就说为啥是精英团队：</p>
<p>baidu.jp 日本百度<br />
tieba.baidu.jp 日本百度贴吧<br />
image.baidu.jp 日本百度图片搜索<br />
video.baidu.jp 日本百度视频搜索</p>
<h3>一.了解用户需求</h3>
<p><strong>1.了解日本本土用户需求</strong><br />
日本的本土需求就是S释放压力，注意下图的马赛克，本身是不存在的哦<br />
<strong>2.兼顾祖国用户需求</strong><br />
虽然访问需要少许翻墙技术，<span style="color: #ff0000;">相信你有翻墙的能力这些内容也一定美发毒害你。</span></p>
<p><img class="alignnone size-full wp-image-987" title="tieba.baidu.jp-1" src="http://www.trylife.cn/wp-content/uploads/2010/08/tieba.baidu_.jp-1.jpg" alt="" width="500" height="348" /></p>
<h3>二.良好用户体验功能</h3>
<p><strong>1.相册功能</strong><br />
注意上图有个相册功能，这是国内百度搜索没做到的。</p>
<p><strong>2.浏览图片大小缩放，可拖动观察细节</strong><br />
这么简单的功能，放在这里实在是太实用了；高清 &#8211; -!不能截图的</p>
<h3>三.相信一定火爆</h3>
<p>这么精英的团队一定会满足用户～</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/tieba-baidu-jp/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
		</item>
	</channel>
</rss>
