<br />
<b>Warning</b>:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of module_invoke_all().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in <b>/home/.megatoes/geniusy/geniusy/drupal/modules/fuzzysearch/fuzzysearch.module</b> on line <b>324</b><br />
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Geniusy's Blog blogs</title>
  <subtitle>不是站长用Drupal，而是Drupal折磨站长！</subtitle>
  <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/blog"/>
  <link rel="self" type="application/atom+xml" href="http://www.geniusy.com/drupal/blog/atom/feed"/>
  <id>http://www.geniusy.com/drupal/blog/atom/feed</id>
  <updated>2007-12-22T12:23:19-08:00</updated>
  <entry>
    <title>原来龟兔赛跑是有四次的</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/83" />
    <id>http://www.geniusy.com/drupal/node/83</id>
    <published>2007-12-27T01:10:34-08:00</published>
    <updated>2007-12-27T07:41:42-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="创造环境" />
    <category term="团结协作" />
    <category term="始终如一" />
    <category term="自身条件" />
    <category term="龟兔赛跑" />
    <category term="学习&amp;生活" />
    <summary type="html"><![CDATA[<p><p><p>今天马哲课上听到了一个全新版本，也可以说是一个大综合版本的龟兔赛跑故事，感触颇深，写出来与大家分享。</p>
<p>第一次：一只乌龟和一只兔子举行了一次赛跑，比赛一开始，兔子就将乌龟远远的甩在了后面。兔子心想自己是胜券在握的，于是就在半路睡起了大觉，等它醒来时发现乌龟已经一步一步的爬到了终点。</p>
<p>这是大家都耳熟能详的版本，告诫我们要始终如一，坚持不懈；</p>
<p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><p>今天马哲课上听到了一个全新版本，也可以说是一个大综合版本的龟兔赛跑故事，感触颇深，写出来与大家分享。</p>
<p>第一次：一只乌龟和一只兔子举行了一次赛跑，比赛一开始，兔子就将乌龟远远的甩在了后面。兔子心想自己是胜券在握的，于是就在半路睡起了大觉，等它醒来时发现乌龟已经一步一步的爬到了终点。</p>
<p>这是大家都耳熟能详的版本，告诫我们要始终如一，坚持不懈；</p>
<p></p>
<p>第二次：兔子不服，于是又与乌龟进行了一次赛跑。这次，兔子吸取了上次的教训，一口气冲到了终点。</p>
<p>相信这个版本很多人也知道，它告诉我们光有恒心与坚持也是不行的，自身条件也很重要；</p>
<p>第三次：这次轮到乌龟不服了。它想，跑步是兔子的特长，我不能以己之短去与人家的长处相比。于是它们又进行了一次赛跑，但是在起点和终点之间多了一条河。兔子一下子就跑到了河边，但只能看着后来的乌龟慢慢游过河。</p>
<p>这个版本恐怕没几个人听说过吧，它告诫我们要主动创造条件，尽力的展现自己的长处，以己之长去和对手较量。故事还没有结束，让我们继续看吧：</p>
<p>第四次：经过之前三次赛跑后，乌龟和兔子都认识到了自己的长处与不足。于是它们又进行了一次赛跑，不过不是和对方赛，而是和自己赛，和过去赛，赛道还是上次那条。比赛开始，兔子扛着乌龟一下子冲到了河边，然后乌龟背着兔子游过了河面，接着兔子又扛着乌龟冲到了终点。</p>
<p>看到这儿，我都大吃了一惊，原来龟兔赛跑还有这样一个版本啊。不过道理也很好懂，个人的能力毕竟是有限的，而团队的力量可以是无穷的。将对手转变为合作伙伴能够取得更大的胜利。</p></p>    ]]></content>
  </entry>
  <entry>
    <title>CISA+ICFE+NCR3+2门ACCA</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/82" />
    <id>http://www.geniusy.com/drupal/node/82</id>
    <published>2007-12-26T18:07:25-08:00</published>
    <updated>2007-12-26T18:07:25-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="acca" />
    <category term="CISA" />
    <category term="ICFE" />
    <category term="NCR" />
    <category term="四大" />
    <category term="奋斗" />
    <category term="学习&amp;生活" />
    <summary type="html"><![CDATA[<p><p><p>既然没有勇气创业，就得面对现实。但既然为人家打工，也得找个好的雇主，四大是无数财会人的梦想的起点，我也不能脱俗。竞争是残酷的，人才的过剩的。要想脱颖而出，就得让人家看到你比他人闪光的地方。浑浑噩噩，两年半就过去了，到目前为止，就考了CET-4，CET-6和NCR-2，ACCA应该是过了8门，真是惭愧啊。前几天和Samson学长谈了一下，才感觉到了时间的紧迫。明年的这个时候，好的工作基本上就已经尘埃落定了。要想为之前的求职环节增加砝码，唯一的机会就是下学期。</p>
 
<p>在为我自己找一个定义时，可以用精通网络的财会人或者精通财会的网络人，我现在更倾向于前者。虽然我努力想让自己更加的IT-Professional，但是从学长的反馈来看，我那样定义自己无疑会在与交大、复旦计算机专业高材生的较量中败下阵来。虽然我们学校并不出名，某些人还认为很垃圾，但不可否认的是在财会，特别是审计方面还是有些地位的，这也是每年都有不少学姐学长在与上财、复旦财会高材生较量中胜出的原因。</p>
 
<p>选择好了对自己的定义，就相当于明确了方向。奋斗方向很明确——有IT特长的财会毕业生；奋斗时间也很明确——一半年，也就是一学期。</p>
<p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><p>既然没有勇气创业，就得面对现实。但既然为人家打工，也得找个好的雇主，四大是无数财会人的梦想的起点，我也不能脱俗。竞争是残酷的，人才的过剩的。要想脱颖而出，就得让人家看到你比他人闪光的地方。浑浑噩噩，两年半就过去了，到目前为止，就考了CET-4，CET-6和NCR-2，ACCA应该是过了8门，真是惭愧啊。前几天和Samson学长谈了一下，才感觉到了时间的紧迫。明年的这个时候，好的工作基本上就已经尘埃落定了。要想为之前的求职环节增加砝码，唯一的机会就是下学期。</p>
 
<p>在为我自己找一个定义时，可以用精通网络的财会人或者精通财会的网络人，我现在更倾向于前者。虽然我努力想让自己更加的IT-Professional，但是从学长的反馈来看，我那样定义自己无疑会在与交大、复旦计算机专业高材生的较量中败下阵来。虽然我们学校并不出名，某些人还认为很垃圾，但不可否认的是在财会，特别是审计方面还是有些地位的，这也是每年都有不少学姐学长在与上财、复旦财会高材生较量中胜出的原因。</p>
 
<p>选择好了对自己的定义，就相当于明确了方向。奋斗方向很明确——有IT特长的财会毕业生；奋斗时间也很明确——一半年，也就是一学期。</p>
<p></p>
 
<p>ACCA是得继续考的，放过放弃了它就等于对我这两年半时光的否定。虽然从学长学姐们面试的反馈来看，ACCA并不是很重要，我自己有时候也在问自己把自己唯一的四年大学生活都耗在上面到底值不值，但我知道金子终究是会闪光的，学到的知识是有它的用武之地的。</p>
 
<p>英语一直是我除了计算机以外的第二爱好，在我曾经想把IT作为我的职业时甚至是第一爱好。虽然说四大并不看中你的英语证书，它们更相信自己的英语测试，但那总归是对自己应与水平的一个见证。虽然说金子终究会发光，并不需要给它照明，但是如果有闪光灯对准它，它被发现的机会会更大的。班上很多人都选择了口译，我也曾经想过，还有雅思，都是很好的证明英语能力的方式。不过ICFE是与ACCA相关的，爱屋及乌，逐渐喜欢上ACCA的过程中对它也有了好感，就选它了。</p>
 
<p>IT与审计最好的结合物就是CISA，虽然我有时候觉得那个不大适合财会人，而更适合IT人，但谁叫我定义自己为有IT特长的财会人呢？选它没商量，不过半年时间的确有点紧，所以下学期的ACCA只准备两科，剩下的时间就CISA了。坚持，最近我经常给准备学或者刚开始学ACCA的人说这个词。如果能够做到这两个字，没有什么事情做不下来的，许三多不是都能成为一个优秀的兵吗？希望我能够坚持下来，这也是我最缺少的。</p>
 
<p>NCR-3，这个没说的，为了挣奖励学分我也得拿下，还得拿个优。我真不想选选修课浪费时间了，我们学校的选修课真是学不到任何东西，老师为完成任务，同学为了拿学分。虽然通过选修骗学分比这个容易多了，但我更愿意选择这个。</p></p>    ]]></content>
  </entry>
  <entry>
    <title>Tabular menu items in Drupal</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/81" />
    <id>http://www.geniusy.com/drupal/node/81</id>
    <published>2007-12-26T09:16:15-08:00</published>
    <updated>2007-12-26T09:25:48-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="drupal" />
    <category term="Drupal" />
    <category term="menu" />
    <category term="Tabular" />
    <category term="CMS研究" />
    <summary type="html"><![CDATA[<p><p><p><img src="http://templates.m42.hu/sites/default/files/articles/2007-08-tabluar-menu-items/teaser.png" alt="tabluar-menu-items/teaser." width="188" height="45" /></p>
<p>In today’s excercise, we are going to adapt some nice styles to the Drupal menu items. There is a widely known CSS technique called sliding doors
which became very popular since it became published. We are going to
spice this a little more with extra hover states and implement sprites
to improve the performance a little. This will involve a little PHP code – overriding a themeable function, and some CSS markup.</p>
 
<p>Let’s start with a piece of generated html code:</p>
 
<code>&lt;ul class="links-menu"&gt;<br /> &lt;li&gt;&lt;a href="/free"&gt;Download templates&lt;/a&gt;&lt;/li&gt;<br /> &lt;li&gt;&lt;a href="/about"&gt;About&lt;/a&gt;&lt;/li&gt;<br /> &lt;li class="active"&gt;&lt;a href="/blog" class="active"&gt;Blog&lt;/a&gt;&lt;/li&gt;<br /> &lt;li&gt;&lt;a href="/contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />&lt;/ul&gt;</code>
 
<p>This is how Drupal renders primary links. Notice the active menu item which is set by a CSS class <code>active</code> on both the <code>&lt;li&gt;</code> and <code>&lt;a&gt;</code> tags. Since the anchor element’s parent is set to a class, it makes extremely easy to theme nice menu items.</p>
 
<p>Let’s
create a background image for the tabs. Our tab will have four states:
one for a regular item, one for hover, and both of them once they’re <code>.active</code>.
I prefer using sprites as this will improve performance a little:
loading several little images takes more time than loading one bigger
image which holds all the necessary background elements.</p>
 
<p>So I decided to come up with this tab image.</p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><p><img src="http://templates.m42.hu/sites/default/files/articles/2007-08-tabluar-menu-items/teaser.png" alt="tabluar-menu-items/teaser." width="188" height="45" /></p>
<p>In today’s excercise, we are going to adapt some nice styles to the Drupal menu items. There is a widely known CSS technique called sliding doors
which became very popular since it became published. We are going to
spice this a little more with extra hover states and implement sprites
to improve the performance a little. This will involve a little PHP code – overriding a themeable function, and some CSS markup.</p>
 
<p>Let’s start with a piece of generated html code:</p>
 
<code>&lt;ul class="links-menu"&gt;<br /> &lt;li&gt;&lt;a href="/free"&gt;Download templates&lt;/a&gt;&lt;/li&gt;<br /> &lt;li&gt;&lt;a href="/about"&gt;About&lt;/a&gt;&lt;/li&gt;<br /> &lt;li class="active"&gt;&lt;a href="/blog" class="active"&gt;Blog&lt;/a&gt;&lt;/li&gt;<br /> &lt;li&gt;&lt;a href="/contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />&lt;/ul&gt;</code>
 
<p>This is how Drupal renders primary links. Notice the active menu item which is set by a CSS class <code>active</code> on both the <code>&lt;li&gt;</code> and <code>&lt;a&gt;</code> tags. Since the anchor element’s parent is set to a class, it makes extremely easy to theme nice menu items.</p>
 
<p>Let’s
create a background image for the tabs. Our tab will have four states:
one for a regular item, one for hover, and both of them once they’re <code>.active</code>.
I prefer using sprites as this will improve performance a little:
loading several little images takes more time than loading one bigger
image which holds all the necessary background elements.</p>
 
<p>So I decided to come up with this tab image.</p>
 
<p>As
you can see, it holds all the four states and includes the right slice
and the left slice of the background. The right element applied to tag <code>a</code> and the left to tag <code>li</code>. This is very easy, but there comes IE which cripples down every great CSS idea since it can only apply hovers to element <code>a</code>. Now what? As we still need two different elements to be hovered, we include a <code>span</code> element inside every <code>a</code>.</p>
 
<p>Thus we need a HTML like this:</p>
 
<code>&lt;ul class="links-menu"&gt;<br /> &lt;li&gt;&lt;a href="/free"&gt;&lt;span&gt;Download templates&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br /> &lt;li&gt;&lt;a href="/about"&gt;&lt;span&gt;About&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br /> &lt;li class="active"&gt;&lt;a href="/blog" class="active"&gt;&lt;span&gt;Blog&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br /> &lt;li&gt;&lt;a href="/contact"&gt;&lt;span&gt;Contact&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />&lt;/ul&gt;</code>
 
<p>Now we can reach the span tag via CSS using <code>a span</code> and <code>a:hover span</code> declarations. To have Drupal generate this HTML code we need to add a little function to the template.php file of your theme.</p>
 
<code>&lt;?php<br /> /*  override item links with injecting span tags in between the link content  */<br />function yourtheme_menu_links($links) {<br /> if (!count($links)) {<br /> return '';<br /> }<br /> $level_tmp = explode('-', key($links));<br /> $level = $level_tmp[0];<br /> $output = "&lt;ul class=\"links-$level\"&gt;
";<br /> foreach ($links as $index =&gt; $link) {<br /> $output .= '&lt;li';<br /> if (stristr($index, 'active')) {<br /> $output .= ' class="active"';<br /> }<br /> $output .= "&gt;". l("&lt;span&gt;".$link['title']."&lt;/span&gt;", $link['href'], $link['attributes'], $link['query'], $link['fragment'], FALSE, TRUE) ."&lt;/li&gt;
";<br /> }<br /> $output .= '&lt;/ul&gt;';<br /><br /> return $output;<br />} <br />?&gt;</code>
 
<p>Of course you have to put your theme name where ‘yourtheme’ was used above. I only copied the standard function  and modified the <code>$output</code> line a little. According to the function <code>l</code> we had to set the last switch to TRUE since the link text now includes HTML (the <code>span</code> tags).</p>
 
<p>Now let’s see the CSS code. I won’t explain fancy stuff from now on, just copy &amp; paste my css used in Ubiquity for tabs. As we’re theming primary links, we encapsulate every style declaration in the <code>#primary</code> div to avoid globalizing these settings.</p>
 
<p>First, position and style the menu items:</p>
 
<code>#primary {<br /> float: left;<br /> margin: .75em 0 0 0;<br />}<br />#primary .links-menu {<br /> margin: 0;<br /> padding: 0 2em;<br /> list-style: none;<br /> border: 0;<br />}<br />#primary .links-menu li {<br /> display: inline;<br /> margin: 0;<br /> padding: 0;<br /> border: 0;<br />}<br />#primary .links-menu li a {<br /> display: inline;<br /> float: left;<br /> margin: 0;<br /> padding: 0 0 0 4px;<br /> border: 0;<br /> background: transparent url("images/tabs.png") no-repeat left top;<br /> text-decoration: none;<br />}<br />#primary .links-menu li a span {<br /> display: block;<br /> background: transparent url("images/tabs.png") no-repeat right top;<br /> padding: 5px 13px 5px 5px;<br /> color: #039;<br />}<br />/* Commented Backslash Hack hides rule from IE5-Mac \*/<br />#primary .links-menu li a span { float: none; }<br />/* End IE5-Mac hack */<br /><br />#primary .links-menu li a:hover span {<br /> color: #006;<br />}</code>
 
<p>Notice the brilliant Mac IE 5 Backslash Hack which promotes IE 5 on Mac still a usable browser :) <br /> Now here comes the part dealing with hovers and active states:</p>
 
<code>#primary .links-menu li a:hover {<br /> background-color: transparent;<br /> background-position: 0% -50px;<br />}<br />#primary .links-menu li a:hover span {<br /> background-position: 100% -50px;<br />}<br />#primary .links-menu li.active a {<br /> background-color: transparent;<br /> background-position: 0% -100px;<br />}<br />#primary .links-menu li.active a span {<br /> background-position: 100% -100px;<br /> font-weight: bold;<br />}<br />#primary .links-menu li.active a:hover {<br />background-color: transparent;<br /> background-position: 0% -150px;<br />}<br />#primary .links-menu li.active a:hover span {<br /> background-position: 100% -150px;<br /> font-weight: bold;<br />}</code>
 
<p>As you can see,
we can do hovers with span tag inside the anchors and dealing with
sprites is very easy, just tell the proper background positions in each
state and you’re set to go.</p>
 
<p>Download the sample code, experiment with it, and let me know how far you went with it.</p></p>    ]]></content>
  </entry>
  <entry>
    <title>Dealing with taxonomy display</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/80" />
    <id>http://www.geniusy.com/drupal/node/80</id>
    <published>2007-12-26T09:07:56-08:00</published>
    <updated>2007-12-26T09:11:19-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="display" />
    <category term="Drupal" />
    <category term="taxonomy" />
    <category term="分类信息" />
    <category term="CMS研究" />
    <summary type="html"><![CDATA[<p><p>A little foreword on Drupal theming</p></p>

<p><p>Most of you reading now aware of that it’s said: Drupal is a great CMS. It is a completely flexible platform and serves as a great foundation to build nearly any kind of website. It has a well structured system which nearly completely separates code, content and style. Perhaps this flexibility causes most issues when dealing with theming. Creating templates for Drupal is wonderfully simple when it comes to the basics. Vast documentation and a helpful community stands there for the template developer but there are so many possibilities and so many available options that it’s often not enough.</p></p>

<p><p>Apart from creativity, developing themes for Drupal needs a widely open brain who understands the logic behind the scenes and can take the advantage of flexibility. Indeed it needs both a designer and a developer in mind.</p></p>

<p><p>During one of my latest works I realized why the majority of Drupal themes are very similar, because its developers don’t take their time to go beyond the basics. I believe this is a must if you wish to create something that you want to be outstanding from the crowd. Nada to say Ubiquity isn’t that outstanding that way, too. As you can see it only serves basic needs but it might be a nice base for customizing.</p></p>

<p><p>Anyway, I decided to publish some of my theming tricks, bits and pieces what I used before. It will cover css, php and Drupal. I mostly use the core PHPTemplate engine. Why not using some of the custom engines like Smarty? Smarty is great but I believe performance is really what shouldn’t be overlooked and the richer the template engine is in features the faster it will die under high load. PHPTemplate is just fine for what we do.<br />
Cut to the cheese</p></p>

<p><p>Enough said, let’s deal with taxonomy display.</p></p>

<p><p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>A little foreword on Drupal theming</p>

<p>Most of you reading now aware of that it’s said: Drupal is a great CMS. It is a completely flexible platform and serves as a great foundation to build nearly any kind of website. It has a well structured system which nearly completely separates code, content and style. Perhaps this flexibility causes most issues when dealing with theming. Creating templates for Drupal is wonderfully simple when it comes to the basics. Vast documentation and a helpful community stands there for the template developer but there are so many possibilities and so many available options that it’s often not enough.</p>

<p>Apart from creativity, developing themes for Drupal needs a widely open brain who understands the logic behind the scenes and can take the advantage of flexibility. Indeed it needs both a designer and a developer in mind.</p>

<p>During one of my latest works I realized why the majority of Drupal themes are very similar, because its developers don’t take their time to go beyond the basics. I believe this is a must if you wish to create something that you want to be outstanding from the crowd. Nada to say Ubiquity isn’t that outstanding that way, too. As you can see it only serves basic needs but it might be a nice base for customizing.</p>

<p>Anyway, I decided to publish some of my theming tricks, bits and pieces what I used before. It will cover css, php and Drupal. I mostly use the core PHPTemplate engine. Why not using some of the custom engines like Smarty? Smarty is great but I believe performance is really what shouldn’t be overlooked and the richer the template engine is in features the faster it will die under high load. PHPTemplate is just fine for what we do.<br />
Cut to the cheese</p>

<p>Enough said, let’s deal with taxonomy display.</p>

<p>Taxonomy is the method of content classification. Basic themes usually utilize a very simple display of taxonomy terms when showing a node. Just look at this post, under the title, it comes submission info and associated terms.</p>

<p>I recently developed a real estate website for my client and she had a simple demand. Show vocabulary names along with terms with the property pages in a badge like fashion or something like a table. There are a couple of vocabularies and each has a set of terms regarding the type, place, size and price range of the property like this:</p>

<p>Place<br />
  -&gt; Here<br />
    -&gt; Other place<br />
  -&gt; There<br />
    -&gt; Over there<br />
    -&gt; Theremost</p>

<p>Type<br />
  -&gt; Flat<br />
  -&gt; Castle<br />
    -&gt; Roman<br />
    -&gt; Gothic<br />
    -&gt; etc...<br />
  -&gt; House</p>

<p>and etc. What we needed is to display these categories as a table to represent the classification of the property. But since we don’t need tables in teasers we create a list as well.</p>

<p>I included this into template.php:<code>
<br />&lt;?php<br />function&nbsp;_phptemplate_variables($hook,&nbsp;$vars&nbsp;=&nbsp;array())&nbsp;{<br />&nbsp;&nbsp;switch&nbsp;($hook)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;'node':<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;we&nbsp;are&nbsp;dealing&nbsp;only&nbsp;with&nbsp;'property'&nbsp;node&nbsp;type<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;($node-&gt;type&nbsp;==&nbsp;'property')&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;and&nbsp;if&nbsp;there&nbsp;are&nbsp;any&nbsp;assigned&nbsp;terms&nbsp;to&nbsp;that&nbsp;node<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(count($node-&gt;taxonomy))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$terms&nbsp;=&nbsp;taxonomy_node_get_terms($node-&gt;nid);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;getting&nbsp;each&nbsp;term&nbsp;assigned<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach($node-&gt;taxonomy&nbsp;as&nbsp;$term)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;parent&nbsp;term<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$parent&nbsp;=&nbsp;taxonomy_get_parents($term-&gt;tid);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$prefix&nbsp;=&nbsp;@array_shift($parent)-&gt;name."&nbsp;/&nbsp;";<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;vocabulary&nbsp;of&nbsp;the&nbsp;term<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$term_vocabulary&nbsp;=&nbsp;taxonomy_get_vocabulary($term-&gt;vid);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;construct&nbsp;table&nbsp;row&nbsp;for&nbsp;table<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$rows[$i++]&nbsp;=&nbsp;array(array('data'&nbsp;=&gt;&nbsp;$term_vocabulary-&gt;name.':',&nbsp;'class'&nbsp;=&gt;&nbsp;'name',&nbsp;'header'),&nbsp;array('data'&nbsp;=&gt;&nbsp;$prefix.$term-&gt;name,&nbsp;'class'&nbsp;=&gt;&nbsp;'value'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;construct&nbsp;unordered&nbsp;list&nbsp;for&nbsp;teaser<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$list[$i]&nbsp;=&nbsp;$term_vocabulary-&gt;name.':&nbsp;&lt;strong&gt;'.$prefix.$term-&gt;name.'&lt;/strong&gt;';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;build&nbsp;the&nbsp;variable&nbsp;for&nbsp;tpl.php&nbsp;pages<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$vars['property_infotable']&nbsp;=&nbsp;theme_table(NULL,&nbsp;$rows,&nbsp;array('class'=&gt;'property-info'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$vars['property_infoteaser']&nbsp;=&nbsp;theme_item_list($list);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;return&nbsp;$vars<br />}<br />?&gt;

</code></p>

<p>This creates a $property_infotable and a $property_infoteaser variable for the tpl.php file used for the property node type. Now we have to construct a node-property.tpl.php file like this:<code>
<br />&lt;div&nbsp;class="whatever&nbsp;class&nbsp;we&nbsp;need"&nbsp;id="if-we-need-an-id"&gt;<br />&nbsp;&nbsp;&lt;?php&nbsp;if&nbsp;($page&nbsp;==&nbsp;0):&nbsp;?&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class="property-teaser"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class="info"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php&nbsp;print&nbsp;$property_infoteaser;&nbsp;?&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php&nbsp;print&nbsp;$content;&nbsp;?&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />&nbsp;&nbsp;&lt;?php&nbsp;else:&nbsp;?&gt;&lt;/p&gt;<br /><br />&lt;p&gt;&nbsp;&nbsp;&lt;div&nbsp;class="content"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php&nbsp;print&nbsp;$property_infotable;&nbsp;?&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php&nbsp;print&nbsp;$content;&nbsp;?&gt;<br />&nbsp;&nbsp;&lt;/div&gt;<br />&nbsp;&nbsp;&lt;?php&nbsp;endif;&nbsp;?&gt;<br />&lt;/div&gt;
</code></p>

<p>And that’s it. If a teaser is viewed, only the infoteaser shows up, and on the full node view we see the table. We only need to style the appearance, but this is out of the scope of this post. Styling heavily depends on placement, but a short css to include for the $property_infotable is here:<code>
<br />/*&nbsp;&nbsp;property&nbsp;infotable&nbsp;&nbsp;*/<br />.property-info&nbsp;{<br />&nbsp;&nbsp;width:&nbsp;250px;<br />&nbsp;&nbsp;float:&nbsp;left;<br />&nbsp;&nbsp;margin:&nbsp;10px&nbsp;12px&nbsp;8px&nbsp;0;<br />&nbsp;&nbsp;font-size:&nbsp;88%;<br />}<br />.property-info&nbsp;.name&nbsp;{<br />&nbsp;&nbsp;text-align:&nbsp;right;<br />&nbsp;&nbsp;padding:&nbsp;6px&nbsp;8px;<br />&nbsp;&nbsp;width:&nbsp;45%;<br />}<br />.proprerty-info&nbsp;.value&nbsp;{<br />&nbsp;&nbsp;text-align:&nbsp;left;<br />&nbsp;&nbsp;padding:&nbsp;2px&nbsp;8px&nbsp;3px&nbsp;0;<br />&nbsp;&nbsp;margin:&nbsp;0;<br />&nbsp;&nbsp;font-weight:&nbsp;bold;<br />}
</code></p>

<p>This would produce a small table like this:<br />
<img src="http://templates.m42.hu/sites/default/files/articles/2007-08-drupal-taxonomy/screenshot.png" alt="" class="bb-image" /><br />
I hope you find this useful. No big magic here, just a couple of small tricks that might come useful. Any feedback would be appreciated.</p>    ]]></content>
  </entry>
  <entry>
    <title>Firefox切换标签(TAB)迟钝问题解决办法</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/79" />
    <id>http://www.geniusy.com/drupal/node/79</id>
    <published>2007-12-25T22:45:12-08:00</published>
    <updated>2007-12-25T22:45:58-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="firefox" />
    <category term="tab" />
    <category term="切换" />
    <category term="标签" />
    <category term="迟钝" />
    <category term="学习&amp;生活" />
    <category term="软硬兼施" />
    <summary type="html"><![CDATA[<p><p>　　本来是冲着FF打开网页速度快才用它的，但没想到切换一下页面都要先顿2秒钟，真是无语了。Google了几次，也都没找到好的解决办法。<br />
　　今天将FF升级到3.0发现不迟钝了，但提示google工具条和alexa工具条不能用了。我就在想了，问题会不会是出在google工具条和alexa toolbar上面呢？于是又换回2.0，毕竟3.0下面兼容性问题还很多，而且做网站的，没这两个工具条怎么行呢。我先把google工具条禁用，问题解决，2.0下面也不顿了，alexa工具条就没试了。<br />
　　先是找出了问题处在google工具条上，但是没它也不行啊，所以就准备再从它的各个功能下手。当只关闭翻译菜单的时候，切换也不迟钝了，终于找到元凶了，现在FF终于工作正常了。<br />
　　最近经常用FF，的确是越来越喜欢上它了，FF+IETAB，基本上任何网页都没问题。所以今天顺便又搜了一下linux ietab，不过让我很失望，linux下面不能直接用ietab的，ietab调用的是ie的核心，虽然可以通过wine安装IE，然后安装IETab，但还是打消了给小黑装linux的想法，我没办法离开IE，也没办法离开微软的。谁叫我是以淘宝为生的人呢？</p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>　　本来是冲着FF打开网页速度快才用它的，但没想到切换一下页面都要先顿2秒钟，真是无语了。Google了几次，也都没找到好的解决办法。<br />
　　今天将FF升级到3.0发现不迟钝了，但提示google工具条和alexa工具条不能用了。我就在想了，问题会不会是出在google工具条和alexa toolbar上面呢？于是又换回2.0，毕竟3.0下面兼容性问题还很多，而且做网站的，没这两个工具条怎么行呢。我先把google工具条禁用，问题解决，2.0下面也不顿了，alexa工具条就没试了。<br />
　　先是找出了问题处在google工具条上，但是没它也不行啊，所以就准备再从它的各个功能下手。当只关闭翻译菜单的时候，切换也不迟钝了，终于找到元凶了，现在FF终于工作正常了。<br />
　　最近经常用FF，的确是越来越喜欢上它了，FF+IETAB，基本上任何网页都没问题。所以今天顺便又搜了一下linux ietab，不过让我很失望，linux下面不能直接用ietab的，ietab调用的是ie的核心，虽然可以通过wine安装IE，然后安装IETab，但还是打消了给小黑装linux的想法，我没办法离开IE，也没办法离开微软的。谁叫我是以淘宝为生的人呢？</p>    ]]></content>
  </entry>
  <entry>
    <title>X61无线问题终于解决了</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/78" />
    <id>http://www.geniusy.com/drupal/node/78</id>
    <published>2007-12-25T22:29:48-08:00</published>
    <updated>2007-12-25T22:29:48-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="vista" />
    <category term="X61" />
    <category term="无线" />
    <category term="路由" />
    <category term="连接" />
    <category term="问题" />
    <category term="软硬兼施" />
    <summary type="html"><![CDATA[<p><p>　　X61在vista下面无线不能上网的问题已经困扰我两个月了，一直没时间好好弄一下，所以只能把无线路由当有线路由用，今天终于圆满解决了。<br />
　　买来后无线一直是好的，只是X61的无线信号接收能力不怎么好，这是大家都知道的，但是在家里面用还是没问题的。不知道什么时候突然无线不能上了，能连上，IP也能分配到，192.168.1.2嘛，正常的，但就是显示无法识别网络，外网不能上，连无线路由的控制面板都连不上。Goole了几次，都没找到解决办法，我已经彻底失望了，准备换回XP。但前几天vista升到了SP1，速度更流畅了，也解决了C盘空间不足的问题，我真没理由重装系统了。今天抱着试试看的态度，又搜了一下，还是未果。网上有人提出自己设定IP的建议，我虽然知道问题不是在这儿，因为我已经自动分配到正常的IP了，但还是试了一下，结果当然是和我预想的一样了。但刚好凑巧了，在无线网络连接的属性页面我发现了一个异常项目，Dr.com ARP Firewall Driver。我之前转过Dr.com的登陆程序的，因为在学校上无线的时候可以用。前段时间学校无线经常受ARP干扰，所以提供的是Dr.com最新版的登录程序，自带了ARP防火墙。刚装上的时候发现有这个我还挺兴奋的，因为360的ARP防火墙不能用在vista上面，而这个可以正常使用，但没想到它就是阻截我无线连接的元凶。把它卸掉，一切正常了，还到Netgear美国官网下载了最新版的固件，可以解决链接数过多时的死机情况。但说到这儿我就又比较气愤了，首先，Netgear中国官网上面一次固件都没更新过，在线播放的时候经常就会无故掉线；其次，人家WGR614在美国官网上面都出了V9版本，国内最新的还是V7版本，问题多多。<br />
</p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>　　X61在vista下面无线不能上网的问题已经困扰我两个月了，一直没时间好好弄一下，所以只能把无线路由当有线路由用，今天终于圆满解决了。<br />
　　买来后无线一直是好的，只是X61的无线信号接收能力不怎么好，这是大家都知道的，但是在家里面用还是没问题的。不知道什么时候突然无线不能上了，能连上，IP也能分配到，192.168.1.2嘛，正常的，但就是显示无法识别网络，外网不能上，连无线路由的控制面板都连不上。Goole了几次，都没找到解决办法，我已经彻底失望了，准备换回XP。但前几天vista升到了SP1，速度更流畅了，也解决了C盘空间不足的问题，我真没理由重装系统了。今天抱着试试看的态度，又搜了一下，还是未果。网上有人提出自己设定IP的建议，我虽然知道问题不是在这儿，因为我已经自动分配到正常的IP了，但还是试了一下，结果当然是和我预想的一样了。但刚好凑巧了，在无线网络连接的属性页面我发现了一个异常项目，Dr.com ARP Firewall Driver。我之前转过Dr.com的登陆程序的，因为在学校上无线的时候可以用。前段时间学校无线经常受ARP干扰，所以提供的是Dr.com最新版的登录程序，自带了ARP防火墙。刚装上的时候发现有这个我还挺兴奋的，因为360的ARP防火墙不能用在vista上面，而这个可以正常使用，但没想到它就是阻截我无线连接的元凶。把它卸掉，一切正常了，还到Netgear美国官网下载了最新版的固件，可以解决链接数过多时的死机情况。但说到这儿我就又比较气愤了，首先，Netgear中国官网上面一次固件都没更新过，在线播放的时候经常就会无故掉线；其次，人家WGR614在美国官网上面都出了V9版本，国内最新的还是V7版本，问题多多。<br />
　　哎，说句实话，其实老外的东西还是没有国人的东西实在、好用。这路由是漂亮，纯白的外观，跟TP比起来简直一个天上一个地下。我现在有一个TP的猫，一个TP的有线路由器，一直工作得都上好，而且固件更新及时，路由器更新固件后不但解决了链接数问题，竟然完全不掉包了；买无线路由时想买个“好点”的，所以多花了几十块买了这个，即使现在解决了连接数问题，还是有掉包现象，固件还是全英文的，我这不是自己花钱买教训吗？</p>    ]]></content>
  </entry>
  <entry>
    <title>一点圣诞的气氛都没有</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/77" />
    <id>http://www.geniusy.com/drupal/node/77</id>
    <published>2007-12-24T23:09:01-08:00</published>
    <updated>2007-12-24T23:10:06-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="圣诞" />
    <category term="气氛" />
    <category term="学习&amp;生活" />
    <summary type="html"><![CDATA[<p><p>　　圣诞节，在国外是多么隆重的节日。而我，在国内，却一点都没感觉到，只在中午下课后在校门口碰到个送花的快递员。今天没有在床上躺了，昨晚睡了一觉，今天精神也特别好，但比较迷茫，不知道该做什么。<br />
　　到教室去了一下，没听课，又回来了。收到了几条短信，一条都没回。哎，现在特烦短信，也特烦人家来找我，貌似越来越自闭了。估计元旦的时候就没人给我发短信了，呵呵。<br />
　　今天又发现了一套模板，multiflex，感觉挺不错的，准备转到drupal上来，最新的drupal还没有，有的是2.0版本，不好看。<br />
　　其实itheme这个风格我也是越看越好看，但是就是在IE6下面有重大问题，我都不忍看。不过我小黑装的是vista，所以眼不见心不烦啦。但最近还是准备把问题找出来给修复了，这的确是套不错的风格。<br />
　　昨天心血来潮，准备做个垃圾站，也就是guokuai.com，但是捣弄了几个小时火车头，总是出问题，如果是用dedecms,ecms或者phpcms的话，采集简直是小菜一碟，但谁叫我现在爱上Drupal了呢？<br />
　　想来想去，还是觉得把xy2s.com做好是当务之急，然后就是把52acca改版，做垃圾站真不是我的特长，而且我的精力也太有限了，不能浪费到垃圾站上面。</p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>　　圣诞节，在国外是多么隆重的节日。而我，在国内，却一点都没感觉到，只在中午下课后在校门口碰到个送花的快递员。今天没有在床上躺了，昨晚睡了一觉，今天精神也特别好，但比较迷茫，不知道该做什么。<br />
　　到教室去了一下，没听课，又回来了。收到了几条短信，一条都没回。哎，现在特烦短信，也特烦人家来找我，貌似越来越自闭了。估计元旦的时候就没人给我发短信了，呵呵。<br />
　　今天又发现了一套模板，multiflex，感觉挺不错的，准备转到drupal上来，最新的drupal还没有，有的是2.0版本，不好看。<br />
　　其实itheme这个风格我也是越看越好看，但是就是在IE6下面有重大问题，我都不忍看。不过我小黑装的是vista，所以眼不见心不烦啦。但最近还是准备把问题找出来给修复了，这的确是套不错的风格。<br />
　　昨天心血来潮，准备做个垃圾站，也就是guokuai.com，但是捣弄了几个小时火车头，总是出问题，如果是用dedecms,ecms或者phpcms的话，采集简直是小菜一碟，但谁叫我现在爱上Drupal了呢？<br />
　　想来想去，还是觉得把xy2s.com做好是当务之急，然后就是把52acca改版，做垃圾站真不是我的特长，而且我的精力也太有限了，不能浪费到垃圾站上面。</p>    ]]></content>
  </entry>
  <entry>
    <title>太兴奋了，百度收录了！</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/76" />
    <id>http://www.geniusy.com/drupal/node/76</id>
    <published>2007-12-23T14:34:06-08:00</published>
    <updated>2007-12-23T14:34:06-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="52acca.cn" />
    <category term="52acca.com，google" />
    <category term="Drupal" />
    <category term="site" />
    <category term="收录" />
    <category term="百度" />
    <category term="建站心得" />
    <category term="CMS研究" />
    <summary type="html"><![CDATA[<p><p>　　呵呵，我说的当然不是这个网站了，geniusy.com被收录是很正常的。我指的是52acca，不过不是52acca.com，是52acca.cn，之前准备从dedecms转到phpcms时的试验站点，全部文章都已经转换过去了的，但是之前查一直也都没收录，今天无意中site:52acca.cn了一下，发现竟然有100多页收录了，我今后到底该怎么办呢？难道要从52acca.com转到52acca.cn，这太不像话了吧？况且现在网站多数流量都是老客户，都只知道52acca.com，如果转的话会损失很多客户的；其实，google对我的站还不错，关键字排名都很靠前的，acca已经排到第二位了，这都不是新站所能达到的权重啊。哎，这可真让我为难了啊，以前正常情况下百度的流量是google的两倍，如果没被baidu封站的话，网站流量可以轻松翻番的。</p></p>

<p><p>　　谁可以给我点建议啊，如果真转域名的话，是可以通过url_rewrite将google的流量暂时转到52acca.cn的，但是一段时间后链接肯定会被降权的，到时候从google来的流量也就真是没落了，而且百度到底会怎样对待我的站，这也是个很大的未知数啊。</p></p>

<p><p>刚才还google了一下，发现同样也是很令人欣慰的一件事。我之前发的那篇文章竟然在发布后半个小时内就被收录了，google的效率真高啊，倒是百度最近倒像是人到老年了，要么不收录，要么N天才来收录几页，哎，难道真的是中了百毒？</p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>　　呵呵，我说的当然不是这个网站了，geniusy.com被收录是很正常的。我指的是52acca，不过不是52acca.com，是52acca.cn，之前准备从dedecms转到phpcms时的试验站点，全部文章都已经转换过去了的，但是之前查一直也都没收录，今天无意中site:52acca.cn了一下，发现竟然有100多页收录了，我今后到底该怎么办呢？难道要从52acca.com转到52acca.cn，这太不像话了吧？况且现在网站多数流量都是老客户，都只知道52acca.com，如果转的话会损失很多客户的；其实，google对我的站还不错，关键字排名都很靠前的，acca已经排到第二位了，这都不是新站所能达到的权重啊。哎，这可真让我为难了啊，以前正常情况下百度的流量是google的两倍，如果没被baidu封站的话，网站流量可以轻松翻番的。</p>

<p>　　谁可以给我点建议啊，如果真转域名的话，是可以通过url_rewrite将google的流量暂时转到52acca.cn的，但是一段时间后链接肯定会被降权的，到时候从google来的流量也就真是没落了，而且百度到底会怎样对待我的站，这也是个很大的未知数啊。</p>

<p>刚才还google了一下，发现同样也是很令人欣慰的一件事。我之前发的那篇文章竟然在发布后半个小时内就被收录了，google的效率真高啊，倒是百度最近倒像是人到老年了，要么不收录，要么N天才来收录几页，哎，难道真的是中了百毒？</p>    ]]></content>
  </entry>
  <entry>
    <title>Drupal常用API函数列表</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/api" />
    <id>http://www.geniusy.com/drupal/api</id>
    <published>2007-12-23T12:43:46-08:00</published>
    <updated>2007-12-23T12:43:46-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="api" />
    <category term="drupal" />
    <category term="Drupal" />
    <category term="function" />
    <category term="函数" />
    <category term="功能" />
    <category term="CMS研究" />
    <summary type="html"><![CDATA[<p><p>comment_num_all($nid)：调用评论数，$nid为node的ID，当前node可用$node-&gt;nid。</p></p>

<p><p>taxonomy_get_tree($vid)：显示分类(item)，vid为category的ID，必须是category，不能是item，也就是说只能显示父层下面的item。</p></p>

<p><p>taxonomy_get_children($tid)：显示Item下面的item，$tid为父item的id。</p></p>

<p><p>menu_get_menu()：Return the menu data structure.不带参数，显示系统所有的menu。</p></p>

<p><p>menu_primary_links($start_level = 1, $pid = 0)：pid可以指定起始层数，start_level貌似意思也差不多，还没实验过，有时间试试再说，下面是英文说明：<br />
$start_level This optional parameter can be used to retrieve a context-sensitive array of links at $start_level levels deep into the Primary links menu. The default is to return the top-level links.</p></p>

<p><p>$pid The parent menu ID from which to search for children. Defaults to the menu_primary_menu setting.</p></p>

<p><p>menu_overview_tree：Present the menu tree, rendered along with links to edit menu items.</p></p>

<p><p>menu_get_item($mid, $path = NULL)：Retrieves the menu item specified by $mid, or by $path if $mid is not given.</p></p>

<p><p>node_last_viewed：Retrieves the timestamp at which the current user last viewed the specified node.放在首页可以返回用户上次访问网站的时间。</p></p>

<p><p>referer_uri：Return the URI of the referring page.可以用来统计来源页面。</p></p>

<p><p>request_uri：Since $_SERVER['REQUEST_URI'] is only available on Apache, we generate an equivalent using other environment variables.任何服务器系统下面都可以使用。</p></p>

<p><p>sess_count($timestamp = 0, $anonymous = true)：Counts how many users have sessions. Can count either anonymous sessions, authenticated sessions, or both.貌似可以分别统计在线会员与游客数了。可以通过指定$timestam来实现15分钟内在线人数效果。</p></p>

<p><p>statistics_title_list($dbfield, $dbrows)：<br />
Description</p></p>

<p><p>Returns all time or today top or last viewed node(s).</p></p>

<p><p>Parameters</p></p>

<p><p>$dbfield one of</p></p>

<p><p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>comment_num_all($nid)：调用评论数，$nid为node的ID，当前node可用$node-&gt;nid。</p>

<p>taxonomy_get_tree($vid)：显示分类(item)，vid为category的ID，必须是category，不能是item，也就是说只能显示父层下面的item。</p>

<p>taxonomy_get_children($tid)：显示Item下面的item，$tid为父item的id。</p>

<p>menu_get_menu()：Return the menu data structure.不带参数，显示系统所有的menu。</p>

<p>menu_primary_links($start_level = 1, $pid = 0)：pid可以指定起始层数，start_level貌似意思也差不多，还没实验过，有时间试试再说，下面是英文说明：<br />
$start_level This optional parameter can be used to retrieve a context-sensitive array of links at $start_level levels deep into the Primary links menu. The default is to return the top-level links.</p>

<p>$pid The parent menu ID from which to search for children. Defaults to the menu_primary_menu setting.</p>

<p>menu_overview_tree：Present the menu tree, rendered along with links to edit menu items.</p>

<p>menu_get_item($mid, $path = NULL)：Retrieves the menu item specified by $mid, or by $path if $mid is not given.</p>

<p>node_last_viewed：Retrieves the timestamp at which the current user last viewed the specified node.放在首页可以返回用户上次访问网站的时间。</p>

<p>referer_uri：Return the URI of the referring page.可以用来统计来源页面。</p>

<p>request_uri：Since $_SERVER['REQUEST_URI'] is only available on Apache, we generate an equivalent using other environment variables.任何服务器系统下面都可以使用。</p>

<p>sess_count($timestamp = 0, $anonymous = true)：Counts how many users have sessions. Can count either anonymous sessions, authenticated sessions, or both.貌似可以分别统计在线会员与游客数了。可以通过指定$timestam来实现15分钟内在线人数效果。</p>

<p>statistics_title_list($dbfield, $dbrows)：<br />
Description</p>

<p>Returns all time or today top or last viewed node(s).</p>

<p>Parameters</p>

<p>$dbfield one of</p>

<p>    * 'totalcount': top viewed content of all time.<br />
    * 'daycount': top viewed content for today.<br />
    * 'timestamp': last viewed node. </p>

<p>$dbrows number of rows to be returned.</p>

<p>Return value</p>

<p>A query result containing n.nid, n.title, u.uid, u.name of the selected node(s) or FALSE if the query could not be executed correctly.</p>

<p>t($string, $args = 0)：Translate strings to the current locale.</p>

<p>All human-readable text that will be displayed somewhere within a page should be run through the t() function.</p>

<p>taxonomy_get_parents($tid)：Find all parents of a given term ID.</p>

<p>taxonomy_get_parents_all($tid)：Find all ancestors of a given term ID.</p>

<p>taxonomy_get_related($tid)：Find all term objects related to a given term ID.</p>

<p>taxonomy_get_term($tid)：Return the term object matching a term ID.</p>

<p>taxonomy_get_vocabularies（）：Return an array of all vocabulary objects.</p>

<p>taxonomy_node_get_terms($nid):Find all terms associated with the given node, ordered by vocabulary and term weight.</p>

<p>taxonomy_node_get_terms_by_vocabulary($nid, $vid, $key = 'tid'):Find all terms associated with the given node, within one vocabulary.</p>

<p>taxonomy_overview_terms($vid):Display a tree of all the terms in a vocabulary, with options to edit each one.</p>

<p>taxonomy_overview_vocabularies():List and manage vocabularies.</p>

<p>taxonomy_term_count_nodes($tid):Count the number of published nodes classified by a term.</p>

<p>theme_block($block):Return a themed block.</p>

<p>You can style your blocks by defining .block (all blocks), .block-module (all blocks of module module), and \#block-module-delta (specific block of module module with delta delta) in your theme's CSS.</p>

<p>theme_box($title, $content, $region = 'main'):Return a themed box.<br />
Parameters<br />
$title The subject of the box.<br />
$content The content of the box.<br />
$region The region in which the box is displayed.</p>

<p>theme_breadcrumb($breadcrumb):Return a themed breadcrumb trail.</p>

<p>theme_closure():Execute hook_footer() which is run at the end of the page right before the close of the body tag.用在之前用来结束页面，如果不加此函数，fckeditor不显示。</p>    ]]></content>
  </entry>
  <entry>
    <title>Drupal如何调用文章阅读次数和评论次数</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/74" />
    <id>http://www.geniusy.com/drupal/node/74</id>
    <published>2007-12-23T10:27:09-08:00</published>
    <updated>2007-12-23T11:41:53-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="api" />
    <category term="comment_num_all" />
    <category term="drupal" />
    <category term="Drupal" />
    <category term="node" />
    <category term="statistics_counter" />
    <category term="taxonomy_get_tree" />
    <category term="文章" />
    <category term="次数" />
    <category term="评论数" />
    <category term="调用" />
    <category term="阅读" />
    <category term="建站心得" />
    <category term="CMS研究" />
    <summary type="html"><![CDATA[<p><p>初次接触Drupal的新手可能会和我一样手足无措，本来很简单的功能都没办法实现。调用阅读数和评论数真是很简单的功能，如果使用其它CMS或者Blog CMS，这些一般都能从官方默认的模板或者使用帮助中找到，但是Drupal就不同了，什么都得靠自己摸索。</p></p>

<p><p>为了调用这两个变量我首先想到的是在数据库里面找，但是非常令我失望，drupal的node表里面根本没记录阅读次数，评论到是可以通过count一下comments表里面每个nid出现的次数得到，但是每次那样也未必烦琐了一点。</p></p>

<p><p>在DrupalChina里面提出了这个问题，第一个问题得到了解答：先要在后台，“管理”-“日志”-“访问记录设置”里面启用“页面访问计数”功能，然后就可以通过&lt;?php<br />
print $node-&gt;links['statistics_counter']['title']<br />
?&gt;语句调用node阅读次数了。</p></p>

<p><p>显示评论数是我自己摸索出来的，在api.drupal.org上面找到了三个函数，comment_num_all,comment_num_new和comment_num_replies,我只用了第一个，后面两个具体什么功能没用过，官方上也没说明。但我要的功能达到了，在需要显示评论数的地方加上&lt;?php print comment_num_all($node-&gt;nid) ?&gt;语句就OK了。</p></p>

<p><p>上次在api.drupal.org上还找到了一个显示分类的函数，我现在右边的分类就是用taxonomy_get_tree($vid)和taxonomy_get_children($vid)来获取分类(category或者taxonemy)，这样就可以不需要自己写SQL语句了，其实这些函数就是由一些SQL语句组成的。有空的时候可以多到api网站上转转，上面可以找到很多好用的函数的。</p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>初次接触Drupal的新手可能会和我一样手足无措，本来很简单的功能都没办法实现。调用阅读数和评论数真是很简单的功能，如果使用其它CMS或者Blog CMS，这些一般都能从官方默认的模板或者使用帮助中找到，但是Drupal就不同了，什么都得靠自己摸索。</p>

<p>为了调用这两个变量我首先想到的是在数据库里面找，但是非常令我失望，drupal的node表里面根本没记录阅读次数，评论到是可以通过count一下comments表里面每个nid出现的次数得到，但是每次那样也未必烦琐了一点。</p>

<p>在DrupalChina里面提出了这个问题，第一个问题得到了解答：先要在后台，“管理”-“日志”-“访问记录设置”里面启用“页面访问计数”功能，然后就可以通过&lt;?php<br />
print $node-&gt;links['statistics_counter']['title']<br />
?&gt;语句调用node阅读次数了。</p>

<p>显示评论数是我自己摸索出来的，在api.drupal.org上面找到了三个函数，comment_num_all,comment_num_new和comment_num_replies,我只用了第一个，后面两个具体什么功能没用过，官方上也没说明。但我要的功能达到了，在需要显示评论数的地方加上&lt;?php print comment_num_all($node-&gt;nid) ?&gt;语句就OK了。</p>

<p>上次在api.drupal.org上还找到了一个显示分类的函数，我现在右边的分类就是用taxonomy_get_tree($vid)和taxonomy_get_children($vid)来获取分类(category或者taxonemy)，这样就可以不需要自己写SQL语句了，其实这些函数就是由一些SQL语句组成的。有空的时候可以多到api网站上转转，上面可以找到很多好用的函数的。</p>    ]]></content>
  </entry>
  <entry>
    <title>用Drupal做门户站的可行性</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/73" />
    <id>http://www.geniusy.com/drupal/node/73</id>
    <published>2007-12-23T09:14:06-08:00</published>
    <updated>2007-12-23T09:30:02-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="52acca" />
    <category term="dedecms" />
    <category term="drupal" />
    <category term="phpcms" />
    <category term="可行性" />
    <category term="网站" />
    <category term="门户" />
    <category term="建站心得" />
    <category term="CMS研究" />
    <summary type="html"><![CDATA[<p><p>　　最近听到很多谣言，据说百度今后将不再收录用dedecms和ecms等cms做的站，因为多数都是采集的垃圾站。虽然52acca在暑假时都已经被百度封了，而且这消息是毫无根据的胡乱猜测，但听到这消息也让我大吃一惊。如果真是这样的话，我就有了充分的理由对52acca大动手笔了。本来acca全球统考前都做了phpcms版的新版52acca的，但就在准备用新版替换就班的时候，听说dedecms2007要出来了，于是就对它再次燃起了希望。用dedecms做了个新版首页，也就是现在的首页，就等2007出来正式进行全站转换。一个月过去了，dedecms2007也出来20多天了，但没人说2007好，听到的只是埋怨声一片。最近一直在研究Drupal，不能说是没有进展，但是Drupal的确太复杂了，所以要用它单独建站真的还有很大的难度，现在处理起这个博客来都还有诸多问题。但听到这个消息后，我再也按耐不住了，转换已经迫在眉睫，现在想听听大家的看法，共同研究出一个转换的方案，下面是我的初步想法，以52ACCA现在的首页方案，也就是CH的风格为例：</p></p>

<p><p>　　可以用page-front.tpl.php来做首页的模板，可以就分成header,sidebar-left,content,siderbar- right,footer五块，也可以多分几块，block-modulename-delta.tpl.php，block- modulename.tpl.php和block-region.tpl.php来写各个block的模板；</p></p>

<p><p>　　列表页和内容页可以去掉sidebar-left区块，然后根据页面来控制block的显示。</p></p>

<p><p>　　哎，说起来容易，做起来难啊，有几十种不同的block，都得单独写模板；而且列表这么多，如果用view的话，服务器肯定承受不起；即使用SQL查询，每打开一个页面都得进行几十次查询，那个负载也不小啊。</p></p>

<p><p>　　大家如果有好的想法，说出来参考一下啊。</p></p>    ]]></summary>
    <content type="html"><![CDATA[<p>　　最近听到很多谣言，据说百度今后将不再收录用dedecms和ecms等cms做的站，因为多数都是采集的垃圾站。虽然52acca在暑假时都已经被百度封了，而且这消息是毫无根据的胡乱猜测，但听到这消息也让我大吃一惊。如果真是这样的话，我就有了充分的理由对52acca大动手笔了。本来acca全球统考前都做了phpcms版的新版52acca的，但就在准备用新版替换就班的时候，听说dedecms2007要出来了，于是就对它再次燃起了希望。用dedecms做了个新版首页，也就是现在的首页，就等2007出来正式进行全站转换。一个月过去了，dedecms2007也出来20多天了，但没人说2007好，听到的只是埋怨声一片。最近一直在研究Drupal，不能说是没有进展，但是Drupal的确太复杂了，所以要用它单独建站真的还有很大的难度，现在处理起这个博客来都还有诸多问题。但听到这个消息后，我再也按耐不住了，转换已经迫在眉睫，现在想听听大家的看法，共同研究出一个转换的方案，下面是我的初步想法，以52ACCA现在的首页方案，也就是CH的风格为例：</p>

<p>　　可以用page-front.tpl.php来做首页的模板，可以就分成header,sidebar-left,content,siderbar- right,footer五块，也可以多分几块，block-modulename-delta.tpl.php，block- modulename.tpl.php和block-region.tpl.php来写各个block的模板；</p>

<p>　　列表页和内容页可以去掉sidebar-left区块，然后根据页面来控制block的显示。</p>

<p>　　哎，说起来容易，做起来难啊，有几十种不同的block，都得单独写模板；而且列表这么多，如果用view的话，服务器肯定承受不起；即使用SQL查询，每打开一个页面都得进行几十次查询，那个负载也不小啊。</p>

<p>　　大家如果有好的想法，说出来参考一下啊。</p>    ]]></content>
  </entry>
  <entry>
    <title>lost第四季预告片1分46秒版！！非常精彩！！！</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/72" />
    <id>http://www.geniusy.com/drupal/node/72</id>
    <published>2007-12-22T14:34:28-08:00</published>
    <updated>2007-12-27T06:46:28-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="Jack" />
    <category term="lost" />
    <category term="Preview" />
    <category term="season 4" />
    <category term="第四季" />
    <category term="预告片" />
    <category term="美剧&amp;电影" />
    <summary type="html"><![CDATA[<p><p><p>Lost我是从第一季就开始看的，也是我正式看的第一部美剧，所以具有特别意义啊。呵呵，期待第四季。</p>
<p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><p>Lost我是从第一季就开始看的，也是我正式看的第一部美剧，所以具有特别意义啊。呵呵，期待第四季。</p>
<p><!--break--><span class="coolplayer_wrapper"><span id="coolplayer_container_1482198000"><script type="text/javascript"><!--
load_coolplayer('<a href=\"http://www.tudou.com/v/OylErdAK2pY\">http://www.tudou.com/v/OylErdAK2pY</a>', '1482198000', '480', '380', '0', '0', 'GBK', '');
//--></script></span><span class="coolplayer_info" id="coolplayer_info_1482198000" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span></p></p>    ]]></content>
  </entry>
  <entry>
    <title>电视剧《在路上》第七集（下）</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/71" />
    <id>http://www.geniusy.com/drupal/node/71</id>
    <published>2007-12-22T12:28:01-08:00</published>
    <updated>2007-12-22T12:28:01-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="07b" />
    <category term="《在路上》" />
    <category term="内审" />
    <category term="天海集团" />
    <category term="审计" />
    <category term="审计学院" />
    <category term="田浩然" />
    <category term="电视剧" />
    <category term="第七集下" />
    <category term="龙城" />
    <category term="美剧&amp;电影" />
    <summary type="html"><![CDATA[<p><p><span class="coolplayer_wrapper"><span id="coolplayer_container_1981929863">&lt;script type="text/javascript"&gt;<!--
load_coolplayer('<a href=\"http://www.56.com/n_v155_/c32_/4_/24_/hzh760829_/zhajm_119815486480x_/1411670_/0_/25560233.swf\"><a href="http://www.56.com/n_v155_/c32_/4_/24_/hzh760829_/zhajm_119815486480x_/1411670_/0_/25560233.swf">http://www.56.com/n_v155_/c32_/4_/24_/hzh760829_/zhajm_119815486480x_/1411670_/0_/25560233.swf</a></a>', '1981929863', '480', '380', '0', '0', 'GBK', '');
//-->&lt;/script&gt;</span><span class="coolplayer_info" id="coolplayer_info_1981929863" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span><br />
这是一部展示内审人风采的长篇电视连续剧。</p></p>

<p><p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><span class="coolplayer_wrapper"><span id="coolplayer_container_583902350"><script type="text/javascript"><!--
load_coolplayer('<a href=\"http://www.56.com/n_v155_/c32_/4_/24_/hzh760829_/zhajm_119815486480x_/1411670_/0_/25560233.swf\">http://www.56.com/n_v155_/c32_/4_/24_/hzh760829_/zhajm_119815486480x_/1411670_/0_/25560233.swf</a>', '583902350', '480', '380', '0', '0', 'GBK', '');
//--></script></span><span class="coolplayer_info" id="coolplayer_info_583902350" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span><br />
这是一部展示内审人风采的长篇电视连续剧。</p>

<p>故事发生在龙城市全国百强企业之一的天海集团内。在市场经济大潮中，天海集团作为全国钢铁行业的巨无霸，可谓是横扫龙城，它兼并了近二十个大中型企业，业务已扩展至机电、电子、组织、制药、房地产等多个行业，成为龙城举足轻重的特大型现代化企业。而在这一系列事件中起关键作用的人物不是市长、书记、董事长，而是一个小小的内审处长——田浩然。正是他的这一特定的职位，以及这一职位赋予他的神圣的职责，构成了该剧极为错综复杂、波澜起伏、引人入胜的故事情节。</p>

<p>他凭着深厚的专业知识、踏实深入的工作作风，从选项、立项，风险预测上层层把关，将兼并的企业重新整合、打造，不仅使龙城近万名下岗职工得到安置，也不断给海天集团注入新的新鲜血液，赢得了龙城市委市政府、集团董事会的高度赞扬，更使他的老上级董事长孟显龙对他刮目相看，给他及他的内审处一把尚方宝剑——内审报告对集团所有项目都有一票决定权。他将海天集团过往的失误与败笔层层剥开，结合世界先进的企业管理经验，制定了一系列严格的内控制度，提交给了董事会，也将自己摆在了天海集团前任董事长现任龙城市市委书记陈启明的对立面……</p>

<p>天海集团要与国际巨头布鲁克集团合作了，上百亿美金眼见要落户龙城，是将“家丑”与辉煌一起外扬，还是捂住盖子，报喜不报忧？这是摆在政府、企业面前的一道难题，更是考验内审人这一“企业良心”的诚信“底线”……</p>

<p>该剧从全新的角度，以当今国有企业改革为背景，热情颂扬与讴歌了以天浩然为代表的内审人，为国守财，为企业守信的风采，再一次展示了内审在我国经济格局中的重要性，他们不仅是企业自身的“免疫系统”还是向世界展示“国之信誉”的前沿阵地。</p>    ]]></content>
  </entry>
  <entry>
    <title>电视剧《在路上》第七集（上）</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/70" />
    <id>http://www.geniusy.com/drupal/node/70</id>
    <published>2007-12-22T12:25:52-08:00</published>
    <updated>2007-12-22T12:25:52-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="07a" />
    <category term="《在路上》" />
    <category term="内审" />
    <category term="天海集团" />
    <category term="审计" />
    <category term="审计学院" />
    <category term="田浩然" />
    <category term="电视剧" />
    <category term="第七集上" />
    <category term="龙城" />
    <category term="美剧&amp;电影" />
    <summary type="html"><![CDATA[<p><p><span class="coolplayer_wrapper"><span id="coolplayer_container_1644458184">&lt;script type="text/javascript"&gt;<!--
load_coolplayer('<a href=\"http://www.56.com/n_v155_/c35_/7_/3_/hzh760829_/zhajm_119815489237x_/1068730_/0_/25560265.swf\"><a href="http://www.56.com/n_v155_/c35_/7_/3_/hzh760829_/zhajm_119815489237x_/1068730_/0_/25560265.swf">http://www.56.com/n_v155_/c35_/7_/3_/hzh760829_/zhajm_119815489237x_/1068730_/0_/25560265.swf</a></a>', '1644458184', '480', '380', '0', '0', 'GBK', '');
//-->&lt;/script&gt;</span><span class="coolplayer_info" id="coolplayer_info_1644458184" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span><br />
这是一部展示内审人风采的长篇电视连续剧。</p></p>

<p><p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><span class="coolplayer_wrapper"><span id="coolplayer_container_1503444943"><script type="text/javascript"><!--
load_coolplayer('<a href=\"http://www.56.com/n_v155_/c35_/7_/3_/hzh760829_/zhajm_119815489237x_/1068730_/0_/25560265.swf\">http://www.56.com/n_v155_/c35_/7_/3_/hzh760829_/zhajm_119815489237x_/1068730_/0_/25560265.swf</a>', '1503444943', '480', '380', '0', '0', 'GBK', '');
//--></script></span><span class="coolplayer_info" id="coolplayer_info_1503444943" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span><br />
这是一部展示内审人风采的长篇电视连续剧。</p>

<p>故事发生在龙城市全国百强企业之一的天海集团内。在市场经济大潮中，天海集团作为全国钢铁行业的巨无霸，可谓是横扫龙城，它兼并了近二十个大中型企业，业务已扩展至机电、电子、组织、制药、房地产等多个行业，成为龙城举足轻重的特大型现代化企业。而在这一系列事件中起关键作用的人物不是市长、书记、董事长，而是一个小小的内审处长——田浩然。正是他的这一特定的职位，以及这一职位赋予他的神圣的职责，构成了该剧极为错综复杂、波澜起伏、引人入胜的故事情节。</p>

<p>他凭着深厚的专业知识、踏实深入的工作作风，从选项、立项，风险预测上层层把关，将兼并的企业重新整合、打造，不仅使龙城近万名下岗职工得到安置，也不断给海天集团注入新的新鲜血液，赢得了龙城市委市政府、集团董事会的高度赞扬，更使他的老上级董事长孟显龙对他刮目相看，给他及他的内审处一把尚方宝剑——内审报告对集团所有项目都有一票决定权。他将海天集团过往的失误与败笔层层剥开，结合世界先进的企业管理经验，制定了一系列严格的内控制度，提交给了董事会，也将自己摆在了天海集团前任董事长现任龙城市市委书记陈启明的对立面……</p>

<p>天海集团要与国际巨头布鲁克集团合作了，上百亿美金眼见要落户龙城，是将“家丑”与辉煌一起外扬，还是捂住盖子，报喜不报忧？这是摆在政府、企业面前的一道难题，更是考验内审人这一“企业良心”的诚信“底线”……</p>

<p>该剧从全新的角度，以当今国有企业改革为背景，热情颂扬与讴歌了以天浩然为代表的内审人，为国守财，为企业守信的风采，再一次展示了内审在我国经济格局中的重要性，他们不仅是企业自身的“免疫系统”还是向世界展示“国之信誉”的前沿阵地。</p>    ]]></content>
  </entry>
  <entry>
    <title>电视剧《在路上》第六集（下）</title>
    <link rel="alternate" type="text/html" href="http://www.geniusy.com/drupal/node/69" />
    <id>http://www.geniusy.com/drupal/node/69</id>
    <published>2007-12-22T12:23:19-08:00</published>
    <updated>2007-12-22T12:23:19-08:00</updated>
    <author>
      <name>geniusy</name>
    </author>
    <category term="06b" />
    <category term="《在路上》" />
    <category term="内审" />
    <category term="天海集团" />
    <category term="审计" />
    <category term="审计学院" />
    <category term="田浩然" />
    <category term="电视剧" />
    <category term="第六集下" />
    <category term="龙城" />
    <category term="美剧&amp;电影" />
    <summary type="html"><![CDATA[<p><p><span class="coolplayer_wrapper"><span id="coolplayer_container_1367920995">&lt;script type="text/javascript"&gt;<!--
load_coolplayer('<a href=\"http://www.56.com/n_v138_/c32_/1_/19_/hzh760829_/11980714696_/1022130_/0_/25498294.swf\"><a href="http://www.56.com/n_v138_/c32_/1_/19_/hzh760829_/11980714696_/1022130_/0_/25498294.swf">http://www.56.com/n_v138_/c32_/1_/19_/hzh760829_/11980714696_/1022130_/0_/25498294.swf</a></a>', '1367920995', '480', '380', '0', '0', 'GBK', '');
//-->&lt;/script&gt;</span><span class="coolplayer_info" id="coolplayer_info_1367920995" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span><br />
这是一部展示内审人风采的长篇电视连续剧。</p></p>

<p><p></p></p>    ]]></summary>
    <content type="html"><![CDATA[<p><span class="coolplayer_wrapper"><span id="coolplayer_container_431702429"><script type="text/javascript"><!--
load_coolplayer('<a href=\"http://www.56.com/n_v138_/c32_/1_/19_/hzh760829_/11980714696_/1022130_/0_/25498294.swf\">http://www.56.com/n_v138_/c32_/1_/19_/hzh760829_/11980714696_/1022130_/0_/25498294.swf</a>', '431702429', '480', '380', '0', '0', 'GBK', '');
//--></script></span><span class="coolplayer_info" id="coolplayer_info_431702429" style="width: 478px;display: block;" ondblclick="coolplayer_input(this, '480', '380', '0', '0', 'GBK', '');" title="Double click to input your media URL, and press enter to play it.">Loading...</span></span><br />
这是一部展示内审人风采的长篇电视连续剧。</p>

<p>故事发生在龙城市全国百强企业之一的天海集团内。在市场经济大潮中，天海集团作为全国钢铁行业的巨无霸，可谓是横扫龙城，它兼并了近二十个大中型企业，业务已扩展至机电、电子、组织、制药、房地产等多个行业，成为龙城举足轻重的特大型现代化企业。而在这一系列事件中起关键作用的人物不是市长、书记、董事长，而是一个小小的内审处长——田浩然。正是他的这一特定的职位，以及这一职位赋予他的神圣的职责，构成了该剧极为错综复杂、波澜起伏、引人入胜的故事情节。</p>

<p>他凭着深厚的专业知识、踏实深入的工作作风，从选项、立项，风险预测上层层把关，将兼并的企业重新整合、打造，不仅使龙城近万名下岗职工得到安置，也不断给海天集团注入新的新鲜血液，赢得了龙城市委市政府、集团董事会的高度赞扬，更使他的老上级董事长孟显龙对他刮目相看，给他及他的内审处一把尚方宝剑——内审报告对集团所有项目都有一票决定权。他将海天集团过往的失误与败笔层层剥开，结合世界先进的企业管理经验，制定了一系列严格的内控制度，提交给了董事会，也将自己摆在了天海集团前任董事长现任龙城市市委书记陈启明的对立面……</p>

<p>天海集团要与国际巨头布鲁克集团合作了，上百亿美金眼见要落户龙城，是将“家丑”与辉煌一起外扬，还是捂住盖子，报喜不报忧？这是摆在政府、企业面前的一道难题，更是考验内审人这一“企业良心”的诚信“底线”……</p>

<p>该剧从全新的角度，以当今国有企业改革为背景，热情颂扬与讴歌了以天浩然为代表的内审人，为国守财，为企业守信的风采，再一次展示了内审在我国经济格局中的重要性，他们不仅是企业自身的“免疫系统”还是向世界展示“国之信誉”的前沿阵地。</p>    ]]></content>
  </entry>
</feed>
