Jump to content

I need to change a PHP code.


mirciogu

Recommended Posts

I have this code:

"; if($settings[special_homepage] == 1) $includes[content].= advspecial();

if(($settings[popupon] == 1) && (($freshvisit == 1) || ($settings[popuponce] != 1))) {

$sql=$Db1->query("SELECT * FROM popups WHERE credits >=1 ORDER BY RAND() LIMIT 1");

if($Db1->num_rows() != 0) {

$includes[content].= "

<script type=\"text/javascript\">

var force=0

function setwinfocus() {

window.focus()

}

 

window.open('loadpopup.php?ref=$ref','PaidToPromote','width=790,height=500,left=10,top=10,toolbar=yes,menubar=no,scrollbars=yes,status=yes,resizable=yes,location=yes');

setTimeout(\"setwinfocus()\",1500);

 

</script>

";

The pages displaying on opens a popup. Since this is very annoying popup I want to change it with a popup like this:

http://www.dynamicdrive.com/dynamicindex11/abox2.htm  or,

http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm

or to open an iframe like this:

http://clixncash.com/index.php?p=1&ref=ptmonitor

  What should I change the code to make it so?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.