Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Block edit leaves gap at top of block
Block edit leaves gap at top of block

7 Replies / 932 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


northernstu
Reputation: 490.1 Add RepSubtract Rep
Local time: 11:10 AM

uk.gif

Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Nov 08, 2007
Last Visit: 11 Apr 2010
Posts: 28
Points: 7194 

Post Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 1:41 pm

Shop Purchases:
Americas Army PhpNuke Theme · Multi Gaming (Warrior) Theme · Modern Warfare 2 Evo Xtreme · Modern Gamer Evo Xtreme Theme

hi all take a look at this code. its for a countdown i use for server payments with a link to clanpay so members can see how long left and a link for them to pay up.
thing is when i load any image on the block the header comes away from the block body???

any help would be fantastic
many thanks

Code:
<?php

if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}


//Configuration Starts ############################################
$day =20;            
$month =03;            
$year =2009;
$event = 'Support [U8] World & Conribute Towards The Server';      
$passed = 'TIME IS UP, LETS HOPE THERES ENOUGH';   
//Configuration Ends ##############################################

$hour =20;               
$minute =09;            
$second =2008;            

$days = ceil((int)((mktime ($hour,$minute,$second,$month,$day,$year) - time())/86400));

$content = '<div align="center">';

if ($days == 0){
  $content .= "<font color=red>" . $event . "</font> TODAY!";
}elseif ($days == 1){
  $content .= "THERE IS <font color=red>" . $days . " DAY</font> LEFT BEFORE SERVER PAYMENTS<br><font color=red>" . $event . "</font>";
}elseif ($days < 0){
  $content .= "<font color=red>" . $passed . "</font>";
}else{
  $content .= "THERE ARE <font color=red>" . $days . " DAYS</font> LEFT BEFORE SERVER PAYMENTS<br><font color=red>" . $event . "</font>";
}

$content .= '</div>';

$content .= "<center><a target=\"_blank\" href=\" http://www.gameservers.com/clanpay/?clanid=471bf7ad4e525fc8b5b277fc6230614c\"><img src=\"http://www.gameservers.com/images/section/clanpay/btn_pay.gif\" border=\"1\"   title=\"Contribute & help Support [U8]\" ></td></a></center><br>";


?>



thanks in advance

northernstu
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 93.7 Add RepSubtract Rep
votes: 37
Local time: 6:10 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 25 May 2012
Posts: 3672
Points: 191886 

Post Re: Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 2:42 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

It worked okay for me northernstu

Can you post a pic please.
 

 
View user's profileSend private messageSend e-mail Reply with quote

Ped
Reputation: 93.7 Add RepSubtract Rep
votes: 37
Local time: 6:10 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 25 May 2012
Posts: 3672
Points: 191886 

Post Re: Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 2:44 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

It might be the <div styles relating to the themes style.css

try changing all the <div></div> to <p></p> tags instead.. just a hunch
 

 
View user's profileSend private messageSend e-mail Reply with quote


northernstu
Reputation: 490.1 Add RepSubtract Rep
Local time: 11:10 AM

uk.gif

Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Nov 08, 2007
Last Visit: 11 Apr 2010
Posts: 28
Points: 7194 

Post Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 2:53 pm

Shop Purchases:
Americas Army PhpNuke Theme · Multi Gaming (Warrior) Theme · Modern Warfare 2 Evo Xtreme · Modern Gamer Evo Xtreme Theme

tried changing the div to p to no avail
its easier for me to post the url

www.u8.clanservers.com
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 93.7 Add RepSubtract Rep
votes: 37
Local time: 6:10 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 25 May 2012
Posts: 3672
Points: 191886 

Post Re: Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 3:19 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

I think I see the reason !! duh cant believe I missed it to be honest

Find

Code:
</td></a>


Remove the

Code:
</td>


save and upload
 

 
View user's profileSend private messageSend e-mail Reply with quote

northernstu
Reputation: 490.1 Add RepSubtract Rep
Local time: 11:10 AM

uk.gif

Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Nov 08, 2007
Last Visit: 11 Apr 2010
Posts: 28
Points: 7194 

Post Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 3:32 pm

Shop Purchases:
Americas Army PhpNuke Theme · Multi Gaming (Warrior) Theme · Modern Warfare 2 Evo Xtreme · Modern Gamer Evo Xtreme Theme

once again Ped you have rushed to my aid again.
many thanks for your time and patience.

regards

northernstu
 

 
View user's profileSend private message Reply with quote


Ped
Reputation: 93.7 Add RepSubtract Rep
votes: 37
Local time: 6:10 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 25 May 2012
Posts: 3672
Points: 191886 

Post Re: Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 3:59 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

Ive added it a download if anyone else wants it !

http://www.clanthemes.com/downloaddetails-8-700-clan-pay-block.html

Very nice block, I edited a few of the variable's so users can change stuff easily
 

 
View user's profileSend private messageSend e-mail Reply with quote

northernstu
Reputation: 490.1 Add RepSubtract Rep
Local time: 11:10 AM

uk.gif

Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Nov 08, 2007
Last Visit: 11 Apr 2010
Posts: 28
Points: 7194 

Post Block edit leaves gap at top of block Posted: Sat Feb 21, 2009 10:20 pm

Shop Purchases:
Americas Army PhpNuke Theme · Multi Gaming (Warrior) Theme · Modern Warfare 2 Evo Xtreme · Modern Gamer Evo Xtreme Theme

thanks for the recognition ped.

all the best

stu
 

 
View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
7 Replies / 932 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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 can download files in this forum