All pastes #733036 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-11 14:05 UTC
rendered paste body
				if( request_var('pokerset', 0) == 1 )
                {				
					if( request_var('bettype', '') == 'null' || request_var('gmtype', '') == 'null'
|| request_var('hndtype', '') == 'null' )
                    {
						trigger_error('Please fill in all fields! <b>Click the back button in your
browser to return.</b>');
					}
				}
				
                if( !$submit && request_var('pokerset', 0) == 1 )
                {
                        $post_data['post_subject']                = '[' . request_var('bettype', '') . ' ' .
request_var('gmtype', '') . ' ' . request_var('hndtype', '') . '] '
.utf8_normalize_nfc(request_var('subject', '', true));
                        $add_to_start_of_post = '[' . request_var('bettype', '') . ' ' .
request_var('gmtype', '') . ' ' . request_var('hndtype', '') . ']
                        
                        ';
                        $message_parser->message                = $add_to_start_of_post .
utf8_normalize_nfc(request_var('message', '', true));
                }