sql
Date: 07/31/07
(Code WTF) Keywords: no keywords
if admin then
fillgrid('select avg(r_price) from t_rec where r_type = 1 and r_g_id = '#39'%s'#39,0,6)
else
fillgrid('select distinct 0 from t_rec',0,6);
Source: http://community.livejournal.com/code_wtf/96820.html