diff --git a/tools/www-tpl/default-es/community.tpl b/tools/www-tpl/default-es/community.tpl new file mode 100644 index 0000000..208043b --- /dev/null +++ b/tools/www-tpl/default-es/community.tpl @@ -0,0 +1,478 @@ + + + + + + {{ site.siteName }}: Community + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{% if session.loggedIn == false %} + +{% else %} + +{% endif %} + +{% include "base/header.tpl" %} + +
+ + + +
+
+
+ +
+
+ + + +
+ +
+
    +{% autoescape 'html' %} +{% set num = 0 %} +{% for room in recommendedRooms %} + {% if num % 2 == 0 %} +
  • + {% else %} +
  • + {% endif %} + + {% set occupancyLevel = 0 %} + {% if room.getData().getVisitorsNow() > 0 %} + + {% set percentage = ((room.getData().getVisitorsNow() * 100) / room.getData().getVisitorsMax()) %} + + {% if (percentage >= 99) %} + {% set occupancyLevel = 5 %} + {% elseif (percentage > 65) %} + {% set occupancyLevel = 4 %} + {% elseif (percentage > 32) %} + {% set occupancyLevel = 3 %} + {% elseif (percentage > 0) %} + {% set occupancyLevel = 2 %} + {% endif %} + + {% endif %} + + + Entrar a {{ site.siteName }} Hotel + {% autoescape 'html' %}{{ room.getData().getName() }}{% endautoescape %} + {% autoescape 'html' %}{{ room.getData().getDescription() }}{% endautoescape %} + Dueño: {{ room.getData().getOwnerName() }} + +
  • +{% set num = num + 1 %} +{% endfor %} +
+ + +
+
+ +
+
+ + +
+
+
+

Grupos

+ + +
+ +
+ +
    + {% autoescape 'html' %} + {% set num = 1 %} + {% for topic in recentTopics %} + + {% if num % 2 == 0 %} +
  • + {% else %} +
  • + {% endif %} + + + {{ topic.getTopicTitle }} + + +
    + ( + 1 + {% if topic.getRecentPages()|length > 0 %} + ... + {% for page in topic.getRecentPages() %} + {{ page }} + {% endfor %} + {% endif %} + ) +
    +
  • + {% set num = num + 1 %} + {% endfor %} + {% endautoescape %} +
+ + + + +
+ +
+
+ + +
+
+ +

{{ site.siteName }}s al azar - ¡Haz clic!

+
+ + +{% set num = 0 %} +{% for habbo in randomHabbos %} +
+
+ {% if habbo.isOnline() %} +
{{ habbo.getName() }}
+ {% else %} +
{{ habbo.getName() }}
+ {% endif %} + + {{ site.siteName }} creado en: {{ habbo.getCreatedAt() }} +

{{ habbo.getMotto() }}

+
+
+ + +{% set num = num + 1 %} +{% endfor %} +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+ +
+
+
+
+
+

Ultimas noticias

+

{% if article1.isPublished() == false %}*{% endif %}{{ article1.title }}

+

+ {{ article1.shortstory }}

+

+ Leer más » +

+
+ + + +
+ +
+ +
+ +
+ + +
+
+

YoSoys

+ {% include "habblet/tagList.tpl" %} +
+
+ +
+ +
+ + +
+ + + + +
+
+
+ {% include "base/ads_container.tpl" %} +
+
+ +
+ + +
+{% include "base/footer.tpl" %} + + + + \ No newline at end of file