<!--{eval $query = $_SGLOBAL['db']->query('SELECT i.thumbpath FROM '.tname('attachments').' i WHERE i.aid=\''.$value[picid].'\''); $new_list_pic = $_SGLOBAL['db']->fetch_array($query); }-->
<!--{eval $query = $_SGLOBAL['db']->query('SELECT i.thumbpath FROM '.tname('attachments').' i WHERE i.aid=\''.$value[picid].'\''); $new_list_pic = $_SGLOBAL['db']->fetch_array($query); }-->