{{if \IPS\Member::loggedIn()->member_id }}
{{$addWarningUrl = \IPS\Http\Url::internal( "app=core&module=system&controller=warnings&do=warn&id={$member->member_id}", 'front', 'warn_add', array( $member->members_seo_name ) );}}
{{$addWarningUrl = $addWarningUrl->setQueryString( 'ref', $warning_url );}}
{{$warning_url = base64_encode( json_encode( array( 'app' => 'forums', 'module' => 'forums-comment' , 'id_1' => $comment->topic_id, 'id_2' => $comment->pid ) ) );}}
{{endif}}