#include "Menu.h" #include "HttpServ.h" Menu::Menu(const String & t, const String & U, String * ts, Action ** as, int nb) : Action(U), tit(t), lt(ts), la(as), nba(nb) { } void Menu::Do(Variables * v, Handle * h) { int i, f = 0; SendHead(h); (*h) << "
" << endnl; for (i = 0; i < nba; i++) { (*h) << "" << endnl; f = f ? 0 : 1; } (*h) << "
" << (i + 1) << "" "GetURL() : "start") << "\">" << lt[i] << "
" << endnl; SendFoot(h); Accessed(); } String Menu::GetTitle(void) { return tit; }