Login   Register  
PHP Classes
elePHPant
Icontem

File: programtemplates/index_templ.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valics Lehel  >  PaginationClass  >  programtemplates/index_templ.html  >  Download  
File: programtemplates/index_templ.html
Role: Auxiliary data
Content type: text/plain
Description: Template main file ex1
Class: PaginationClass
Show links to browse listings using templates
Author: By
Last change:
Date: 2008-03-23 01:29
Size: 2,536 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>cls_pagination 1 template example</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="600" border="0">
  <tr>
    <td><div align="center">This is an example of data pagination. </div></td>
  </tr>
  <tr>
    <td><div align="center"><strong>HERE MUST BE THE QUERY DATA!! </strong></div></td>
  </tr>
  <tr>
    <td><div align="center">
<!-- Start: This part must be copied into your template -->
<!-- Just let all the comments as they are and change only the html design elements. -->
<!-- If you don't need this much of data for pagination, just work with the type element from -->
<!-- the programming part. The very basic is 0 and the full is 5. -->
<!-- IFDEF: PAGINATION -->
<table width="95%"  border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
  <!-- IFDEF: PAGINATION_TOTAL -->
    <td class="error">
	   <strong>{LANG_PAGINATION_TOTAL} {PAGINATION_TOTAL_VALUE}</strong>
	  </td>
  <!-- ENDIF -->

  <!-- IFDEF: PAGINATION_FIRST -->
    <td class="error">
	  <a href="{LINK_FIRST}" class="txtbox">
	   <strong>{LANG_PAGINATION_FIRST}</strong>
	  </a>
	  </td>
  <!-- ENDIF -->

   <!-- IFDEF: PAGINATION_PREV -->
    <td class="error">
	  <a href="{LINK_PREV}" class="txtbox">
	   <strong><< {LANG_PAGINATION_PREV}
	   <!-- IFDEF: PAGINATION_PREV_NUM -->
	   ({PAGINATION_PREV_NUM_VALUE})
	   <!-- ENDIF -->
	   </strong>
	  </a>
	  </td>
  <!-- ENDIF -->



  <!-- BEGIN DYNAMIC BLOCK: rowpag -->
      <td class="error">
	  <a href="{LINK}" class="txtbox">
	  <!-- IFDEF: PAGINATION_FEATURED -->
	  <strong>{PAGINATION_NAME}</strong>
	  <!-- ELSE -->
	  {PAGINATION_NAME}
	  <!-- ENDIF -->
	  </a>
	  </td>
  <!-- END DYNAMIC BLOCK: rowpag -->


  <!-- IFDEF: PAGINATION_NEXT -->
    <td class="error">
	  <a href="{LINK_NEXT}" class="txtbox">
	   <strong>{LANG_PAGINATION_NEXT}
	   <!-- IFDEF: PAGINATION_NEXT_NUM -->
	   ({PAGINATION_NEXT_NUM_VALUE})
	   <!-- ENDIF -->
	    >></strong>
	  </a>
	  </td>
  <!-- ENDIF -->

  <!-- IFDEF: PAGINATION_LAST -->
    <td class="error">
	  <a href="{LINK_LAST}" class="txtbox">
	   <strong>{LANG_PAGINATION_LAST}</strong>
	  </a>
	  </td>
  <!-- ENDIF -->
</tr>
</table>
<!-- ENDIF -->
<!-- End: This part must be copied into your template -->
</div></td>
  </tr>
</table>
</body>
</html>