multiple led webserver help

any one???
some one help me modify it?? and i guess this needs modification....
and parameter can be simple like ?led=1010.... where 1 represents on and 0 represents off
void homePage()
{
bfill.emit_p(PSTR("$F"
""
"Ethercard LED"
"ledStatus: <a href="?led=$F">$F"),
http_OK,
ledStatus?PSTR("off"):PSTR("on"),
ledStatus?PSTR("ON"):PSTR("OFF"));
}