Migration to PDO database abstraction layer
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_user_email_icq_www.php
CommitLineData
51ff3226 1<?php
2function smarty_function_get_user_email_icq_www($params,&$smarty) {
3 $user_id = $params['user_id'];
4 global $db;
03796004 5// $q="select users.email,icq,www from users where users.user_id=$user_id";
6 $q="select email from users where user_id=$user_id";
7
51ff3226 8 $set=$db->query($q);
9 $set->next();
10 $email=$set->getString('email');
03796004 11// $icq=$set->getString('icq');
12// $www=$set->getString('www');
51ff3226 13 $smarty->assign('get_user_email',$email);
03796004 14// $smarty->assign('get_user_icq',$icq);
15// $smarty->assign('get_user_www',$www);
51ff3226 16}
03796004 17?>
This page took 0.209339 seconds and 4 git commands to generate.