2 Replies - 314 Views - Last Post: 10 February 2013 - 12:38 AM Rate Topic: -----

#1 helppp  Icon User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 6
  • Joined: 09-February 13

Hey guys I've been trying this code no success♛

Posted 09 February 2013 - 10:15 PM

:stupid: How do I create a terms of conditions popup that you cannot exit...until you agree and if you decline you cancel Please give me the exact instructions I am new to this by the way Im using a webbuilder called Webstarts, please help.

Sorry You can only agree to view the site, if you decline you get redirected. Or cannot go onto site until agreeing. Either or would be fine.

If its in wrong section tell me what its called please and if it gets removed pm me thanks if you cant rep on this site i will legitly rep you on any site I really need to know this.

Heres the Coding

 </table> 
                               </td> 
                                <td valign="top" align="left"  background="images/cbg.jpg" width="612"> 
                                <table cellpadding="0" cellspacing="0" border="0"><tr><td width="611"><a href="home.php"><img src="images/tnav-home.jpg border="0"></a><a href="news.php"><img src="images/tnav-news.jpg" border="0"></a><a href="events.php"><img src="images/tnav-events.jpg" border="0"></a><a href="register.php"><img src="images/tnav-register.jpg" border="0"></a><a href="<?php echo $forumurl; ?>"><img src="images/tnav-forum.jpg" border="0"></a><a href="ranking.php"><img src="images/tnav-ranking.jpg" border="0"></a><a href="guilds.php"><img src="images/tnav-guilds.jpg" border="0"></a></td></tr></table> 
                                <div style="padding: 10px;"> 
                                <font size="1" color="#000000">


Is This Correct?

bump

Is This A Good Question/Topic? 0
  • +

Replies To: Hey guys I've been trying this code no success♛

#2 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Hey guys I've been trying this code no success♛

Posted 10 February 2013 - 12:17 AM

You can use $_SESSION to check for Yes & No values.


Example:

if( $_SESSION['session'] == 'NO') {
    // redirect to a site...
}



I hope this helps.

This post has been edited by noorahmad: 10 February 2013 - 12:18 AM

Was This Post Helpful? 0
  • +
  • -

#3 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,070
  • Joined: 10-May 07

Re: Hey guys I've been trying this code no success♛

Posted 10 February 2013 - 12:38 AM

View Posthelppp, on 10 February 2013 - 12:15 AM, said:

Please give me the exact instructions

This isn't even an html question... as you have php code in your file. & if you need exact instructions, then you should not have taken the project.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1