Location: PHPKode > projects > MembersGear > membersgear/templates/make_affiliate.tpl
 {if $msg neq ''}
                <div {if $err eq 'true'} class="errormsg" {else} class="succmsg" {/if}>
                  <center> {if $msg neq ''}{$msg}{/if}</center>
                </div>
            
    {/if}
 <div id="divheigth">
 </div>   

 <div id="formlayout">
              {if $IsEdit eq 'yes'}
                    {assign var="action" value="update"}
              {elseif $Isdelete eq 'yes'}  
                     {assign var="action" value="delconfirm"}          
              {else}
                   
                    {assign var="action" value="insert"}
              {/if}
 <div id="formlayout-top">
            {*<div style="text-align:center;vertical-align:top;padding-top:7px;">*}
           <div id="divmemberslinkheader"> 
                <ul>
                   {*<li><a href="{$WEB_URL}/member/user_logout.php">Logout</a></li>*}
                             <li><a href="{$WEB_URL}/member/user_default_page.php" >Main Area</a></li>
                             <li><a href="{$WEB_URL}/member/user_edit_profile.php" >Edit Profile</a></li>
                            {if $MEMBER_SHOW_AFFILIATE eq 'true'}
                              <li><a href="{$WEB_URL}/member/affiliateSettings.php" class="selected">{$affiliate_text}</a></li>
                             {/if} 
                             <li><a href="{$WEB_URL}/member/user_change_password.php">Change Password</a></li>
                             <li><a href="{$WEB_URL}/member/user_support.php">Support</a></li>
                             <li><a href="{$WEB_URL}/member/user_rotete_logout.php?url={$WEB_URL}/member/user_logout.php">Logout</a></li>
                 </ul>
            </div>
          </div>
            <div id="formlayout-bg">
         {* <div style="divMemberPageContent"> *}
          <table cellpadding="0" cellspacing="20" align="center" id="tableaffiliate">
            <form name="frmAffiliate" method="post" action="affiliateSettings.php">
            <tr>
                 <td colspan="2">
                  {if $is_activated_affiliate eq 'yes'}
                    <h1>Your Affiliate Link</h1>
                  {else}
                    <h1>Become An Affiliate</h1>
                  {/if}  
                </td>   
             </tr>
                     
            {if $msgErr eq '' }                       
            {if $is_activated_affiliate eq 'no'} 
             <tr>               
                <td class="right-side-text" ><label>Paygear Vendor Name <label class="star">*</label></label>
              </td>
                   <td class="left-side-text" >
                           <input type="text"  name="vendor" id="vendor"  class="txtcss"   />
                   </td>
               </tr>
             <tr>      
                  <td  class="right-side-text">&nbsp;</td>
                        <td class="buttontd buttontdaffiliate"> 
                          <input type="hidden" name="product_users_affiliate_id" id="product_users_affiliate_id" value="{$product_users_affiliate_id}" >
                          <input type="hidden" name="productPaymentOption" id="productPaymentOption" value="{$productPaymentOption}" >
                          <input class="small-button" type="submit" id="btnsubmit" value="Submit"  name="btnsubmit" >
                          
                                      
                       </td>                                                                                           
              </tr>
              {else}
                <tr>               
                <td class="right-side-text" valign="top"><label>Affiliate Link </label>
              </td>
                   <td class="left-side-text">
                     <table>
                      <tr>
                       <td>
                         <a  href="{$affiliateSettings}">{$affiliateSettings}</a>
                       </td>
                      </tr>
                      <tr>
                      <td class="affiliatesectionspace">
                         
                       </td>
                      </tr>
                      
                     </table>
                   </td>
               </tr>
             <tr>
              {/if}
              {else}
                 <tr>      
                  <td  class="right-side-text">&nbsp;</td>
                   <td class="left-side-text">
                       {$msgErr}               
                       </td>                                                                                           
                 </tr> 
             {/if}
              </form> 
            </table>
 {* </div>                                 *}
        </div>
        <div id="formlayout-bottom"></div>        
                  
</div>    

 

 {if $msgErr eq '' }                       
            {if $is_activated_affiliate eq 'no'} 
{literal}             
<script language="JavaScript" type="text/javascript">
              var frmvalidator  = new Validator("frmAffiliate");
              frmvalidator.EnableMsgsTogether();
              frmvalidator.addValidation("vendor","req","Please enter your PayGear's username.");
  </script>
 {/literal}         
  {/if}
{/if}
Return current item: MembersGear