<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8134612808009281789</id><updated>2011-08-02T09:57:05.186-07:00</updated><category term='??/'/><title type='text'>sugartiger</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-5530293736978489137</id><published>2010-10-19T17:21:00.000-07:00</published><updated>2010-10-19T17:31:38.472-07:00</updated><title type='text'>css floating</title><content type='html'>1. margin&lt;br /&gt;&lt;br /&gt;.news {background-color: gray; border: solid 1px black;}&lt;br /&gt;&lt;br /&gt;.news img {float: left;}&lt;br /&gt;&lt;br /&gt;.news p {float: right; }&lt;br /&gt;&lt;br /&gt;&lt;div class="news"&gt;&lt;br /&gt;&lt;img src="*.jpg" /&gt;&lt;br /&gt;&lt;p&gt;some text&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. margin sample&lt;br /&gt;&lt;br /&gt;.news {background-color: gray; border: solid 1px black;}&lt;br /&gt;&lt;br /&gt;.news img {float: left; }&lt;br /&gt;&lt;br /&gt;.news p { float: right; }&lt;br /&gt;&lt;br /&gt;.clear {clear: both; }&lt;br /&gt;&lt;br /&gt;&lt;div class="news"&gt;&lt;br /&gt;&lt;img src="*.jpg" /&gt;&lt;br /&gt;&lt;p&gt;some text&lt;/p&gt;&lt;br /&gt;&lt;div class="clear"&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. div floating&lt;br /&gt;&lt;br /&gt;.news { background-color: gray; border: solid 1px black; float: left; }&lt;br /&gt;&lt;br /&gt;.news img { float: left; }&lt;br /&gt;&lt;br /&gt;.news p { float: right; }&lt;br /&gt;&lt;br /&gt;&lt;div class="news"&gt;&lt;br /&gt;&lt;img src="*.jpg" /&gt;&lt;br /&gt;&lt;p&gt;some text&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;.news p { float: right; }&lt;br /&gt;&lt;br /&gt;&lt;div class="news"&gt;&lt;br /&gt;&lt;img src="news-pic.jpg" /&gt;&lt;br /&gt;&lt;p&gt;some text&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-5530293736978489137?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/5530293736978489137/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=5530293736978489137' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/5530293736978489137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/5530293736978489137'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2010/10/css-floating.html' title='css floating'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-4947822278631069260</id><published>2010-10-19T17:17:00.001-07:00</published><updated>2010-10-19T17:17:58.680-07:00</updated><title type='text'>new season fresh blood</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-4947822278631069260?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/4947822278631069260/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=4947822278631069260' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/4947822278631069260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/4947822278631069260'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2010/10/new-season-fresh-blood.html' title='new season fresh blood'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-1076120145655327081</id><published>2008-12-04T01:36:00.000-08:00</published><updated>2008-12-04T01:47:44.692-08:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_W8VHaHen7do/STem-z-gt_I/AAAAAAAAABw/60MAMwR1Kic/s1600-h/O2_IMG_WCCat_SEW980i_full_1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 145px; height: 200px;" src="http://1.bp.blogspot.com/_W8VHaHen7do/STem-z-gt_I/AAAAAAAAABw/60MAMwR1Kic/s320/O2_IMG_WCCat_SEW980i_full_1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5275869086522324978" /&gt;&lt;/a&gt;&lt;br /&gt;The Sony Ericsson W980 brings an unrivalled music experience that gives you every excuse to lose yourself in acoustic bliss.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-1076120145655327081?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/1076120145655327081/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=1076120145655327081' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/1076120145655327081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/1076120145655327081'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/12/sony-ericsson-w980-brings-unrivalled.html' title=''/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_W8VHaHen7do/STem-z-gt_I/AAAAAAAAABw/60MAMwR1Kic/s72-c/O2_IMG_WCCat_SEW980i_full_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-2950117575291165580</id><published>2008-12-04T01:31:00.000-08:00</published><updated>2008-12-04T01:36:07.034-08:00</updated><title type='text'>create a simple template engine</title><content type='html'>template.php&lt;br /&gt;==================================================================================================&lt;br /&gt;&lt;?php&lt;br /&gt;/**&lt;br /&gt;* @filename :firephp.php&lt;br /&gt;* @author :xusong lie&lt;br /&gt;* @e-mail :liexusong@yahoo.com.cn&lt;br /&gt;* @date :2008-05-03&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;class Firephp {&lt;br /&gt;    var $tpl_vars;&lt;br /&gt;    var $template_c = 'template_c/';&lt;br /&gt;&lt;br /&gt;    function Firephp() {&lt;br /&gt;        $this-&gt;tpl_vars = array();&lt;br /&gt;    }//end of firephp()&lt;br /&gt;&lt;br /&gt;    function assign($key,$val=null) {&lt;br /&gt;        if(!isset($key)) return false;&lt;br /&gt;        if(is_array($key) &amp;&amp; !isset($val)) {&lt;br /&gt;            if(sizeof($this-&gt;tpl_vars) &gt; 0) {&lt;br /&gt;                $this-&gt;tpl_vars = array_merge($this-&gt;tpl_vars,$key);&lt;br /&gt;            } else {&lt;br /&gt;                $this-&gt;tpl_vars = $key;&lt;br /&gt;            }&lt;br /&gt;        } else {&lt;br /&gt;            $this-&gt;tpl_vars[$key] = $val;&lt;br /&gt;        }&lt;br /&gt;        return true;&lt;br /&gt;    }//end of assign()&lt;br /&gt;&lt;br /&gt;    function parse($filename) {&lt;br /&gt;        if(!file_exists($filename)) die('Template is not exists.');&lt;br /&gt;        $content = '&lt;?php /*copyright:2008 ; author:xusong lie*/ ?&gt;'."\n";&lt;br /&gt;        $content .= file_get_contents($filename);&lt;br /&gt;        $pattern = "/\\$[a-zA-Z_]{1,}[a-zA-Z0-9_]{0,}/";&lt;br /&gt;        preg_match_all($pattern,$content,$matchs);&lt;br /&gt;&lt;br /&gt;        foreach($matchs[0] as $match) {&lt;br /&gt;            if(!isset($this-&gt;tpl_vars[substr($match,1,strlen($match))])) die("Variable {$match} had not defined.");&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        $content = preg_replace("/\\{\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\\}/",'&lt;?php echo $this-&gt;tpl_vars["\\1"]; ?&gt;',$content);&lt;br /&gt;        //start if&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}==\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] == $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &gt; $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;=\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &gt;= $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &lt; $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;=\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &lt;= $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}!=\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] != $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}===\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] === $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}==\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] == \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &gt; \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;=\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &gt;= \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &lt; \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;=\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] &lt;= \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}!=\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] != \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}===\s{0,}(\S{1,})\}/','&lt;?php if($this-&gt;tpl_vars["\\1"] === \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \S{1,}\}/','&lt;?php if(\\1):?&gt;',$content);&lt;br /&gt;        //end if&lt;br /&gt;        &lt;br /&gt;        //start else if&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}==\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] == $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &gt; $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;=\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &gt;= $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &lt; $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;=\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &lt;= $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}!=\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] != $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}===\s{0,}\\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] === $this-&gt;tpl_vars["\\2"]):?&gt;',$content);&lt;br /&gt;&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}==\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] == \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &gt; \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&gt;=\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &gt;= \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &lt; \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}&lt;=\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] &lt;= \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}!=\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] != \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{elseif \\$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\s{0,}===\s{0,}(\S{1,})\}/','&lt;?php else if($this-&gt;tpl_vars["\\1"] === \\2):?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{if \S{1,}\}/','&lt;?php if(\\1):?&gt;',$content);&lt;br /&gt;        //end else if&lt;br /&gt;&lt;br /&gt;        //start foreach&lt;br /&gt;        $content = preg_replace('/\{section \$([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,}) in @([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php foreach(\$this-&gt;tpl_vars["\\1"] as \$\\2): ?&gt;',$content);&lt;br /&gt;        $content = preg_replace('/\{@([a-zA-Z_]{1,}[a-zA-Z0-9_]{0,})\}/','&lt;?php echo \$\\1; ?&gt;',$content);&lt;br /&gt;        //end foreach&lt;br /&gt;        $content = preg_replace('/\{include ([^\{\}]+)\}/','&lt;?php include("\\1"); ?&gt;',$content);&lt;br /&gt;        /*&lt;br /&gt;        $content = preg_replace('/\{foreach (\S{1,})\}/','&lt;?php foreach(\\1):?&gt;',$content);&lt;br /&gt;        */&lt;br /&gt;        $content = str_replace(array('{else}','{/if}','{/section}'),array('&lt;?php else: ?&gt;','&lt;?php endif; ?&gt;','&lt;?php endforeach; ?&gt;'),$content);&lt;br /&gt;&lt;br /&gt;        $fp = fopen($this-&gt;template_c.md5($filename).'.php','w');&lt;br /&gt;        fwrite($fp,$content);&lt;br /&gt;    }//end of parse();&lt;br /&gt;&lt;br /&gt;    function display($filename) {&lt;br /&gt;        $cacheFile = $this-&gt;template_c.md5($filename).'.php';&lt;br /&gt;        if(file_exists($cacheFile)) {&lt;br /&gt;            if(filemtime($filename) &gt; filemtime($cacheFile)) {&lt;br /&gt;                $this-&gt;parse($filename);&lt;br /&gt;            }&lt;br /&gt;        } else {&lt;br /&gt;            $this-&gt;parse($filename);&lt;br /&gt;        }&lt;br /&gt;        include_once($cacheFile);&lt;br /&gt;    }//end of display()&lt;br /&gt;}&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;test page&lt;br /&gt;==================================================================================================&lt;br /&gt;&lt;?php&lt;br /&gt;include_once("template.php");&lt;br /&gt;$tpl = new Firephp();&lt;br /&gt;$tpl-&gt;assign('a','hello');&lt;br /&gt;$tpl-&gt;assign('b','world');&lt;br /&gt;$tpl-&gt;assign('c','hello');&lt;br /&gt;$tpl-&gt;assign('array',array('t','o','n','y'));&lt;br /&gt;$tpl-&gt;display('tpl.html');&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sample board&lt;br /&gt;==================================================================================================&lt;br /&gt;{$a} {$b} {if $a == 'hello'} hello {/if} {if $b != $a} world {/if}&lt;br /&gt;&lt;br /&gt;{section $array in @a}&lt;br /&gt;{@a}&lt;br /&gt;{/section}&lt;br /&gt;&lt;br /&gt;=========================================&lt;br /&gt;key in: hello world  hello   world tony&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-2950117575291165580?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/2950117575291165580/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=2950117575291165580' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/2950117575291165580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/2950117575291165580'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/12/create-simple-template-engine.html' title='create a simple template engine'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-7418476966525253764</id><published>2008-12-04T01:08:00.000-08:00</published><updated>2008-12-04T01:26:53.009-08:00</updated><title type='text'>a sample to make a tree by php</title><content type='html'>&lt;span class="Apple-style-span"  style="border-collapse: collapse;   line-height: 22px; font-family:Helvetica;"&gt;&lt;span href="tag.php?name=SQL" onclick="tagshow(event)" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(255, 0, 0); white-space: nowrap; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; code&lt;br /&gt;CREATE TABLE `tree` (&lt;br /&gt;  `id` int(11) NOT NULL,&lt;br /&gt;  `name` varchar(255) collate utf8_bin NOT NULL,&lt;br /&gt;  `parent` int(11) NOT NULL,&lt;br /&gt;  `ischild` int(11) NOT NULL default '0',&lt;br /&gt;  PRIMARY KEY  (`id`)&lt;br /&gt;) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;   line-height: 22px;font-family:Helvetica;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;   line-height: 22px;font-family:Helvetica;"&gt;&lt;span href="tag.php?name=PHP" onclick="tagshow(event)" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(255, 0, 0); white-space: nowrap; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;PHP&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; code&lt;br /&gt;mysql&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;_connect('localhost', 'root', '123456');&lt;br /&gt;mysql_select_db("wz");&lt;br /&gt;mysql_query("set names 'utf8'");&lt;br /&gt;//获得顶节点&lt;br /&gt;$sql = "select id, name,ischild from tree where parent = 0 order by id asc";&lt;br /&gt;$result = mysql_query($sql);&lt;br /&gt;while($row = mysql_fetch_array($result))&lt;br /&gt;{&lt;br /&gt;    extract($row);&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;   line-height: 22px;font-family:Helvetica;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;    $icon = $ischild ? "&lt;/span&gt;&lt;a href="http://www.blogger.com/'%3Cspan" onclick="tagshow(event)" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(255, 0, 0); white-space: nowrap; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;javascript&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/'%3Cspan" onclick="tagshow(event)" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(255, 0, 0); white-space: nowrap; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;:expand(\"div$id\");'&gt;+&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;":"-";&lt;br /&gt;    $name = $icon . $name;&lt;br /&gt;    echo "&lt;/span&gt;&lt;div id="'div"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;" . $name;&lt;br /&gt;    if($ischild)&lt;br /&gt;    {    &lt;br /&gt;        getNode($id, 0);&lt;br /&gt;    }&lt;br /&gt;    echo "&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;";&lt;br /&gt;}&lt;br /&gt;function getNode($id, $level)&lt;br /&gt;{&lt;br /&gt;    $sql = "select id, name, ischild from tree where parent = $id order by id asc ";&lt;br /&gt;    $result = mysql_query($sql);&lt;br /&gt;    $level++;&lt;br /&gt;  while($row = mysql_fetch_array($result))&lt;br /&gt;  {&lt;br /&gt;      extract($row);&lt;br /&gt;        $icon = $ischild ? "&lt;/span&gt;&lt;a href="http://www.blogger.com/'javascript:expand(/"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;":"-";&lt;br /&gt;        $name = $icon . $name;  &lt;br /&gt;        echo "&lt;/span&gt;&lt;div id="'div"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;" . echoChar("    ", $level)  . $name;&lt;br /&gt;        if($ischild)&lt;br /&gt;        {&lt;br /&gt;            getNode($id, $level);&lt;br /&gt;        }&lt;br /&gt;        echo "&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;";&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;function echoChar($char, $num)&lt;br /&gt;{&lt;br /&gt;    for($i=0;$i&lt; $num; $i++)     {         $strChar .= $char;     }     return $strChar; } ?&gt;&lt;br /&gt;&lt;/span&gt;&lt;script language="javascript"&gt;&lt;br /&gt;    function expand(id)&lt;br /&gt;    {&lt;br /&gt;        var obj = document.getElementById(id).childNodes;&lt;br /&gt;        for(var i=0;i&lt;obj.length;i++) style="word-wrap: break-word; line-height: normal; "&gt;.nodeName == "DIV")&lt;br /&gt;            {&lt;br /&gt;                switch(obj.style.display)&lt;br /&gt;                {&lt;br /&gt;                    case "":&lt;br /&gt;                    case "block":&lt;br /&gt;                     obj.style.display = "none";&lt;br /&gt;                     break;&lt;br /&gt;                    case "none":&lt;br /&gt;                     obj.style.display = "block";&lt;br /&gt;                     break; &lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-7418476966525253764?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/7418476966525253764/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=7418476966525253764' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/7418476966525253764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/7418476966525253764'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/12/sample-to-make-tree-by-php.html' title='a sample to make a tree by php'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-2945510171609498325</id><published>2008-11-19T17:00:00.000-08:00</published><updated>2008-11-19T17:11:45.333-08:00</updated><title type='text'>use php to make numbers</title><content type='html'>&lt;span class="Apple-style-span"  style="border-collapse: collapse;   font-family:'Courier New';"&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;?php&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;   font-family:'Courier New';"&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Header(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;"Content-type:image/png"&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;session_start&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$authnum_session &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;’’&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$str &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;’ABCDE69FIJKLMNO78PVWXYZabcdeQRSTUfghijkmn3pqrstGHuvwxyz120’&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$l &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;strlen&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$str&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;for(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;4&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;++)  &lt;br /&gt;{  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$num&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$l&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$authnum_session&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$str&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$num&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;];  &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;}  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;session_register&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;"authnum_session"&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;   font-family:'Courier New';"&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$_SESSION["authnum_session"]&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;srand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;((double)&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;microtime&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;()*&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;1000000&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;imagecreate&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;50&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;20&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$black &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ImageColorAllocate&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$white &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ImageColorAllocate&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$gray &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ImageColorAllocate&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;200&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;200&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;200&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;imagefill&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;68&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;30&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$gray&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$li &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ImageColorAllocate&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;220&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;220&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;220&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;for(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;++)  &lt;br /&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;imageline&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;30&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;21&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;20&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;40&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;21&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$li&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;}  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;imagestring&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;5&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;8&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$authnum_session&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$white&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;for(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;90&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;++)  &lt;br /&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;imagesetpixel&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;()%&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;70 &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;rand&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;()%&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;30 &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$gray&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;}  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ImagePNG&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ImageDestroy&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;$im&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;);  &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="word-wrap: break-word; line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-2945510171609498325?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/2945510171609498325/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=2945510171609498325' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/2945510171609498325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/2945510171609498325'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/11/php.html' title='use php to make numbers'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-2336249853924722675</id><published>2008-11-19T04:50:00.000-08:00</published><updated>2008-11-19T04:56:31.358-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='??/'/><title type='text'>???</title><content type='html'>Archeology first began during the 1920s when Western people like J.G. Andersson discovered remains of the prehistorical past. The three people engaging in digging out and thus doubting the traditional accounts of the past were Wang Guowei (d.1927), Luo Zhenyu (d.1940), and Gu Jiegang (d. 1980). Early Chinese archeology suffered under the permanent civil war but was sovereign enough to refuse foreign help for a long time. National proud makes archeology a very important item today.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-2336249853924722675?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/2336249853924722675/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=2336249853924722675' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/2336249853924722675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/2336249853924722675'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/11/blog-post.html' title='???'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-7742314741048769571</id><published>2008-10-20T12:46:00.000-07:00</published><updated>2008-10-20T12:47:22.401-07:00</updated><title type='text'>ten thousand nights of thunder</title><content type='html'>[Guy]&lt;br /&gt;I was not looking for arty farty love&lt;br /&gt;I wanted someone to love completely&lt;br /&gt;Someone&lt;br /&gt;More than weekly&lt;br /&gt;[Girl]&lt;br /&gt;I was looking for a decent boy&lt;br /&gt;For a tender glance&lt;br /&gt;For a safety dance&lt;br /&gt;[Both]&lt;br /&gt;The wuthering heights and the stormy nights&lt;br /&gt;You give me ten thousand nights of thunder&lt;br /&gt;But I will give them all back to you 'cause you're so ooh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So ahh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So cool&lt;br /&gt;[Guy]&lt;br /&gt;You came like a thief in the night and stole my heart&lt;br /&gt;[Both]&lt;br /&gt;Ooh&lt;br /&gt;Like a solitude erasure&lt;br /&gt;Like an elevator&lt;br /&gt;[Girl]&lt;br /&gt;And I know we'd do anything for love&lt;br /&gt;[Guy]&lt;br /&gt;(Oh yeah]&lt;br /&gt;[Girl]&lt;br /&gt;And it is you and me&lt;br /&gt;(Whoa)&lt;br /&gt;(Oh)&lt;br /&gt;(Oh&lt;br /&gt;For all eternity&lt;br /&gt;[Both]&lt;br /&gt;The wuthering heights and the stormy nights&lt;br /&gt;You give me ten thousand nights of thunder&lt;br /&gt;But I will give them all back to you 'cause you're so ooh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So ahh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So cool&lt;br /&gt;(Baby you're so super)&lt;br /&gt;(Supremely)&lt;br /&gt;(Ba ba di oh)&lt;br /&gt;It feels like ten thousand nights of thunder when I spend one with you&lt;br /&gt;You're so ooh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So ahh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So cool&lt;br /&gt;(Baby you're so super)&lt;br /&gt;(Supremely)&lt;br /&gt;(Ba ba di oh)&lt;br /&gt;[Guy]&lt;br /&gt;Baby&lt;br /&gt;Baby you're irresistible and I'm insatiable&lt;br /&gt;[Girl]&lt;br /&gt;Ooh&lt;br /&gt;Ooh&lt;br /&gt;Ooh&lt;br /&gt;Oh&lt;br /&gt;Oh&lt;br /&gt;[Guy]&lt;br /&gt;Yeah&lt;br /&gt;Love is an ocean of sweet emotion&lt;br /&gt;(Sweet emotion]&lt;br /&gt;[Both]&lt;br /&gt;You give me ten thousand nights of thunder&lt;br /&gt;But I will give them all back to you 'cause you're so ooh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So ahh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So cool&lt;br /&gt;(Baby you're so super)&lt;br /&gt;(Supremely)&lt;br /&gt;(Ba ba di oh)&lt;br /&gt;It feels like ten thousand nights of thunder when I spend one with you&lt;br /&gt;You're so ooh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So ahh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So cool&lt;br /&gt;(Baby you're so super)&lt;br /&gt;(Supremely)&lt;br /&gt;(Ba ba di oh)&lt;br /&gt;You give me ten thousand nights of thunder&lt;br /&gt;But I will give them all back to you 'cause you're so ooh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So ahh&lt;br /&gt;(Doo doo doo)&lt;br /&gt;So cool&lt;br /&gt;(Baby you're so super)&lt;br /&gt;(Supremely)&lt;br /&gt;(Ba ba di oh)&lt;br /&gt;Yeah&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo doo doo doo&lt;br /&gt;You're so ooh&lt;br /&gt;(You're so)&lt;br /&gt;So ahh&lt;br /&gt;(You're so)&lt;br /&gt;So cool&lt;br /&gt;(Baby you're so super)&lt;br /&gt;(Supremely)&lt;br /&gt;(Ba ba di oh)&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo doo doo doo&lt;br /&gt;(Oh yeah)&lt;br /&gt;You're so ooh&lt;br /&gt;(You're so)&lt;br /&gt;So ahh&lt;br /&gt;(You're so)&lt;br /&gt;So cool&lt;br /&gt;(Baby)&lt;br /&gt;(Baby you're)&lt;br /&gt;Doo doo doo&lt;br /&gt;(Oh yeah)&lt;br /&gt;Doo doo doo&lt;br /&gt;(Oh)&lt;br /&gt;Doo doo doo doo doo doo&lt;br /&gt;You're so ooh&lt;br /&gt;(You're so)&lt;br /&gt;So ahh&lt;br /&gt;(You're so)&lt;br /&gt;So cool&lt;br /&gt;(Whoa)&lt;br /&gt;(Oh)&lt;br /&gt;(Yeah)&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo doo doo doo&lt;br /&gt;You're so ooh&lt;br /&gt;So ahh&lt;br /&gt;So cool&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo&lt;br /&gt;Doo doo doo doo doo doo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-7742314741048769571?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/7742314741048769571/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=7742314741048769571' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/7742314741048769571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/7742314741048769571'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/10/ten-thousand-nights-of-thunder.html' title='ten thousand nights of thunder'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-4461584752596598964</id><published>2008-10-06T23:37:00.001-07:00</published><updated>2008-10-06T23:39:15.401-07:00</updated><title type='text'></title><content type='html'>&lt;span style="color:#000000;"&gt;Researchers have analyzed the dynamics of how blogs become popular. There are essentially two measures of this: popularity through citations, as well as popularity through affiliation (i.e. &lt;/span&gt;&lt;a class="mw-redirect" title="Blogroll" href="http://en.wikipedia.org/wiki/Blogroll"&gt;&lt;span style="color:#000000;"&gt;blogroll&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;). The basic conclusion from studies of the structure of blogs is that while it takes time for a blog to become popular through blogrolls, &lt;/span&gt;&lt;a class="mw-redirect" title="Permalinks" href="http://en.wikipedia.org/wiki/Permalinks"&gt;&lt;span style="color:#000000;"&gt;permalinks&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; can boost popularity more quickly, and are perhaps more indicative of popularity and authority than blogrolls, since they denote that people are actually reading the blog's content and deem it valuable or noteworthy in specific cases.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;The &lt;/span&gt;&lt;a title="Blogdex" href="http://en.wikipedia.org/wiki/Blogdex"&gt;&lt;span style="color:#000000;"&gt;blogdex&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; project was launched by researchers in the &lt;/span&gt;&lt;a title="MIT Media Lab" href="http://en.wikipedia.org/wiki/MIT_Media_Lab"&gt;&lt;span style="color:#000000;"&gt;MIT Media Lab&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; to crawl the Web and gather data from thousands of blogs in order to investigate their social properties. It gathered this information for over 4 years, and autonomously tracked the most contagious information spreading in the blog community, ranking it by recency and popularity. It can therefore be considered the first instantiation of a &lt;/span&gt;&lt;a title="Memetracker" href="http://en.wikipedia.org/wiki/Memetracker"&gt;&lt;span style="color:#000000;"&gt;memetracker&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;. The project is no longer active, but a similar function is now served by &lt;/span&gt;&lt;a title="Tailrank.com" href="http://en.wikipedia.org/wiki/Tailrank.com"&gt;&lt;span style="color:#000000;"&gt;tailrank.com&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;.&lt;br /&gt;Blogs are given rankings by &lt;/span&gt;&lt;a title="Technorati" href="http://en.wikipedia.org/wiki/Technorati"&gt;&lt;span style="color:#000000;"&gt;Technorati&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; based on the number of incoming links and &lt;/span&gt;&lt;a title="Alexa Internet" href="http://en.wikipedia.org/wiki/Alexa_Internet"&gt;&lt;span style="color:#000000;"&gt;Alexa Internet&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; based on the Web hits of Alexa Toolbar users. In August 2006, Technorati found that the most linked-to blog on the internet was that of Chinese actress &lt;/span&gt;&lt;a title="Xu Jinglei" href="http://en.wikipedia.org/wiki/Xu_Jinglei"&gt;&lt;span style="color:#000000;"&gt;Xu Jinglei&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;a title="" href="http://en.wikipedia.org/wiki/Blog#cite_note-Fickling-9"&gt;&lt;span style="color:#000000;"&gt;[10]&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; Chinese media &lt;/span&gt;&lt;a class="mw-redirect" title="Xinhua" href="http://en.wikipedia.org/wiki/Xinhua"&gt;&lt;span style="color:#000000;"&gt;Xinhua&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; reported that this blog received more than 50 million page views, claiming it to be the most popular blog in the world.&lt;/span&gt;&lt;span style="color:#000000;"&gt; Technorati rated &lt;/span&gt;&lt;a title="Boing Boing" href="http://en.wikipedia.org/wiki/Boing_Boing"&gt;&lt;span style="color:#000000;"&gt;Boing Boing&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; to be the most-read group-written blog.&lt;/span&gt;&lt;br /&gt;&lt;a title="Gartner" href="http://en.wikipedia.org/wiki/Gartner"&gt;&lt;span style="color:#000000;"&gt;Gartner&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; forecasts that blogging will peak in 2007, leveling off when the number of writers who maintain a personal Web site reaches 100 million. Gartner analysts expect that the novelty value of the medium will wear off as most people who are interested in the phenomenon have checked it out, and new bloggers will offset the number of writers who abandon their creation out of boredom. The firm estimates that there are more than 200 million former bloggers who have ceased posting to their online diaries, creating an exponential rise in the amount of "dotsam" and "netsam" — that is to say, unwanted objects on the Web (analogous to flotsam and jetsam).&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-4461584752596598964?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/4461584752596598964/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=4461584752596598964' title='2 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/4461584752596598964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/4461584752596598964'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/10/researchers-have-analyzed-dynamics-of_06.html' title=''/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-5335325586182457529</id><published>2008-10-06T23:37:00.000-07:00</published><updated>2008-10-06T23:39:15.062-07:00</updated><title type='text'></title><content type='html'>&lt;span style="color:#000000;"&gt;Researchers have analyzed the dynamics of how blogs become popular. There are essentially two measures of this: popularity through citations, as well as popularity through affiliation (i.e. &lt;/span&gt;&lt;a class="mw-redirect" title="Blogroll" href="http://en.wikipedia.org/wiki/Blogroll"&gt;&lt;span style="color:#000000;"&gt;blogroll&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;). The basic conclusion from studies of the structure of blogs is that while it takes time for a blog to become popular through blogrolls, &lt;/span&gt;&lt;a class="mw-redirect" title="Permalinks" href="http://en.wikipedia.org/wiki/Permalinks"&gt;&lt;span style="color:#000000;"&gt;permalinks&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; can boost popularity more quickly, and are perhaps more indicative of popularity and authority than blogrolls, since they denote that people are actually reading the blog's content and deem it valuable or noteworthy in specific cases.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;The &lt;/span&gt;&lt;a title="Blogdex" href="http://en.wikipedia.org/wiki/Blogdex"&gt;&lt;span style="color:#000000;"&gt;blogdex&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; project was launched by researchers in the &lt;/span&gt;&lt;a title="MIT Media Lab" href="http://en.wikipedia.org/wiki/MIT_Media_Lab"&gt;&lt;span style="color:#000000;"&gt;MIT Media Lab&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; to crawl the Web and gather data from thousands of blogs in order to investigate their social properties. It gathered this information for over 4 years, and autonomously tracked the most contagious information spreading in the blog community, ranking it by recency and popularity. It can therefore be considered the first instantiation of a &lt;/span&gt;&lt;a title="Memetracker" href="http://en.wikipedia.org/wiki/Memetracker"&gt;&lt;span style="color:#000000;"&gt;memetracker&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;. The project is no longer active, but a similar function is now served by &lt;/span&gt;&lt;a title="Tailrank.com" href="http://en.wikipedia.org/wiki/Tailrank.com"&gt;&lt;span style="color:#000000;"&gt;tailrank.com&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;.&lt;br /&gt;Blogs are given rankings by &lt;/span&gt;&lt;a title="Technorati" href="http://en.wikipedia.org/wiki/Technorati"&gt;&lt;span style="color:#000000;"&gt;Technorati&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; based on the number of incoming links and &lt;/span&gt;&lt;a title="Alexa Internet" href="http://en.wikipedia.org/wiki/Alexa_Internet"&gt;&lt;span style="color:#000000;"&gt;Alexa Internet&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; based on the Web hits of Alexa Toolbar users. In August 2006, Technorati found that the most linked-to blog on the internet was that of Chinese actress &lt;/span&gt;&lt;a title="Xu Jinglei" href="http://en.wikipedia.org/wiki/Xu_Jinglei"&gt;&lt;span style="color:#000000;"&gt;Xu Jinglei&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;a title="" href="http://en.wikipedia.org/wiki/Blog#cite_note-Fickling-9"&gt;&lt;span style="color:#000000;"&gt;[10]&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; Chinese media &lt;/span&gt;&lt;a class="mw-redirect" title="Xinhua" href="http://en.wikipedia.org/wiki/Xinhua"&gt;&lt;span style="color:#000000;"&gt;Xinhua&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; reported that this blog received more than 50 million page views, claiming it to be the most popular blog in the world.&lt;/span&gt;&lt;span style="color:#000000;"&gt; Technorati rated &lt;/span&gt;&lt;a title="Boing Boing" href="http://en.wikipedia.org/wiki/Boing_Boing"&gt;&lt;span style="color:#000000;"&gt;Boing Boing&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; to be the most-read group-written blog.&lt;/span&gt;&lt;br /&gt;&lt;a title="Gartner" href="http://en.wikipedia.org/wiki/Gartner"&gt;&lt;span style="color:#000000;"&gt;Gartner&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; forecasts that blogging will peak in 2007, leveling off when the number of writers who maintain a personal Web site reaches 100 million. Gartner analysts expect that the novelty value of the medium will wear off as most people who are interested in the phenomenon have checked it out, and new bloggers will offset the number of writers who abandon their creation out of boredom. The firm estimates that there are more than 200 million former bloggers who have ceased posting to their online diaries, creating an exponential rise in the amount of "dotsam" and "netsam" — that is to say, unwanted objects on the Web (analogous to flotsam and jetsam).&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-5335325586182457529?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/5335325586182457529/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=5335325586182457529' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/5335325586182457529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/5335325586182457529'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/10/researchers-have-analyzed-dynamics-of.html' title=''/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8134612808009281789.post-7642147980739929835</id><published>2008-10-03T06:42:00.000-07:00</published><updated>2008-10-03T06:43:34.481-07:00</updated><title type='text'>the real world sucks!</title><content type='html'>The real world sucks! But you love it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8134612808009281789-7642147980739929835?l=suichunfang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://suichunfang.blogspot.com/feeds/7642147980739929835/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8134612808009281789&amp;postID=7642147980739929835' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/7642147980739929835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8134612808009281789/posts/default/7642147980739929835'/><link rel='alternate' type='text/html' href='http://suichunfang.blogspot.com/2008/10/real-world-sucks.html' title='the real world sucks!'/><author><name>sugartiger</name><uri>http://www.blogger.com/profile/07743442372761704601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_W8VHaHen7do/SOr7YKyemXI/AAAAAAAAABU/Mwv73PgHdFk/S220/DSC00020.JPG'/></author><thr:total>0</thr:total></entry></feed>
