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

Tiny edits
author Paul Issott <paul@slitaz.org>
date Tue Mar 11 18:09:11 2014 +0000 (2014-03-11)
parents 01e4aee25c9a
children d59bc2abbc96
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 developers, 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 <style type="text/css">
26 ul span {
27 color: #666;
28 font-size: 11px;
29 font-weight: normal;
30 display: block;
31 padding: 4px 0;
32 }
33 ul { list-style-type: square; }
34 ul span a { color: #666; }
35 </style>
36 </head>
37 <body>
39 <!-- Header -->
40 <div id="header">
41 <div id="logo"></div>
42 <div id="network">
43 <a href="http://www.slitaz.org/">Home
44 <!-- <img src="images/home.png" alt="[ Home ]" />--></a>
45 <a href="http://scn.slitaz.org/">Community</a>
46 <a href="http://doc.slitaz.org/">Doc</a>
47 <a href="http://forum.slitaz.org/">Forum</a>
48 <a href="http://irc.slitaz.org/">IRC</a>
49 <a href="http://slitaz.pro/">Pro</a>
50 <a href="http://shop.slitaz.org/">Shop</a>
51 <a href="http://bugs.slitaz.org">Bugs</a>
52 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
53 <a href="http://cook.slitaz.org/">Cook</a>
54 </div>
55 <h1><a href="http://people.slitaz.org/">SliTaz People</a></h1>
56 </div>
58 <!-- Block -->
59 <div id="block">
60 <!-- Navigation -->
61 <div id="block_nav">
62 <h4><img src="images/development.png" alt="development.png" />Developers Corner</h4>
63 <ul>
64 <li><a href="http://www.slitaz.org/en/devel/">Devel Doc</a></li>
65 <li><a href="http://pizza.slitaz.me">Pizza</a></li>
66 <li><a href="http://tank.slitaz.org/">Tank Server</a></li>
67 <li><a href="http://roadmap.slitaz.org/">Roadmap</a></li>
68 </ul>
69 </div>
70 <!-- Information/image -->
71 <div id="block_info">
72 <h4>People</h4>
73 <p>
74 Each contributor who has access to the project main server,
75 code name <a href="http://tank.slitaz.org/">Tank</a> can
76 have a public directory.
77 </p>
78 <p>
79 You can help us maintain and improve this service with a small
80 donation to the SliTaz association:
81 </p>
82 <!-- PayPal Button -->
83 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"
84 style="display: inline;">
85 <input type="hidden" name="cmd" value="_s-xclick" />
86 <input type="hidden" name="hosted_button_id" value="4885025" />
87 <input type="image" src="images/paypal.png" name="submit"
88 alt="PayPal - The safer, easier way to pay online!" />
89 </form>
90 <!-- Flattr Button -->
91 <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
92 href="http://www.slitaz.org/"></a>
93 </div>
94 </div>
96 <!-- Content -->
97 <div id="content">
99 <h2>SliTaz people</h2>
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>