Source code of tbs_us_examples_prmmagnet.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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();