Creating new page or popup

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Creating new page or popup
Torob
CZ Newbie
Torob has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Aug 31, 2006
0.00 posts per day
Posts: 4
Points: 0
   
i made the page and here is the code,
my problem is,
i cant have the right side blocks show for some reason
i dont know , could someone help me? here is the code:

<?php

if (!isset($mainfile)) { include("mainfile.php"); }
include("header.php");
?>

<html>
<body>
<div align="center">If you are affiliated with any government, or ANTI-Piracy group or any other related group or were formally a worker of one, you cannot enter this web site, cannot access any of its files and you cannot view any of the HTML, PHP files. All the objects on this site are private property and are not meant for viewing or any other purposes other than bandwidth space. Do not enter whatsoever! If you enter this site you are not agreeing to these terms and you are violating code 431.322.12 of the Internet Privacy Act signed by Bill Clinton in 1995 and that means that you cannot + threaten our ISP(s) or any person(s) or company storing these files, cannot prosecute any person(s) affiliated with this page which includes family, friends or individuals who run or enter this web site. If you do not agree with these terms then you must leave now!
</div>
</body>
</html>

<?php
include("footer.php");
?>



Back to top Reply with quote
#2   re: Creating new page or popup
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
depending on your version of nuke I think this is the fix.

Add on a new line after the include header statement


$index = 0;


I might have to see what your working on to fix it.


Back to top Reply with quote
#3   re: Creating new page or popup
Torob
CZ Newbie
Torob has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Aug 31, 2006
0.00 posts per day
Posts: 4
Points: 0
   
oh im sorry, go to [ Register or login to view links on this board. ]
at the very bottom there is a disclaimer button,
my php version is 7.8



Back to top Reply with quote
#4   re: Creating new page or popup
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
Scratch that last post, I gotta quit posting half asleep. I will look into this shortly.



Back to top Reply with quote
#5   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Do what he floppy said except it's either going to be
index = 1;
or use
define('INDEX_FILE', true);

it's probably going to be the latter tho.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Creating new page or popup
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
It would be


define('INDEX_FILE', true);


It being a 7.8 installation. Let us know if that works.

thx pnclthnmstsh


Back to top Reply with quote
#7   re: Creating new page or popup
Torob
CZ Newbie
Torob has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Aug 31, 2006
0.00 posts per day
Posts: 4
Points: 0
   
no, no difference




_________________
Back to top Reply with quote
#8   re: Creating new page or popup
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
I used this on my 7.9 site and the right blocks showed up fine.


<?php
if (!isset($mainfile)) { include("mainfile.php"); }
include("header.php");
$index=1;
?>

<html>
<body>
<div align="center">If you are affiliated with any government, or ANTI-Piracy group or any other related group or were formally a worker of one, you cannot enter this web site, cannot access any of its files and you cannot view any of the HTML, PHP files. All the objects on this site are private property and are not meant for viewing or any other purposes other than bandwidth space. Do not enter whatsoever! If you enter this site you are not agreeing to these terms and you are violating code 431.322.12 of the Internet Privacy Act signed by Bill Clinton in 1995 and that means that you cannot + threaten our ISP(s) or any person(s) or company storing these files, cannot prosecute any person(s) affiliated with this page which includes family, friends or individuals who run or enter this web site. If you do not agree with these terms then you must leave now!
</div>
</body>
</html>

<?php
include("footer.php");
?>




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#9   re: Creating new page or popup
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
yeah it worked on my 7.8 dev site. It would have to be theme related, I would think.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum