Add php/html and javascript after my footer using a plugin
-
Hello, is there a way to add
<div id='Email-System-PopUp'> <div id='Email-System-Form'> <?php if(empty($Email)){?> <form action="" method="post" name="Settings"> <p>Please enter your email to signup to receive email notifications, and/or change notification settings</p> <table width="520" border="0" cellpadding="5px"> <tr> <td width="100" align="right"><big>Email:</big></td> <td><input type="text" id="Email" name="Email" class="User_Registration" value='<?php echo htmlentities($Email); ?>' maxlength="50" /></td> </tr> <tr> <td>?</td> <td><input type="submit" name="Settings" value="Submit" /></td> </tr> </table> </form> <?php } else { ?> <form action="" method="post" name="Settings"> <table width="520" border="0" cellpadding="5px"> <tr> <td align="right"><big>First Name:</big></td> <td><input type="text" id="FName" name="FName" class="User_Registration" value='<?php echo htmlentities($FName); ?>' maxlength="20" /></td> </tr> <tr> <td align="right"><big>Last Name:</big></td> <td><input type="text" id="LName" name="LName" class="User_Registration" value='<?php echo htmlentities($LName); ?>' maxlength="20" /></td> </tr> <tr> <td align="right"><big>Email:</big></td> <td> <input type="text" id="Email" name="Email" class="User_Registration" value='<?php echo htmlentities($Email); ?>' maxlength="50" /> <input type="hidden" id="ID" name="ID" class="User_Registration" value='<?php echo htmlentities($ID); ?>' maxlength="50" /> </td> </tr> <tr> <td>?</td> <td>Receive Article Notifications: <input type="checkbox" name="Article" value="checked" <?php echo htmlentities($Article); ?> /></td> </tr> <tr> <td>?</td> <td>Receive Promotional Notifications: <input type="checkbox" name="Promotional" value="checked" <?php echo htmlentities($Promotional); ?> /></td> </tr> <tr> <td>?</td> <td><input type="submit" name="Settings" value="Save" /></td> </tr> </table> </form> <?php } ?> </div> </div> <div class="darkenBackground" id="darkBackgroundLayer" onclick="ShowHideLogin();return false;"></div> <script type="text/javascript"> $('#Email-System-PopUp').hide(); $('#darkBackgroundLayer').hide(); var url = document.location.href; if (url.indexOf('Email-System=Show') >= 0) { $('#Email-System-PopUp').show(); $('#darkBackgroundLayer').show(); } </script>
in the footer, with a plugin.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add php/html and javascript after my footer using a plugin’ is closed to new replies.