Location: PHPKode > scripts > WebsiteMemberManager > members-section/html-members/main_menu.ORIGINAL.html
<br />
<br />
<div style="padding-left:10%">
<div id="layer" style="width:80%; padding-left:3%;" class="ui-widget-content ui-corner-all">
<p>This content, between the header and footer, is  from the file:<strong>    /members-section/html-members/main_menu.html</strong><br />
  (there is a copy of the original called: <strong>main_menu.ORIGINAL.html</strong>) <br />
  Some basic links you will require are:  </p>
<table width="913" border="1" cellpadding="6" cellspacing="0" bordercolor="#8CA2AE">
    <tr>
      <td width="173" ><div align="right"><strong><a href="modify">Modify details </a></strong></div></td>
      <td width="710"> <div align="left"><em>the link to allow your members to edit their details </em></div></td>
    </tr>
    <tr>
      <td> <div align="right"><strong><a href="password_change">Change password</a><br />
      </strong></div></td>
      <td><div align="left"><em>the page where your members change their password </em></div></td>
    </tr>
    <tr>
      <td> <div align="right"><strong><a href="../../members-only-content">members-only-content</a></strong></div></td>
      <td>Link to your members-only-content, if the member is not logged in they will be redirected to the login page.<br />
        Test it yourself: <strong><a href="logoff" target="_blank">click here to logoff</a></strong> (opens in <strong> a new window</strong>) close it, then click: <strong><a href="../../members-only-content">members-only-content</a></strong></td>
    </tr>
    <tr>
      <td><div align="right"><strong><a href="logoff">logoff</a></strong></div></td>
      <td><div align="left">link to log off the user. </div></td>
    </tr>
  </table>
  <p>Note that when linking to any PHP file within the WMM system  the file extension can be omitted like this: <br />
    <input name="mod" type="text" value="&lt;a href=&quot;modify&quot;&gt;Modify details&lt;/a&gt;" size="40" />
      (this will load the file modify.php) there is no need to specify any folder names when creating links within the system. </p>
  <p>To link to your members area from another page outside of WMM use: <br />
    <?php echo "<input name=\"mod2\" type=\"text\" value=\"&lt;a href=&quot;";
      echo "http://".$_SERVER['SERVER_NAME'].str_replace('index.php','',$_SERVER['PHP_SELF']);
	  echo "&quot;&gt;Link to your members area&lt;/a&gt;\" size=\"140\" />"; ?>
 <br />
 if any visitor is not logged in they will be prompted to login/register.</p>

<fieldset class="ui-widget-content ui-corner-all" style="width:90%; padding-left:3%;">
<legend class="ui-widget-header ui-corner-all">Member details array:</legend>  
    <table width="840" border="0">
      <tr>
        <td width="355"><strong>Accessing members details is easy,<br />
          this members:
        </strong></td>
        <td width="382"><strong>here is the HTML and PHP code used:</strong></td>
      </tr>
      <tr>
        <td><blockquote><font color="#0000CC"><strong>id</strong>: <?php echo $_SESSION['member_details_array']['id']; ?><br />
            <strong>name</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['name']); ?><br />
            <strong>company name</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['companyname']); ?><br />
            <strong>address</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['address']); ?><br />
            <strong>postcode</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['postcode']); ?><br />
            <strong>email</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['email']); ?><br />
            <strong>tel</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['tel']); ?><br />
            <strong>mobile</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['mobile']); ?><br />
            <strong>their_username</strong>: <?php echo reverse_clean($_SESSION['member_details_array']['their_username']); ?><br />
        <strong>account expire date</strong>: <?php echo strftime("%d %b, %Y",$_SESSION['member_details_array']['expire_date']); ?></font></blockquote></td>
        <td><textarea rows="14" cols="80">&lt;strong&gt;id&lt;/strong&gt;: &lt;?php echo $_SESSION['member_details_array']['id']; ?&gt;
  &lt;strong&gt;name&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['name']); ?&gt;
  &lt;strong&gt;company name&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['companyname']); ?&gt;
&lt;strong&gt;address&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['address']); ?&gt;
&lt;strong&gt;postcode&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['postcode']); ?&gt;
  &lt;strong&gt;email&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['email']); ?&gt;
  &lt;strong&gt;tel&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['tel']); ?&gt;
  &lt;strong&gt;mobile&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['mobile']); ?&gt;
  &lt;strong&gt;their_username&lt;/strong&gt;: &lt;?php echo reverse_clean($_SESSION['member_details_array']['their_username']); ?&gt;
&lt;strong&gt;account expire date&lt;/strong&gt;: &lt;?php echo strftime(&quot;%d %b, %Y&quot;,$_SESSION['member_details_array']['expire_date']); ?&gt;
</textarea></td>
      </tr>
    </table>
    </fieldset>  
</div>
</div>

Return current item: WebsiteMemberManager