Location: PHPKode > projects > H-tracker > blocks/invite_block.php
<?
if ($site_config["INVITEONLY"] == true){
if ($CURUSER){
begin_block("" . INVITES . "");
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td align="center"><? print("" . YOUHAVE . "\n"); ?> <?=$CURUSER["invites"];?> <? print("" . INVITES . "\n"); ?><br></td></tr>
<?if ($CURUSER["invites"] > 0 ){?>
<tr><td align="center"><a href=invite.php><? print("" . SENDANINVITE . "\n"); ?></a><br></td></tr>
<?}?>
</table>
<?
end_block();
}
}
?>
Return current item: H-tracker