GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Smarty from DB support, but disabled by default...
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
node_methodz
/
function.get_image_link.php
diff --git
a/wwwroot/inc/smarty/node_methodz/function.get_image_link.php
b/wwwroot/inc/smarty/node_methodz/function.get_image_link.php
index 9470a2bfe8ea004827bd535568e39c1f26d40d6b..06194e1d44bd409205af2e78e1539632b42ad8e5 100644
(file)
--- a/
wwwroot/inc/smarty/node_methodz/function.get_image_link.php
+++ b/
wwwroot/inc/smarty/node_methodz/function.get_image_link.php
@@
-9,9
+9,13
@@
function smarty_function_get_image_link($params,&$smarty) {
}
else {
$set = $db->query("select user_id from users where user_id = $id");
}
else {
$set = $db->query("select user_id from users where user_id = $id");
- if ($set->getNumRows() > 0) $imglink = "/images/nodes///.gif";
- else $imglink = "/images/nodes/1/0/101.gif";
+ if ($set->getNumRows() > 0) {
+ $imglink = "/images/nodes///.gif";
+ } else {
+ $imglink = "/images/nodes/1/0/101.gif";
+ }
echo $imglink;
}
}
echo $imglink;
}
}
+
?>
?>
This page took
0.213654 seconds
and
4
git commands to generate.