Re: [PHP] control panel--graphic question

2004-04-02 Thread Don Read

On 02-Apr-2004 Leonard B Burton wrote:
> Greetings,
> 
> This is more of a graphic question
> 
> For a program I am writting I need to have a control panel to display
> anything that may be wrong.  I would like to use something like a
> stoplight so that it would be easily understood by a lay person. 
> Does anyone have any comments as to what they have used?  Also does
> anyone have a function/graphic that would be a stop light and
> changing the var would make it either show red, green, or yellow?
>
 
function stoplight($val) {

$light = array(
  'ok'=> 'images/green.jpg',
  'iffy'  => 'images/yellow.jpg',
  'bad'   => 'images/red.jpg'
);

echo '';
}

 ...

stoplight( $foo < 10 ? 'ok' : $foo > 25 ? 'bad' : 'iffy' );


Regards,
-- 
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] control panel--graphic question

2004-04-02 Thread Jay Blanchard
[snip]
For a program I am writting I need to have a control panel to display
anything that may be wrong.  I would like to use something like a
stoplight so that it would be easily understood by a lay person.  Does
anyone have any comments as to what they have used?  Also does anyone
have a function/graphic that would be a stop light and changing the var
would make it either show red, green, or yellow?
[/snip]

you will need three graphics

if("good" == $condition){
   echo "\n";
} elseif("marginal" == $condition){
   echo "\n";
} elseif("bad" == $condition){
   echo "\n";
}

HTH!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Control Panel

2002-01-27 Thread Chris Kay

Love the rsponce Miles

If you could make it then make it

I mean what use would a control panel be on a website, why on earth
Would you want suck features as "Add / Remove Programes" and "Internet
Options"
On a website :)...

If you want it to be the best then a pre built script(s) is not going to
be good for you,
Because the best would have all features you need and more and something
out there is not made for you alone.

Building it would be your best choice...

Regards
Chris Kay

-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, 27 January 2002 1:52 PM
To: karthikeyan; [EMAIL PROTECTED]
Subject: Re: [PHP] Control Panel


Spare us1

Miles Thompson

On Saturday 26 January 2002 09:39 pm, karthikeyan wrote:
> Hi Guys,
>
>   I want a affordable and the best control panel for my website.  
> Though i can make it myself but it make some time to do that.  Do any 
> of you guys and gals know about this do let me know.
>
>   Looking forward for yours earliest reponse.
>
> karthikeyan.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Control Panel

2002-01-26 Thread Miles Thompson

Spare us1

Miles Thompson

On Saturday 26 January 2002 09:39 pm, karthikeyan wrote:
> Hi Guys,
>
>   I want a affordable and the best control panel for my website.  Though i
> can make it myself but it make some time to do that.  Do any of you guys
> and gals know about this do let me know.
>
>   Looking forward for yours earliest reponse.
>
> karthikeyan.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Control Panel , Webmin or similar Written in PHP

2001-12-29 Thread Brian Clark

* rick ([EMAIL PROTECTED]) [Dec 29. 2001 03:18]:

>  I was Wondering if it would be possible to write a proyect like Control 
> Panel , WebMin (both are in Perl ) using PHP instead of PERL ? 

> Would it be possible ? 

Sure, why not?

> PHP has the power and flexibility like Perl to write TRUE Systems programs that
> could be able to manage all the aspects related to System Administration ?? 

> If there any proyect I would like to hear about it and join it . 

Don't know of any, but check here

or maybe here


-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Where are we going and why am I in this handbasket?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]