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

<div id="content" class="setdiv">
                {if $msg neq ''}
                    <div class="succmsg" style="width:200px">
                            {$msg}
                    </div>
                {/if}
    <div id="full-contentdiv">
          <div class="righttop">
                <h2><center>
                   User Action of {$user_name}
                 </center></h2>                                      
            </div>
         <div class="whole-page clear">
                  
                  
            <!-- Place your content here -->
                {if $IsEdit eq 'yes'}
                     {assign var="action" value="update"}
                {else}
                   
                    {assign var="action" value="insert"}
                  
                {/if}
                 <div class="formformat">      
                    
                                <table border="0" cellpadding="0" cellspacing="0">    
                                    <tbody>
                                    <tr>
                                        <td class="right-side-text">
                                            <li>
                                           {* <a href="admin_user_action.php?action=delete_user&userid={$userid}" onclick="return confirm('Are you sure you want to delete this user? It will be impossible to restore customer records.')">Delete User</a>*}
                                           <input type="submit" style="width:140px;" class="btncss" name="Delete User" value="Delete User" onclick="if(confirm('Are you sure you want to delete this user? It will be impossible to restore customer records.'))location.href='admin_user_action.php?action=delete_user&userid={$userid}';">  
                                           <br/>
                                            - Users are disabled automatically as their subscriptions expire. Disabled users remain in the system and are able to renew their subscriptions on the
                                            <i style="font-weight: bold;">member.php</i>
                                            page.
                                            <br/>
                                            <br/>
                                            Important! - Use "Delete User" only if you want to completely remove a user from the system. The user/customer along with all related records will be permanently deleted when you use this function!
                                            <br/>
                                            <br/>
                                            </li>
                                          </td>
                                    </tr>
                                {*No Product For Signup*}
                                {if $SignupProduct neq ''}
                                <tr>
                                          <td class="right-side-text">
                                                {literal}
                                                    <script language="JavaScript">
                                                        function submitform()
                                                        {
                                                        
                                                       // var frmvalidator  = new Validator("frmSendSignupEmail");
                                                        //frmvalidator.EnableMsgsTogether();
                                                        //frmvalidator.addValidation("chkProductList","selone_radio","Please select Altest one Product for resending signupmail.");    
                                                        //alert(frmvalidator);
                                                       // document.forms["frmSendSignupEmail"].submit();
                                                        
                                                        }
                                                    </script>
                                                {/literal}
                                                
                                                <form  name="frmSendSignupEmail" id="frmSendSignupEmail" action="admin_user_action.php?action=send_sign_email&userid={$userid}" method="post">
                                                    {*<a href="#" onclick="submitform();">Re-Send Signup Email</a>*}
                                                    {assign var="TotalRecord" value=$SignupProduct|@count} 
                                                   
                                                   
                                                
                                                        <input type="submit" style="width:180px;"  value="Re-Send Signup Email" name="send"  class="btncss">
                                                        <br/>
                                                        
                                                          {section name=SignupProduct loop=$SignupProduct}  
                                                             <input type="checkbox" class="chkcss" value="{$SignupProduct[SignupProduct].id}" id="chkProductList" name="chkProductList[]"><label>{$SignupProduct[SignupProduct].name}</label><br/>
                                                          {/section}
                                                      
                                                        - When a user/customer first signs up and payment is completed membersite
                                                        automatically sends them an Email containing their Username, Password,
                                                        and URL for accessing the Members area on your site. If the user did
                                                        not receive or cannot find the original Email use this function to have
                                                        MembersGear send the Email again.<br/><br/>
                                                        
                                                </form>
                                                
                                         </td>
                                
                                    </tr>
                                    {/if}
                                    <tr>
                                        <td class="right-side-text">
                                        <form id="frmSendUserEmail" name="frnSendUserEmail" action="admin_user_action.php?action=send_user_email&userid={$userid}"method="post">
                                         <table class="borderless" cellspacing="0" cellpadding="0">
                                         <tr>
                                             <td colspan="2">
                                                <b>Email Customer:</b>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td>
                                                <label>From: </label>
                                             </td>
                                               <td >
                                               {$WEB_TITLE} <sapn><</sapn>{$PHPMAILER_EMAIL_FROM}<span>></span>
                                               </td>
                                         <tr>
                                             <td>
                                                <label>  To: </label>
                                             </td>
                                             <td>
                                              {$username} <sapn><</sapn>{$useremail}<span>></span>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td>
                                            Subject: &nbsp;  
                                             </td>
                                             <td>
                                             <input type="text" class="txtcss" size="40" value="" name="txtSubject" style="vertical-align:middle"/>
                                             </td.
                                         </tr> 
                                         <tr>
                                             <td valign="top">
                                            Body:&nbsp; 
                                             </td>
                                            <td>
                                              <textarea class="small" rows="20" cols="80" name="txtContent" id="txtContent"/></textarea>
                                             </td> 
                                          </tr>
                                          <tr>
                                             <td>
                                          &nbsp;
                                            </td>
                                            <td>
                                            
                                           <input class="btncss" type="submit" value="Send" style="margin-top:10px">    &nbsp;&nbsp;
                                            <input type="button" class="btncss" name="btnBack" value="Cancel" onclick="javascript:window.history.go(-1);">
                                           </td>
                                            <input type="hidden" id="hdnUsername" name="hdnUsername" value="{$username}">
                                            <input type="hidden" id="hdnUserEmail" name="hdnUserEmail" value="{$useremail}">
                                            </td>
                                          </tr>
                                          </table>
                                         </td>
                                
                                    </tr>
                                    
                        </tbody>
                    </table>             
                {*</form> *}
                </div>
        </div>
    </div>
 </div>
{$ADMIN_FOOTER}
{literal}
<script language="JavaScript">
    var totalrecord='{/literal}{$SignupProduct}{literal}';  
    if(totalrecord!='')
    { 
        var frmvalidator  = new Validator("frmSendSignupEmail");
        frmvalidator.EnableMsgsTogether();
        frmvalidator.addValidation("chkProductList","selone_radio","Please select Altest one Product for resending signupmail.");    
    }
</script>
{/literal}
Return current item: MembersGear