21 lines
		
	
	
		
			545 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			545 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 	if (!isset($CMS_ACTIVE)) exit();
 | |
| 	require("page.php");
 | |
| ?>
 | |
| 
 | |
| <h1>Subpage template</h1>
 | |
| <p>
 | |
| 	This is a subpage. The following code demonstrates the features of page.php.
 | |
| </p>
 | |
| 
 | |
| <?php
 | |
| 	beginEntry("Category 0");
 | |
| 	addEntry("Entry 0", "b/img/2016/fft.png", "//link", "Description");
 | |
| 	addEntry("Entry 1", "b/img/2016/fft.png", "//link", "Description");
 | |
| 	endEntry();
 | |
| 	beginEntry("Category 1");
 | |
| 	addEntry("Entry 2", "b/img/2016/fft.png", "//link", "Description");
 | |
| 	addEntry("Entry 3", "b/img/2016/fft.png", "//link", "Description");
 | |
| 	endEntry();
 | |
| ?>
 |