Subversion Repositories Applications.projet

Rev

Rev 147 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 ddelon 1
<?php
2
if ($last = $this->GetParameter("last"))
3
{
4
	if ($last=="last") $last=150; else $last= (int) $last;
5
	if ($last)
6
	{
7
        	$last_users = $this->LoadAll("select name, signuptime from ".$this->config["common_table_prefix"]."users order by signuptime desc limit $last");
8
		foreach($last_users as $user) { print($this->Format($user["name"])." . . . ".$user["signuptime"]."<br />\n"); }
9
	}
10
}
11
 
12
else
13
{
14
	if ($last_users = $this->LoadAll("select name, signuptime from ".$this->config["common_table_prefix"]."users order by name asc")
15
)
16
	{
17
		foreach($last_users as $user)
18
		{
19
			print($this->Format($user["name"])." . . . ".$user["signuptime"]."<br />\n");
20
		}
21
	}
22
}
23
 
24
?>