#include "Table.h" #include "HttpServ.h" Table::Table(const String & titre, const String & url, String * heads, String * cells, int nbc, int nbl, Action * na) : Action(url), tit(titre), hds(heads), cls(cells), nc(nbc), nl(nbl), Next(na) { } String Table::GetTitle(void) { return tit; } void Table::Do(Variables * v, Handle * h) { SendHead(h); (*h) << "
" << hds[i] << " | " << endnl; } (*h) << "
---|
" << cls[l * nc + c] << " | " << endnl; } (*h) << "