login.ejs 5.71 KB
<!DOCTYPE html>
<html>
   <head>
      <style>
         table
         {
            width: 100%;
            text-align: center;
         }

      table.type06 {
      border-collapse: collapse;
      text-align: left;
      line-height: 1.5;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
      margin: 20px 10px;
      }

      table.type06 th {
      width: 150px;
      padding: 10px;
      font-weight: bold;
      vertical-align: top;
      }

      table.type06 td {
      width: 350px;
      padding: 10px;
      vertical-align: top;
      }

      table.type06 .even {
      background: #efefef;
      }

      row header h2
      {
         margin-right: 50px;
      }
         #nav
         {
            position: absolute;
            right: 0em;
            top: 2.2em;
         }

            #nav > ul > li
            {
               float: left;
            }

               #nav > ul > li:last-child
               {
                  padding-right: 0;
               }

               #nav > ul > li > a,
               #nav > ul > li > span
               {
                  display: block;
                  margin-left: 0.7em;
                  padding: 0.80em 1.2em;
                  letter-spacing: 0.06em;
                  text-decoration: none;
                  text-transform: uppercase;
                  font-size: 1.1em;
                  outline: 0;
                  color: #333;
               }

               #nav li.active a
               {
                  background: #e95d3c;
                  border-radius: 5px;
                  color: #FFF;
               }

               #nav > ul > li > ul
               {
                  display: none;
               }

               section,
               article
               {
                  margin-bottom: 3em;
               }

               section > :last-child,
               article > :last-child
               {
                  margin-bottom: 0;
               }

               section:last-child,
               article:last-child
               {
                  margin-bottom: 0;
               }

               .row > section,
               .row > article
               {
                  margin-bottom: 0;
               }

               #Pic
               {
                  position: relative;
               }

               #Pic header h2
               {
                  font-size: 1.6em;
               }

               #3u img
               {
                  height: 200px;
                  width: 200px;
               }
               p, ul, ol, dl, table
               {
                  margin-bottom: 1em;
               }

               #p img
               {
                  height: 200px;
                  width: 200px;
               }

      .logo
      {
            text-align: center;
      }

      li {
         display:inline;
         border-left:1px solid #999;
         font:bold 12px Dotum;
         padding:0 10px;
      }

      </style>
      <style type="text/css">

      a:link { text-decoration:none; color:#000000;}
      a:visited { text-decoration:none;color:#000000;}
      a:active {text-decoration:none; color:#0000FF; }
      </style>
   </head>
   <body class="party">
    <div id="header">
         <div class="container">

            <!-- Logo -->
               <div id="logo">
                  <h1 style = "text-align:center;">검색 기록</h1>
               </div>

            <!-- Nav -->
               <nav id="nav">
                  <ul>
                     <li><a href="http://localhost:3000/Home">Home</a></li>
                  </ul>
               </nav>

         </div>
      </div>

      <br><br>
    <div id = "new1">
    <h1>검색한 네이버 댓글</h1>
    <table border="1">
      <tr>
          <td>작성자</td>
          <td>댓글내용</td>
               <td>작성날짜</td>
               <td>링크</td>
       </tr>
         <%
        for(var i = 0; i < lengNav; i++) {
            var data = _naver[i]
            %>
            <tr>
                     <td><%= data.Naver_Name %></td>
              <td><%= data.Naver_Text %></td>
               <td style = "text-overflow: ellipsis;"><%= data.Naver_Date %></td>
                     <td><%= data.Naver_Link %></td>
            </tr>
      <% }%>
      </table>
      <br>
      <h1>검색한 트위터 댓글</h1>
    <table border="1">
      <tr>
          <td>작성자</td>
          <td>댓글내용</td>
               <td>작성날짜</td>
               <td>링크</td>
       </tr>
         <%
        for(var i = 0; i < lengTwi; i++) {
            var data = _twitter[i]
            %>
            <tr>
                     <td><%= data.Twitter_Name %></td>
              <td><%= data.Twitter_Text %></td>
               <td style = "text-overflow: ellipsis;"><%= data.Twitter_Date %></td>
                     <td  style = "text-overflow: ellipsis;"><%= data.Twitter_Link %></td>
            </tr>
      <% }%>
      </table>
            <br>
            <h1>검색한 유튜브 댓글</h1>
          <table border="1">
            <tr>
                <td>작성자</td>
                <td>댓글내용</td>
                     <td>작성날짜</td>
                     <td>링크</td>
             </tr>
               <%
              for(var i = 0; i < lengYou; i++) {
                  var data = _youtube[i]
                  %>
                  <tr>
                           <td><%= data.Youtube_Name %></td>
                    <td><%= data.Youtube_Text %></td>
                     <td style = "text-overflow: ellipsis;"><%= data.Youtube_Date %></td>
                           <td><%= data.Youtube_Link %></td>
                  </tr>
            <% }%>
            </table>
         <br>
</body>
</html>