Akhidjon

Toomics webtoon page added in to view/index.ejs

...@@ -203,6 +203,55 @@ ...@@ -203,6 +203,55 @@
203 </br> 203 </br>
204 204
205 </div> 205 </div>
206 + <font size = 30>
207 + 투믹스 웹툰
208 +</font>
209 +<a onclick="Naver_webtoons.style.display=(Naver_webtoons.style.display=='none')?'block':'none';" href="javascript:void(0)">
210 + <img src ='https://is4-ssl.mzstatic.com/image/thumb/Purple128/v4/d9/c7/99/d9c79934-4e9a-4926-fa53-b4863bae52b4/source/512x512bb.jpg' width="83" height="90"/>
211 +</a>
212 +<div id="Toomics_webtoons" style = "display:none">
213 +
214 + <table>
215 + <%
216 + var current = "";
217 + for(webtoon in list){
218 +
219 + if(current!=list[webtoon].week && list[webtoon].site == 'toomics'){
220 + if(current!=""){
221 + %>
222 + </tr>
223 + <% } %>
224 + <tr>
225 + <th><%= list[webtoon].week %></th>
226 + <% } %>
227 + <%
228 + if(list[webtoon].site == 'toomics')
229 + {
230 + %>
231 + <td>
232 + <a href="<%= list[webtoon].webtoon_link %>">
233 + <img alt="img" width="83" height="90" src="<%= list[webtoon].thum_link %>"/>
234 + </a>
235 + <%= list[webtoon].name %>
236 + </td>
237 + <%
238 + }
239 + %>
240 +
241 + <%
242 + if(current!=list[webtoon].week) {
243 + current = list[webtoon].week;
244 + %>
245 +
246 + <%
247 + }
248 + }
249 + %>
250 + </tr>
251 + </table>
252 + </br>
253 +
254 +</div>
206 </body> 255 </body>
207 256
208 </html> 257 </html>
......