forked from nextcloud/nextcloud.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
73 lines (54 loc) · 1.41 KB
/
contact.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
/*
Template Name: Contact
*/
?>
<?php
require('/srv/www/nextcloud.org/contribook/main/contribook/lib_contribook.php');
?>
<div class="page-header">
<h1><a href="/about/">About Nextcloud</a></h1>
<nav class="nav-infopages" role="navigation">
<?php
if (has_nav_menu('about-nav')) :
wp_nav_menu(array('theme_location' => 'about-nav', 'menu_class' => 'navabout'));
endif;
?>
</nav>
</div>
<div class="row">
<?php if (have_posts()) : while (have_posts()) : the_post();?>
<?php
$title = get_the_title();
?>
<div class="span12">
<?php
if( $title != 'About' ){
?>
<h2><?php the_title();?></h2>
<hr class="pagetitle">
<?php
}
?>
<div class="page-content">
<?php the_content(); ?>
</div>
<?php endwhile; endif; ?>
</div>
</div>
<?php
$users=CONTRIBOOK_USER::getusers();
echo('<table>');
foreach($users as $user) {
$data=CONTRIBOOK_USER::getuser($user);
echo('<tr><td style="padding:5px;">');
if($data['picture_50']<>''){
echo('<span class="contribook_microbloguserpicture"><a href="'.CONTRIBOOK_USER_URL.$user.'"><img src="'.CONTRIBOOK_PHOTO_URL.$data['picture_50'].'" border="0" /></a></span>');
}
echo('</td><td style="padding:5px;">');
echo('<a href="'.CONTRIBOOK_USER_URL.$user.'">'.$data['name'].'</a><br />');
echo($data['role']);
echo('</td></tr>');
}
echo('</table>');
?>