<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[KinJAVA日志 -27℃。]]></title>
<link>http://Jorkin.Reallydo.Com/</link>
<description><![CDATA[为了谁？为了什么？值不值得？为什么别人那么快乐？-ReallyDo.Com]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog2 v2.4]]></copyright>
<webMaster><![CDATA[Jorkin2000(AT)hotmail.com(Jorkin)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>KinJAVA日志 -27℃。</title> 
	<url>http://Jorkin.Reallydo.Com/images/logos.gif</url> 
	<link>http://Jorkin.Reallydo.Com/</link> 
	<description>KinJAVA日志 -27℃。</description> 
</image>

			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=637</link>
			<title><![CDATA[后台模板 Admin Templates]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[其它转载]]></category>
			<pubDate>Sun,28 Jun 2009 16:38:09 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=637</guid>	
		<description><![CDATA[<p>现在div+css的前台模板多得不计其数。可后台的就很少了。</p>
<p>Most sites these days are dynamic, and whilst some use off the shelf software, such as <a href="http://www.wordpress.org/">Wordpress</a>, <a href="http://www.movabletype.com/">MovableType</a> or <a href="http://www.drupal.org/">Drupal</a>, there are many custom developed sites. </p>
<p>Most of these custom developed websites have a admin section that very few people see, which plays a vital role in the website operation, but because few people see the admin section, sometimes little attention is paid to it. </p>
<p>Below you&rsquo;ll find some HTML/CSS templates specifically built for admin sections of custom sites which can help make sure the admin section as beautiful and usable as the public face of the website.</p>
<p><span id="more-457"></span></p>
<h3>Free Templates</h3>
<p><a href="http://www.webresourcesdepot.com/free-admin-template-for-web-applications/"><strong>Web Resources Depot Free Admin Template For Web Applications</strong></a></p>
<p><img alt="webresourcesdepot" src="http://jorkin.reallydo.com/upload/month_0906/webresourcesdepot.jpg" /></p>
<blockquote>
<p>I have created this admin template for a project of mine and pleased to share with WebResourcesDepot readers.</p>
<p>It is a 3 column design with a tabbed menu. The idea is having the standard categories in the tab menu for an easy reach and have all the detailed ones in the left menu. And there is an info box at the right to inform users what&rsquo;s going on at that page.</p>
</blockquote>
<p><a href="http://webresourcesdepot.com/wp-content/uploads/file/admin-template/index.html">Demo Link</a><br /><a href="http://www.webresourcesdepot.com/wp-content/uploads/file/admin-template.zip">Download Link</a></p>
<p><a href="http://gooeytemplates.com/"><strong>Gooey Templates Proton</strong></a></p>
<p><img alt="Gooey Proton" src="http://jorkin.reallydo.com/upload/month_0906/gooey-proton.jpg" /></p>
<p>A plain and simple template, Proton provides the basics of what you&rsquo;ll need in your Admin. See below for other Paid templates from Gooey.</p>
<p><a href="http://www.gooeytemplates.com/downloads/gt-free-1.0.zip">Download Link</a></p>
<p><a href="http://www.bloganje.com/free-admin-template.html"><strong>Bloganje Free Admin Template</strong></a></p>
<p><img alt="Bloganje" src="http://jorkin.reallydo.com/upload/month_0906/bloganje.jpg" /></p>
<blockquote>
<p>I needed a simple admin template for a project I&rsquo;m doing but I couldn&rsquo;t find any so I created my own and decided to share it. It&rsquo;s nothing fancy and I didn&rsquo;t paid much attention to cross browser compatibility but I think it should work. It works for me and hopefully it will spare you few hours of work. You can see index demo and users demo. This template is free for personal use /non commercial. I would&rsquo;t mind if you keep the link in the footer. All icons are form famfamfam.com</p>
</blockquote>
<p><a href="http://www.bloganje.com/admin_template/">Demo Link</a><br /><a href="http://www.bloganje.com/wp-content/uploads/2008/07/admin_template.rar">Download Link</a></p>
<p><a href="http://www.transdmin.perspectived.com/"><strong>Transdmin Light</strong></a></p>
<p><img alt="transdmin" src="http://jorkin.reallydo.com/upload/month_0906/transdmin.jpg" /></p>
<p>A clean template which can be easily modified released by <a href="http://www.perspectived.com/">Perspectived</a>.</p>
<p><a href="http://www.transdmin.perspectived.com/">Demo Link</a><br /><a href="http://www.transdmin.perspectived.com/transdmin.zip">Download Link</a></p>
<h3>Paid Templates</h3>
<p><a href="http://gooeytemplates.myshopify.com/products/atom-bundle"><strong>Gooey Atom</strong></a></p>
<p><img alt="Gooey Atom" src="http://jorkin.reallydo.com/upload/month_0906/gooey-atom.jpg" /></p>
<p>Available in <a href="http://gooeytemplates.myshopify.com/products/green-atom">Green</a>, <a href="http://gooeytemplates.myshopify.com/products/blue-atom">Blue </a>and <a href="http://gooeytemplates.myshopify.com/products/brown-atom">Brown</a>, or a <a href="http://gooeytemplates.myshopify.com/products/atom-bundle">bundle</a> of all three priced at $99 each or $199 for the bundle.</p>
<p><a href="http://gooeytemplates.myshopify.com/products/carbon-bundle"><strong>Gooey Carbon</strong></a></p>
<p><img alt="Gooey Carbon" src="http://jorkin.reallydo.com/upload/month_0906/gooey-carbon.jpg" /></p>
<p>Available in <a href="http://gooeytemplates.myshopify.com/products/blue-carbon">Blue</a>, <a href="http://gooeytemplates.myshopify.com/products/red-carbon">Red</a>, <a href="http://gooeytemplates.myshopify.com/products/green-carbon">Green</a> and <a href="http://gooeytemplates.myshopify.com/products/carbon-bundle">bundle</a> of all three priced at $99 each or $199 for the bundle.</p>
<p><a href="http://themeforest.net/?ref=iisbum"><strong>Theme Forest</strong></a></p>
<p>The recently launched <a href="http://themeforest.net/?ref=iisbum">Theme Forest</a> provides a category for <a href="http://www.themeforest.net/category/site-templates/admin-skins?ref=iisbum">Admin Skins</a>, which includes a number of great templates a selection is shown below.</p>
<p><a href="http://www.themeforest.net/item/quik-v1-admin-skin/17314?ref=iisbum"><strong>Quik v1 Admin Skin</strong></a></p>
<p><img alt="quik" src="http://jorkin.reallydo.com/upload/month_0906/quick.jpg" /></p>
<p>Developed by Collis Ta&rsquo;eed one of the founders of <a href="http://www.envato.com/">Envato</a> that created Theme Forest, this theme was available for just $1 when Theme Forest launched, now priced at $10, and still well worth the price.</p>
<p><a href="http://www.themeforest.net/item/css-admin-theme/18820?ref=iisbum"><strong>CSS Admin</strong></a></p>
<p><img alt="css admin" src="http://jorkin.reallydo.com/upload/month_0906/cssadmin.jpg" /></p>
<p>Priced at just $10.00 this is a simple and clean template by <a href="http://mip-design.com/">mip-design</a></p>
<p><a href="http://cssadmin.mip-design.com/table.html">Demo Link</a></p>
<p><a href="http://www.themeforest.net/item/liteadmin-web-application-skin/18455?ref=iisbum"><strong>LiteAdmin</strong></a></p>
<p><img alt="liteadmin" src="http://jorkin.reallydo.com/upload/month_0906/liteadmin.jpg" /></p>
<blockquote>
<p>LiteAdmin is a backend admin template. This web application template was built with Web 2.0 in mind and will give you all of the elements to jumpstart your backend web application skin. LiteAdmin includes heading styles, tables styles, error and success message styles and much more. This admin theme will easily integrate into existing web applications or be a great start as a theme for your upcoming application.</p>
</blockquote>
<p>Price is $12</p>
<p>这里还有大量收费的模板：</p>
<p><a href="http://themeforest.net/category/site-templates/admin-skins">http://themeforest.net/category/site-templates/admin-skins</a></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=636</link>
			<title><![CDATA[呃。。。我们旁边小区的13层楼整幢倒了。。。]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[胡诌乱侃]]></category>
			<pubDate>Sat,27 Jun 2009 15:35:00 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=636</guid>	
		<description><![CDATA[<p>万幸的是里面没住人。</p>
<p><a href="http://news.163.com/09/0627/09/5CQAJ72Q0001124J.html" target="_blank">http://news.163.com/09/0627/09/5CQAJ72Q0001124J.html</a></p>
<p><a href="http://news.sina.com.cn/c/p/2009-06-27/113018105661.shtml" target="_blank">http://news.sina.com.cn/c/p/2009-06-27/113018105661.shtml</a></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=635</link>
			<title><![CDATA[破服务器]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[胡诌乱侃]]></category>
			<pubDate>Fri,26 Jun 2009 15:29:29 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=635</guid>	
		<description><![CDATA[真破。天天换IP。。。]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=634</link>
			<title><![CDATA[List of Image Cropping Scripts]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[技术天地]]></category>
			<pubDate>Mon,15 Jun 2009 22:34:14 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=634</guid>	
		<description><![CDATA[<p>After looking for awhile for a script that will crop your image in the browser I decided to put a list together. I found various types of scripts that will accomplish this. The list below is a list of image cropping scripts.</p>
<ol>
    <li><a title="cfImageCropper" href="http://cfimagecropper.riaforge.org/" target="_blank"><strong>cfImageCropper</strong></a> - This script is written in Coldfusion. The Demo of this script works very well and the code is very simple to implement. </li>
    <li><strong><a title="jsCropper" href="http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/" target="_blank">jsCropper</a></strong> - This javascript image cropping script is based on the <a href="http://prototype.conio.net/">Prototype JavaScript framework</a> and <a href="http://script.aculo.us/">script.aculo.us</a>. jsCropper is one of my favorite copping script. It is very easy to use and its a great unobtrusive script. jsCropper has tons of great features you should check it out. </li>
    <li><a title="mooImageCrop" href="http://www.artviper.net/crop.php" target="_blank"><strong>mooImageCrop</strong></a> - mooImageCrop is based on the mootools framework and php. It is very easy to implement. </li>
    <li><strong><a title="Image Crop" href="http://www.dhtmlgoodies.com/index.html?whichScript=image-crop" target="_blank">Image Crop</a></strong> - This is a great script written in Javascript and PHP. It requires the install of ImageMagick server component. </li>
    <li><strong><a title="Ajax Image editor" href="http://www.ajaxprogrammer.com/?p=9" target="_blank">Ajax Image Editor</a></strong> - Is a very powerful image editor script that allows you to crop, resize, and rotate the image. It is fairly easy to implement and it isn&rsquo;t written with any frameworks. </li>
    <li><strong><a title="Flash Image Crop" href="http://www.sephiroth.it/file_detail.php?pageNum_comments=10&amp;id=109#" target="_blank">Flash Image Crop</a></strong> - Is a very nice flash image crop tool written in Actionscript and PHP. The only problem I have with this script is that you have to use the space bar to accept the cropped area and not the enter key. But overall it works very well. </li>
    <li><strong><a title="Flash Based Cropping too" href="http://flashrocket.worldoptimizer.com/article/23/flash-based-cropping-tool-released-lgpl" target="_blank">Flash Based Cropping tool</a></strong> - This tool is also written in Actionscript and PHP is a very nice script. You can also resize the image with this script. </li>
    <li><a title="MooCrop" href="http://www.nwhite.net/MooCrop/" target="_blank"><strong>MooCrop</strong></a> -MooCrop is an Image Cropping utility that uses <a href="http://www.mootools.net/">mootools</a> javascript framework.&nbsp; MooCrop works very fast and you can even edit the color of the mask. </li>
</ol>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=633</link>
			<title><![CDATA[10 Auto Complete Ajax Scripts]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[技术天地]]></category>
			<pubDate>Sun,14 Jun 2009 22:24:53 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=633</guid>	
		<description><![CDATA[<p>In 2005 when Google implemented Google Suggest, Ajax took off. Every web developer was trying to duplicate what Google accomplished. Its now 2008 and there are tons of ways to accomplish Google Suggest. Below is a list of 10 Auto Complete Scripts with various frameworks. The list below is in no particular order.</p>
<ol>
    <li><strong><a title="jqac" href="http://code.google.com/p/jqac/" target="_blank">jqac </a></strong>- Is jQuery plugin for autocomplete. jqac is very easy to implement and has a scrollable suggests list. It also allows for multiple suggests support and is tested in all major browsers. </li>
    <li><strong><a title="AutoComplete" href="http://webeaters.blogspot.com/2007/11/ajax-powered-autocomplete-for-prototype.html" target="_blank">AutoComplete (for Prototype)</a></strong> - This is a script built for the prototype framework and it allows multiple column support. It also is a very nice style built with it. </li>
    <li><strong><a title="YUI Autocomplete" href="http://developer.yahoo.com/yui/autocomplete/" target="_blank" rel="bookmark">YUI Autocomplete</a></strong> - This script is built with the Yahoo! UI Library. The AutoComplete features navigation of the suggestion box via up/down arrow keys. It is very easy to configure with the Yahoo! UI Library. </li>
    <li><strong><a title="Ajax Autocomplete" href="http://www.jimroos.com/2007/05/ajax-autocomplete.html" target="_blank">AJAX autocomplete</a></strong> - Is built with Easy Ajax framework by Jim Roos. It features the the up and down navigation and is fairly easy to implement. </li>
    <li><strong><a title="Autocomplete" href="http://www.beauscott.com/examples/autocomplete/" target="_blank">Another AutoComplete (prototype)</a> </strong>- This prototype framework autocomplete also uses scriptaculous. It has a nice fade in effect when the suggest box appears. It is easy to implement and works with XML data. </li>
    <li><strong><a title="autocomplete mootools" href="http://digitarald.de/playground/auto2.html" target="_blank">AutoComplete (mootools)</a> </strong>- A MooTools Autocomplete widget that creates a unobtrusive and customizable suggestion box from variable data sources. It also has nice fade in effect. </li>
    <li><strong><a title="dhtmlxCombo" href="http://dhtmlx.com/docs/products/dhtmlxCombo/index.shtml" target="_blank">dhtmlxCombo</a></strong> - Is a different from the rest of these. dhtmlxCombo can be used in four modes: an editable select box, a read-only select box, a filter drop down box, and an autocomplete. It also allows for you to add icons to your drop down boxes. </li>
    <li><strong><a title="AutoSuggest" href="http://www.brandspankingnew.net/archive/2006/08/ajax_auto-suggest_auto-complete.html" target="_blank">AutoSuggest</a></strong> - This AutoSuggest script uses no frameworks. The script allows you to navigate either with the up or down arrows or just click. The script size is under 10k, it even has a fade in effect, and a great 2.0 style. </li>
    <li><strong><a title="Spry Auto Suggest" href="http://labs.adobe.com/technologies/spry/samples/autosuggest/SuggestSample.html" target="_blank">Spry Auto Suggest</a></strong> - This Auto Suggest script is written with Adobe&rsquo;s spry framework. It has works with all sorts of data formats and languages. It supports keyboard navigation and also allows for multiple suggestions. </li>
    <li><strong><a title="asp.net AutoComplete" href="http://lvildosola.blogspot.com/2007/01/how-to-get-smartautocompleteextender.html" target="_blank">ASP.Net AutoComplete</a></strong> - This script allows you to add AutoComplete to ASP.Net without using a webservice. This is a great way to add Autocomplete feature to ASP.net </li>
</ol>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=632</link>
			<title><![CDATA[8 Ajax Lightbox Scripts]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[技术天地]]></category>
			<pubDate>Sat,13 Jun 2009 22:16:34 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=632</guid>	
		<description><![CDATA[<p>Let me first explain what Lightbox is. Lightbox is a simple, unobtrusive script used to overlay images on the current page. Since it is written in Ajax the page never reloads. Below is a List of 8 Lightbox scripts that all differ from the original.</p>
<ol>
    <li><a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">LightBox 2</a>: In Lightbox 2 you are able to group images together to form a slideshow and it has some fancy transitions. Lightbox 2 only allows the use of Images. Lightbox 2 uses the Prototype Framework and Scriptaculous Effects Library. </li>
    <li><a title="ThickBox" href="http://jquery.com/demo/thickbox/" target="_blank">ThickBox 3.1</a>: ThickBox is very similar to Lightbox but it allows the use Text content in the box, inline frames, and a login module. ThickBox was built using the super lightweight jQuery library. ThickBox doesn&rsquo;t have Transitions. </li>
    <li><a title="MultiBox" href="http://www.phatfusion.net/multibox/" target="_blank">MultiBox</a>: Is like lightbox but it supports flash, video, mp3s, and html. MultiBox is built with MooTools. </li>
    <li><a title="GreyBox" href="http://orangoo.com/labs/GreyBox/" target="_blank">GreyBox</a>: <span class="Content">GreyBox can be used to display websites, images and other content. Since this script is written without the use of frameworks it is very lightweight. </span><span class="Content">It&rsquo;s only <span class="hl">22 KB</span>! This is my favorite script because I don&rsquo;t like using frameworks in my sites. </span></li>
    <li><span class="Content"><a title="SexyBox" href="http://www.nofunc.com/Sexy_Box/" target="_blank">SexyBox</a>: SexyBox is also written without a framework and what I&rsquo;ve seen it allows the use of text. I&rsquo;m not sure if SexyBox can work with images since I have not used it. </span></li>
    <li><span class="Content"><a title="ShadowBox" href="http://mjijackson.com/shadowbox/" target="_blank">ShadowBox.js</a>: </span>Shadowbox supports all of the most popular web media formats including images, QuickTime, Windows Media Player, Flash, Flash video, HTML, and even external web pages. Shadowbox supports a host of options that make it highly configurable. I highly recommend this script. It is one of the best. </li>
    <li><a title="LightView" href="http://www.nickstakenburg.com/projects/lightview/" target="_blank">LightView</a>: LightView also supports all of the most popular web media formats including images, QuickTime, Windows Media Player, Flash, Flash video, and HTML. The Difference is LightView uses Prototype and Scriptaculous. </li>
    <li><a title="GMapsOverlay" href="http://dev.visualdrugs.net/mootools/gmapsoverlay/" target="_blank">GMapsOverlay</a>: GMapsOverlay is very unique from the rest of these. It only works with Google maps but it allows you to set the location on the map. It is built on MooTools. </li>
</ol>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=631</link>
			<title><![CDATA[Javascript常用函数:Array.remove()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Mon,01 Jun 2009 18:07:42 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=631</guid>	
		<description><![CDATA[<font color="#0000a0">Array</font><font color="#000080">.</font><font color="#0000ff">prototype</font><font color="#000080">.</font>remove <font color="#000080">= </font><font color="#0000ff">function</font><font color="#000080">(</font>b<font color="#000080">) {<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">var </font>a <font color="#000080">= </font><font color="#0000ff">this</font><font color="#000080">.</font><font color="#0000a0">indexOf</font><font color="#000080">(</font>b<font color="#000080">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">if </font><font color="#000080">(</font>a <font color="#000080">&gt;= </font><font color="#800080">0</font><font color="#000080">) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">this</font><font color="#000080">.</font>splice<font color="#000080">(</font>a<font color="#000080">, </font><font color="#800080">1</font><font color="#000080">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">return true</font><font color="#000080">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">return false</font><font color="#000080">;<br />};<br /></font>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=630</link>
			<title><![CDATA[研究表明:为什么女性往往能看到男性看不到的物体]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[其它转载]]></category>
			<pubDate>Sun,31 May 2009 00:05:10 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=630</guid>	
		<description><![CDATA[<p><a href="http://jorkin.reallydo.com/UPLOAD/month_0905/20080401094521dad4f.jpg" rel="lightbox"><img alt="" src="http://jorkin.reallydo.com/UPLOAD/month_0905/20080401094521dad4f.jpg" border="0" /></a></p>
<p>男人的视野像一条&ldquo;隧道&rdquo;，只有30度的视野范围</p>
<p><a href="http://jorkin.reallydo.com/UPLOAD/month_0905/20080401094538fd98f.jpg" rel="lightbox"><img alt="" src="http://jorkin.reallydo.com/UPLOAD/month_0905/20080401094538fd98f.jpg" border="0" /></a></p>
<p>女人的视野有180度，是男人视野范围的六倍</p>
<p>科学家们近日研究发现男女视野有别，女性的视野是男性的六倍，所以女性往往能看到男性看不到的物体。</p>
<p>男人往往找不到小东西，并且喜欢责怪女人在他们背后藏东西。钥匙，内衣，袜子，鞋子等等他们一般都很难找到。这样的结果是有历史渊源的。在很久以前，人类的祖先住在山洞里，在篝火边取暖，男人不得不每天外出狩猎，养家糊口。为了盯住并跟踪远处的猎物，男人必须将眼光放得长远，并将其他事情置于一边不理会。从古时候起，上天就已经赋予男人这样的能力了，所以对大多数男人来说，他们的视野就像一个隧道&mdash;&mdash;狭小但长远，正是这种能力使他们能够看到距离很远的物体。</p>
<p>女人从远古时候起就留在家里照顾孩子和家庭，这种工作需要眼观四路，耳听八方，以防有危险靠近她们的孩子。所以上天赋予她们视野宽广的能力，这就是为什么女人在看东西时能看到180度视野范围内的所有物体，她们能比男人更容易在冰箱或衣柜里找到一件东西，而男人的视野范围只有30度。</p>
<p>男人在寻找东西时需要上下左右移动头部才能找到一样小物件，而女人只需要扫一眼打开的冰箱，就能将冰箱里的东西尽收眼底，在几秒钟内找到想要的东西。</p>
<p>男人都有盯着漂亮女人看的习惯，但却看不到这一行为已激怒了身旁的妻子或女朋友。在现实中这并不意味着女人就不喜欢看长得英俊的男人，她们同样也会这样做，只是她们不需要把头移过去才看得到，用余光就能看到。</p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=629</link>
			<title><![CDATA[来本Blog的请先回答这个问题↓↓↓]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[胡诌乱侃]]></category>
			<pubDate>Thu,28 May 2009 17:13:53 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=629</guid>	
		<description><![CDATA[<p style="BACKGROUND: white">在地震中，你在一个废墟里发现了一个垂危的人和一只垂危的熊猫，假如，假如附近只有你自己，你的能力只能救活其中的一个，你救谁？</p>
<p>说说为什么。</p>
<p><font color="#ffffff">假如这个人是你的亲人，你救谁？</font></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=628</link>
			<title><![CDATA[[转]What is a CrossTab Query?]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[技术天地]]></category>
			<pubDate>Wed,20 May 2009 09:28:33 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=628</guid>	
		<description><![CDATA[<h1>What is a CrossTab Query?</h1>
<p>A cross tab query is a transformation of rows of data to columns. It usually involves aggregation of data e.g. totals broken down by months, products etc., where the months are represented by columns. It's very hard to visualize without an example, so we will provide one below. </p>
<p>Lets say you have a table of transactions that looks like this <br /><br />
<table border="1">
    <tbody>
        <tr>
            <th>customer_id</th><th>amount</th><th>purchase_date</th>
        </tr>
        <tr>
            <td>123</td>
            <td>41.50</td>
            <td>2004-10-01</td>
        </tr>
        <tr>
            <td>12</td>
            <td>30.50</td>
            <td>2004-09-01</td>
        </tr>
        <tr>
            <td>12</td>
            <td>40.50</td>
            <td>2004-08-15</td>
        </tr>
    </tbody>
</table>
</p>
<p>One example of a cross-tab is to take the above data and show how much you earned in each month across. This allows for easy comparison of profits from quarter to quarter. You want your resulting data to look like the below.
<table border="1">
    <tbody>
        <tr>
            <th>m2004_08</th><th>m2004_09</th><th>m2004_10</th><th>Total</th>
        </tr>
        <tr>
            <td>40.50</td>
            <td>30.50</td>
            <td>41.50</td>
            <td>112.50</td>
        </tr>
    </tbody>
</table>
</p>
<p>How you get to the above representation varies from Database to Database. In the first example, we'll show you how to get there with standard ANSI-SQL tricks. </p>
<h2>Standard ANSI-SQL Crosstab</h2>
<pre><code>
Select
SUM(CASE WHEN purchase_date BETWEEN '2004-08-01' and   '2004-08-31' THEN amount ELSE 0 END) As m2004_08,
SUM(CASE WHEN purchase_date BETWEEN '2004-09-01' and   '2004-09-30'  THEN amount ELSE 0 END) As m2004_09,
SUM(CASE WHEN purchase_date BETWEEN '2004-10-01' and   '2004-10-31' THEN amount ELSE 0 END) As m2004_10,
SUM(amount) As Total
FROM purchases Where purchase_date BETWEEN '2004-08-01' AND '2004-10-31'
</code>
</pre>
<sup>Note the above assumes that your database handle dates using the ansi date format and uses ' for date delimiter. This varies from database type to database type as well as configuration settings in the database server. For example Microsoft Access uses # to delimit dates, while most databases use '</sup>
<h2>DBMS specific approaches</h2>
<h3>Microsoft Access</h3>
<p>Microsoft Access has supported cross-tab queries natively for as far back as I can remember which would be Access 2.0. Access 1.0 may have supported it as well, but my memory doesn't go that far back.</p>
<p>Access supported via a predicate called TRANSFORM. If you are using the Access wizard, you can use the cross-tab wizard to automatically write the SQL statement for you. </p>
<p>The above query would look like </p>
<pre><code>
TRANSFORM Sum(purchases.amount) AS SumOfamount
Select Sum(purchases.amount) AS Total
FROM purchases
Where purchase_date between #8/1/2004# and #10/31/2004#
PIVOT &quot;m&quot; &amp; Format([purchase_date],&quot;yyyy_mm&quot;) In (&quot;m2004_08&quot;,&quot;m2004_09&quot;,&quot;m2004_10&quot;)
</code>
</pre>
Note: The <b>In</b> clause above is optional unless you plan to use this as a source for a report. What the <b>In</b> clause assures is that you always get the same consistent number of columns even if no data was present for say August. If you left it out and you had no data present for a specific month, then no column would be generated for that month.
<h3>Microsoft SQL Server 2005</h3>
<p>In SQL Server 2005, the <b>PIVOT</b> and <b>UNPIVOT</b> predicates were introduced. The PIVOT predicate is a new way of doing crosstab queries that is very similar to MS Access Transform PIVOT approach. The code looks like the below </p>
<pre><code>
Select *
FROM
(Select  'm' + CAST(DATEPART(year,[purchase_date]) As varchar(4)) + '_' + RIGHT('0' + CAST(DATEPART(month,[purchase_date]) As varchar(2)), 2) as themonth, amount
FROM purchases
Where purchase_date between '8/1/2004' and '10/31/2004' ) p
PIVOT (SUM(p.amount) FOR themonth  In ([m2004_08],[m2004_09],[m2004_10])) as pvt
</code>
</pre>
<table>
    <tbody>
        <tr>
            <th colspan="2">Articles of Interest</th>
        </tr>
        <tr>
            <td><a href="http://www.postgresonline.com/journal/index.php?/archives/14-CrossTab-Queries-in-PostgreSQL-using-tablefunc-contrib.html" target="_blank">CrossTab Queries in PostgreSQL using tablefunc contrib</a></td>
            <td>Covers using crosstab function packaged in the postgres tablefunc contrib module in order to generate cross tab queries</td>
        </tr>
        <tr>
            <td><a href="http://Jorkin.Reallydo.Com/ArticleDetail.aspx?ArticleID=31" target="_blank">Table-Driven and Data Driven Programming</a></td>
            <td>Example of using Table-Driven technique to generate SQL for a cross tab query</td>
        </tr>
        <tr valign="top">
            <td><a href="http://www.winnetmag.com/SQLServer/Article/ArticleID/15608/15608.html" target="_blank">Dynamic Crosstab Queries</a></td>
            <td>Example of how to create static and dynamic cross tabs in SQL Server 7. Provides stored procedure code for generating a cross tab from any query of data</td>
        </tr>
        <tr valign="top">
            <td><a href="http://www.databasedev.co.uk/crosstab_queries.html" target="_blank">Creating CrossTab queries in MS Access</a></td>
            <td>Covers basics of creating crosstabs in MS Access and when to use them.</td>
        </tr>
    </tbody>
</table>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=627</link>
			<title><![CDATA[Javascript常用函数:dbc2sbc()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Tue,19 May 2009 21:20:49 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=627</guid>	
		<description><![CDATA[<p><b><span style="COLOR: #0000c0">function</span></b><span> <span style="COLOR: black">dbc2sbc</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">sStr</span><span style="COLOR: #5c5c5c">){</span></span><br /><span>&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">dbc2sbc</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">sStr</span><span style="COLOR: #5c5c5c">;</span></span><br /><span>&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">for</span></b> <span style="COLOR: #5c5c5c">(</span><b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">i</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: #004080">65281</span><span style="COLOR: #5c5c5c">;</span> <span style="COLOR: black">i</span> <span style="COLOR: #5c5c5c">&lt;</span> <span style="COLOR: #004080">65375</span><span style="COLOR: #5c5c5c">;</span> <span style="COLOR: black">i</span><span style="COLOR: #5c5c5c">++)</span> <span style="COLOR: #5c5c5c">{</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">re</span> <span style="COLOR: #5c5c5c">=</span> <b><span style="COLOR: #0000c0">new</span></b> <span style="COLOR: black">RegExp</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">String</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">fromCharCode</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">i</span><span style="COLOR: #5c5c5c">),</span> <span style="COLOR: #005c00">&quot;g&quot;</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">va</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">String</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">fromCharCode</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">i</span> <span style="COLOR: #5c5c5c">-</span> <span style="COLOR: #004080">65248</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="COLOR: black">dbc2sbc</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">dbc2sbc</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">replace</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">re</span><span style="COLOR: #5c5c5c">,</span> <span style="COLOR: black">va</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp; <span style="COLOR: #5c5c5c">}</span></span><br /><span>&nbsp;&nbsp;&nbsp; <span style="COLOR: black">dbc2sbc</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">dbc2sbc</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">replace</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: #800040">/</span></span><span style="COLOR: #800040; FONT-FAMILY: 宋体">　</span><span style="COLOR: #800040">/g</span><span style="COLOR: #5c5c5c">,</span><span> <span style="COLOR: #005c00">' '</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">return</span></b> <span style="COLOR: black">dbc2sbc</span><span style="COLOR: #5c5c5c">;</span></span><br /><span style="COLOR: #5c5c5c">}</span></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=626</link>
			<title><![CDATA[Javascript常用函数:sbc2dbc()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Mon,18 May 2009 21:15:36 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=626</guid>	
		<description><![CDATA[<p><b><span style="COLOR: #0000c0">function</span></b><span> <span style="COLOR: black">sbc2dbc</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">sStr</span><span style="COLOR: #5c5c5c">){</span></span><br /><span>&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">sbc2dbc</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">sStr</span><span style="COLOR: #5c5c5c">;</span></span><br /><span>&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">for</span></b> <span style="COLOR: #5c5c5c">(</span><b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">i</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: #004080">33</span><span style="COLOR: #5c5c5c">;</span> <span style="COLOR: black">i</span> <span style="COLOR: #5c5c5c">&lt;</span> <span style="COLOR: #004080">127</span><span style="COLOR: #5c5c5c">;</span> <span style="COLOR: black">i</span><span style="COLOR: #5c5c5c">++)</span> <span style="COLOR: #5c5c5c">{</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="COLOR: black">stringFromCharCode</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">String</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">fromCharCode</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">i</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">switch</span></b> <span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">stringFromCharCode</span><span style="COLOR: #5c5c5c">)</span> <span style="COLOR: #5c5c5c">{</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;(&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;)&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;*&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;+&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;/&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;\\&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;[&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;]&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;?&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;$&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;.&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;^&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">case</span></b> <span style="COLOR: #005c00">&quot;|&quot;</span><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="COLOR: black">stringFromCharCode</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: #005c00">'\\'</span> <span style="COLOR: #5c5c5c">+</span> <span style="COLOR: black">stringFromCharCode</span><span style="COLOR: #5c5c5c">;</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">default</span></b><span style="COLOR: #5c5c5c">:</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">break</span></b><span style="COLOR: #5c5c5c">;</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="COLOR: #5c5c5c">}</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">re</span> <span style="COLOR: #5c5c5c">=</span> <b><span style="COLOR: #0000c0">new</span></b> <span style="COLOR: black">RegExp</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">stringFromCharCode</span><span style="COLOR: #5c5c5c">,</span> <span style="COLOR: #005c00">&quot;g&quot;</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">var</span></b> <span style="COLOR: black">va</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">String</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">fromCharCode</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">i</span> <span style="COLOR: #5c5c5c">+</span> <span style="COLOR: #004080">65248</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="COLOR: black">sbc2dbc</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">sbc2dbc</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">replace</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: black">re</span><span style="COLOR: #5c5c5c">,</span> <span style="COLOR: black">va</span><span style="COLOR: #5c5c5c">);</span></span><br /><span>&nbsp;&nbsp;&nbsp; <span style="COLOR: #5c5c5c">}</span></span><br /><span>&nbsp;&nbsp;&nbsp; <span style="COLOR: black">sbc2dbc</span> <span style="COLOR: #5c5c5c">=</span> <span style="COLOR: black">sbc2dbc</span><span style="COLOR: #5c5c5c">.</span><span style="COLOR: black">replace</span><span style="COLOR: #5c5c5c">(</span><span style="COLOR: #800040">/ /g</span><span style="COLOR: #5c5c5c">,</span> <span style="COLOR: #005c00">'</span></span><span style="COLOR: #005c00; FONT-FAMILY: 宋体">　</span><span style="COLOR: #005c00">'</span><span style="COLOR: #5c5c5c">);</span><br /><span>&nbsp;&nbsp;&nbsp; <b><span style="COLOR: #0000c0">return</span></b> <span style="COLOR: black">sbc2dbc</span><span style="COLOR: #5c5c5c">;</span></span><br /><span style="COLOR: #5c5c5c">}</span></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=625</link>
			<title><![CDATA[ASP常用函数:getFileExt()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Sun,17 May 2009 00:11:39 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=625</guid>	
		<description><![CDATA[<p><font color="#8000ff">&lt;%<br /></font><font color="#008000">'功能:取得文件扩展名<br />'来源:http://jorkin.reallydo.com/article.asp?id=625<br /><br /></font><font color="#0000ff">Function </font>getFileExt<font color="#000080">(</font>sFileName<font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</font>getFileExt <font color="#000080">= </font>Mid<font color="#000080">(</font>sFileName<font color="#000080">, </font>InstrRev<font color="#000080">(</font>sFileName<font color="#000080">, </font><font color="#800000">&quot;.&quot;</font><font color="#000080">) + </font><font color="#800080">1</font><font color="#000080">)<br /></font><font color="#0000ff">End Function<br /></font><font color="#8000ff">%&gt;<br /></font></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=624</link>
			<title><![CDATA[ASP常用函数:Luhn()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Sat,16 May 2009 23:57:54 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=624</guid>	
		<description><![CDATA[<p><font color="#8000ff">&lt;%<br /></font><font color="#008000">'功能:信用卡</font><font color="#ff0000">验证</font><font color="#008000">Luhn算法<br />'来源:http://jorkin.reallydo.com/article.asp?id=624<br /><br /></font><font color="#0000ff">Function </font>Luhn<font color="#000080">(</font><font color="#0000ff">byVal </font>sCard<font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">Dim </font>iSum<font color="#000080">, </font>iCard<font color="#000080">, </font>bBool<br />&nbsp;&nbsp;&nbsp;&nbsp;sCard <font color="#000080">= </font>CStr<font color="#000080">(</font>sCard<font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</font>iSum <font color="#000080">= </font><font color="#800080">0<br />&nbsp;&nbsp;&nbsp;&nbsp;</font>bBool <font color="#000080">= </font>CBool<font color="#000080">(</font>Len<font color="#000080">(</font>sCard<font color="#000080">) </font><font color="#0000ff">Mod </font><font color="#800080">2</font><font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">If Not </font>IsNumeric<font color="#000080">(</font>sCard<font color="#000080">) </font><font color="#0000ff">Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim </font>regEx<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">Set </font>regEx <font color="#000080">= </font><font color="#0000ff">New </font>RegExp<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;regEx<font color="#000080">.</font>Global <font color="#000080">= </font><font color="#0000ff">true<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>regEx<font color="#000080">.</font>Pattern <font color="#000080">= </font><font color="#800000">&quot;\D&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>sCard <font color="#000080">= </font>regEx<font color="#000080">.</font>Replace<font color="#000080">(</font>sCard<font color="#000080">, </font><font color="#800000">&quot;&quot;</font><font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">Set </font>regEx <font color="#000080">= </font><font color="#0000ff">Nothing<br />&nbsp;&nbsp;&nbsp;&nbsp;End If<br />&nbsp;&nbsp;&nbsp;&nbsp;For </font>i <font color="#000080">= </font><font color="#800080">1 </font><font color="#0000ff">To </font>Len<font color="#000080">(</font>sCard<font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>iCard <font color="#000080">= </font>CInt<font color="#000080">(</font>Mid<font color="#000080">(</font>sCard<font color="#000080">, </font>i<font color="#000080">, </font><font color="#800080">1</font><font color="#000080">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">If </font>bBool <font color="#0000ff">Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>iSum <font color="#000080">= </font>iSum <font color="#000080">+ </font>iCard<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If </font>iCard <font color="#000080">* </font><font color="#800080">2 </font><font color="#000080">&gt; </font><font color="#800080">9 </font><font color="#0000ff">Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>iSum <font color="#000080">= </font>iSum <font color="#000080">+ (</font>iCard <font color="#000080">* </font><font color="#800080">2 </font><font color="#000080">- </font><font color="#800080">9</font><font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>iSum <font color="#000080">= </font>iSum <font color="#000080">+ (</font>iCard <font color="#000080">* </font><font color="#800080">2</font><font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">End If<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>bBool <font color="#000080">= </font><font color="#0000ff">Not </font>bBool<br />&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">Next<br />&nbsp;&nbsp;&nbsp;&nbsp;If </font>iSum <font color="#0000ff">Mod </font><font color="#800080">10 </font><font color="#000080">= </font><font color="#800080">0 </font><font color="#0000ff">Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>Luhn <font color="#000080">= </font><font color="#0000ff">True<br />&nbsp;&nbsp;&nbsp;&nbsp;Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>Luhn <font color="#000080">= </font><font color="#0000ff">False<br />&nbsp;&nbsp;&nbsp;&nbsp;End If<br />End Function<br /></font><font color="#8000ff">%&gt;<br /></font></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=623</link>
			<title><![CDATA[ASP常用函数:getArrayDimension()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Fri,15 May 2009 23:02:21 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=623</guid>	
		<description><![CDATA[<p><font color="#8000ff">&lt;%<br /></font><font color="#008000">'功能:返回指定数组的维数。<br />'来源:http://jorkin.reallydo.com/article.asp?id=623<br /><br /></font><font color="#0000ff">Function </font>getArrayDimension<font color="#000080">(</font>aReallydo<font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">On Error Resume Next<br />&nbsp;&nbsp;&nbsp;&nbsp;</font>getArrayDimension <font color="#000080">= -</font><font color="#800080">1<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">If Not </font>IsArray<font color="#000080">(</font>aReallydo<font color="#000080">) </font><font color="#0000ff">Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exit Function<br />&nbsp;&nbsp;&nbsp;&nbsp;Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For </font>i <font color="#000080">= </font><font color="#800080">1 </font><font color="#0000ff">To </font><font color="#800080">60<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>iReallyDo <font color="#000080">= </font>UBound<font color="#000080">(</font>aReallydo<font color="#000080">, </font>i<font color="#000080">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000ff">If </font>Err <font color="#0000ff">Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>Err<font color="#000080">.</font>Clear<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">Exit Function<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>getArrayDimension <font color="#000080">= </font>i<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">End If<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next<br />&nbsp;&nbsp;&nbsp;&nbsp;End If<br />End Function<br /></font><font color="#8000ff">%&gt; </font></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=621</link>
			<title><![CDATA[[转]朝日啤酒距控股仅一步之遥 青岛啤酒恐沦为日系公司]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[胡诌乱侃]]></category>
			<pubDate>Thu,14 May 2009 19:47:52 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=621</guid>	
		<description><![CDATA[<p>&nbsp;&nbsp;&nbsp; 青岛啤酒第二大股东英博公司4月30日宣布，将19.9%青岛啤酒的股权出售给日本朝日啤酒株式会社，朝日因而成为青啤第二大股东。据了解，英博只要再卖3.99%的股票给朝日，朝日便掌握控股权，而青岛啤酒将丧失民族品牌地位成为日系公司。</p>
<p>&nbsp;&nbsp;&nbsp; 据相关报道，民族品牌被外资收购一直是敏感的话题，民众普遍对这样的事情抱持反感，可口可乐收购民族品牌&ldquo;汇源果汁&rdquo;案就被以&ldquo;反垄断法&rdquo;给否决掉；但这却是资本市场避免不了的情形。4月30日，英博发布公告，将所持有的青岛啤酒19.9%的股权以6.67亿美元价格出售给日本朝日啤酒，自己仅保留7.01%的股份。 </p>
<p>&nbsp;&nbsp;&nbsp; 值得关注的是，朝日啤酒原持有7.09%的青啤股权，加上新收购的19.9%，加总一共26.99%的股份，直逼青啤第一大股东青啤集团的30.89%</p>
<p><font color="#ff0000">&nbsp;&nbsp;&nbsp; 唉！民族品牌即将沦为日货。</font></p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=620</link>
			<title><![CDATA[[转]一贴学会PHP]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[技术天地]]></category>
			<pubDate>Wed,13 May 2009 18:59:20 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=620</guid>	
		<description><![CDATA[<p>系统长度32678字节,除去标点,还可以打一万字,如果写满,那也不短了.但是&hellip;<br />本着,变态的简单,流畅到底的适合广大浮躁的MJJ们浏览的原则,我尽量精简的有效的实用的阐述PHP的学习之道.</p>
<p><font color="#ff0000"><strong><u>本文适宜受众:</u></strong></font><br /><font color="#ff0000">熟练HTML</font>,但是<font color="#ff0000">对PHP等动态语言一无所知</font>,却在用dedecms或discuz等php程序的人.<br />当然,还要你有想学PHP的兴趣.毕竟纵使再简单也需要学习的动力,兴趣无疑是最好的.<br />不熟悉电脑操作,绝对路径,相对路径等东西的请上火星.</p>
<p><font color="#ff0000"><strong><u>前提准备:</u></strong></font><br />态度:<strong><font color="#ff0000">认真,细心,不浮躁.</font></strong><br />时间:<font color="#ff0000"><strong>仅需两个小时</strong></font>,但是请注意两个小时的完全时间.不要抽空去干别的,因为在学习的时候一但中断,再回过头来难免有眼高手低之嫌,而本人为顶级PHP非专业级专业写手杜撰,无法系统化教学,一但中断回头再看本文将一无是处.所以请准备两个小时.我尽量使本文能在两个小时内让你对PHP有所得.<br />环境架设:<font color="#ff0000">①单机</font>.②适合菜鸟使用的集成环境,③我推荐的软件:APMServ <a href="http://www.newhua.com/soft/41626.htm" target="_blank" mce_href="http://www.newhua.com/soft/41626.htm">下载地址</a> (PHP版本5.2.0)<br />为了防止有超级新新新人在环境架设这一块卡住,我先发了一个用APMServ架设环境的教程贴.<a href="http://www.im286.com/thread-2657232-1-1.html" target="_blank" mce_href="http://www.im286.com/thread-2657232-1-1.html">点击查看</a>.建设运营区.</p>
<p><font color="#ff0000">开始之前的FAQ</font></p>
<p>Q:我认真学习两个小时以后能变成高手吗?<br />A::tu: 少跟我来YY,《<strong><font color="#ff0000">一贴学会PHP</font></strong>》目的只在简单学会PHP!只能让你两个小时后大致了解PHP,有深入学习的基础.请不要抱有幻想,脚踏实地,步步为赢.看完后纵使不能成为高手,也会向高手迈进一步..<br />Q:我要用什么编辑器什么的东西吗?<br />A:本次教学仅仅是使用Macromedia Dreamweaver 8编辑.,编辑器不是必须品.文本还能做网页呢!<br />Q:你丫废话是不是太多了&hellip;<br />A:饿,那就马上开始.<br />&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&ndash;</p>
<p><font color="#ff0000">=============无耻的分割线=============</font></p>
<p><font size="3"><font color="#0000ff"><strong>吃饭一:</strong></font></font><br /><strong>one:</strong>标志性语言啊<br />html中开头结尾都有&lt;html&gt;&lt;/html&gt;标签,整个html页的内容都包含在里面.<br />对应的在php中可以这么YY,他只有一个标签&lt;?php?&gt;所有的东西都差入在php后面的位置.<br /><font color="#696969">行一:&lt;?php<br />行二:一段PHP代码<br />行三:?&gt;</font><br />其中所有的<font color="#808080">&lt;?php</font> 可以换成<font color="#808080">&lt;?</font> 省去&quot;<font color="#808080">php</font>&quot;~~~<br /><u>自己动手项目:</u><br />DW新建,动态页,PHP,代码模式,删除所有内容,然后再里面打入&lt;?php?&gt;及&lt;??&gt;,然后回车,和前删除键几次,体验红色的处女快感!才几分钟就已经开始写PHP拉~厉害噶,高手也~</p>
<p><strong>two:</strong>最简单的输出<br />不乖的人可能在上述&quot;一点PHP代码&quot;的位置打了东西,然后保存了之后打开看了一下,一片空白乃至错误&hellip;<br />因为PHP当然不是html,他是服务器语言,所谓服务器语言就是你开到这一页,然后服务器端按照规律解析成html再返回给你打开.比html多了一道服务器解析过程.<br />尝试如下代码:<br /><font color="#696969">&lt;?<br />echo &lsquo;<span class="t_tag" onclick="tagshow(event)">微笑着吃饭</span>好帅啊&rsquo;<br />?&gt;</font><br />保存文件名为yy.php后打开,如前后缀默认当然是PHP,一定要在支持PHP的环境下打开才有效果.如果在此处遇到问题,请查看APMServ是否开启,开启后你保存的文件位置是否在APMServ 目录下www\htdocs 下.如果都对,那么看看浏览器地址是不是<a href="http://127.0.0.1/" target="_blank" mce_href="http://127.0.0.1/">http://127.0.0.1:</a>端口/yy.php</p>
<p><strong>three:</strong>最常见的错误<br />再修改如上代码:<br /><font color="#696969">&lt;?<br />echo &lsquo;微笑着吃饭好帅啊&rsquo;<br />echo &lsquo;真的好帅啊&rsquo;<br />?&gt;</font><br />保存打开后是不是会发现有错误?这是历史上最常见最白痴又最常见的php错误.<br />php是逐行解析的,注意&quot;行&quot;的理解.每一行末尾都需要加上&ldquo;;&rdquo;。。。是字母L右边一个。<br />我也很费解，更恼火的是没有纠错功能，一错就全部不能打开，好在出错会显示错在哪一行。</p>
<p><strong><font color="#000000">four:</font></strong>最重要的概念<br />上条代码加如&ldquo; <font color="#696969">; </font>&rdquo;后打开之后会发现显示效果&ldquo;微笑着吃饭好帅啊真的好帅啊&rdquo;粘在一起。<br />请右键查看源文件，你会发现原来源文件也是这样的。那怎么办呢？<br />php是一种可插入html的语言，也就是他可以把html给QJ掉。。。<br />理论上<font color="#000000"><strong>&lt;?无论有多长?&gt;</strong></font>都可以插入到html中去。。。复制如下体验一下。。。</p>
<p><font color="#696969">&lt;html&gt;&lt;/head&gt;&lt;body&gt;</font></p>
<p><strong>five:</strong>最重要的应用<br />到此处如果还没有动过一下手的，请劳驾动一下手吧，以上所有也才几分钟，但是却有一个重要的体验过程。<br />认真做过来的人会发觉，PHP这样子学了有个屁用？那么现在。。。我也不能告诉你有什么用，接着到此处变量了。<br />我尽量少使用术语，尽量通俗，但是变量这个词找不到替代品。但是很好理解的，接着看。<br /><font color="#696969">&lt;?<br />$chifan=&quot;123er&quot;;<br />echo $chifan;<br />?&gt;</font><br />保存打开后，显示的内容是123er，那么熟悉html的很容易就想的到修改代码中<strong>&quot;&quot;</strong>之间的123er就可以修改显示内容了吧！<br />没有错，而且理论上修改两个chifan，只要保持他们是一样的，也都可以显示。<br />这只有两行，第一行是定义变量chifan的值为123er，第二行就是显示变量chifan。就这么简单。<br />很容易的就学会了定义变量和显示变量的方法！</p>
<p><font size="3"><font color="#0000ff">吃饭二：</font></font><br />经过《<font color="#0000ff">吃饭一</font>》中简单有趣生动的学习，你是否觉得PHP其实一点都不难呢？但是你是否也开始担心PHP没有用处呢？<br />这一节详细介绍php的概念性的东西。<br /><u>很明显的没有前一篇生动,这一段不是必须的,如果只是想了解一下而不打算学的完全可以跳过这一段.</u> r /&gt;<strong>php函数:</strong>什么是函数?比如y=2x是个函数,那么,只要知道x就可以得出相应的y出来.php强大的函数库是其主要的彪悍功能之一,如专用于mysql的函数,那么只需要数据库名用户名密码就可以自由而简单的连接数据库.<br />php手册:记载php语法和函数的册子,因为不是人人都能牢记每个函数每个语法的.所以大部分人在用的时候都会有需要查询手册的时候.它的意义,打个浅显的比喻,如y=2x的函数,你不知道有这个函数你就得当做x+x来算一次,但是如果你知道有个y=2x的函数,你就只需要调用函数y,然后输入x就可以得出结果.对于php手册,建议抽空看了一次又看一次,不能牢记但是可以记得里面有哪些功能.也许x+x你可以自己写出来,但是更复杂的你不一定能写出来,就算写出来有点费力,所以越麻烦的问题调用现成函数的作用就越来越明显和必要.<br />自己写函数,函数的作用和意义如此强大,但总也有自己独特需求的函数,函数可以自己写,善于使用函数可以达到事半功倍的效果&hellip;&hellip;废话这么多全是再理解函数,可见函数是多么的重要!<br />最后一个推荐或理解的比喻,几个实用的函数如时间调用函数,IP地址获取函数,可以在手册里找到,只需要简单的调用函数显示结果就可以很容易的得到想要定制的时间和IP地址.(还不明白我就无解了)<br /><strong>面对对象与面对过程:请百度或GG一下,感觉越来越离题&hellip;离简单之主题.</strong><br /><strong>语法细节:</strong><br />如: &lt;? echo &quot;哈哈&quot;?&gt; &lt;? echo &lsquo;哈哈&rsquo;?&gt;的区别(区别在哪?在于<strong>&quot;&quot;</strong>和<strong>&rdquo;</strong>)以及全角于半角的区别.&ldquo;&rdquo;&lsquo;&rsquo;（）()以及如何显示出&quot;&quot;这些定义变量的东西等头疼问题!&hellip;我一想到就头痛.看到这来了肯定也很头痛.<br />全角和半角没有区别,功能相同.很完美.<br />如何显示语法的符号也不难,只需要在相应符号前加个 / 即可.不过看起来会很别扭.<br />双引和单引的区别在于双引会解析变量,而单引是直接显示.<br /><font color="#696969">&lt;?<br />$mjj = &quot;哈哈&quot; ;<br />echo $mjj;<br />echo &quot;&lt;br&gt;&quot; ;<br />echo &quot;这是$mjj&quot;;<br />echo &quot;&lt;br&gt;&quot; ;<br />echo &lsquo;这是$mjj&rsquo;;<br />?&gt;</font><br />以下三个是常用语法的一个小补充.然后开始实习.<br /><strong>常量: define</strong><br /><font color="#696969">&lt;?php</font><br /><font color="#696969">&nbsp; &nbsp;define(&quot;PAGE_TITLE&quot;, &quot;MJJ的页面&quot;);<br />&nbsp; &nbsp;define(&quot;PAGE_BODY&quot;, &quot;MJJ就是木鸡鸡&quot;);</font><br /><font color="#696969">?&gt;</font><br /><font color="#696969">&lt;html&gt;<br />&lt;title&gt;&lt;?php echo PAGE_TITLE ?&gt;&lt;/title&gt;<br />&lt;body&gt;<br />&lt;?php echo PAGE_BODY ?&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;</font><br /><strong>更简单的输出 <font face="Courier"><font size="1">&lt;?= ?&gt;</font></font></strong><br />如以上的title句可以换成:<br /><font color="#696969">&lt;title&gt;&lt;?= PAGE_TITLE ?&gt;&lt;/title&gt;</font><br /><strong>页面调用require和include</strong><br />2个都是调用其他页面,php是逐行翻译的,但是require是优先调用,include是读到这一行时翻译.<br />怎么运用调用的,是门大艺术.(怕出错require可以使用require_once只调用该页面一次)格式如下:<br /><font color="#696969">require_once &lsquo;./include/286.php&rsquo;;</font><br /><font color="#696969">include &lsquo;mjj.php&rsquo;;</font><br />自己建个286.php或mjj.php来调用玩一下吧.可以写成txt但是必须符合php语法.调用来当php用.</p>
<p><font size="3"><font color="#0000ff">吃饭三：<br /></font></font><strong>实例：</strong>一行URL跳转代码</p>
<h5>代码:</h5>
<p><code id="code0">&lt;? $url=$_GET[&quot;url&quot;];header(&quot;Location:&quot;.&quot;http://&quot;.$url);?&gt; </code></p>
<p>如保存为aaa.php,可以实现aaa.php?url=www.baidu.com跳转到百度的效果.<br />这个简单的调用了默认的$_GET变量.以及php默认跳转Location:<br />(更多默认变量尽在手册之中)<br /><strong>实例升级：</strong>增加if循环</p>
<h5>代码:</h5>
<p><code id="code1">&lt;?<br />$url=$_GET[&quot;url&quot;];<br />if (strlen($url &gt;= &lsquo;3&prime;)){<br />header(&quot;Location:&quot;.&quot;http://&quot;.$url);<br />}<br />?&gt;<br />&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt;URL转向页&lt;/title&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br />&lt;form id=&quot;url&quot; name=&quot;url&quot; method=&quot;get&quot; action=&quot;#&quot;&gt;<br />&lt;label&gt;http://<br />&lt;input name=&quot;url&quot; type=&quot;text&quot; value=&quot;&quot; /&gt;<br />&lt;/label&gt;<br />&lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;提交&quot; /&gt;<br />&lt;/form&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;</code></p>
<p>讲了这么多还一直没有讲过循环,就当做是本教程最难的内容了(用以衬托一贴学会是多么的简单~)<br />这个升级代码很简单,就是可以让这个跳转页也能够打开,当get下来的url地址大于3时才跳转.</p>
<p><font size="3"><font color="#0000ff">写在学习完之后：</font></font><br />如果对学PHP有所启发,觉得已经确实入门(还没有入门就再看一次),那么有<strong>两种进阶方法.</strong><br />稳健型的可以先将php手册通读一遍,然后开始找留言本,博客,BBS(顺序,可先文本再mysql)的实例开始一步一步重新制作.<br />激情型的,可以直接开始找实例开始照着实例一步一步做,有所感悟感到欠缺之后再进行php手册补充.网络上的实例实在太多了.<br /><strong>提高阶段:</strong>了解php4,php5,php6的变化和差异.主力针对当前流行的php程序进行研究.(这之前还需要适应一款编辑器,如果可能最好了解某一框架,落伍论坛有发布过框架,代码区见.)开源的php程序会给你带来崭新的体验,了解以后做不来至少也改的明白.<br /><strong>高级阶段:</strong>我还不具备介绍的资格.希望大家一起变成高手.<br />最后祝愿所有对php有兴趣的朋友们都能成为高手!</p>
<p>&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;-分割线&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br />终于完成,不排除有漏洞,本文总计用时4小时+3小时.希望能对需要的朋友产生帮助.</p>
<p>&lt;div style=&quot;background-color: #606096; height: 6px; font-size: 0px;&quot;&gt;&lt;/div&gt;<br />&lt;div style=&quot;height:24px;padding:3px 10px 0px 0px;text-align:right; background:#F1F1F1;&quot;&gt;</p>
<p>&lt;?<br />echo &lsquo;微笑着吃饭好帅啊&rsquo;;<br />echo &lsquo;真的好帅啊&rsquo;;<br />?&gt;</p>
<p>&lt;/div&gt;&lt;/div&gt;</p>
<p>&lt;/body&gt;<br />&lt;/html&gt;<br />请注意观察DW帮忙显示出来的颜色~很有作用。<br />友情广告：本效果为落伍者论坛顶部的那一条代码，有需要的可以广泛模仿使用。</p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=619</link>
			<title><![CDATA[[转]80后人制造的60句精典话]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[其它转载]]></category>
			<pubDate>Tue,12 May 2009 23:11:19 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=619</guid>	
		<description><![CDATA[<p>&nbsp;&nbsp;&nbsp; 1、吃自助最高境界：扶墙进，扶墙出。</p>
<p>&nbsp;&nbsp;&nbsp; 2、结婚必备条件：有车有房，父母双亡。</p>
<p>&nbsp;&nbsp;&nbsp; 3、没有钱，没有权，再不对你好点，你能跟我？</p>
<p>&nbsp;&nbsp;&nbsp; 4、拿份报纸上厕所，俺是读书人。</p>
<p>&nbsp;&nbsp;&nbsp; 5、上Google上百度一下。</p>
<p>&nbsp;&nbsp;&nbsp; 6、女人一定要对自己好一点。一旦累死了，就会有别的女人花你的钱，住你的房，睡你的老公，打你的娃！</p>
<p>&nbsp;&nbsp;&nbsp; 7、你的丑和你的脸没有关系&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 8、长个包子样，就别怨狗跟着。</p>
<p>&nbsp;&nbsp;&nbsp; 9、争吵的时候，男人和女人的区别就像步枪和机关枪的区别。</p>
<p>&nbsp;&nbsp;&nbsp; 10、爷爷都是从孙子走过来的&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 11、老天，你让夏天和冬天同房了吧？生出这种鬼天气！</p>
<p>&nbsp;&nbsp;&nbsp; 12、鸟大了什么林子都有！</p>
<p>&nbsp;&nbsp;&nbsp; 13、听说女人如衣服，兄弟如手足。回想起来，咱这尊千手观音竟然裸奔了20多年！</p>
<p>&nbsp;&nbsp;&nbsp; 14、不怕虎一样的敌人，就怕猪一样的队友。</p>
<p>&nbsp;&nbsp;&nbsp; 15、夏天就是不好，穷的时候我连西北风都没得喝&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 16、随你大小便！</p>
<p>&nbsp;&nbsp;&nbsp; 17、怀才就像怀孕，时间久了才能让人看出来。</p>
<p>&nbsp;&nbsp;&nbsp; 18、没什么事就不要找我，有事了更不要找我。</p>
<p>&nbsp;&nbsp;&nbsp; 19、你以为我会眼睁睁地看着你去送死？我会闭上眼睛的。</p>
<p>&nbsp;&nbsp;&nbsp; 20、锻炼肌肉，防止挨揍！</p>
<p>&nbsp;&nbsp;&nbsp; 21、天使之所以会飞，是因为她们把自己看得很轻&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 22、我想早恋，可是已经晚了&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 23、拥抱真是个奇怪的东西，明明靠的那么近，却看不见彼此的脸。</p>
<p>&nbsp;&nbsp;&nbsp; 24、揍你个性生活不能自理！</p>
<p>&nbsp;&nbsp;&nbsp; 25、当你穿上爱情的婚纱，我也披上了和尚的袈裟&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 26、其实我是一个天才，可惜天妒英才！</p>
<p>&nbsp;&nbsp;&nbsp; 27、请你以后不要在我面前说英文了，OK？</p>
<p>&nbsp;&nbsp;&nbsp; 28、思想有多远，你就给我滚多远！</p>
<p>&nbsp;&nbsp;&nbsp; 29、男人的谎言可以骗女人一夜，女人的谎言可以骗男人一生！</p>
<p>&nbsp;&nbsp;&nbsp; 30、好久没有人把牛皮吹的这么清新脱俗了！</p>
<p>&nbsp;&nbsp;&nbsp; 31、老板，钱对你来说真的就那么重要吗？讲了三个多小时了一分钱都不降？</p>
<p>&nbsp;&nbsp;&nbsp; 32、起那么早干嘛？夜总会还没开门呢！</p>
<p>&nbsp;&nbsp;&nbsp; 33、一觉醒来，天都黑了。</p>
<p>&nbsp;&nbsp;&nbsp; 34、我要是做了人事部经理，第一件事就是提拔自己做老总。</p>
<p>&nbsp;&nbsp;&nbsp; 35、我每天除了吃饭的时间全在减肥，你还说我没有毅力？</p>
<p>&nbsp;&nbsp;&nbsp; 36、水能载舟，亦能煮粥。</p>
<p>&nbsp;&nbsp;&nbsp; 37、买了电脑不上宽带，就好比酒肉都准备好了却在吃饭前当了和尚。</p>
<p>&nbsp;&nbsp;&nbsp; 38、只要你敢死，我就敢埋！</p>
<p>&nbsp;&nbsp;&nbsp; 39、人又不聪明，还敢学人家秃顶？</p>
<p>&nbsp;&nbsp;&nbsp; 40、有一个很古老的传说&mdash;&mdash;能在XX校园里看到美女的人会长生不老&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 41、如果连你也不理我，我就变成狗不理了&hellip;&hellip;</p>
<p>&nbsp;&nbsp;&nbsp; 42、生，容易；活，容易；生活，不容易。</p>
<p>&nbsp;&nbsp;&nbsp; 43、打死你我也不会说。</p>
<p>&nbsp;&nbsp;&nbsp; 44、钱可以解决的问题都不是问题。</p>
<p>&nbsp;&nbsp;&nbsp; 45、念了十几年书，想起来还是幼儿园比较好混！</p>
<p>&nbsp;&nbsp;&nbsp; 46、连广告也信，读书读傻了吧？</p>
<p>&nbsp;&nbsp;&nbsp; 47、戒烟容易，戒你太难！</p>
<p>&nbsp;&nbsp;&nbsp; 48、不吃饱哪有力气减肥啊？</p>
<p>&nbsp;&nbsp;&nbsp; 49、睡眠是一门艺术&mdash;&mdash;谁也不能阻挡我追求艺术的脚步。</p>
<p>&nbsp;&nbsp;&nbsp; 50、奈何桥上的老婆婆都卖上百事可乐了，你叫我怎么忘记你？</p>
<p>&nbsp;&nbsp;&nbsp; 51、早起的鸟儿有虫吃，早起的虫虫被鸟吃。</p>
<p>&nbsp;&nbsp;&nbsp; 52、如果我做了皇帝，一定封你当太子。</p>
<p>&nbsp;&nbsp;&nbsp; 53、只要锄头舞的好，哪有墙角挖不倒？</p>
<p>&nbsp;&nbsp;&nbsp; 54、天哪，我的衣服又瘦了！</p>
<p>&nbsp;&nbsp;&nbsp; 55、我在女友手机里的名字是&ldquo;他&rdquo;，分手后，我就变成了&ldquo;它&rdquo;。</p>
<p>&nbsp;&nbsp;&nbsp; 56、避孕的效果：不成功，便成人。</p>
<p>&nbsp;&nbsp;&nbsp; 57、我和你不一样，因为我是人。</p>
<p>&nbsp;&nbsp;&nbsp; 58、问君能有几多愁，恰似一群太监上青楼。</p>
<p>&nbsp;&nbsp;&nbsp; 59、我真想亲口管你爷爷叫声：&ldquo;爹！&rdquo;</p>
<p>&nbsp;&nbsp;&nbsp; 60、我喝水只喝纯净水，牛奶只喝纯牛奶，所以我很单纯&hellip;&hellip;</p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=618</link>
			<title><![CDATA[Oracle常用函数:IsNumeric()]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[敝帚自珍]]></category>
			<pubDate>Mon,11 May 2009 23:58:38 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=618</guid>	
		<description><![CDATA[<p><span style="COLOR: blue">Create</span> <span style="COLOR: blue">Or</span> <span style="COLOR: blue">Replace</span> <span style="COLOR: blue">Function</span> <span>IsNumeric</span><span><span style="COLOR: black">(</span></span><span><span style="COLOR: navy">Svalue</span></span><span style="COLOR: navy"> </span><span style="COLOR: blue">In</span> <span style="COLOR: blue">Varchar2</span><span style="COLOR: black">)</span> <span style="COLOR: blue">Return</span> <span style="COLOR: blue">Number</span> <span style="COLOR: blue">As</span><br />&nbsp;&nbsp;&nbsp; <span>Ivalue</span> <span style="COLOR: blue">Numeric</span><span style="COLOR: black">;</span><br /><span style="COLOR: blue">Begin</span><br />&nbsp;&nbsp;&nbsp; <span style="COLOR: blue">Begin</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span><span>Ivalue</span></span><span> <span style="COLOR: black">:=</span></span> <span><span style="COLOR: red">To_Number</span></span><span style="COLOR: black">(</span><span><span style="COLOR: navy">Svalue</span></span><span style="COLOR: black">);</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span><span style="COLOR: blue">Return</span><span style="COLOR: black">(</span></span><span style="COLOR: red">1</span><span style="COLOR: black">);</span><br />&nbsp;&nbsp;&nbsp; <span style="COLOR: blue">Exception</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="COLOR: blue">When</span> <span style="COLOR: blue">Others</span> <span style="COLOR: blue">Then</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span><span style="COLOR: blue">Return</span><span style="COLOR: black">(</span></span><span style="COLOR: red">0</span><span style="COLOR: black">);</span><br />&nbsp;&nbsp;&nbsp; <span style="COLOR: blue">End</span><span style="COLOR: black">;</span><br /><span style="COLOR: blue">End</span> IsNumeric<span style="COLOR: black">;</span> </p>]]></description>
		</item>
		
			<item>
			<link>http://Jorkin.Reallydo.Com/default.asp?id=617</link>
			<title><![CDATA[MSXML2.XMLHTTP 800401F3 错误的解决方法]]></title>
			<author>Jorkin2000(AT)hotmail.com(Jorkin)</author>
			<category><![CDATA[技术天地]]></category>
			<pubDate>Sun,10 May 2009 20:29:15 +0800</pubDate>
			<guid>http://Jorkin.Reallydo.Com/default.asp?id=617</guid>	
		<description><![CDATA[<p>今天ASP调用Web Service报错，错误代码为800401F3，错误提示为:Server.CreateObject失败。</p>
<p>出错行代码为：<br />Set oXMLHttp = Server.CreateObject(&quot;MSXML2.XMLHTTP&quot;)</p>
<p>重新注册MSXML控件：<br />regsvr32 /u msxml2.dll<br />regsvr32 msxml2.dll<br />无效，看来是权限问题了。</p>
<p>到注册表中找到 HKEY_CLASSES_ROOT\MSXML2.XMLHTTP，添加 IUSR_XXXX 读取权限，问题解决。<br />但是我发现问题解决后再把权限删除还是能够正常使用。</p>]]></description>
		</item>
		
</channel>
</rss>