- 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)
+++ /dev/null
-<?php
-function configure_icq() {
- global $db,$error,$node;
- $node_id=$node['node_id'];
- $user_id=$_SESSION['user_id'];
- if ($node['node_permission']=='owner') {
- if(!empty($node_id)) {
- if($node_id == $user_id) {
- $user_icq=addslashes($_POST['user_icq']);
- $q="update users set icq='$user_icq' where user_id='$node_id'";
- $db->query($q);
- }
- }
- }
-return true;
-}
-?>
\ No newline at end of file
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
+?>
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)."<br><br>";
$node_name="user $login registration";