From 0379600442741acb8550923673547c0689d265ce Mon Sep 17 00:00:00 2001 From: niekt0 Date: Wed, 3 Nov 2010 00:32:31 +0100 Subject: [PATCH] ICQ removed --- doc/TODO | 8 +++++--- wwwroot/inc/eventz/configure_icq.inc | 17 ----------------- .../function.get_user_email_icq_www.php | 14 ++++++++------ wwwroot/inc/ubik.inc | 4 ++-- 4 files changed, 15 insertions(+), 28 deletions(-) delete mode 100644 wwwroot/inc/eventz/configure_icq.inc diff --git a/doc/TODO b/doc/TODO index 580ed2d..b8a60eb 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,11 +1,13 @@ - User mail is not working +- Userinfo is not working + () + +- Uploading of datafiles is not working + - Registration process is not working (rewrite sending of reg. mails) -- Cron scripts are not executed (most of them should be OK now) - (no automatic logouts, no K generation, ...) - - fix ALL sql injections - remove absolute paths from all source files (!) (over 50) diff --git a/wwwroot/inc/eventz/configure_icq.inc b/wwwroot/inc/eventz/configure_icq.inc deleted file mode 100644 index a786541..0000000 --- a/wwwroot/inc/eventz/configure_icq.inc +++ /dev/null @@ -1,17 +0,0 @@ -query($q); - } - } - } -return true; -} -?> \ No newline at end of file diff --git a/wwwroot/inc/smarty/node_methodz/function.get_user_email_icq_www.php b/wwwroot/inc/smarty/node_methodz/function.get_user_email_icq_www.php index 886626d..dbaf04c 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_user_email_icq_www.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_user_email_icq_www.php @@ -2,14 +2,16 @@ function smarty_function_get_user_email_icq_www($params,&$smarty) { $user_id = $params['user_id']; global $db; - $q="select users.email,icq,www from users where users.user_id=$user_id"; +// $q="select users.email,icq,www from users where users.user_id=$user_id"; + $q="select email from users where user_id=$user_id"; + $set=$db->query($q); $set->next(); $email=$set->getString('email'); - $icq=$set->getString('icq'); - $www=$set->getString('www'); +// $icq=$set->getString('icq'); +// $www=$set->getString('www'); $smarty->assign('get_user_email',$email); - $smarty->assign('get_user_icq',$icq); - $smarty->assign('get_user_www',$www); +// $smarty->assign('get_user_icq',$icq); +// $smarty->assign('get_user_www',$www); } -?> \ No newline at end of file +?> diff --git a/wwwroot/inc/ubik.inc b/wwwroot/inc/ubik.inc index 0b896bb..15f4d9d 100644 --- a/wwwroot/inc/ubik.inc +++ b/wwwroot/inc/ubik.inc @@ -9,9 +9,9 @@ class ubik { global $db; $user_info=$_POST['user_info']; $login=$_POST['login']; - $user_www=$_POST['user_www']; +// $user_www=$_POST['user_www']; $email=$_POST['email']; - $icq=$_POST['user_icq']; +// $icq=$_POST['user_icq']; $text=nodes::processContent($user_info)."

"; $node_name="user $login registration"; -- 2.30.2