Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <!--#include file="header.asp" -->
  2. <script>
  3.  
  4. $(function(){
  5.  
  6. surferGallery([],'/img/returnhome.png','/lookbook.asp','lb2011');
  7.  
  8. })
  9.  
  10. </script>
  11. <%
  12. dim lookbook___
  13. dim x___
  14. lookbook___ = r.q("SELECT imageRotatorDetailID, imageRotatorCategoryID, path, link, title, cropX, cropY, cropH, cropW, height, width, comments, description, " & _
  15. " enabled, rotator_order, thumb_order, rotatorHeight, rotatorWidth, thumbHeight, thumbWidth, userid, addDate, blogHeight, blogWidth, portfolioHeight, portfolioWidth, tagsToSearchFor " & _
  16. " FROM imageRotatorDetail where imageRotatorCategoryID = (select imageRotatorCategoryID from dbo.imageRotatorCategories " & _
  17. " where categoryName = 'Look Book')")
  18. %>
  19. <table class="surfteam">
  20. <tr>
  21. <%
  22. dim stags
  23. dim tagslist
  24. if isArray(lookbook___) then
  25. for x___=0 to ubound(lookbook___,2)
  26. %>
  27. <%if x___ mod 6 = 0 and x___ > 0 then%>
  28. </tr><tr>
  29. <%end if%>
  30. <td onclick="surferGallery([],'/img/returnhome.png','/lookbook.asp','<%=lookbook___(26,x___)%>');" class="teamsurfers" style="cursor:pointer;font-size:12px;padding:25px 15px 5px 0px;text-align:center;color:black;font-weight:bold;">
  31. <img src="/scripts/gallery/<%=r.jguid(lookbook___(0,x___))%>r.<%=fileType%>" style="display:block;border:none;" alt="<%=lookbook___(4,x___)%>"/>
  32. <%=replace(trim(lookbook___(4,x___))," ","<br/>")%>
  33. </td>
  34. <%next
  35. end if
  36. %>
  37. </table>
  38. <!--#include file="footer.asp" -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement