-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstart.php
64 lines (63 loc) · 2.8 KB
/
start.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
<?php
$title_text_Array = array("IT Consulting","Often times in a business there comes a time when you need
some advice. Here one of our services is to provide that advice so that you
can make the best decisions for your business. Whether that be network design
and server setup; We can help with that.",
"Websites","So, you want your business to have an online presence. In order to
do that we can show you many options on how to make that possible: Custom designed
web applications/ sites, Wordpress, Squarespace, and many more options. ",
"Apps","You've got all the good advice you can get and you have a great website.
What's next? Well we have a theory about business. That is that the more ways that
one can interact with your business the more profitable your business can be. " );
$imageArray = array("ITConsulting.jpeg","WebsiteDesign.jpg","AppDesign.jpeg");
//In the future these links will go to respective pages with more detail about each service
$linkArray = array("http://www.novaytech.com",
"http://www.novaytech.com",
"http://www.novaytech.com");
$numPanels = 3;
$j = 0;
$k = 1;
for($i = 0;$i<$numPanels;$i++ )
{
print"<div class ='panel2'>\n";
print"<div class ='panel'>\n";
print" <div class ='row'>\n";
print"<section id = 'rightBox'\n>";
if(($i%2)==1)
{
print" <div class ='txtBox col-md-5 col-md-5 col-sm-12'>\n";
print" <h2>$title_text_Array[$j]</h2>\n";
print" <p>$title_text_Array[$k]</p>\n";
print" </div>\n";
}else
{
print" <div class ='imageBox col-md-5 col-md-5 col-sm-12'>\n";
print" <a href ='$linkArray[$i]'>\n";
print" <img class = 'panelImages img-responsive' src ='images/$imageArray[$i]'>\n";
print" </a>\n";
print" </div>\n";
}
print"</section>";
print"<section id = 'leftBox'>\n";
if(($i%2)==0)
{
print" <div class ='txtBox col-md-5 col-md-5 col-sm-12'>\n";
print" <h2>$title_text_Array[$j]</h2>\n";
print" <p>$title_text_Array[$k]</p>\n";
print" </div>\n";
}else
{
print" <div class ='imageBox col-md-5 col-md-5 col-sm-12'>\n";
print" <a href ='$linkArray[$i]'>\n";
print" <img class = 'panelImages img-responsive' src ='images/$imageArray[$i]'>\n";
print" </a>\n";
print" </div>\n";
}
print"</section>";
print"</div>\n";
print"</div>\n";
print"</div>\n";
$j +=2;
$k = $j+1;
}
?>