< e d i t   t e m p l a t e > 
 
 m e m b e r l i s t 
 
 < / e d i t   t e m p l a t e > 
 
 
 
 < s e a r c h   f o r > 
 
 	 < i f   c o n d i t i o n = " $ s h o w [ ' e m a i l c o l ' ] " > < t d   c l a s s = " t h e a d "   n o w r a p = " n o w r a p " > $ v b p h r a s e [ c o n t a c t ] < / t d > < / i f > 
 
 < / s e a r c h   f o r > 
 
 
 
 < a d d   b e f o r e > 
 
 	 < i f   c o n d i t i o n = " $ s h o w [ ' a w a r d s ' ] " > < t d   c l a s s = " t h e a d "   n o w r a p = " n o w r a p " > $ v b p h r a s e [ a w a r d s ] < / t d > < / i f > 
 
 < / a d d   b e f o r e > 
 
 
 
 < e d i t   t e m p l a t e > 
 
 m e m b e r l i s t _ r e s u l t s b i t 
 
 < / e d i t   t e m p l a t e > 
 
 
 
 < s e a r c h   f o r > 
 
 	 < i f   c o n d i t i o n = " $ s h o w [ ' e m a i l c o l ' ]   A N D   e x e c _ s w i t c h _ b g ( ) " > < t d   c l a s s = " $ b g c l a s s " > < i f   c o n d i t i o n = " $ s h o w [ ' e m a i l l i n k ' ] " > < a   h r e f = " s e n d m e s s a g e . p h p ? $ s e s s i o n [ s e s s i o n u r l ] d o = m a i l m e m b e r & a m p ; u = $ u s e r i n f o [ u s e r i d ] "   t a r g e t = " _ b l a n k " > < i m g   s r c = " $ s t y l e v a r [ i m g d i r _ b u t t o n ] / e m a i l . g i f "   a l t = " e m a i l . g i f "   t i t l e = " < p h r a s e   1 = " $ u s e r i n f o [ u s e r n a m e ] " > $ v b p h r a s e [ c l i c k _ h e r e _ t o _ e m a i l _ x ] < / p h r a s e > "   b o r d e r = " 0 "   / > < / a > < / i f > & n b s p ; < i f   c o n d i t i o n = " $ s h o w [ ' p m l i n k ' ] " > < a   h r e f = " p r i v a t e . p h p ? $ s e s s i o n [ s e s s i o n u r l ] d o = n e w p m & a m p ; u = $ u s e r i n f o [ u s e r i d ] "   t a r g e t = " _ b l a n k " > < i m g   s r c = " $ s t y l e v a r [ i m g d i r _ b u t t o n ] / s e n d p m . g i f "   a l t = " s e n d p m . g i f "   t i t l e = " < p h r a s e   1 = " $ u s e r i n f o [ u s e r n a m e ] " > $ v b p h r a s e [ s e n d _ p r i v a t e _ m e s s a g e _ t o _ x ] < / p h r a s e > "   b o r d e r = " 0 "   / > < / a > < / i f > < / t d > < / i f > 
 
 < / s e a r c h   f o r > 
 
 
 
 < / a d d   b e f o r e > 
 
 	 < i f   c o n d i t i o n = " $ s h o w [ a w a r d s ] " > < t d   c l a s s = " $ b g c l a s s " > $ u s e r i n f o [ u s e r a w a r d s ] < / t d > < / i f > 
 
 < / a d d   b e f o r e > 	 
 
 
 
 
 
 < e d i t   f i l e > 
 
 p r i v a t e . p h p 
 
 < / e d i t   f i l e > 
 
 
 
 < s e a r c h   f o r > 
 
 	 ' u s e r c p _ n a v _ f o l d e r b i t ' 
 
 < / s e a r c h   f o r > 
 
 
 
 < r e p l a c e > 
 
 	 ' u s e r c p _ n a v _ f o l d e r b i t ' , 
 
 	 ' a w a r d s _ b i t ' 
 
 < / r e p l a c e > 
 
 
 
 < s e a r c h   f o r > 
 
 	 $ p m   =   a r r a y _ m e r g e ( $ p m ,   $ f r o m u s e r i n f o ) ; 
 
 < / s e a r c h   f o r > 
 
 
 
 < a d d   a f t e r > 
 
 / /   [ S T A R T   H A C K = ' Y e t   A n o t h e r   A w a r d   S y s t e m '   A U T H O R = ' H a c N h o ' ] 
 
 	 	 / /   O b t a i n   l i s t   o f   a w a r d s   f o r   c u r r e n t   u s e r 
 
 	 	 i f   ( ! e m p t y ( $ p m [ ' f r o m u s e r i d ' ] ) ) 
 
 	 	 { 
 
 	 	 	 $ p o s t [ ' u s e r a w a r d s ' ]   =   ' ' ; 
 
 	 	 	 $ a l l u s e r a w a r d s   =     $ D B _ s i t e - > q u e r y ( " 
 
 	 	 	 	 S E L E C T   a . * ,   a u . * 
 
 	 	 	 	 F R O M   "   .   T A B L E _ P R E F I X   .   " a w a r d _ u s e r   A S   a u 
 
 	 	 	 	 L E F T   J O I N   "   .   T A B L E _ P R E F I X   .   " a w a r d   A S   a   O N   ( a . a w a r d _ i d = a u . a w a r d _ i d ) 
 
 	 	 	 	 W H E R E   ( a u . u s e r i d   =   $ p m [ f r o m u s e r i d ] ) 
 
 	 	 	 	 O R D E R   B Y   a u . i s s u e _ t i m e 
 
 	 	 	 " ) ; 
 
 	 	 	 $ p o s t [ ' s h o w u s e r a w a r d s ' ]   =   f a l s e ; 
 
 	 	 	 i f   ( $ D B _ s i t e - > n u m _ r o w s ( $ a l l u s e r a w a r d s ) ) 
 
 	 	 	 { 
 
 	 	 	 	 w h i l e   ( $ a w a r d   =   $ D B _ s i t e - > f e t c h _ a r r a y ( $ a l l u s e r a w a r d s ) ) 
 
 	 	 	 	 { 	 
 
 	 	 	 	 	 e v a l ( ' $ p o s t [ u s e r a w a r d s ]   . =   " '   .   f e t c h _ t e m p l a t e ( ' a w a r d s _ b i t ' )   .   ' " ; ' ) ; 
 
 	 	 	 	 } 
 
 	 	 	 	 $ p o s t [ ' s h o w u s e r a w a r d s ' ]   =   t r u e ; 
 
 	 	 	 	 $ D B _ s i t e - > f r e e _ r e s u l t ( $ a l l u s e r a w a r d s ) ; 
 
 	 	 	 } 
 
 	 	 } 
 
 	 	 $ a w a r d s _ a r r a y   =   a r r a y ( " s h o w u s e r a w a r d s "   = >   " $ p o s t [ s h o w u s e r a w a r d s ] " ,   " u s e r a w a r d s "   = > " $ p o s t [ u s e r a w a r d s ] " ) ; 
 
 	 	 $ p m   =   a r r a y _ m e r g e ( $ p m ,   $ a w a r d s _ a r r a y ) ; 
 
 / /   [ E N D   H A C K = ' Y e t   A n o t h e r   A w a r d   S y s t e m '   A U T H O R = ' H a c N h o ' ] 
 
 < / a d d   a f t e r > 