slitaz-forge view people/index.php @ rev 84

Build Bot is http://cook.slitaz.org/ now
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 08 22:35:57 2011 +0200 (2011-10-08)
parents 30a72bea782e
children ea046c298e29
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>SliTaz People</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz people" />
8 <meta name="keywords" lang="en" content="slitaz network, slitaz developpers, slitaz contributors" />
9 <meta name="robots" content="index, follow, all" />
10 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" />
11 <meta name="author" content="Christophe Lincoln"/>
12 <link rel="shortcut icon" href="favicon.ico" />
13 <link rel="stylesheet" type="text/css" href="slitaz.css" />
14 <script type="text/javascript">
15 /* <![CDATA[ */
16 (function() {
17 var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
18 s.type = 'text/javascript';
19 s.async = true;
20 s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
21 t.parentNode.insertBefore(s, t);
22 })();
23 /* ]]> */
24 </script>
25 </head>
26 <body>
28 <!-- Header -->
29 <div id="header">
30 <div id="logo"></div>
31 <div id="network">
32 <a href="http://www.slitaz.org/">
33 <img src="images/network.png" alt="network.png" /></a>
34 <a href="http://scn.slitaz.org/">Community</a>
35 <a href="http://doc.slitaz.org/">Doc</a>
36 <a href="http://forum.slitaz.org/">Forum</a>
37 <a href="http://bugs.slitaz.org">Bugs</a>
38 <a href="http://hg.slitaz.org/">Hg</a>
39 </div>
40 <h1><a href="http://people.slitaz.org/">SliTaz People</a></h1>
41 </div>
43 <!-- Block -->
44 <div id="block">
45 <!-- Navigation -->
46 <div id="block_nav">
47 <h4><img src="images/development.png" alt="development.png" />Developers Corner</h4>
48 <ul>
49 <li><a href="http://www.slitaz.org/en/devel/">Website devel</a></li>
50 <li><a href="http://scn.slitaz.org/">Community</a></li>
51 <li><a href="http://labs.slitaz.org/">Laboratories</a></li>
52 <li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li>
53 <li><a href="http://cook.slitaz.org/">Build Bot</a></li>
54 <li><a href="http://tank.slitaz.org/">Tank Server</a></li>
55 </ul>
56 </div>
57 <!-- Information/image -->
58 <div id="block_info">
59 <h4>People</h4>
60 <p>
61 Each contributor who has access to the project main server,
62 code name <a href="http://tank.slitaz.org/">Tank</a> and can
63 have a public directory. This Public directory can be reached
64 with URLs in the form of: http://people.slitaz.org/~name/.
65 </p>
66 <p>
67 You can help us maintain and improve this service with a small
68 donation to the SliTaz association:
69 <!-- PayPal Button -->
70 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"
71 style="display: inline;">
72 <input type="hidden" name="cmd" value="_s-xclick" />
73 <input type="hidden" name="hosted_button_id" value="4885025" />
74 <input type="image" src="images/paypal.png" name="submit"
75 alt="PayPal - The safer, easier way to pay online!" />
76 </form>
77 <!-- Flattr Button -->
78 <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
79 href="http://www.slitaz.org/"></a>
80 </p>
81 </div>
82 </div>
84 <!-- Content -->
85 <div id="content">
87 <h2>SliTaz people</h2>
89 <style type="text/css">
90 ul span {
91 color: #666;
92 font-size: 11px;
93 font-weight: normal;
94 display: block;
95 padding: 2px 0;
96 }
97 ul { list-style-type: square; }
98 ul span a { color: #666; }
99 </style>
101 <ul>
102 <?php
103 if ($handle = opendir('/home')) {
104 $scn_url = 'http://scn.slitaz.org/members';
105 while (false !== ($dir = readdir($handle))) {
106 if ($dir != "." && $dir != "..") {
107 $pub = "/home/$dir/Public";
108 $user = "$dir";
109 if (file_exists($pub)) {
110 echo " <li><a href=\"/~$user/\">$user</a>\n";
111 if (file_exists("$pub/profile.php")) {
112 require_once("$pub/profile.php");
113 echo "<span>Name: $name";
114 if (! empty($location)) {
115 echo " | Location: $location";
116 }
117 if (! empty($scn_user)) {
118 echo " | <a href=\"$scn_url/$scn_user/\">SCN activity</a>";
119 }
120 if (! empty($skills)) {
121 echo " | Skills: $skills";
122 }
123 echo "</span>";
124 if (! empty($wall)) {
125 echo "<span>$wall</span>";
126 }
127 }
128 echo "</li>";
129 }
131 }
132 }
133 closedir($handle);
134 }
135 ?>
136 </ul>
138 <!-- End of content -->
139 </div>
141 <div style="margin-top: 100px;"></div>
143 <!-- Footer -->
144 <div id="footer">
145 Copyright &copy; <span class="year"></span>
146 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
147 <a href="http://scn.slitaz.org/">Community</a>
148 <a href="http://doc.slitaz.org/">Doc</a>
149 <a href="http://forum.slitaz.org/">Forum</a>
150 <a href="http://pkgs.slitaz.org/">Packages</a>
151 <a href="http://bugs.slitaz.org">Bugs</a>
152 <a href="http://hg.slitaz.org/">Hg</a>
153 <p>
154 SliTaz @
155 <a href="http://twitter.com/slitaz">Twitter</a>
156 <a href="http://www.facebook.com/slitaz">Facebook</a>
157 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
158 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
159 <a href="http://flattr.com/profile/slitaz">Flattr</a>
160 </p>
161 </div>
163 </body>
164 </html>