Hierarchy fixup
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_user_email_icq_www.php
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
new file mode 100644 (file)
index 0000000..886626d
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+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";
+    $set=$db->query($q);
+    $set->next();
+    $email=$set->getString('email');
+    $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);
+}
+?>
\ No newline at end of file
This page took 0.096705 seconds and 4 git commands to generate.