2008-12-10 05:42:49 +01:00
|
|
|
/*
|
2010-02-28 01:08:10 +01:00
|
|
|
* This file is a part of Winix
|
2008-12-10 05:42:49 +01:00
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
2010-02-28 22:33:06 +01:00
|
|
|
* Copyright (c) 2008-2010, Tomasz Sowa
|
2008-12-10 05:42:49 +01:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2009-11-21 00:09:52 +01:00
|
|
|
#include <sys/stat.h>
|
2008-12-10 05:42:49 +01:00
|
|
|
#include "sessionmanager.h"
|
2009-04-21 22:50:55 +02:00
|
|
|
#include "request.h"
|
|
|
|
#include "log.h"
|
|
|
|
#include "session.h"
|
2009-11-21 00:09:52 +01:00
|
|
|
#include "sessionparser.h"
|
2010-05-04 23:58:22 +02:00
|
|
|
#include "plugin.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-04-21 22:50:55 +02:00
|
|
|
|
2008-12-10 05:42:49 +01:00
|
|
|
|
2009-11-21 00:09:52 +01:00
|
|
|
SessionManager::SessionManager()
|
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
temporary_session.id = 0;
|
|
|
|
session = &temporary_session;
|
|
|
|
session_tab.SetTmpSession(&temporary_session);
|
|
|
|
|
|
|
|
// thread work mode
|
|
|
|
work_mode = 1;
|
2009-11-21 00:09:52 +01:00
|
|
|
}
|
|
|
|
|
2008-12-10 05:42:49 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
void SessionManager::SetCur(Cur * pcur)
|
2010-08-10 18:12:50 +02:00
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
cur = pcur;
|
|
|
|
session_tab.SetCur(pcur);
|
2010-08-10 18:12:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void SessionManager::SetConfig(Config * pconfig)
|
|
|
|
{
|
|
|
|
config = pconfig;
|
2010-12-07 13:52:52 +01:00
|
|
|
session_tab.SetConfig(pconfig);
|
2010-08-10 18:12:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void SessionManager::SetSystem(System * psystem)
|
|
|
|
{
|
|
|
|
system = psystem;
|
|
|
|
}
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
|
2010-08-10 18:12:50 +02:00
|
|
|
void SessionManager::SetLastContainer(LastContainer * plast_container)
|
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
last_container = plast_container;
|
2010-08-10 18:12:50 +02:00
|
|
|
}
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
2010-12-07 13:52:52 +01:00
|
|
|
|
added: uptime winix function prints how many sessions there are
changed: functions for text/numbers conversions
int Toi(const std::string & str, int base = 10);
int Toi(const std::wstring & str, int base = 10);
int Toi(const char * str, int base = 10);
int Toi(const wchar_t * str, int base = 10);
long Tol(const std::string & str, int base = 10);
long Tol(const std::wstring & str, int base = 10);
long Tol(const char * str, int base = 10);
long Tol(const wchar_t * str, int base = 10);
template<class CharType>
bool Toa(unsigned long value, CharType * buffer, size_t buf_len, int base = 10);
template<class CharType>
bool Toa(long value, CharType * buffer, size_t buf_len, int base = 10);
template<class CharType>
bool Toa(unsigned int value, CharType * buffer, size_t buf_len, int base = 10);
template<class CharType>
bool Toa(int value, CharType * buffer, size_t buf_len, int base = 10);
const wchar_t * Toa(unsigned int value, int base = 10);
const wchar_t * Toa(unsigned long value, int base = 10);
const wchar_t * Toa(int value, int base = 10);
const wchar_t * Toa(long value, int base = 10);
void Toa(int value, std::string & res, int base = 10, bool clear = true);
void Toa(long value, std::string & res, int base = 10, bool clear = true);
void Toa(int value, std::wstring & res, int base = 10, bool clear = true);
void Toa(long value, std::wstring & res, int base = 10, bool clear = true);
added: HtmlTextStream class (files htmltextstream.cpp htmltextstream.h in templates)
this is a special stream for automatically escaping html tags
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@682 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-11-25 02:34:46 +01:00
|
|
|
size_t SessionManager::Size()
|
|
|
|
{
|
|
|
|
return session_tab.Size();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-01-31 07:53:36 +01:00
|
|
|
bool SessionManager::IsSession(long id)
|
2008-12-10 05:42:49 +01:00
|
|
|
{
|
2010-08-10 22:43:38 +02:00
|
|
|
if( session_tab.FindById(id) == session_tab.End() )
|
2008-12-10 05:42:49 +01:00
|
|
|
return false;
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
2008-12-10 05:42:49 +01:00
|
|
|
long SessionManager::CreateSessionId()
|
|
|
|
{
|
|
|
|
long id;
|
|
|
|
|
|
|
|
// make sure to call std::srand() somewhere at the beginning
|
|
|
|
// id must be != 0 (0 is reserved)
|
|
|
|
do
|
|
|
|
{
|
|
|
|
if( sizeof(long) == 8 )
|
|
|
|
{
|
|
|
|
id = ((unsigned long)std::rand()) << 32 + std::rand();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
id = std::rand();
|
|
|
|
}
|
|
|
|
|
|
|
|
id += std::time(0);
|
|
|
|
|
|
|
|
if( id < 0 )
|
|
|
|
id = -id;
|
|
|
|
|
|
|
|
}
|
|
|
|
while( id == 0 ); // 0 reserved for a temporary session
|
|
|
|
|
|
|
|
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
|
|
|
|
2008-12-10 05:42:49 +01:00
|
|
|
void SessionManager::CreateSession()
|
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
int attempts = 100;
|
|
|
|
bool added = false;
|
2008-12-10 05:42:49 +01:00
|
|
|
|
2011-02-18 10:33:15 +01:00
|
|
|
new_session.SetTimeToNow();
|
2011-01-23 15:15:30 +01:00
|
|
|
new_session.Clear();
|
|
|
|
|
|
|
|
if( config->session_max == 0 || session_tab.Size() < config->session_max )
|
2008-12-10 05:42:49 +01:00
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
for( ; !added && attempts > 0 ; --attempts )
|
2008-12-10 05:42:49 +01:00
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
new_session.id = CreateSessionId();
|
|
|
|
added = session_tab.PushBack(new_session);
|
2008-12-10 05:42:49 +01:00
|
|
|
}
|
|
|
|
}
|
2010-12-07 18:41:28 +01:00
|
|
|
else
|
|
|
|
{
|
|
|
|
log << log2 << "SM: sessions limit exceeded (" << config->session_max << ")" << logend;
|
|
|
|
}
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
if( added )
|
|
|
|
{
|
|
|
|
session = &session_tab.Back();
|
|
|
|
session->new_session = true;
|
|
|
|
log << log2 << "SM: created a new session: " << session->id << logend;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// there is a problem with generating a new session id
|
|
|
|
// we do not set a session cookie
|
|
|
|
session = &temporary_session;
|
2011-02-18 10:33:15 +01:00
|
|
|
session->SetTimeToNow();
|
|
|
|
session->Clear(); // !! uwaga ten Clear wyczysci plugins data
|
2011-01-23 15:15:30 +01:00
|
|
|
session->new_session = false; // temporary session was initialized at the beginning
|
|
|
|
log << log1 << "SM: cannot create a session id (temporary used: with id 0)" << logend;
|
|
|
|
}
|
2008-12-10 05:42:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-09 01:42:40 +01:00
|
|
|
|
|
|
|
bool SessionManager::SetSessionFromCookie(const std::string & cookie)
|
|
|
|
{
|
added: uptime winix function prints how many sessions there are
changed: functions for text/numbers conversions
int Toi(const std::string & str, int base = 10);
int Toi(const std::wstring & str, int base = 10);
int Toi(const char * str, int base = 10);
int Toi(const wchar_t * str, int base = 10);
long Tol(const std::string & str, int base = 10);
long Tol(const std::wstring & str, int base = 10);
long Tol(const char * str, int base = 10);
long Tol(const wchar_t * str, int base = 10);
template<class CharType>
bool Toa(unsigned long value, CharType * buffer, size_t buf_len, int base = 10);
template<class CharType>
bool Toa(long value, CharType * buffer, size_t buf_len, int base = 10);
template<class CharType>
bool Toa(unsigned int value, CharType * buffer, size_t buf_len, int base = 10);
template<class CharType>
bool Toa(int value, CharType * buffer, size_t buf_len, int base = 10);
const wchar_t * Toa(unsigned int value, int base = 10);
const wchar_t * Toa(unsigned long value, int base = 10);
const wchar_t * Toa(int value, int base = 10);
const wchar_t * Toa(long value, int base = 10);
void Toa(int value, std::string & res, int base = 10, bool clear = true);
void Toa(long value, std::string & res, int base = 10, bool clear = true);
void Toa(int value, std::wstring & res, int base = 10, bool clear = true);
void Toa(long value, std::wstring & res, int base = 10, bool clear = true);
added: HtmlTextStream class (files htmltextstream.cpp htmltextstream.h in templates)
this is a special stream for automatically escaping html tags
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@682 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-11-25 02:34:46 +01:00
|
|
|
long id = Tol(cookie.c_str());
|
2010-08-10 22:43:38 +02:00
|
|
|
SessionContainer::Iterator s = session_tab.FindById(id);
|
2009-12-09 01:42:40 +01:00
|
|
|
|
2010-08-10 22:43:38 +02:00
|
|
|
if( s == session_tab.End() )
|
2009-12-09 01:42:40 +01:00
|
|
|
return false;
|
|
|
|
|
|
|
|
// that session is in the table
|
2011-01-23 15:15:30 +01:00
|
|
|
session = &(*s);
|
|
|
|
session->new_session = false;
|
|
|
|
session->last_time = std::time(0);
|
|
|
|
session->tm_last_time = Time(session->last_time);
|
2009-12-09 01:42:40 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
if( cur->request->method == Request::get )
|
|
|
|
session->last_time_get = session->last_time;
|
2009-12-09 01:42:40 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
log << log2 << "SM: session: " << session->id;
|
2009-12-09 01:42:40 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
if( session->puser )
|
|
|
|
log << log2 << ", user: " << session->puser->name << ", id: " << session->puser->id;
|
2009-12-09 01:42:40 +01:00
|
|
|
|
|
|
|
log << log2 << logend;
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
2008-12-10 05:42:49 +01:00
|
|
|
void SessionManager::SetSession()
|
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
CookieTab::iterator i = cur->request->cookie_tab.find(config->http_session_id_name);
|
2009-11-16 00:55:11 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
if( i == cur->request->cookie_tab.end() )
|
2008-12-10 05:42:49 +01:00
|
|
|
{
|
|
|
|
CreateSession();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2009-12-09 01:42:40 +01:00
|
|
|
if( !SetSessionFromCookie(i->second) )
|
2008-12-10 05:42:49 +01:00
|
|
|
{
|
|
|
|
// there is no such a session
|
|
|
|
// deleting the old cookie
|
2011-01-23 15:15:30 +01:00
|
|
|
cur->request->cookie_tab.erase(i);
|
2008-12-10 05:42:49 +01:00
|
|
|
|
|
|
|
// and creating a new one
|
|
|
|
CreateSession();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-31 07:53:36 +01:00
|
|
|
SessionContainer::Iterator SessionManager::SessionBegin()
|
|
|
|
{
|
2010-08-10 22:43:38 +02:00
|
|
|
return session_tab.Begin();
|
2009-01-31 07:53:36 +01:00
|
|
|
}
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
|
|
|
|
2009-01-31 07:53:36 +01:00
|
|
|
SessionContainer::Iterator SessionManager::SessionEnd()
|
|
|
|
{
|
2010-08-10 22:43:38 +02:00
|
|
|
return session_tab.End();
|
2009-01-31 07:53:36 +01:00
|
|
|
}
|
2008-12-10 05:42:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
2010-11-23 22:52:25 +01:00
|
|
|
void SessionManager::DeleteSessions()
|
2010-05-04 23:58:22 +02:00
|
|
|
{
|
2010-11-23 22:52:25 +01:00
|
|
|
session_tab.Clear();
|
2010-05-04 23:58:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
void SessionManager::InitTmpSession()
|
|
|
|
{
|
|
|
|
Session * old_session = cur->session;
|
|
|
|
|
|
|
|
log << log4 << "SM: initializing temporary session" << logend;
|
|
|
|
cur->session = &temporary_session;
|
|
|
|
plugin.Call(WINIX_SESSION_CREATED);
|
|
|
|
|
|
|
|
cur->session = old_session;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SessionManager::UninitTmpSession()
|
|
|
|
{
|
|
|
|
Session * old_session = cur->session;
|
|
|
|
|
|
|
|
log << log4 << "SM: uninitializing temporary session" << logend;
|
|
|
|
cur->session = &temporary_session;
|
|
|
|
cur->session->plugin_data.DeleteAll(); // this will call plugin.Call(WINIX_SESSION_REMOVE);
|
|
|
|
cur->session->plugin_data.Resize(0);
|
|
|
|
|
|
|
|
cur->session = old_session;
|
|
|
|
}
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
|
|
|
|
2009-11-21 00:09:52 +01:00
|
|
|
void SessionManager::LoadSessions()
|
|
|
|
{
|
|
|
|
SessionParser sp;
|
2010-05-04 23:58:22 +02:00
|
|
|
SessionContainer::Iterator i;
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
// sessions will be overwritten (pointers are invalidated)
|
|
|
|
cur->session = &temporary_session;
|
2009-11-21 00:09:52 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
sp.SetUsers(&system->users);
|
2010-08-10 22:43:38 +02:00
|
|
|
sp.Parse(config->session_file, session_tab);
|
2010-05-04 23:58:22 +02:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
for(i=session_tab.Begin() ; i != session_tab.End() ; ++i)
|
2010-05-04 23:58:22 +02:00
|
|
|
{
|
|
|
|
i->plugin_data.Resize(plugin.Size());
|
2011-01-23 15:15:30 +01:00
|
|
|
cur->session = &(*i);
|
2010-05-04 23:58:22 +02:00
|
|
|
plugin.Call(WINIX_SESSION_CREATED);
|
|
|
|
}
|
2009-11-21 00:09:52 +01:00
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
cur->session = &temporary_session;
|
2009-11-21 00:09:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-21 00:09:52 +01:00
|
|
|
void SessionManager::SaveSessions()
|
|
|
|
{
|
2010-08-10 18:12:50 +02:00
|
|
|
if( config->session_file.empty() )
|
2009-11-21 00:09:52 +01:00
|
|
|
return;
|
2008-12-10 05:42:49 +01:00
|
|
|
|
2010-08-10 18:12:50 +02:00
|
|
|
std::ofstream file(config->session_file.c_str());
|
2009-11-21 00:09:52 +01:00
|
|
|
|
|
|
|
if( !file )
|
|
|
|
{
|
|
|
|
log << log1 << "SM: cannot open the session file for writing - sessions lost" << logend;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
log << log2 << "SM: saving sessions" << logend;
|
|
|
|
long len = 0;
|
|
|
|
|
2010-08-10 22:43:38 +02:00
|
|
|
SessionContainer::Iterator i = session_tab.Begin();
|
2009-11-21 00:09:52 +01:00
|
|
|
|
2010-08-10 22:43:38 +02:00
|
|
|
for( ; i!=session_tab.End() ; ++i )
|
2009-11-21 00:09:52 +01:00
|
|
|
{
|
|
|
|
if( i->id != 0 && i->puser )
|
|
|
|
{
|
|
|
|
file << i->id << ' ' << i->puser->id << ' ' << i->remember_me << ' ';
|
|
|
|
file << (long)i->time << ' ' << (long)i->last_time << std::endl;
|
|
|
|
|
|
|
|
++len;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
file.close();
|
2010-08-10 18:12:50 +02:00
|
|
|
chmod(config->session_file.c_str(), 0600);
|
2009-11-21 00:09:52 +01:00
|
|
|
|
|
|
|
log << log2 << "SM: saved " << len << " session(s)" << logend;
|
|
|
|
}
|
2008-12-10 05:42:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
|
|
|
|
Session * SessionManager::GetTmpSession()
|
|
|
|
{
|
|
|
|
return &temporary_session;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Session * SessionManager::GetCurSession()
|
|
|
|
{
|
|
|
|
return session;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* sessions gc (second thread)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void SessionManager::Work()
|
2010-12-07 13:52:52 +01:00
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
bool exit = false;
|
|
|
|
SessionContainer::IndexId::iterator i;
|
|
|
|
|
|
|
|
deleted = 0;
|
|
|
|
|
|
|
|
Lock();
|
|
|
|
i = session_tab.IdBegin();
|
|
|
|
Unlock();
|
|
|
|
|
|
|
|
while( !exit )
|
|
|
|
{
|
|
|
|
Lock();
|
|
|
|
|
|
|
|
CheckSession(i);
|
|
|
|
exit = synchro->was_stop_signal;
|
|
|
|
|
|
|
|
Unlock();
|
|
|
|
}
|
2010-12-07 13:52:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
// it's called from the other thread (with Lock and Unlock)
|
|
|
|
void SessionManager::CheckSession(SessionContainer::IndexId::iterator & i)
|
2010-12-07 13:52:52 +01:00
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
const int deleted_max_at_once = 10;
|
|
|
|
|
|
|
|
if( i == session_tab.IdEnd() )
|
|
|
|
{
|
|
|
|
if( deleted > 0 )
|
|
|
|
{
|
|
|
|
deleted = 0;
|
|
|
|
log << logsave;
|
|
|
|
}
|
|
|
|
|
|
|
|
i = session_tab.IdBegin();
|
|
|
|
WaitForSignalSleep(10);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if( IsSessionOutdated(*i->second) )
|
|
|
|
{
|
|
|
|
DeleteSession(i++);
|
|
|
|
++deleted;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
++i;
|
|
|
|
}
|
|
|
|
|
|
|
|
if( deleted >= deleted_max_at_once )
|
|
|
|
{
|
|
|
|
log << logsave;
|
|
|
|
WaitForSignalSleep(1);
|
|
|
|
deleted = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// it's called from the other thread (with Lock and Unlock)
|
|
|
|
bool SessionManager::IsSessionOutdated(const Session & s) const
|
|
|
|
{
|
|
|
|
bool outdated;
|
|
|
|
|
|
|
|
if( s.remember_me )
|
|
|
|
outdated = s.last_time < std::time(0) - config->session_remember_max_idle;
|
|
|
|
else
|
|
|
|
outdated = s.last_time < std::time(0) - config->session_max_idle;
|
|
|
|
|
|
|
|
return outdated;
|
2010-12-07 13:52:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
|
|
|
|
// it's called from the other thread (with Lock and Unlock)
|
|
|
|
void SessionManager::DeleteSession(SessionContainer::IdIterator i)
|
2010-12-07 13:52:52 +01:00
|
|
|
{
|
2011-01-23 15:15:30 +01:00
|
|
|
Session * del_session = &(*i->second);
|
|
|
|
|
|
|
|
if( del_session->puser )
|
|
|
|
last_container->UserLogout(del_session->puser->id, del_session->id);
|
|
|
|
|
|
|
|
session_tab.EraseById(i);
|
2010-12-07 13:52:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* end of sessions gc
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2008-12-10 05:42:49 +01:00
|
|
|
|
|
|
|
|