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

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