<p>Success is teamwork. You need a team for this journey. Share your Profile ID by entering your friends and family email address or/and phone and invite them to join your team to help you grow!</p>

<form class="registrationform" method="post" action="/?section=referralurl">
    <div class="control-group">
        <div class="control double">
            <p>My Membership Link</p><input type="text" name='sponsorurl' value="<?php echo 'Your Referral Link is https://wwww.mlmpro.com/register/?id=' . $profileid;?>" readonly>
        </div>   
        <input type="hidden" name="link" value="<?php echo 'https://wwww.mlmpro.com/register/?id=' . $profileid;?>">                 
    </div>
    <h1 class="sectionhead">Send Invitation</h1>
    
    <div class="control-group">
        <div class="control">
            <p>Email Address <span class="errors"><?php echo $emailErr;?></span></p><input type="text" name="email">
        </div>
        <div class="control">
            <p>Phone No.</p><input type="text" name="phone">
        </div>
    </div>

    <div class="control-group">
        <div class="control double">
            <p>Message</p>
            <textarea name="message"></textarea>
        </div>
    </div>
    <div class="control-group">
        <div class="control">
            <input type="submit" name="submit" value="Invite">
        </div>
    </div>

</form>