robbie |
29th November 2012 00:37 |
Quote:
Originally Posted by lovebeer
(Post 17030)
Hi, is there a way to have a pop-up with user agrement with site rules, with 2 links like "I Agree and Accept all the Rules!" this will redirect user to login page, and one linke "I don't agree with this rules!" this will redirect user to Google
Like in the picture:
http://i.imagehost.org/0142/popup.jpg
|
place this in the bottom of signup.php and bobs your uncle
PHP Code:
<div style="width:80%" align="center"> <legend><b><font color=red>Registration Terms & Rules</font></b></legend> <form method="post" action="<?=$PHP_SELF?>"> <table cellpadding="4" cellspacing="0" border="0" style="width:100%" class="tableinborder"> <tr> <td class="colhead" class="tablea"><center><b><font color=green>In Order To Proceed, You Must Agree To The Following:</font></b></center></td></tr> <tr> <td class="tablea" style="font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif"> <div class="page" style="BORDER-RIGHT: thin inset; PADDING-RIGHT: 6px; BORDER-TOP: thin inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; OVERFLOW: auto; BORDER-LEFT: thin inset; PADDING-TOP: 1px; BORDER-BOTTOM: thin inset; HEIGHT: 170px"> <!-- Begain Rulez --> <p><strong>title here</strong></p> Please take a moment to review these rules detailed below. If you agree with them and wish to proceed with the registration, simply click the "Register" button below. To cancel this registration, simply hit the 'back' button on your browser. Please remember that we are not responsible for any messages posted. We do not vouch for or warrant the accuracy, completeness or usefulness of any message, and are not responsible for the contents of any message. The messages express the views of the author of the message, not necessarily the views of this bulletin board. Any user who feels that a posted message is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable messages and we will make every effort to do so, within a reasonable time frame, if we determine that removal is necessary. You agree, through your use of this service, that you will not use this bulletin board to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person's privacy, or otherwise violative of any law. You agree not to post any copyrighted material unless the copyright is owned by you or by this bulletin board. <!-- End Rulez --> </div> </td></tr> <tr><td class="colhead" class="tablea"> <div> <label> <input class="tablea" type="checkbox" name="agree" value="yes"> <input type="hidden" name="do" value="register"> <strong ><font color=lime>I have read, understood and agree to these rules and conditions.</font></strong> </label> </div> </td></tr> </table> </fieldset><p> <center> <input class="btn" type="submit" value="Go To Register"> </center> </form>
|