<!DOCTYPE html>
<html lang="en">
<head>
{% block content %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=cs) }}">
<meta property="og:title" content="Jokes, Music, Servers and more..."/>
<meta property="og:description" content="https://github.com/Boyaroslav"/>
<link rel="icon" type="image/png" href="static/img/bitmap.png">
</head>
<body>
{%if cs != 'main3.css'%}
<div class="notaccountblock">
<a href="/jokes" class="button">{{translations['юморюськи'][lang]}}</a> <br>
<a href="/music" class="button">{{translations['музыка'][lang]}}</a> <br>
<a href="/servers" class="button">{{translations['сервера'][lang]}}</a> <br>
<a href="/gitreps" class="button">{{translations['гит'][lang]}}</a> <br>
<a href="/goyda_lent" class="button">{{translations['Гойда'][lang]}}</a> <br>
<a href="/snake" class="button">{{translations['змейка'][lang]}}</a>
</div>
<div class="accountblock">
{% if current_user.is_authenticated %}
<a href="/our_dear_users/{{current_user.id}}" class="button">{{current_user.name}}</a> <br>
<a href="/logout" class="button">{{translations['выйти'][lang]}}</a>
{%else%}
<a href="/register" class="button">{{translations['регистрация'][lang]}}</a> <br>
<a href="/login" class="button">{{translations['логин'][lang]}}</a>
{% endif %}
</div>
{%else%}
<div class="notaccountblock" >
<a style="text-decoration: none;" href="/jokes" class="button">{{translations['юморюськи'][lang]}}</a> <br>
<p> | </p>
<a style="text-decoration: none;" href="/music" class="button">{{translations['музыка'][lang]}}</a> <br>
<p> | </p>
<a style="text-decoration: none;" href="/servers" class="button">{{translations['сервера'][lang]}}</a> <br>
<p> | </p>
<a style="text-decoration: none;" href="/gitreps" class="button">{{translations['гит'][lang]}}</a> <br>
<p> | </p>
<a style="text-decoration: none;" href="/goyda_lent" class="button">{{translations['Гойда'][lang]}}</a>
<p> | </p>
<a style="text-decoration: none;" href="/snake" class="button">{{translations['змейка'][lang]}}</a>
{% if current_user.is_authenticated %}
<a style="float:right;text-decoration: none; margin-left: 15px" href="/our_dear_users/{{current_user.id}}" class="button">{{current_user.name}} </a> <br>
<a style="float:right;text-decoration: none;" href="/logout" class="button">{{translations['выйти'][lang]}}</a><br>
{%else%}
<a style="float:right;text-decoration: none; margin-left: 15px" href="/register" class="button">{{translations['регистрация'][lang]}} </a> <br>
<a style="float:right;text-decoration: none;" href="/login" class="button">{{translations['логин'][lang]}}</a><br>
{% endif %}
</div>
{%endif%}
{%if cs != 'main3.css'%}
<div class="text1">
{% if current_user.is_authenticated %}
<h1>{{translations['привет'][lang]}}, {{current_user.name}}</h1>
{%else%}
<h1>{{translations['кто это'][lang]}}</h1>
{% endif %}
</div>
{%endif%}
{% if current_user.is_authenticated %}
<div class="joke">
{%if cs != 'main3.css'%}
<a href="/change_cs"><div class="switch-btn"></div></a>
{%else%}
<a href="/change_cs"><div class="switch-btn switch-on"></div></a>
{%endif%}
<p>Guys, I need to have good memes/jokes about programming. Please help me. Im waiting.</p>
</div>
<div class="joke">
<p>{{translations['новостидляработяг'][lang]}}</p>
<img src="static/img/dedd79f183b2a28b47d9ec7c2208356d.jpg">
{%if cs == 'main.css'%}
<p>Thanks <a href="/our_dear_users/sema">sema</a> for the design!!!</p>
{%endif%}
</div>
<div class="joke">
<p>{{translations['статьадмином'][lang]}}</p>
<p><a href="/our_dear_users/our_dear_admins">{{translations['нашагордость'][lang]}}</a></p>
</div>
{%else%}
<div class="joke">
<p><a href="/docs/why_registration">{{translations['зачрег'][lang]}}</a></p>
</div>
{%endif%}
<div class="joke">
<a href="/phys"><p>теория по механике для зачёта</p></a>
</div>
<div class="joke">
<a href="http://rusbsd.org" alt="Сайт дистрибутива РУС-BSD"> <img src="http://rusbsd.org/files/rusbsd-banner.png" border="0" /></a>
</div>
<div class="joke">
<a href="/change_language/en?page=/" class="button">en</a>
<a href="/change_language/ru?page=/" class="button">ru</a>
<a href="/change_language/sp?page=/" class="button">es</a>
</div>
{% endblock %}
</body>
</html>