Advertisement
Guest User

Untitled

a guest
Jul 9th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.01 KB | None | 0 0
  1. .nextpage {
  2.     background-color: #bfb7a8;
  3.     font-family: Arial, Helvetica, sans-serif;
  4.     font-size: 12px;
  5.     font-weight: bold;
  6.     color: #333333;
  7.     text-align: right;
  8.     border-top: 1px solid #000000;
  9.     border-bottom: 1px solid #000000;
  10.     padding: 3px 14px 3px 0;
  11.     margin-bottom: 20px;
  12.     line-height: 12px;
  13. }
  14.  
  15.     .nextpage > ul {
  16.         list-style: none;
  17.         width: 100%;
  18.         margin: 0;
  19.         padding: 0;
  20.     }
  21.    
  22.     .nextpage > li {
  23.         line-height: 12px;
  24.         margin: 0;
  25.         padding: 0;
  26.     }
  27.    
  28.     .currentpage {
  29.         color: #000000;
  30.         background-color: #E5E1D9;
  31.         padding: 3px 5px 3px 5px;
  32.     }
  33.  
  34.     .nextpagered {
  35.         font-family: Arial, Helvetica, sans-serif;
  36.         font-weight: bold;
  37.         color: #840404;
  38.     }
  39.  
  40. ===========================================
  41.  
  42. <div class="nextpage">
  43.             <ul>
  44.                 <li><span class="boldblack">Continue Reading...</span>
  45.                     <% if page = 1 OR page = "" then
  46.                         page = 1
  47.                         nextpage=page+1
  48.                         else %>
  49.                         <a href="?page=<%=previouspage%>">Previous</a> |
  50.                     <% end if %>
  51.                    
  52.                     <% if page = 1 OR page = "" then %>
  53.                         <span class="currentpage">1</span> |
  54.                         <% else %>
  55.                         <a href="?page=1" class="nexpagered">1</a> |
  56.                     <% end if %>
  57.                    
  58.                     <% if page = 2 then %>
  59.                         <span class="currentpage">2</span> |
  60.                         <% else %>
  61.                         <a href="?page=2" class="nextpagered">2</a> |
  62.                     <% end if %>
  63.                    
  64.                     <% if page = 3 then %>
  65.                         <span class="currentpage">3</span> |
  66.                         <% else %>
  67.                         <a href="?page=3" class="nextpagered">3</a> |
  68.                     <% end if %>
  69.                    
  70.                     <% if page = 4 then %>
  71.                         <span class="currentpage">4</span> |
  72.                         <% else %>
  73.                         <a href="?page=4" class="nextpagered">4</a> |
  74.                     <% end if %>
  75.                    
  76.                     <% if page = 5 then %>
  77.                         <span class="currentpage">5</span> |
  78.                         <% else %>
  79.                         <span class="nextpagered"><a href="?page=5">5</a></span> |
  80.                     <% end if %>
  81.  
  82.                     <% if maxpages = 0 then %>
  83.                         <% else %>
  84.                         <a href="?page=<%=nextpage%>">Next</a>
  85.                     <% end if %>
  86.                 </li>
  87.             </ul>
  88.         </div> <!-- end class="nextpage" -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement