Jump to content

Updated site, what are your comments?


James142

Recommended Posts

Another really annoying pop up every time you visit, and this time it can't be closed...

I think you should just have the flags in the top right as they are.

Nice idea.

(The translation is interesting too :P)

@Tom, thanks :) I've just added a code so it will remember your choice on your next visit :)

@ Joeri, I belive I got the code from http://www.dynamicdr...ead.php?t=56899 and edited it abit. I can give you the full code I did if you want :P

Thanks

Link to comment
Share on other sites

  • Moderators

nope thats not what i was refering to ;-)

i ment the slide show ;-)

and how did you got the status to show on the pilot roster i never got that to work

Joeri,

Add some more classes names to your css then use them in the pilots page for the status,

Pilots list,

<td><div align="center">
<?php                
       if($pilot->retired == 0)
                echo '<p id="success">Active</p>';
       elseif($pilot->retired == 1)
                echo '<p id="pending">Inactive</p>';
       elseif($pilot->retired == 2)
                echo '<p id="error">Banned</p>';
       elseif($pilot->retired == 3)
                echo '<p id="holiday">Holiday</p>';
 elseif($pilot->retired == 4)
                echo '<p id="resigned">Resigned</p>';      
?>

That is what i use ;)

Sorry for hijacking this thread James.

Link to comment
Share on other sites

Joeri,

Add some more classes names to your css then use them in the pilots page for the status,

Pilots list,

<td><div align="center">
<?php                
       if($pilot->retired == 0)
            	echo '<p id="success">Active</p>';
       elseif($pilot->retired == 1)
            	echo '<p id="pending">Inactive</p>';
       elseif($pilot->retired == 2)
            	echo '<p id="error">Banned</p>';
       elseif($pilot->retired == 3)
            	echo '<p id="holiday">Holiday</p>';
    elseif($pilot->retired == 4)
            	echo '<p id="resigned">Resigned</p>';      
?>

That is what i use ;)

Sorry for hijacking this thread James.

Ha :P

@Joeri, I used the rotate.php file (http://www.alistapart.com/d/randomizer/rotate.txt)

Link to comment
Share on other sites

  • Moderators

Joeri,

Add some more classes names to your css then use them in the pilots page for the status,

Pilots list,

<td><div align="center">
<?php                
       if($pilot->retired == 0)
                echo '<p id="success">Active</p>';
       elseif($pilot->retired == 1)
                echo '<p id="pending">Inactive</p>';
       elseif($pilot->retired == 2)
                echo '<p id="error">Banned</p>';
       elseif($pilot->retired == 3)
                echo '<p id="holiday">Holiday</p>';
 elseif($pilot->retired == 4)
                echo '<p id="resigned">Resigned</p>';      
?>

That is what i use ;)

Sorry for hijacking this thread James.

Mark ans James thats the code i used for it exept the classes only the words active and on leave but it will only show active on the website and no inactive or on leave

Link to comment
Share on other sites

Brilliant Site ! Maybe think about adding some more colour in the context area on the index page possible have the table headings in a nice background colour ?

Thanks Harry :) I am re-coding the site on localhost for Ie as it is messed up when viewed with it, so hopefully I can take your advice on board when I have finished that.

Kindest Regards.

Link to comment
Share on other sites

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.

Loading...
×
×
  • Create New...