-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
122 lines (103 loc) · 3.19 KB
/
index.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?php
/*********************************************************************************
* Filename: index.php
* PHP 5.3.29 build 10/12/2014
*********************************************************************************/
//-------------------------------
// Default CustomIncludes begin
include ("./common.php");
include ("./Header.php");
include ("./Footer.php");
include ("./About.php");
include ("./Contact.php");
// Default CustomIncludes end
//-------------------------------
//===============================
// Save Page and File Name available into variables
//-------------------------------
$sFileName = "index.php";
//===============================
// Default Show begin
//===============================
// Display page
//===============================
// HTML Page layout
//-------------------------------
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>E-Car Rental - Home</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<?php Header_show() ?>
<!-- Content Row -->
<div class="row">
<div class="col-md-3">
<?php About_main() ?>
</div>
<!-- /.col-md-3 -->
<div class="col-md-6">
<?php Specials_show() ?>
<br />
</div>
<!-- /.col-md-6 -->
<div class="col-md-3">
<?php Contact_main() ?>
</div>
<!-- /.col-md-3 -->
</div>
<!--End Content row -->
<?php Footer_show() ?>
</body>
</html>
<?php
//===============================
function Specials_show()
{
//-------------------------------
// Initialize variables
//-------------------------------
$sFormTitle = "Special Bulletin";
$fldarticle_title = "UNITEN E-Car Rental Services";
$fldarticle_desc = "UNITEN E-Car Rental service is easier and convenient for
people who needs travelling services for land based trips, airport services,
birthdays, weddings, debut, motorcades and other ocassion. Covers Klang
Valley and out of town trips";
//-------------------------------
// HTML column headers
//-------------------------------
?>
<table class="table" style="width:100%">
<thead>
<tr style="background-color: #336699; border-style: outset; border-width: 1">
<th style="text-align: Center;" colspan="1">
<a name="Specials"><span style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><?php echo $sFormTitle; ?></span></a></th>
</tr>
</thead>
<tr>
<td></td>
</tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 0">
<span style="font-size: 14pt; color: #CE7E00; font-weight: bold">
<?php echo $fldarticle_title; ?> </span></td>
</tr>
<tr>
<td style="background-color: #FFFFFF; border-style: inset; border-width: 0">
<span style="font-size: 12pt; color: #CE7E00; font-weight: bold"></span></td>
</tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<span style="font-size: 12pt; color: #000000">
<?php echo $fldarticle_desc; ?> </span></td>
</tr>
</table>
<?php
}
//===============================
?>