2010-12-07 20:19:27 +01:00
|
|
|
<?php
|
|
|
|
|
2013-10-24 23:44:53 +02:00
|
|
|
use Airtime\CcSubjs;
|
|
|
|
use Airtime\CcSubjsPeer;
|
|
|
|
use Airtime\CcSubjsQuery;
|
|
|
|
use Airtime\CcShowHostsQuery;
|
|
|
|
|
2012-07-16 03:17:13 +02:00
|
|
|
class Application_Model_User
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
private $_userInstance;
|
2010-12-10 23:59:57 +01:00
|
|
|
|
2011-05-06 05:41:48 +02:00
|
|
|
public function __construct($userId)
|
2010-12-10 23:59:57 +01:00
|
|
|
{
|
2012-07-11 00:51:32 +02:00
|
|
|
if (empty($userId)) {
|
2011-02-09 20:09:42 +01:00
|
|
|
$this->_userInstance = $this->createUser();
|
2012-07-11 00:51:32 +02:00
|
|
|
} else {
|
2011-02-09 20:09:42 +01:00
|
|
|
$this->_userInstance = CcSubjsQuery::create()->findPK($userId);
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
if (is_null($this->_userInstance)) {
|
2012-01-16 09:56:57 +01:00
|
|
|
throw new Exception();
|
|
|
|
}
|
|
|
|
}
|
2010-12-10 23:59:57 +01:00
|
|
|
}
|
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getId()
|
|
|
|
{
|
2011-02-09 19:03:46 +01:00
|
|
|
return $this->_userInstance->getDbId();
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2012-04-01 21:51:03 +02:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function isGuest()
|
2012-07-16 03:17:13 +02:00
|
|
|
{
|
|
|
|
return $this->getType() == UTYPE_GUEST;
|
2012-03-28 18:43:44 +02:00
|
|
|
}
|
2010-12-13 17:49:45 +01:00
|
|
|
|
2012-08-22 19:59:37 +02:00
|
|
|
public function isHostOfShow($showId)
|
|
|
|
{
|
|
|
|
$userId = $this->_userInstance->getDbId();
|
|
|
|
return CcShowHostsQuery::create()
|
|
|
|
->filterByDbShow($showId)
|
|
|
|
->filterByDbHost($userId)->count() > 0;
|
|
|
|
}
|
|
|
|
|
2012-08-28 18:30:33 +02:00
|
|
|
public function isHost()
|
2012-07-11 00:51:32 +02:00
|
|
|
{
|
2012-08-22 19:59:37 +02:00
|
|
|
return $this->isUserType(UTYPE_HOST);
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2012-04-01 21:51:03 +02:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function isPM()
|
|
|
|
{
|
2012-03-15 19:29:31 +01:00
|
|
|
return $this->isUserType(UTYPE_PROGRAM_MANAGER);
|
|
|
|
}
|
2010-12-13 17:49:45 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function isAdmin()
|
|
|
|
{
|
2011-06-07 20:31:39 +02:00
|
|
|
return $this->isUserType(UTYPE_ADMIN);
|
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function canSchedule($p_showId)
|
|
|
|
{
|
|
|
|
$type = $this->getType();
|
|
|
|
$result = false;
|
2012-01-31 18:59:27 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
if ($type === UTYPE_ADMIN ||
|
2012-01-31 18:59:27 +01:00
|
|
|
$type === UTYPE_PROGRAM_MANAGER ||
|
2012-09-17 21:41:27 +02:00
|
|
|
self::isHostOfShow($p_showId)) {
|
2012-07-11 00:51:32 +02:00
|
|
|
$result = true;
|
|
|
|
}
|
|
|
|
return $result;
|
|
|
|
}
|
|
|
|
|
2012-09-14 22:50:28 +02:00
|
|
|
// TODO : refactor code to only accept arrays for isUserType and
|
|
|
|
// simplify code even further
|
2012-08-22 19:59:37 +02:00
|
|
|
public function isUserType($type)
|
2012-07-11 00:51:32 +02:00
|
|
|
{
|
2012-09-14 22:47:55 +02:00
|
|
|
if (!is_array($type)) {
|
|
|
|
$type = array($type);
|
2012-07-11 00:51:32 +02:00
|
|
|
}
|
2012-09-14 22:47:55 +02:00
|
|
|
$real_type = $this->_userInstance->getDbType();
|
|
|
|
return in_array($real_type, $type);
|
2012-07-11 00:51:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function setLogin($login)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbLogin($login);
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setPassword($password)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbPass(md5($password));
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setFirstName($firstName)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbFirstName($firstName);
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setLastName($lastName)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbLastName($lastName);
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setType($type)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbType($type);
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2011-02-12 00:13:26 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setEmail($email)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-06-15 21:03:48 +02:00
|
|
|
$user->setDbEmail(strtolower($email));
|
2011-02-12 00:13:26 +01:00
|
|
|
}
|
2012-07-11 00:51:32 +02:00
|
|
|
|
|
|
|
public function setCellPhone($cellPhone)
|
|
|
|
{
|
2012-06-13 19:39:54 +02:00
|
|
|
$user = $this->_userInstance;
|
|
|
|
$user->setDbCellPhone($cellPhone);
|
|
|
|
}
|
2011-02-12 00:13:26 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setSkype($skype)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbSkypeContact($skype);
|
2011-02-12 00:13:26 +01:00
|
|
|
}
|
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function setJabber($jabber)
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-01-16 09:56:57 +01:00
|
|
|
$user->setDbJabberContact($jabber);
|
2011-02-12 00:13:26 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getLogin()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbLogin();
|
|
|
|
}
|
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getPassword()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbPass();
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getFirstName()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbFirstName();
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getLastName()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbLastName();
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getType()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbType();
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2011-02-12 00:13:26 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getEmail()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbEmail();
|
2011-02-12 00:13:26 +01:00
|
|
|
}
|
2012-07-11 00:51:32 +02:00
|
|
|
|
|
|
|
public function getCellPhone()
|
|
|
|
{
|
2012-06-13 19:39:54 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-06-13 19:39:54 +02:00
|
|
|
return $user->getDbCellPhone();
|
|
|
|
}
|
2011-02-12 00:13:26 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getSkype()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbSkypeContact();
|
2011-02-12 00:13:26 +01:00
|
|
|
}
|
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function getJabber()
|
|
|
|
{
|
2011-05-06 05:41:48 +02:00
|
|
|
$user = $this->_userInstance;
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-01-16 09:56:57 +01:00
|
|
|
return $user->getDbJabberContact();
|
|
|
|
|
2011-02-12 00:13:26 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function save()
|
|
|
|
{
|
2011-02-09 20:09:42 +01:00
|
|
|
$this->_userInstance->save();
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public function delete()
|
|
|
|
{
|
|
|
|
if (!$this->_userInstance->isDeleted()) {
|
2011-02-09 20:09:42 +01:00
|
|
|
$this->_userInstance->delete();
|
2012-07-11 00:51:32 +02:00
|
|
|
}
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-09-17 21:41:27 +02:00
|
|
|
public function getOwnedFiles()
|
2012-08-28 22:22:35 +02:00
|
|
|
{
|
|
|
|
$user = $this->_userInstance;
|
2012-08-28 23:24:55 +02:00
|
|
|
// do we need a find call at the end here?
|
2012-08-28 22:22:35 +02:00
|
|
|
return $user->getCcFilessRelatedByDbOwnerId();
|
|
|
|
}
|
|
|
|
|
2012-09-18 21:26:43 +02:00
|
|
|
public function donateFilesTo($user) // $user is object not user id
|
2012-08-28 22:22:35 +02:00
|
|
|
{
|
|
|
|
$my_files = $this->getOwnedFiles();
|
|
|
|
foreach ($my_files as $file) {
|
|
|
|
$file->reassignTo($user);
|
|
|
|
}
|
|
|
|
}
|
2010-12-13 17:49:45 +01:00
|
|
|
|
2012-08-28 23:24:55 +02:00
|
|
|
public function deleteAllFiles()
|
|
|
|
{
|
|
|
|
$my_files = $this->getOwnedFiles();
|
2013-05-28 23:30:48 +02:00
|
|
|
foreach ($my_files as $file) {
|
2012-08-30 21:23:12 +02:00
|
|
|
$file->delete();
|
|
|
|
}
|
2012-08-28 23:24:55 +02:00
|
|
|
}
|
2010-12-13 17:49:45 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
private function createUser()
|
|
|
|
{
|
2012-01-16 09:56:57 +01:00
|
|
|
$user = new CcSubjs();
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2011-02-09 19:03:46 +01:00
|
|
|
return $user;
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
|
|
|
|
2012-08-29 16:58:03 +02:00
|
|
|
public static function getUsersOfType($type)
|
|
|
|
{
|
2012-08-24 18:36:20 +02:00
|
|
|
return CcSubjsQuery::create()->filterByDbType($type)->find();
|
|
|
|
}
|
2012-09-18 21:26:43 +02:00
|
|
|
|
|
|
|
public static function getFirstAdmin() {
|
2012-08-27 23:58:09 +02:00
|
|
|
$admins = Application_Model_User::getUsersOfType('A');
|
|
|
|
if (count($admins) > 0) { // found admin => pick first one
|
2012-09-18 21:26:43 +02:00
|
|
|
return $admins[0];
|
2012-08-27 23:58:09 +02:00
|
|
|
} else {
|
|
|
|
Logging::warn("Warning. no admins found in database");
|
2012-09-18 21:26:43 +02:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
2012-08-29 16:58:03 +02:00
|
|
|
|
2012-09-18 21:26:43 +02:00
|
|
|
public static function getFirstAdminId()
|
|
|
|
{
|
|
|
|
$admin = self::getFirstAdmin();
|
|
|
|
if ($admin) {
|
|
|
|
return $admin->getDbId();
|
|
|
|
} else {
|
2012-08-27 23:58:09 +02:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
2012-09-18 21:26:43 +02:00
|
|
|
|
2012-08-23 20:41:54 +02:00
|
|
|
public static function getUsers(array $type, $search=null)
|
2012-04-01 21:51:03 +02:00
|
|
|
{
|
2012-08-23 20:44:14 +02:00
|
|
|
$con = Propel::getConnection();
|
2011-05-06 05:41:48 +02:00
|
|
|
|
2011-11-17 00:14:10 +01:00
|
|
|
$sql_gen = "SELECT login AS value, login AS label, id as index FROM cc_subjs ";
|
2012-08-23 20:44:14 +02:00
|
|
|
$sql = $sql_gen;
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-09-05 23:43:45 +02:00
|
|
|
$types = array();
|
|
|
|
$params = array();
|
|
|
|
for ($i=0; $i<count($type); $i++) {
|
|
|
|
$p = ":type{$i}";
|
|
|
|
$types[] = "type = $p";
|
|
|
|
$params[$p] = $type[$i];
|
|
|
|
}
|
2012-08-23 20:44:14 +02:00
|
|
|
|
2012-09-05 23:43:45 +02:00
|
|
|
$sql_type = join(" OR ", $types);
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-08-23 20:44:14 +02:00
|
|
|
$sql = $sql_gen ." WHERE (". $sql_type.") ";
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-04-01 21:51:03 +02:00
|
|
|
if (!is_null($search)) {
|
2012-09-05 23:43:45 +02:00
|
|
|
//need to use addslashes for 'LIKE' values
|
|
|
|
$search = addslashes($search);
|
2011-05-06 05:41:48 +02:00
|
|
|
$like = "login ILIKE '%{$search}%'";
|
|
|
|
|
2012-08-23 20:44:14 +02:00
|
|
|
$sql = $sql . " AND ".$like;
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2011-02-13 05:07:28 +01:00
|
|
|
|
|
|
|
$sql = $sql ." ORDER BY login";
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-09-05 23:43:45 +02:00
|
|
|
return Application_Common_Database::prepareAndExecute($sql, $params, "all");
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-09-06 18:23:53 +02:00
|
|
|
public static function getUserCount()
|
2012-07-11 00:51:32 +02:00
|
|
|
{
|
2012-09-05 23:43:45 +02:00
|
|
|
$sql_gen = "SELECT count(*) AS cnt FROM cc_subjs";
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2013-05-09 21:53:12 +02:00
|
|
|
$query = Application_Common_Database::prepareAndExecute($sql_gen, array(),
|
|
|
|
Application_Common_Database::COLUMN);
|
2012-07-16 03:17:13 +02:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
return ($query !== false) ? $query : null;
|
2011-06-15 18:06:50 +02:00
|
|
|
}
|
2010-12-07 20:19:27 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public static function getHosts($search=null)
|
|
|
|
{
|
2011-09-23 23:00:55 +02:00
|
|
|
return Application_Model_User::getUsers(array('H'), $search);
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public static function getUsersDataTablesInfo($datatables)
|
|
|
|
{
|
2012-04-01 21:51:03 +02:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
$con = Propel::getConnection(CcSubjsPeer::DATABASE_NAME);
|
2011-02-08 01:03:14 +01:00
|
|
|
|
2012-02-22 18:38:33 +01:00
|
|
|
$displayColumns = array("id", "login", "first_name", "last_name", "type");
|
2011-05-06 05:41:48 +02:00
|
|
|
$fromTable = "cc_subjs";
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2011-05-06 05:41:48 +02:00
|
|
|
// get current user
|
|
|
|
$username = "";
|
2011-05-06 00:38:33 +02:00
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
|
|
|
|
if ($auth->hasIdentity()) {
|
|
|
|
$username = $auth->getIdentity()->login;
|
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-03-12 15:32:24 +01:00
|
|
|
$res = Application_Model_Datatables::findEntries($con, $displayColumns, $fromTable, $datatables);
|
2012-04-01 21:51:03 +02:00
|
|
|
|
2011-05-06 05:41:48 +02:00
|
|
|
// mark record which is for the current user
|
2012-07-11 00:51:32 +02:00
|
|
|
foreach ($res['aaData'] as &$record) {
|
|
|
|
if ($record['login'] == $username) {
|
2012-01-13 20:17:39 +01:00
|
|
|
$record['delete'] = "self";
|
|
|
|
} else {
|
|
|
|
$record['delete'] = "";
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2013-01-29 21:17:29 +01:00
|
|
|
|
|
|
|
$record = array_map('htmlspecialchars', $record);
|
2011-05-06 05:41:48 +02:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2011-05-06 05:41:48 +02:00
|
|
|
return $res;
|
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public static function getUserData($id)
|
|
|
|
{
|
2012-09-14 23:09:05 +02:00
|
|
|
$sql = <<<SQL
|
|
|
|
SELECT login, first_name, last_name, type, id, email, cell_phone, skype_contact,
|
|
|
|
jabber_contact
|
|
|
|
FROM cc_subjs
|
|
|
|
WHERE id = :id
|
|
|
|
SQL;
|
|
|
|
return Application_Common_Database::prepareAndExecute($sql, array(
|
|
|
|
":id" => $id), 'single');
|
2011-02-09 19:03:46 +01:00
|
|
|
}
|
2012-01-16 09:56:57 +01:00
|
|
|
|
2012-07-11 00:51:32 +02:00
|
|
|
public static function getCurrentUser()
|
|
|
|
{
|
2012-01-31 18:59:27 +01:00
|
|
|
$userinfo = Zend_Auth::getInstance()->getStorage()->read();
|
2012-07-11 00:51:32 +02:00
|
|
|
if (is_null($userinfo)) {
|
2012-04-20 17:31:24 +02:00
|
|
|
return null;
|
2012-08-23 20:41:54 +02:00
|
|
|
}
|
|
|
|
try {
|
|
|
|
return new self($userinfo->id);
|
|
|
|
} catch (Exception $e) {
|
|
|
|
//we get here if $userinfo->id is defined, but doesn't exist
|
|
|
|
//in the database anymore.
|
|
|
|
Zend_Auth::getInstance()->clearIdentity();
|
2012-08-29 16:58:03 +02:00
|
|
|
|
2012-08-23 20:41:54 +02:00
|
|
|
return null;
|
2012-04-20 17:31:24 +02:00
|
|
|
}
|
2012-01-31 18:59:27 +01:00
|
|
|
}
|
2010-12-07 20:19:27 +01:00
|
|
|
}
|