<?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>等级 &#8211; LPC影子技术分享</title>
	<atom:link href="https://www.mudbest.com/tag/%E7%AD%89%E7%BA%A7/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mudbest.com</link>
	<description>行影不离,忘之却步.</description>
	<lastBuildDate>Mon, 01 Oct 2012 12:30:35 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.1</generator>
	<item>
		<title>会员等级处理函数</title>
		<link>https://www.mudbest.com/%e4%bc%9a%e5%91%98%e7%ad%89%e7%ba%a7%e5%a4%84%e7%90%86%e5%87%bd%e6%95%b0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 14 Mar 2011 10:02:34 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[等级]]></category>
		<guid isPermaLink="false">http://www.mudbest.com/?p=472</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
/**
 * 会员等级处理函数
 * by hkshadow
 * 2011-03-14
 * Enter description here ...
 */
function scoress($int){
	global $dsql;
	$sql = &quot;SELECT * FROM `##_scores`&quot;;
	$dsql-&gt;query('me',$sql);
	while ($row = $dsql-&gt;GetArray()) {
		$rows &#x5B;] = $row;
	}
	if ($int &gt; 0 &amp;&amp; $int &lt; $rows&#x5B;'1']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'star.gif');
	}else if ($int &gt; 1000 &amp;&amp; $int &lt; $rows&#x5B;'2']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'star.gif','1'=&gt;'star.gif');
	}else if ($int &gt; 2000 &amp;&amp; $int &lt; $rows&#x5B;'3']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'star.gif','1'=&gt;'star.gif','2'=&gt;'star.gif');
	}else if ($int &gt; 3000 &amp;&amp; $int &lt; $rows&#x5B;'4']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'moon.gif');
	}else if ($int &gt; 4000 &amp;&amp; $int &lt; $rows&#x5B;'5']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'moon.gif','1'=&gt;'star.gif');
	}else if ($int &gt; 5000 &amp;&amp; $int &lt; $rows&#x5B;'6']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'moon.gif','1'=&gt;'star.gif','2'=&gt;'star.gif');
	}else if ($int &gt; 6000 &amp;&amp; $int &lt; 7000) {
		$pic = array ('0'=&gt;'moon.gif','1'=&gt;'star.gif','2'=&gt;'star.gif','3'=&gt;'star.gif');
	}else if ($int &gt; 7000 &amp;&amp; $int &lt; 8000) {
		$pic = array ('0'=&gt;'moon.gif','1'=&gt;'moon.gif');
	}else if ($int &gt; 8000 &amp;&amp; $int &lt; 9000) {
		$pic = array ('0'=&gt;'moon.gif','1'=&gt;'moon.gif','2'=&gt;'moon.gif');
	}else if ($int &gt; 9000 &amp;&amp; $int &lt; 10000) {
		$pic = array ('0'=&gt;'sun.gif');
	}else if ($int &gt; 10000 &amp;&amp; $int &lt; 12000) {
		$pic = array ('0'=&gt;'sun.gif','1'=&gt;'sun.gif');
	}else if ($int &gt; 12000 &amp;&amp; $int &lt; 15000) {
		$pic = array ('0'=&gt;'sun.gif','1'=&gt;'sun.gif','2'=&gt;'sun.gif');
	}else if ($int &gt; 15000 &amp;&amp; $int &lt; 17000) {
		$pic = array ('0'=&gt;'guan.gif');
	}else if ($int &gt; 20000 &amp;&amp; $int &lt; $rows&#x5B;'10']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'guan.gif','1'=&gt;'guan.gif');
	}else if ($int &gt; $rows&#x5B;'10']&#x5B;'integral']) {
		$pic = array ('0'=&gt;'guan.gif','1'=&gt;'guan.gif','2'=&gt;'guan.gif');
	}
	return $pic;
//	echo $rows&#x5B;'1']&#x5B;'integral'];
}
</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
