2 function smarty_function_get_image_link($params,&$smarty) {
5 $img = SYSTEM_ROOT
."/images/nodes/".substr($id,0,1)."/".substr($id,1,1)."/$id.gif";
7 if (file_exists($img)) {
8 echo "/images/nodes/".substr($id,0,1)."/".substr($id,1,1)."/$id.gif";
11 $set = $db->query("select user_id from users where user_id = $id");
12 if ($set->getNumRows() > 0) $imglink = "/images/nodes///.gif";
13 else $imglink = "/images/nodes/1/0/101.gif";
This page took 0.376557 seconds and 5 git commands to generate.