拳头大电脑盒子

Posted in 软硬一本 @ Sep 5th, 2008 by underone |

这玩意儿只有300MHz……用来干什么呢……毕竟是个电脑……下载也不太靠谱……出门的时候揣书包里?原址

延展阅读

27 Responses to “拳头大电脑盒子”

  1. fengfree  Reply to this comment

    这玩意是高科技啊!

  2. Dianso  Reply to this comment

    做个沙发...

  3. 猪小猪  Reply to this comment

    这个东西蛮好。。。

  4. willerce  Reply to this comment

    呃。这个东东很不错,但我只把它看成玩具。

  5. 锐风  Reply to this comment

    看到最后边的图的时候.. 我被雷了.. 这就是传说中的拳头大小啊?! 比拳头大多了啊.. - -!

    我对这个盒子米啥兴趣.. 倒是感觉手机不错.. # #..

  6. underone  Reply to this comment

    那你的拳头也太小了。。。。。。。。

  7. 打篮球的手  Reply to this comment

    K818c,看上这个了

  8. Chris.Ro  Reply to this comment

    如何在Says 前面多个回复的符号呢?

  9. underone  Reply to this comment

    改模版文件被。。。搜到Says先。。。

  10. ice  Reply to this comment

    看样子拿来防身使不错。

    以往都是拿板砖网脑袋上嗨,现在 Space Oddity 嗨!

  11. fengfree  Reply to this comment

    问下你的博客把一楼弄成广告是怎么实现的吗?
    谢谢

  12. underone  Reply to this comment

    @fengfree:
    这个说来有点费劲,我把我现在用的留言部分的模版代码贴出来你自己研究研究?(comments.php)

    1. <?php // Do not delete these lines
    2. if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    3. die ('Please do not load this page directly. Thanks!');
    4.  
    5. if (!empty($post->post_password)) { // if there's a password
    6. if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    7. ?>
    8.  
    9. <p class="nocomments">This post is password protected. Enter the password to view comments.</p>
    10.  
    11. <?php
    12. return;
    13. }
    14. }
    15.  
    16. /* This variable is for alternating comment background */
    17. $oddcomment = 'class="alt" ';
    18. ?>
    19.  
    20. <!-- You can start editing here. -->
    21.  
    22. <?php if ($comments) : ?>
    23.  
    24. <h3 class="respond"><?php comments_number('暂时没有回复', '抢楼还有机会', '楼被抢了%层了' );?></h3>
    25.  
    26. <ol class="commentlist">
    27. <li id="comment-xxxx">
    28.     <div class="comment_top"></div>
    29.     <div class="comment_mid">
    30. <div class="comment_left">
    31. <img class="avatar" src="<?php bloginfo('template_directory'); ?>/images/avatar.png" />
    32. </div>
    33. <div class="comment_right">
    34. <p><?php mightyadsense4template(6); ?></p>
    35. </div>
    36. </div>
    37. <div class="comment_bottom"></div>
    38. <br />
    39. <cite>admin</cite><?php if(function_exists("yus_reply")) yus_reply(); ?> Says <small>@ <a href="<?php the_permalink() ? rel="nofollow">"><?php the_time('y-m-j g:i a'); ?></a></small></span>
    40. <span class="nox">(<?php $commentNumber++; echo $commentNumber; ?>)</span>
    41.  
    42. </li>
    43.  
    44.  
    45. <?php foreach ($comments as $comment) : ?>
    46. <?php $comment_type = get_comment_type(); ?>
    47. <?php if($comment_type == 'comment') { ?>
    48.  
    49.  
    50. <?php if (($comment->user_id==get_the_author_ID())||($comment->comment_author_email==get_the_author_email())): ?>               
    51. <li class="admin" id="comment-<?php comment_ID() ?>">
    52.     <div class="comment_top"></div>
    53.     <div class="comment_mid">
    54. <div class="comment_left">
    55. <?php if (function_exists('get_avatar')) : ?>
    56. <?php echo get_avatar( $comment, 32, 'http://www.underone.com/wp-content/uploads/2008/04/avatar.png' ); ?>
    57. <?php else : ?>
    58. <?php
    59. if ( !empty( $comment->comment_author_email ) ) {
    60.         $md5 = md5( $comment->comment_author_email );
    61.         $default = urlencode( 'http://www.underone.com/wp-content/uploads/2008/04/avatar.png' );
    62.         echo "<img class='avatar' src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&amp;size=32&amp;default=$default' alt='' />";
    63. }
    64. ?>
    65. <?php endif; ?>
    66. </div>
    67. <div class="comment_right">
    68. <?php comment_text() ?>
    69. </div>
    70. </div>
    71. <div class="comment_bottom"></div>
    72. <cite><?php comment_author_link() ?></cite><?php if(function_exists("yus_reply")) yus_reply(); ?> Says <small>@ <a href="#comment-<?php comment_ID() ? rel="nofollow">" title=""><?php comment_date('y-m-j') ?> <?php comment_time() ?></a> <?php edit_comment_link('edit','&nbsp;&nbsp;',''); ?></small>
    73. <span class="nox">(<?php $commentNumber++; echo $commentNumber; ?>)</span>
    74. <?php if ($comment->comment_approved == '0') : ?>
    75. <em>Your comment is awaiting moderation.</em>
    76. <?php endif; ?>
    77. </li>
    78.  
    79. <?php endif; ?>
    80.  
    81. <?php if(($comment->user_id!=get_the_author_ID())&&($comment->comment_author_email!=get_the_author_email())): ?>
    82. <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
    83.     <div class="comment_top"></div>
    84.     <div class="comment_mid">
    85. <div class="comment_left">
    86. <?php if (function_exists('get_avatar')) : ?>
    87. <?php echo get_avatar( $comment, 32, 'http://www.underone.com/wp-content/uploads/2008/04/avatar.png' ); ?>
    88. <?php else : ?>
    89. <?php
    90. if ( !empty( $comment->comment_author_email ) ) {
    91.         $md5 = md5( $comment->comment_author_email );
    92.         $default = urlencode( 'http://www.underone.com/wp-content/uploads/2008/04/avatar.png' );
    93.         echo "<img class='avatar' src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&amp;size=32&amp;default=$default' alt='' />";
    94. }
    95. ?>
    96. <?php endif; ?>
    97. </div>
    98. <div class="comment_right">
    99. <?php comment_text() ?>
    100. </div>
    101. </div>
    102. <div class="comment_bottom"></div>
    103. <cite><?php comment_author_link() ?></cite><?php if(function_exists("yus_reply")) yus_reply(); ?> Says <small>@ <a href="#comment-<?php comment_ID() ? rel="nofollow">" title=""><?php comment_date('y-m-j') ?> <?php comment_time() ?></a> <?php edit_comment_link('edit','&nbsp;&nbsp;',''); ?></small>
    104. <span class="nox">(<?php $commentNumber++; echo $commentNumber; ?>)</span>
    105. <?php if ($comment->comment_approved == '0') : ?>
    106. <em>Your comment is awaiting moderation.</em>
    107. <?php endif; ?>
    108. </li>
    109.  
    110. <?php endif; ?>
    111. <?php
    112. /* Changes every other comment to a different class */
    113. $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
    114. ?>
    115.  
    116. <?php } else { $trackback = true; } ?>
    117. <?php endforeach; /* end for each comment */ ?>
    118.  
    119.  
    120. </ol>
    121.  
    122.  <?php else : // this is displayed if there are no comments so far ?>
    123.  
    124. <h3 class="respond">抢个楼呗?</h3>
    125. <ol class="commentlist">
    126. <li>
    127.     <div class="comment_top"></div>
    128.     <div class="comment_mid">
    129. <div class="comment_left">
    130. <img class="avatar" src="<?php bloginfo('template_directory'); ?>/images/avatar.png" />
    131. </div>
    132. <div class="comment_right">
    133. <p><?php mightyadsense4template(6); ?></p>
    134. </div>
    135. </div>
    136. <div class="comment_bottom"></div>
    137. <br /><cite>admin</cite> Says <small>@ <a href="<?php the_permalink() ? rel="nofollow">"><?php the_time('y-m-j g:i a'); ?></a></small>
    138. </li>
    139.  
    140. </ol>
    141.  
    142. <?php if ('open' == $post->comment_status) : ?>
    143. <!-- If comments are open, but there are no comments. -->
    144.  
    145. <?php else : // comments are closed ?>
    146. <!-- If comments are closed. -->
    147. <p class="nocomments">Comments are closed.</p>
    148.  
    149. <?php endif; ?>
    150. <?php endif; ?>
    151.  
    152. <?php if ($trackback == true) { ?>
    153.  
    154. <h3 class="tp">Trackbacks & Pingbacks</h3>
    155. <ul>
    156. <?php foreach ($comments as $comment) : ?>
    157. <?php $comment_type = get_comment_type(); ?>
    158. <?php if($comment_type != 'comment') { ?>
    159. <li class="ping"><h4><?php comment_author_link() ?></h4>
    160. <?php comment_text() ?></li>
    161. <?php } ?>
    162. <?php endforeach; ?>
    163. </ul>
    164.  
    165. <?php } ?>
    166.  
    167. <div id="commentinput">
    168.  
    169. <?php if ('open' == $post->comment_status) : ?>
    170.  
    171.  
    172. <h3 class="respondall">要说点啥就在这吧</h3>
    173.  
    174.  
    175.  
    176. <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    177. <p class="logged">You must be <a href="<?php echo get_option('siteurl'); ? rel="nofollow">/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
    178. <?php else : ?>
    179.  
    180. <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    181.  
    182. <?php if ( $user_ID ) : ?>
    183.  
    184. <p class="logged">Logged in as <a href="<?php echo get_option('siteurl'); ? rel="nofollow">/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ? rel="nofollow">/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>
    185.  
    186. <?php else : ?>
    187.  
    188.  
    189.  
    190.  
    191. <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" />
    192. <label for="author">昵称 <?php if ($req) echo "(不填说不了话)"; ?></label>
    193.  
    194. <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" />
    195. <label for="email">信箱地址 <?php if ($req) echo "(不会被公开,但是不填也说不了话)"; ?></label>
    196.  
    197. <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" />
    198. <label for="url">网址 (这个不填也成)</label>
    199.  
    200. <?php endif; ?>
    201.  
    202. <!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
    203.  
    204. <div id="textshell"><textarea name="comment" id="comment"  tabindex="4"></textarea></div>
    205.  
    206. <p><input name="submit" type="submit" id="submit" class="submit" tabindex="5" value="" />
    207. <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    208. </p>
    209. <?php do_action('comment_form', $post->ID); ?>
    210.  
    211. </form>
    212.  
    213. </div>
    214.  
    215. <?php endif; // If registration required and not logged in ?>
    216.  
    217. <?php endif; // if you delete this the sky will fall on your head ?>
  13. 33hy  Reply to this comment

    上楼留言也太占位置了

  14. fengfree  Reply to this comment

    好的,我慢慢的看。希望可以看懂!

  15. 牧狼羊  Reply to this comment

    有点云里雾里,丸同学不准备介绍介绍这玩意有啥用?

  16. laipox  Reply to this comment

    留言者的头像怎么样改变?
    是不是要注册http://www.gravatar.com什么的>
    说下!

  17. underone  Reply to this comment

    @laipox: 是要注册啊
    @牧狼羊: 我也不知道啊

  18. Ozzy  Reply to this comment

    看起来不错

  19. edger  Reply to this comment

    @Ozzy: 那是相当不错

  20. laipox  Reply to this comment

    我也在http://www.gravatar.com注册了,也在里面设置了头像!我所填的邮箱和昵称都是和那里面注册的一样!为什么还是不能显示?
    谢谢!

  21. laipox  Reply to this comment

    谢谢了,说下!
    另外你的默认头像怎么实现?

  22. underone  Reply to this comment

    @laipox:
    看看这个:
    http://www.underone.com/2008/03/19/wordpress-25-gravatars-theme/
    也许明天就能显示了,有延迟

  23. 锐风  Reply to this comment

    @underone: 我这个语误够强的.. 我的意思是, 那个盒子太小了.. 根本没有拳头打.. -____-..

  24. underone  Reply to this comment

    。。。。。。。。。。你。。。。。。。。。。

  25. 醉倚西风  Reply to this comment

    呵呵。。。。。

  26. overwhelming  Reply to this comment

    用来砸人吧

  27. GanGeGe  Reply to this comment

    只想知道那手机是什么型号?

Leave a Reply ↓

收藏 & 分享

Powered by 17fav.com