From bbee4c172c316a439f8a4def03fbb7b1eb7c21f8 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Sun, 31 Jan 2010 03:59:55 +0000 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=BA=90=E4=BB=A3=E7=A0=81=E5=88=B0=E4=BB=A3=E7=A0=81=E5=BA=93?= =?UTF-8?q?=E3=80=82=20+YUCHENG=20HU+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.code.sf.net/p/hawebs/svn@12 a2543c7e-f6e9-4f8a-8bff-1ffc34733512 --- mainweb/trunk/repository/svn/svn.php | 244 ++++++++++++++ .../trunk/repository/svn/svn_content_a.php | 110 +++++++ .../trunk/repository/svn/svn_content_b.php | 306 ++++++++++++++++++ mainweb/trunk/repository/svn/svn_nav.php | 26 ++ 4 files changed, 686 insertions(+) create mode 100644 mainweb/trunk/repository/svn/svn.php create mode 100644 mainweb/trunk/repository/svn/svn_content_a.php create mode 100644 mainweb/trunk/repository/svn/svn_content_b.php create mode 100644 mainweb/trunk/repository/svn/svn_nav.php diff --git a/mainweb/trunk/repository/svn/svn.php b/mainweb/trunk/repository/svn/svn.php new file mode 100644 index 00000000..cd59e931 --- /dev/null +++ b/mainweb/trunk/repository/svn/svn.php @@ -0,0 +1,244 @@ + + * + * GNU GENERAL PUBLIC LICENSE + * + * ---------------------------------------------------------------------------------- + */ + +require_once '../../include/common.php'; +?> + + + + + + + + + + +<?php echo SITE_TITLE;?> + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+
+ + +
+ + + +
+
+ +
© 2010 Scientific American, a division of Nature America, Inc. All Rights Reserved.
+
ADVERTISEMENT
+ +
+
+ + + + + + + + + + + + + + + diff --git a/mainweb/trunk/repository/svn/svn_content_a.php b/mainweb/trunk/repository/svn/svn_content_a.php new file mode 100644 index 00000000..4785d061 --- /dev/null +++ b/mainweb/trunk/repository/svn/svn_content_a.php @@ -0,0 +1,110 @@ + + +
+
+
+
+
+
+
+
+
+
+
+

SVN库

+
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
    + cache_dir = 'cache'; + $rss->cache_time = 1200; + + if ($rs = $rss->get(RSS_SVN)) { + +// 显示网站的LOGO + if ($rs[image_url] != '') { + echo "\"$rs[image_title]\"
    \n"; + } + +// 显示可单击网站标题 +// echo "$rs[title]
    \n"; + +// 显示网站描述 +// echo "$rs[description]
    \n"; + +// 显示最后发布的文章 (标题, 连接, 描述) +// echo "
      \n"; +$i = 0; + foreach($rs['items'] as $item) { +// echo "\t

      ".$item['title']."
      "."(".date('Y-m-d H:i:s', strtotime($item['pubDate'])).")

      \n"; +?> +
    • + +
      +

      + + + +

    • +\n"; + } + else { + echo "错误:不能正确读取RSS源。\n"; + } + + ?> + +
    +
+
+
+ +
+
+
+ + +
+
+ + +
+ diff --git a/mainweb/trunk/repository/svn/svn_content_b.php b/mainweb/trunk/repository/svn/svn_content_b.php new file mode 100644 index 00000000..af373640 --- /dev/null +++ b/mainweb/trunk/repository/svn/svn_content_b.php @@ -0,0 +1,306 @@ +
+
+
+

Subscription Center

+
+ +
+ +
+ +
+
+
+
+

Editor's Pick

+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Newsletter +

Weekly Review Newsletter

+ Get weekly coverage delivered to your inbox
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+

 Podcasts

+
+
+
+
+
+
+
    +
  • 60-Second Science     RSS  · iTunes Cleopatra's Eyeliner: Peeper Health Keeper +
    click to enable
    +

    Download

    + +
  • +
  • Science Talk     RSS  · iTunes Creating Darwin's Biopic; and Consumer Electronics +
    click to enable
    +

    Download

    + +
  • +
+
+
+
+
+
+ +
+ + + +
+ + +
+ +
+
+
ADVERTISEMENT
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + +
 
 
+
+
+
+
+
+
+
+
+
+ + +
\ No newline at end of file diff --git a/mainweb/trunk/repository/svn/svn_nav.php b/mainweb/trunk/repository/svn/svn_nav.php new file mode 100644 index 00000000..6460be20 --- /dev/null +++ b/mainweb/trunk/repository/svn/svn_nav.php @@ -0,0 +1,26 @@ +

+ + +