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

page-user.php - github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 545c2c423a33f8c525c07f340c44f50799ca1995 (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
<div class="page-header">
  <h1>Contributors</h1>
</div>
<div class="span9">
	<div class="page-content">
<?php

if(CONTRIBOOK) {
  require(dirname(__FILE__).'/../../../contribook/main/contribook/lib_contribook.php');

  if(isset($_GET['user'])) $user=$_GET['user']; else $user='';
  if(CONTRIBOOK_USER::exist($user)) {
    CONTRIBOOK_PROFILE::show($user);
    $data=CONTRIBOOK_USER::getuser($user);

    // show the blog posts of the user
    if($data['rssurl']<>'') {
      echo('<br />The latest blogs<br />');
      CONTRIBOOK_BLOG::showuser($user, 0, 10);
    }

    // show the github messages of the user
    if($data['github']<>'') {
      echo('<br />The latest GitHub messages<br />');
      CONTRIBOOK_GITHUB::show($user, 0, 10);
    }

    // show the twitter posts of the user
    if($data['twitter']<>'') {
      echo('<br />The latest Twitter posts<br />');
      CONTRIBOOK_MICROBLOG::showuser($user, 0, 10);
    }

  }else{
    echo('user not found');

  }

}
?>
		</div>

	</div>
</div>