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
https://forums.phpfreaks.com/topic/136533-i-need-to-change-a-php-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.