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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
<?php $page_settings = array( 'formid' => 'about', //for nav menu 'section' => '關於御苑皇宴', //for page title );
require_once '../include/header.php';
require_once '../include/navigation.php';
$director1 = Company::whereRaw("deleted=? and status=? and ospageid=?", array(0, 1, 10))->first(); $director2 = Company::whereRaw("deleted=? and status=? and ospageid=?", array(0, 1, 11))->first(); $director3 = Company::whereRaw("deleted=? and status=? and ospageid=?", array(0, 1, 12))->first();
$service1 = Company::whereRaw("deleted=? and status=? and ospageid=?", array(0, 1, 13))->first(); $service2 = Company::whereRaw("deleted=? and status=? and ospageid=?", array(0, 1, 14))->first();
$awardbg = Company::whereRaw("deleted=? and status=? and ospageid=?", array(0, 1, 15))->first(); ?> <link href="../css/bootstrapGold.min.css" rel="stylesheet"> <link href="../css/styleGold.css" rel="stylesheet">
<script type="text/javascript" src="../js/js_timelineA.js"></script> <script type="text/javascript" src="../js/js_timelineB.js"></script> <link type="text/css" rel="stylesheet" href="../css/timelineContent.css" media="all" /> <link type="text/css" rel="stylesheet" href="../css/timelinestyleGold.css" media="all" />
<div id='locationMenu'> <ul> <li><a href='#' id="DirectorLink">董事的話</a> <li><a href='#' id="ServiceLink">服務信念</a></li> <li><a href='#' id="AwardsLink">歷年獎項</a> </ul> </div>
<div class="aboutusHead" style="background-image:url(../images/background/image-3.jpg)"> <div class="aboutTopTxT"> <h2>關於御苑皇宴</h2><br> <a href="index.php">主頁</a> / 關於御苑皇宴 <hr> </div> </div>
<div class="DirectorMessage"> <div class="container"> <h1 class="headTitle"><img src="../images/title/goldLeft.png">董事的話<img src="../images/title/goldRight.png"></h1> <p><?= $director1['ospagedesc_tc'] ?></p> </div> </div>
<div class="service"> <div class="serviceIMG" style="background-image:url(../images/background/<?= $director2['background_image'] ?>)"> </div> <div class="serviceContent"> <?= $director2['ospagedesc_tc'] ?> </div> </div>
<div class="service"> <div class="serviceIIContent"> <div class="moreMessage"> <?= $director3['ospagedesc_tc'] ?> </div>
</div> <div class="serviceIMGII" style="background-image:url(../images/background/<?= $director3['background_image'] ?>)"> </div> </div>
<div class="serviceBelieve" style="background-image:url(../images/background/<?= $service1['background_image'] ?>)"> <div class="BelieveHeader"> <h1 class="headTitle"><img src="../images/title/goldLeft.png">服務信念<img src="../images/title/goldRight.png"></h1> <?= $service1['ospagedesc_tc'] ?> <hr> </div> </div>
<div class="BelieveSectionIMG" style="background-image:url(../images/background/<?= $service2['background_image'] ?>)"> <div class="container"> <div class="BelieveTextContent"> <?= $service2['ospagedesc_tc'] ?> </div> </div> </div>
<div class="awards" style="background-image:url(../images/background/<?= $awardbg['background_image'] ?>)"> <div class="awardTxT"> <h1 class="headTitle"><img src="../images/title/goldLeft.png">歷年獎項<img src="../images/title/goldRight.png"></h1> <hr> </div> </div>
<?php require_once '../include/award.php'; require_once '../include/footer.php'; ?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript"> $("#DirectorLink").click(function() { $('html, body').animate({ scrollTop: $(".DirectorMessage").offset().top }, 700); });
$("#ServiceLink").click(function() { $('html, body').animate({ scrollTop: $(".serviceBelieve").offset().top }, 1000); });
$("#AwardsLink").click(function() { $('html, body').animate({ scrollTop: $(".awards").offset().top }, 1000); }); </script>
<script type="text/javascript"> $( document ).ready(function() { <?php $num = count($awards) - 1; ?> document.getElementById("award<?= $num ?>").click(); }); </script>
</body>
</html>
|