Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>&lt;?php $msg = ""; if (!empty($_GET)) //check if form has been submitted { if(isset($_GET['success']) === true &amp;&amp; empty($_GET['success']) === true) { $msg = "Thanks, we've emailed you."; } else { $mode_allowed = array('mem_password'); if (isset($_GET['mode']) === true &amp;&amp; in_array($_GET['mode'], $mode_allowed) === true) { if(isset($_POST['mem_email']) === true &amp;&amp; empty($_POST['mem_email']) === false) { if (email_exists($_POST['mem_email']) === true) { recover($_GET['mode'], $_POST['mem_email']); header('Location: recover.php?success'); exit(); } else { $msg = "&lt;p&gt;Oops, we couldn\'t find that email in the system&lt;/p&gt;"; } } } else { header('Location: index.php'); exit(); } } } include 'storescripts/init.php'; logged_in_redirect(); include 'includes/overall/head.php'; include 'includes/overall/template_header.php'; ?&gt; &lt;div id="mainDivShort"&gt; &lt;h1&gt;Recover&lt;/h1&gt; &lt;div id="divBreak"&gt;&lt;/div&gt; &lt;?php include ("includes/overall/column_left.php");?&gt; &lt;div id="middleContent"&gt; &lt;?php echo $msg; ?&gt; &lt;form action="" method="post"&gt; &lt;ul&gt; &lt;li&gt;Please enter your email address:&lt;br&gt; &lt;input type="text" name="mem_email"&gt; &lt;/li&gt; &lt;li&gt;&lt;input type="submit" value="Recover"&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/form&gt; &lt;/div&gt; &lt;?php include ("includes/overall/column_right.php");?&gt; &lt;/div&gt; &lt;?php include ("includes/overall/template_footer.php");?&gt; </code></pre> <p>Didn't you solve this already here? <a href="https://stackoverflow.com/questions/15147163/rearranging-php-page-so-header-is-before-html">Rearranging PHP page so header is before HTML</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload