PHP Classes

File: examples/tbs_us_examples_prmmagnet.php

Recommend this page to a friend!
  Classes of Skrol29  >  TinyButStrong template engine  >  examples/tbs_us_examples_prmmagnet.php  >  Download  
File: examples/tbs_us_examples_prmmagnet.php
Role: Example script
Content type: text/plain
Description: examples and tests - magnet
Class: TinyButStrong template engine
Template Engine for Pro and Beginners
Author: By
Last change: goes with last TBS version
Date: 3 years ago
Size: 524 bytes
 

Contents

Class file image Download
<?php

include_once('tbs_class.php');

//Default value
if (!isset($_GET)) $_GET=&$HTTP_GET_VARS;
if (isset(
$_GET['empty'])) {
 
$empty = $_GET['empty'];
} else {
 
$empty = 0;
}

if (
$empty) {
   
$url = '';
   
$image = '';
   
$line1 = '1 New Avenue';
   
$line2 = '';
} else {
   
$url = 'www.tinybutstrong.com';
   
$image = 'tbs_us_examples_prmmagnet.gif';
   
$line1 = '2 Main Street';
   
$line2 = '3rd floor';
}

$TBS = new clsTinyButStrong;
$TBS->LoadTemplate('tbs_us_examples_prmmagnet.htm');
$TBS->Show();

?>

For more information send a message to info at phpclasses dot org.