static function banUserForm($option, $uid, $act, $orgbannedreason)
    {
        global $_CB_framework, $ueConfig;
        if ($ueConfig['allowUserBanning'] == 0) {
            echo _UE_FUNCTIONALITY_DISABLED;
            return;
        }
        $Itemid = $_CB_framework->itemid();
        HTML_comprofiler::outputMosFormVal('#adminForm');
        ?>
<!-- TAB -->
<div class="componentheading"><?php 
        if ($_CB_framework->myId() != $uid) {
            echo _UE_REPORTBAN_TITLE;
        } else {
            echo _UE_REPORTUNBAN_TITLE;
        }
        ?>
</div>
<form action='<?php 
        echo cbSef('index.php?option=com_comprofiler&amp;task=banProfile&amp;act=' . ($_CB_framework->myId() != $uid ? '1' : '2') . '&amp;user='******' method="post" id="adminForm" name="adminForm">
<table width='100%' border='0' cellpadding='4' cellspacing='2'>
<tr align='left' valign='middle'>
	<td colspan="4" class="titleCell">
<?php 
        if ($_CB_framework->myId() != $uid) {
            echo _UE_BANREASON;
        } else {
            echo _UE_UNBANREQUEST;
        }
        ?>
</td></tr>
<tr><td colspan="4" align="center" class="fieldCell">
<textarea mosReq="1" mosLabel='<?php 
        if ($_CB_framework->myId() != $uid) {
            echo htmlspecialchars(_UE_BANREASON);
        } else {
            echo htmlspecialchars(_UE_UNBANREQUEST);
        }
        ?>
' mosLength="4000" cols="60" rows="5" name="bannedreason"></textarea>
</td></tr>
<tr><td colspan="4" align="center">
<input class="button" type="submit" value="<?php 
        echo _UE_SUBMITFORM;
        ?>
" />
</td></tr>
</table>
<input type="hidden" name="bannedby" value="<?php 
        echo $_CB_framework->myId();
        ?>
" />
<input type="hidden" name="uid" value="<?php 
        echo $uid;
        ?>
" />
<input type="hidden" name="orgbannedreason" value="<?php 
        echo $orgbannedreason;
        ?>
" />
<input type="hidden" name="reportform" value="0" />
<?php 
        echo cbGetSpoofInputTag('banUserForm');
        ?>
</form>
<?php 
    }