Location: PHPKode > scripts > WebsiteMemberManager > members-section/html-admin/automated_renewals.html
<br />
<div style="padding-left:3%;">
<div id="layer" style="padding:4px; width:96%; " class="ui-widget-content ui-corner-all">
<form method="POST" action="automated_renewals.php" name="AF">
  <input type="hidden" name="save" value="1"><div align="center"><center><table border="0"
  width="96%" cellpadding="2" bgcolor="#E6FFE6">
    <tr>
      <td width="50%" align="left"><strong>Automated Renewals<br>
      </strong>This can be used in conjunction with PayPal, and will only function if you
      have <strong>PayPal enabled.</strong>&nbsp; Renewal emails (the file used for this:
      auto_email_reminder.php) are automatically sent out to each member the number of days you
      specify below before the renewal is due.</font><blockquote>
        <p><strong>Special NOTE:</strong> Unless members login or you login to admin  everyday (by default the renewals are triggered from admin and members login.html page) then you need to ensure the renewal system runs each day by adding the following html to your homepage:<br>
          </font>&nbsp; <span style="background-color: rgb(255,255,255)">&nbsp; &lt;<font
        COLOR="#800080">img </font><font COLOR="#ff0000">src=&quot;</font><font COLOR="#0000ff">http://<?php echo $_SERVER['HTTP_HOST']."/".MEMBERS_SECTION_FOLDER; ?>/auto_check_renewals.php</font><font
        COLOR="#ff0000">&quot; width=&quot;</font><font COLOR="#0000ff">1</font><font
        COLOR="#ff0000">&quot; height=&quot;</font><font COLOR="#0000ff">1</font><font
        COLOR="#ff0000">&quot;</font>&gt; <br>
            </span><font color="#000000"> <em>(change &quot;WMM&quot; to the name you have given the folder - if changed)</em></font><font color="#000000"><br />
            This will ensure the automated renewal system is
              checked each day (so long as your homepage receives at least one hit per day). <strong>Renewals will be sent only once per day, and the script must run
                each day to ensure all required renewal emails are sent out for any renewal due in the period.</strong></font><br />
                <br />
                <strong><font color="#FF0000">If this is the first time you are enabling
        Automated Renewals and you already have existing members then you MUST BACKUP your
        database BEFORE enabling.&nbsp; Expired accounts will automatically be deleted!&nbsp;
        &nbsp; <a href="update_all_members_expire_date.php">Click here to update
        ALL members expiry date to one month from today</a></font></strong></p>
        <p><strong><font color="#FF0000">Current number of expired accounts on system:
        &nbsp; <?php show_total_expired_accounts()?></font></strong></p>
      </blockquote>
      </td>
    </tr>
  </table>
  </center></div><div align="center"><center><table border="0" width="70%" bgcolor="#E9E9E9"
  cellspacing="1">
    <tr>
      <td width="100%" align="center"><p><strong>Enabled: </strong><select
      name="automated_renewals" size="1" class="button">
        <option value="0">FALSE</option>
        <option value="1">TRUE</option>
      </select><br>
      When enabled automated renewal emails are sent, <strong>expired
      accounts are automatically deleted, </strong>and a renewal link appears on
      the footer of the members area pages when logged in (if the account will expire within
      the amount of days specified below) </p>
        <p><strong>Automatically email members
      days:<input type="text" name="automated_renewals_days" size="2">before renewal is due.<br>
      </strong>(Should be set to any number of days from 1 to 90 days)</p>
      <div class="button"><button>Save</button>
<a href="#" onclick="location.href='./'">Cancel</a>	  
</div>  
	
	
		  </td>
    </tr>
  </table>
  </center></div><div align="center"><center>
    <p><strong>NOTE:&nbsp; You must also have
          <a href="paypal.php">WMM PayPal</a> enabled for automated renewals to function.</strong></p>
  </center></div><div align="center"><center><p><strong>&nbsp; </strong></p>
  </center></div>
</form>
</div></div>
Return current item: WebsiteMemberManager