Welcome to mirror list, hosted at ThFree Co, Russian Federation.

contact.php - github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3e69c0062e7a8718324effa16a4bec92643b03b (plain)
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
72
73
<?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>');

?>