Go to Content
Columbia College Chicago
PHP templates
Print this Page Email this Page

PHP templates

Example Use

<?php
		$title = "PHP templates"; // must be escaped.
		$maintainer = "mmcclintock"; // username (ex. 'mmcclintock') used for email form in bottom template.
//		$smtitle = ""; // shorter version of the title, for upper part of page underneath section name graphic.
//		$bloglinks = ""; // full code (HTML) for sidebar area. Used by MT.
//		$blog_parent = ""; // HTML or plain text. Will show up in breadcrumbs, before current page title.
//		$section_image = ""; // full URL to image/graphic for section name.
//		$header_image = ""; // full URL to image for Header area.
//		$description = ""; // replace default meta descriptions.
//		$additionalCSS = ""; // full URL to supplemental stylesheet.
//		$links = "/Library/WebServer/Documents/undergraduate/theater/links.inc"; // full path or URL
		include ("http://web2.colum.edu/templates/generic-header.php.txt");
?>

<p> Content goes here </p>


<?php
		include ("http://web2.colum.edu/templates/generic-footer.php.txt");
?>