Location: PHPKode > projects > MembersGear > membersgear/templates/user_support.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"> 
      <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">{$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" class="selected">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">      
                <form name="frmSupport" id="frmSupport" method="post" action="user_support.php?action=sendmail">
                <table cellpadding="0" cellspacing="20" align="center" id="tablesupport">
                      <tr>
                         <td colspan="2" class="headertd">
                            <h1>Support Center</h1>
                        </td>
                     </tr>
                     
                     {if $msg neq ''}
                             <tr>
                                <td colspan="2" class="succmsg">
                                   {$msg}
                                </td>
                             </tr>
                     {/if}
                       
                     <tr>
                        <td class="right-side-text"><label>Name <label class="star">*</label></label></td>
                        <td class="left-side-text" width="">
                             <input type="text" class="txtcss" id="txtName" name="txtName" value="{$UserName}" maxlength="50" size="30" readonly="readonly">
                        </td>
                     </tr>
                     
                     <tr>
                        <td class="right-side-text"><label>Email <label class="star">*</label></label></td>
                        <td class="left-side-text" width="">
                             <input type="text" class="txtcss" id="txtEmail" name="txtEmail" value="{$Email}" maxlength="50" size="30" readonly="readonly">
                        </td>
                     </tr>
                                           
                     <tr>
                        <td class="right-side-text"><label>Subject <label class="star">*</label></label></td>
                        <td class="left-side-text" width="">
                             <input type="text" class="txtcss" id="txtName" name="txtSubject" maxlength="50" size="30">
                        </td>
                     </tr>
                     
                     <tr>
                        <td class="right-side-text" valign="top"><label>Description <label class="star">*</label></label></td>
                        <td class="left-side-text" width="">
                             <textarea class="txtareacss" id="txtDescription" name="txtDescription" size="30" cols="67" rows="10"></textarea>
                        </td>
                     </tr>
                     
                    <tr>
                        <td class="right-side-text">&nbsp;</td>
                         <td class="left-side-text" width="">
                              <input class="small-button buttontdsupport" type="submit" id="submit"   name="submit" value="Submit">
                              
                                
                         </td>
                    </tr> 
                    
                    </table>
                 </form>                      
        </div>
            
     <div id="formlayout-bottom"></div>   
</div>         
   <script language="JavaScript" type="text/javascript">
      var frmvalidator  = new Validator("frmSupport");
    
      frmvalidator.EnableMsgsTogether();
      
       frmvalidator.addValidation("txtName","req","Please enter your name.");  
       //frmvalidator.addValidation("txtName","maxlen=50","Max length for name is 50 characters only.");
       //frmvalidator.addValidation("txtName","alpha_s","Please enter alphabet only.");
       
       frmvalidator.addValidation("txtEmail","req","Please enter Email Address.");  
       //frmvalidator.addValidation("txtEmail","maxlen=50","Max length for Email is 45.");
       frmvalidator.addValidation("txtEmail","email","Please enter valid Email Address.");

      frmvalidator.addValidation("txtSubject","req","Please enter Subject.");
      //frmvalidator.addValidation("txtSubject","maxlen=50","Max length for subject is 50 character.");

      
      frmvalidator.addValidation("txtDescription","req","Please enter Description.");
//      frmvalidator.addValidation("txtDescription","maxlen=45",    "Max length for lastName is 45.");
//      frmvalidator.addValidation("lname","alpha","Lastname:alphabetic chars only.");
   </script>
Return current item: MembersGear