This commit is contained in:
kogleee
2023-11-08 13:17:48 +03:00
commit 3dbd9654c2
136 changed files with 14736 additions and 0 deletions

25
task31/views/contact.ejs Normal file
View File

@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title><%=title %></title>
<meta charset="utf-8" />
</head>
<body>
<%- include("partials/menu.ejs") %>
<h1><%=title %> в EJS</h1>
<% if(emailsVisible) {%>
<h3>Электронные адреса</h3>
<ul>
<% for(var i=0; i<emails.length;i++) {%>
<li><%=emails[i] %></li>
<%} %>
</ul>
<% }else {%>
<h3>Электронный адрес отсутствует</h3>
<%} %>
<p>Телефон: <%=phone %></p>
<%- include("partials/footer.ejs") %>
</body>
<html>

View File

@@ -0,0 +1 @@
<footer><p>MyCorp - Copyright © 2017</p></footer>

View File

@@ -0,0 +1,4 @@
<nav>
<a href="/">Главная</a> |
<a href="/contact">Контакты</a>
</nav>