Fix user profile links on the top

sql-rework
Tomasz Golinski 2020-01-25 22:22:25 +01:00
rodzic e6dc8e930a
commit 6e200ee00d
1 zmienionych plików z 15 dodań i 1 usunięć

Wyświetl plik

@ -252,7 +252,21 @@ int main(int argc, char** argv) {
std::cout << " <title>Geocaching stats</title>\n";
std::cout << "</head>\n";
std::cout << "<body>\n";
std::cout << "<h1>Geocaching stats for user <a href=\"" << ocpl_user_profile << "\">" << ocpl_user << "</a></h1>\n";
std::cout << "<h1>Geocaching stats for user profiles: <br>\n";
if (!ocpl_user.empty())
std::cout << "<a href=\"" << ocpl_user_profile << "\">" << ocpl_user << " @ OCpl</a><br>\n";
if (!ocde_user.empty())
std::cout << "<a href=\"" << ocde_user_profile << "\">" << ocde_user << " @ OCde</a><br>\n";
if (!ocus_user.empty())
std::cout << "<a href=\"" << ocus_user_profile << "\">" << ocus_user << " @ OCus</a><br>\n";
if (!ocnl_user.empty())
std::cout << "<a href=\"" << ocnl_user_profile << "\">" << ocnl_user << " @ OCnl</a><br>\n";
if (!ocro_user.empty())
std::cout << "<a href=\"" << ocro_user_profile << "\">" << ocro_user << " @ OCro</a><br>\n";
if (!ocuk_user.empty())
std::cout << "<a href=\"" << ocuk_user_profile << "\">" << ocuk_user << " @ OCuk</a><br>\n";
std::cout << "</h1>\n";
if (!heat_file.empty()) {
const Map* chosen_map;