Location: PHPKode > projects > MembersGear > membersgear/templates/admin_paygear_configuration_generate.tpl
{$ADMIN_HEADER}

<div id="content" class="setdiv">
    {if $msg neq ''}
            <div class="succmsg" style="width:350px">{$msg}</div>
           {/if} 
    <div id="full-contentdiv">
          <div class="righttop">
                <h2><center>
                    PayGear Credentials</h2>                                      
            </center></div>
         <div class="whole-page clear">
       
            <!-- Place your content here -->
              <form method="post" name="paygearconfigure">
              <div class="formformat">      
                 <table    width="100%"  cellpadding="0" cellspacing="0" >    
                  <tbody>
                  
                      
                       
                         <tr>
                            <td class="right-side-text" width="50%"><label>PayGear Username <label class="star">*</label></td>
                           <td class="left-side-text" width="50%">
                                <input type="text" maxlength="255" size="50"  class="txtcss" name="paygear_username" value="{$userName}"/>
                            </td>

                        </tr>
                         <tr>
                          <td class="right-side-text" width="50%"><label>PayGear Secret Password <label class="star">*</label></label></td>
                           <td class="left-side-text" width="50%">
                                <input type="text" maxlength="255"  class="txtcss" size="50"  name="paygear_password" value="{$pass}"/>
                            </td>
                               
                        </tr>
                         <tr>
                             <td class="right-side-text" width="50%"><label>PayGear Secret Password Salt <label class="star">*</label></label></td>
                             <td class="left-side-text" width="50%">
                                <input type="text" maxlength="255"  class="txtcss" size="50"  name="paygear_password_salt" value="{$passsolt}"/>
                            </td>
                        </tr>
                        <tr>
                             <td class="right-side-text" width="50%"> &nbsp;</td>
                           <td class="buttontd" width="50%">
                                <input  type="submit" value="Save"  class="btncss" align="middle">&nbsp;&nbsp;&nbsp;
                                    <input  class="btncss" type="button" name="btnBack" value="Cancel" onclick="javascript:location.href='./index.php';">

                            </td>
                        </tr>
                       <tr>
                             <td class="right-side-text" width="50%"><label>&nbsp;</label></td>
                             <td class="left-side-text" width="50%">                                                                                     
                                <input type="button" maxlength="255"  class="btncss" size="50"  name="login_paygear" value="Login" onClick="window.open('{$PAYGEAR_WEB_URL}/member/default.aspx?secretpassword={$PAYGEAR_SECRET_PASSWORD}&secretpasswordsalt={$PAYGEAR_SECRET_PASSWORD_SALT}')" /><label style="vertical-align:middle">&nbsp;&nbsp;as "{$userName}" on PayGear.com</label> 
                            </td>
                        </tr>
                         
                </tbody>
           </table>
           </div>
        </form>
    </div>
</div>
        {literal}
          <script language="JavaScript" type="text/javascript">
              var frmvalidator  = new Validator("paygearconfigure");
              frmvalidator.EnableMsgsTogether();

              frmvalidator.addValidation("paygear_username","req","Please enter value of PayGear Username.");
               frmvalidator.addValidation("paygear_password","req","Please enter value of PayGear Secret Password.");
              frmvalidator.addValidation("paygear_password_salt","req","Please enter value of PayGear Secret Password Salt.");   
                     
                                                             
            </script>
 
        {/literal}
 
 </div>
{$ADMIN_FOOTER}
Return current item: MembersGear