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

Add servers button
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 26 11:38:10 2019 +0100 (2019-11-26)
parents 910edf0570ff
children 8faaea0b54f1
line source
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <title>SliTaz People</title>
6 <meta name="description" content="slitaz people" />
7 <meta name="keywords" lang="en" content="slitaz network, slitaz developers, slitaz contributors" />
8 <meta name="robots" content="index, follow, all" />
9 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" />
10 <meta name="author" content="Christophe Lincoln"/>
11 <link rel="shortcut icon" href="favicon.ico" />
12 <link rel="stylesheet" type="text/css" href="slitaz.css" />
13 <script type="text/javascript">
14 /* <![CDATA[ */
15 (function() {
16 var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
17 s.type = 'text/javascript';
18 s.async = true;
19 s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
20 t.parentNode.insertBefore(s, t);
21 })();
22 /* ]]> */
23 </script>
24 <style type="text/css">
25 ul span {
26 color: #666;
27 font-size: 11px;
28 font-weight: normal;
29 display: block;
30 padding: 4px 0;
31 }
32 ul { list-style-type: square; }
33 ul span a { color: #666; }
34 </style>
35 </head>
36 <body>
38 <!-- Header -->
39 <div id="header">
40 <div id="logo"></div>
41 <div id="network">
42 <a href="http://www.slitaz.org/">Home</a>
43 <a href="http://scn.slitaz.org/">Community</a>
44 <a href="http://doc.slitaz.org/">Doc</a>
45 <a href="http://forum.slitaz.org/">Forum</a>
46 <a href="http://irc.slitaz.org/">IRC</a>
47 <a href="http://shop.slitaz.org/">Shop</a>
48 <a href="http://bugs.slitaz.org">Bugs</a>
49 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
50 </div>
51 <h1><a href="http://people.slitaz.org/">SliTaz People</a></h1>
52 </div>
54 <!-- Navigation menu -->
55 <nav id="nav" role="navigation" tabindex="0">
56 <ul>
57 <li><a class="nav1" href="http://cook.slitaz.org/">Cook</a></li>
58 <li><a class="nav2" href="http://scn.slitaz.org/?wall">SCN Wall</a></li>
59 <li><a class="nav1" href="http://roadmap.slitaz.org/">Roadmap</a></li>
60 <li><a class="nav2" href="http://tank.slitaz.org/">Tank</a></li>
61 <li><a class="nav1" href="http://www.slitaz.org/en/devel/">Development</a></li>
62 </ul>
63 <p>
64 SliTaz contributors public content (info, packages, code, ...)
65 </p>
66 </nav>
68 <!-- Content -->
69 <section id="content">
71 <h2>Help SliTaz people</h2>
73 <p>
74 You can help us maintain and improve this service with a small
75 donation to the SliTaz association:
76 </p>
77 <!-- PayPal Button (association) -->
78 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"
79 style="display: inline;">
80 <input type="hidden" name="cmd" value="_s-xclick" />
81 <input type="hidden" name="hosted_button_id" value="4885025" />
82 <input type="image" src="images/paypal.png" name="submit"
83 alt="PayPal - The safer, easier way to pay online!" />
84 </form>
85 <!-- PayPal Button (servers) -->
86 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"
87 style="display: inline;">
88 <input type="hidden" name="cmd" value="_s-xclick" />
89 <input type="hidden" name="hosted_button_id" value="G2C74XCZD7HUS" />
90 <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif"
91 alt="Donate with PayPal button" name="submit"
92 title="Donate for SliTaz servers with PayPal" border="0"/>
93 <img alt="" src="https://www.paypal.com/en_FR/i/scr/pixel.gif"
94 width="1" height="1" border="0" />
95 </form>
96 <!-- Flattr Button -->
97 <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
98 href="http://www.slitaz.org/"></a>
100 <h3>Contributors</h3>
102 <ul>
103 <?php
104 if ($handle = opendir('/home')) {
105 $scn_url = 'http://scn.slitaz.org/?user=';
106 while (false !== ($dir = readdir($handle))) {
107 if ($dir != "." && $dir != "..") {
108 $pub = "/home/$dir/Public";
109 $user = "$dir";
110 if (file_exists($pub)) {
111 echo " <li><a href='/~$user/'>$user</a>\n";
112 if (file_exists("$pub/profile.php")) {
113 require_once("$pub/profile.php");
114 echo "<span>Name: $name";
115 if (! empty($location)) {
116 echo " | Location: $location";
117 }
118 if (! empty($scn_user)) {
119 echo " | <a href='$scn_url$scn_user'>SCN Profile</a>";
120 }
121 if (! empty($skills)) {
122 echo " | Skills: $skills";
123 }
124 echo "</span>";
125 if (! empty($wall)) {
126 echo "<span>$wall</span>";
127 }
128 }
129 echo "</li>";
130 }
132 }
133 }
134 closedir($handle);
135 }
136 ?>
137 </ul>
139 <!-- End of content -->
140 </section>
142 <div style="margin-top: 60px;"></div>
144 <!-- Footer -->
145 <div id="footer">
146 Copyright &copy; <span class="year"></span>
147 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
148 <a href="http://scn.slitaz.org/">Community</a>
149 <a href="http://doc.slitaz.org/">Doc</a>
150 <a href="http://forum.slitaz.org/">Forum</a>
151 <a href="http://pkgs.slitaz.org/">Packages</a>
152 <a href="http://bugs.slitaz.org">Bugs</a>
153 <a href="http://hg.slitaz.org/">Hg</a>
154 <p>
155 SliTaz @
156 <a href="http://twitter.com/slitaz">Twitter</a>
157 <a href="http://www.facebook.com/slitaz">Facebook</a>
158 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
159 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
160 <a href="http://flattr.com/profile/slitaz">Flattr</a>
161 </p>
162 </div>
164 </body>
165 </html>