1
mopperman
Cannot view Blocks
  • 2007/8/5 12:55

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


Hi all,

on my new website i cannot view the costom build blocks i made, in the blocks administration i dont see blocks.

Someone knows how to solve this?

-- above problem solved.
--- Was my own fault, corrupt php script i guess..

other question..

can someone tell me how i can use a php script in a block, and it needs to be working,,

script im trying:

$ip "xx.xx.xx.xx";    // Geef hier het ip in
$port "51234";        // Geef hier de poort in
$maint "0";        // Is de server in Maintenance mode? 1=ja, 0=nee

//HIERONDER NIETS MEER VERANDEREN
$_GET['ip']="$ip:$port";
$array=explode(':',$_GET['ip']);
$fp = @fsockopen($array[0], $array[1], $errno$errstr,1);
if(
$maint == 1) {
$status "red">Maint.";
}
else if(
$fp){             
  
$status "arial"> Onze TS2 Server isgreen">onlinearial">Check http://www.n1-gaming.nl/TS/ts2.php">HIER voor meer info";
  
fclose($fp); // hier sluiten omdat in het andere geval geen verbinding is opgebouwd
}
else{              
  
$status "red">Helaas... de TS2 server is offline";
}
echo 
$status;
?>

2
christian
Re: Cannot view Blocks
  • 2007/8/5 15:24

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Welcome,

Just remove

3
mopperman
Re: Cannot view Blocks
  • 2007/8/5 15:54

  • mopperman

  • Just popping in

  • Posts: 5

  • Since: 2006/6/10


Quote:

christian wrote:
Welcome,

Just remove


doesnt work.. see an empty block then in preview and it doesnt come up on the mainpage.

setted up on php mode...

edit:

solved.

removed my scripting commands

Login

Who's Online

259 user(s) are online (223 user(s) are browsing Support Forums)


Members: 0


Guests: 259


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits