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

Link to slitaz.pro
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 21 23:17:09 2012 +0100 (2012-03-21)
parents 68aa729bb01e
children 75a6dd3c06c6
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/home.png" alt="[ Home ]" /></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://slitaz.pro/">Pro</a>
38 <a href="http://slitaz.spreadshirt.net/">Shop</a>
39 <a href="http://bugs.slitaz.org">Bugs</a>
40 <a href="http://hg.slitaz.org/">Hg</a>
41 <a href="http://cook.slitaz.org/">Cook</a>
42 </div>
43 <h1><a href="http://people.slitaz.org/">SliTaz People</a></h1>
44 </div>
46 <!-- Block -->
47 <div id="block">
48 <!-- Navigation -->
49 <div id="block_nav">
50 <h4><img src="images/development.png" alt="development.png" />Developers Corner</h4>
51 <ul>
52 <li><a href="http://www.slitaz.org/en/devel/">Website devel</a></li>
53 <li><a href="http://scn.slitaz.org/">Community</a></li>
54 <li><a href="http://labs.slitaz.org/">Laboratories</a></li>
55 <li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li>
56 <li><a href="http://cook.slitaz.org/">Build Bot</a></li>
57 <li><a href="http://tank.slitaz.org/">Tank Server</a></li>
58 </ul>
59 </div>
60 <!-- Information/image -->
61 <div id="block_info">
62 <h4>People</h4>
63 <p>
64 Each contributor who has access to the project main server,
65 code name <a href="http://tank.slitaz.org/">Tank</a> and can
66 have a public directory. This Public directory can be reached
67 with URLs in the form of: http://people.slitaz.org/~name/.
68 </p>
69 <p>
70 You can help us maintain and improve this service with a small
71 donation to the SliTaz association:
72 <!-- PayPal Button -->
73 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"
74 style="display: inline;">
75 <input type="hidden" name="cmd" value="_s-xclick" />
76 <input type="hidden" name="hosted_button_id" value="4885025" />
77 <input type="image" src="images/paypal.png" name="submit"
78 alt="PayPal - The safer, easier way to pay online!" />
79 </form>
80 <!-- Flattr Button -->
81 <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
82 href="http://www.slitaz.org/"></a>
83 </p>
84 </div>
85 </div>
87 <!-- Content -->
88 <div id="content">
90 <h2>SliTaz people</h2>
92 <style type="text/css">
93 ul span {
94 color: #666;
95 font-size: 11px;
96 font-weight: normal;
97 display: block;
98 padding: 2px 0;
99 }
100 ul { list-style-type: square; }
101 ul span a { color: #666; }
102 </style>
104 <ul>
105 <?php
106 if ($handle = opendir('/home')) {
107 $scn_url = 'http://scn.slitaz.org/members';
108 while (false !== ($dir = readdir($handle))) {
109 if ($dir != "." && $dir != "..") {
110 $pub = "/home/$dir/Public";
111 $user = "$dir";
112 if (file_exists($pub)) {
113 echo " <li><a href=\"/~$user/\">$user</a>\n";
114 if (file_exists("$pub/profile.php")) {
115 require_once("$pub/profile.php");
116 echo "<span>Name: $name";
117 if (! empty($location)) {
118 echo " | Location: $location";
119 }
120 if (! empty($scn_user)) {
121 echo " | <a href=\"$scn_url/$scn_user/\">SCN activity</a>";
122 }
123 if (! empty($skills)) {
124 echo " | Skills: $skills";
125 }
126 echo "</span>";
127 if (! empty($wall)) {
128 echo "<span>$wall</span>";
129 }
130 }
131 echo "</li>";
132 }
134 }
135 }
136 closedir($handle);
137 }
138 ?>
139 </ul>
141 <!-- End of content -->
142 </div>
144 <div style="margin-top: 100px;"></div>
146 <!-- Footer -->
147 <div id="footer">
148 Copyright &copy; <span class="year"></span>
149 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
150 <a href="http://scn.slitaz.org/">Community</a>
151 <a href="http://doc.slitaz.org/">Doc</a>
152 <a href="http://forum.slitaz.org/">Forum</a>
153 <a href="http://pkgs.slitaz.org/">Packages</a>
154 <a href="http://bugs.slitaz.org">Bugs</a>
155 <a href="http://hg.slitaz.org/">Hg</a>
156 <p>
157 SliTaz @
158 <a href="http://twitter.com/slitaz">Twitter</a>
159 <a href="http://www.facebook.com/slitaz">Facebook</a>
160 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
161 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
162 <a href="http://flattr.com/profile/slitaz">Flattr</a>
163 </p>
164 </div>
166 </body>
167 </html>