-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
293 lines (280 loc) · 19.8 KB
/
page.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<?php
get_header();
get_template_part('template-part/loader');
?>
<div class="banner-wrap">
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="content">
<h1 class="h1 title">
Next - gen technology innovation tools that boost your business
</h1>
<p class="desc">
Oracle NetSuite provides a comprehensive suite of tools to
streamline business operations and increase efficiency.
</p>
<div class="btn-wrap">
<a href="#" class="btn btn-primary fw-semibold">Explore Services</a>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="banner-img-box">
<div class="img-box">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/banner-dashboard-img.png" alt="banner-dashboard-img" width="780" height="486" />
</div>
<div class="banner-card">
<div class="top-left-card float-card">
<div class="icon">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/top-left-card-icon.svg" alt="icon" class="svg" />
</div>
<h5 class="h5 title">Business finance made easy.</h5>
<div class="cursor">
<svg width="23" height="25" viewBox="0 0 23 25" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M16.225 2.31433L16.225 2.3144L21.8969 20.2122C22.0356 20.762 22.0138 21.3402 21.834 21.8784C21.6518 22.4238 21.315 22.9046 20.8646 23.2622C20.4329 23.6033 19.9139 23.8159 19.367 23.8755C18.8205 23.935 18.2682 23.8394 17.7735 23.5996C17.7491 23.5876 17.7253 23.5743 17.7023 23.5597L17.6948 23.555L17.6872 23.5503L1.62798 13.7812C1.6273 13.7808 1.62662 13.7804 1.62593 13.7799C1.47119 13.6841 1.34642 13.5467 1.26582 13.3835C1.18487 13.2195 1.15176 13.036 1.17029 12.8541C1.18881 12.6722 1.25822 12.4992 1.37056 12.3549C1.48242 12.2112 1.63234 12.1018 1.80326 12.0391C1.80399 12.0388 1.80472 12.0386 1.80545 12.0383L9.48492 9.2886L9.79874 9.17623L9.98238 8.89805L14.4791 2.08612L14.4791 2.08614L14.4835 2.07938C14.5825 1.92679 14.7222 1.80498 14.8869 1.7278C15.0516 1.6506 15.2346 1.62111 15.4153 1.64267L15.4402 1.64567C15.6191 1.67223 15.7871 1.74814 15.9254 1.86495C16.0656 1.98347 16.1695 2.13927 16.225 2.31433Z" fill="currentColor" stroke="white" stroke-width="2" />
</svg>
</div>
</div>
<div class="bottom-left-card float-card">
<div class="icon">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/bottom-left-card-icon.svg" alt="icon" class="svg" />
</div>
<h5 class="h5 title">Unified business insights.</h5>
<div class="cursor">
<svg width="23" height="25" viewBox="0 0 23 25" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M16.225 2.31433L16.225 2.3144L21.8969 20.2122C22.0356 20.762 22.0138 21.3402 21.834 21.8784C21.6518 22.4238 21.315 22.9046 20.8646 23.2622C20.4329 23.6033 19.9139 23.8159 19.367 23.8755C18.8205 23.935 18.2682 23.8394 17.7735 23.5996C17.7491 23.5876 17.7253 23.5743 17.7023 23.5597L17.6948 23.555L17.6872 23.5503L1.62798 13.7812C1.6273 13.7808 1.62662 13.7804 1.62593 13.7799C1.47119 13.6841 1.34642 13.5467 1.26582 13.3835C1.18487 13.2195 1.15176 13.036 1.17029 12.8541C1.18881 12.6722 1.25822 12.4992 1.37056 12.3549C1.48242 12.2112 1.63234 12.1018 1.80326 12.0391C1.80399 12.0388 1.80472 12.0386 1.80545 12.0383L9.48492 9.2886L9.79874 9.17623L9.98238 8.89805L14.4791 2.08612L14.4791 2.08614L14.4835 2.07938C14.5825 1.92679 14.7222 1.80498 14.8869 1.7278C15.0516 1.6506 15.2346 1.62111 15.4153 1.64267L15.4402 1.64567C15.6191 1.67223 15.7871 1.74814 15.9254 1.86495C16.0656 1.98347 16.1695 2.13927 16.225 2.31433Z" fill="currentColor" stroke="white" stroke-width="2" />
</svg>
</div>
</div>
<div class="top-right-card float-card">
<div class="icon">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/top-right-card-icon.svg" alt="icon" class="svg" />
</div>
<h5 class="h5 title">Grow new channels.</h5>
<div class="cursor">
<svg width="23" height="25" viewBox="0 0 23 25" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M16.225 2.31433L16.225 2.3144L21.8969 20.2122C22.0356 20.762 22.0138 21.3402 21.834 21.8784C21.6518 22.4238 21.315 22.9046 20.8646 23.2622C20.4329 23.6033 19.9139 23.8159 19.367 23.8755C18.8205 23.935 18.2682 23.8394 17.7735 23.5996C17.7491 23.5876 17.7253 23.5743 17.7023 23.5597L17.6948 23.555L17.6872 23.5503L1.62798 13.7812C1.6273 13.7808 1.62662 13.7804 1.62593 13.7799C1.47119 13.6841 1.34642 13.5467 1.26582 13.3835C1.18487 13.2195 1.15176 13.036 1.17029 12.8541C1.18881 12.6722 1.25822 12.4992 1.37056 12.3549C1.48242 12.2112 1.63234 12.1018 1.80326 12.0391C1.80399 12.0388 1.80472 12.0386 1.80545 12.0383L9.48492 9.2886L9.79874 9.17623L9.98238 8.89805L14.4791 2.08612L14.4791 2.08614L14.4835 2.07938C14.5825 1.92679 14.7222 1.80498 14.8869 1.7278C15.0516 1.6506 15.2346 1.62111 15.4153 1.64267L15.4402 1.64567C15.6191 1.67223 15.7871 1.74814 15.9254 1.86495C16.0656 1.98347 16.1695 2.13927 16.225 2.31433Z" fill="currentColor" stroke="white" stroke-width="2" />
</svg>
</div>
</div>
<div class="bottom-right-card float-card">
<div class="icon">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/bottom-right-card-icon.svg" alt="icon" class="svg" />
</div>
<h5 class="h5 title">Future ready organization.</h5>
<div class="cursor">
<svg width="23" height="25" viewBox="0 0 23 25" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M16.225 2.31433L16.225 2.3144L21.8969 20.2122C22.0356 20.762 22.0138 21.3402 21.834 21.8784C21.6518 22.4238 21.315 22.9046 20.8646 23.2622C20.4329 23.6033 19.9139 23.8159 19.367 23.8755C18.8205 23.935 18.2682 23.8394 17.7735 23.5996C17.7491 23.5876 17.7253 23.5743 17.7023 23.5597L17.6948 23.555L17.6872 23.5503L1.62798 13.7812C1.6273 13.7808 1.62662 13.7804 1.62593 13.7799C1.47119 13.6841 1.34642 13.5467 1.26582 13.3835C1.18487 13.2195 1.15176 13.036 1.17029 12.8541C1.18881 12.6722 1.25822 12.4992 1.37056 12.3549C1.48242 12.2112 1.63234 12.1018 1.80326 12.0391C1.80399 12.0388 1.80472 12.0386 1.80545 12.0383L9.48492 9.2886L9.79874 9.17623L9.98238 8.89805L14.4791 2.08612L14.4791 2.08614L14.4835 2.07938C14.5825 1.92679 14.7222 1.80498 14.8869 1.7278C15.0516 1.6506 15.2346 1.62111 15.4153 1.64267L15.4402 1.64567C15.6191 1.67223 15.7871 1.74814 15.9254 1.86495C16.0656 1.98347 16.1695 2.13927 16.225 2.31433Z" fill="currentColor" stroke="white" stroke-width="2" />
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
/**
* Show contact form only contact us page
*/
if ( is_page('contact-us') ) :
echo do_shortcode('[contact-form-7 id="1f68c47" title="Contact form 1"]');
else :
if ( have_rows('flexible_content') ) :
while ( have_rows('flexible_content') ) : the_row();
/**
* Check the row layout is testimonial
*/
if ( get_row_layout() == 'testimonial' ) :
if ( have_rows('testimonial_repeater') ) :
?>
<!-- Testimonial section start -->
<div class="testimonial-sec-wrap section-bg light-bg">
<div class="content">
<div class="sec-title text-center">
<h2 class="h2 title">Testimonials</h2>
</div>
<div class="full-slider-wrap">
<div class="container">
<div class="testimonial-slider swiper-slider">
<div class="swiper-wrapper">
<?php while ( have_rows('testimonial_repeater') ) : the_row();
$person_name = get_sub_field('person_name');
$person_designation = get_sub_field('person_designation');
$person_description = get_sub_field('person_description');
?>
<div class="swiper-slide">
<div class="card">
<div class="title-group">
<div class="left">
<?php if ( ! empty($person_name) ) : ?>
<h6 class="h6 name"><?php echo esc_html($person_name); ?></h6>
<?php
endif;
if ( ! empty($person_designation) ) :
?>
<div class="designation"><?php echo esc_html($person_designation); ?></div>
<?php endif; ?>
</div>
<div class="right">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/quote-img.png" alt="quote" width="49" height="32" />
</div>
</div>
<?php if ( ! empty($person_description) ) : ?>
<p class="desc">
<?php echo esc_html($person_description); ?>
</p>
<?php endif; ?>
</div>
</div>
<?php endwhile; ?>
</div>
<div class="custom-nav">
<div class="swiper-prev testimonial-prev swiper-button">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/slider-prev-arrow.svg" alt="slider-arrow" class="svg" />
</div>
<div class="swiper-next testimonial-next swiper-button">
<img src="<?php echo get_template_directory_uri() ?>/assets/images/slider-next-arrow.svg" alt="slider-arrow" class="svg" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Testimonial section end -->
<?php
endif;
/**
* Check the row layout is stats section
*/
elseif ( get_row_layout() == 'stats_section' ) :
$stats_heading = get_sub_field('stats_heading');
$stats_description = get_sub_field('stats_description');
$learn_more_button = get_sub_field('stats_learn_more_button');
?>
<!-- Stats section start -->
<div class="stats-wrap section-bg blue-bg">
<div class="container">
<div class="content">
<div class="row">
<div class="col-lg-6">
<?php if ( ! empty($stats_heading) ) : ?>
<h2 class="h3 title"><?php echo esc_html($stats_heading); ?></h2>
<?php
endif;
if ( ! empty($stats_description) ) : ?>
<p class="desc"><?php echo esc_html($stats_description); ?></p>
<?php
endif;
if ( ! empty($learn_more_button) ) : ?>
<div class="btn-wrap">
<a href="#" class="btn-sm btn-primary btn-icon-right"><?php echo esc_html($learn_more_button); ?>
<img src="<?php echo get_template_directory_uri() ?>/assets/images/btn-arrow-right.svg" alt="arrow" class="svg" /></a>
</div>
<?php endif; ?>
</div>
<?php
if ( have_rows('stats_repeater') ) : ?>
<div class="col-lg-6">
<ul class="card-group-sec">
<?php
$stats_counter = 0;
while ( have_rows('stats_repeater') ) :
the_row();
$card_background_color = get_sub_field('card_background_color');
$stats_number = get_sub_field('stats_number');
$stats_subtitle = get_sub_field('stats_subtitle');
?>
<li class="card card-top-<?php echo $stats_counter % 2 === 0 ? "left" : "right"; ?>" <?php
if ( ! empty($card_background_color) ) : ?>
style="background-color: <?php echo $card_background_color;
endif; ?>;">
<?php if ( ! empty($stats_number) ) : ?>
<h3 class="h4 num"><?php echo esc_html($stats_number); ?><span>+</span></h3>
<?php
endif;
if ( ! empty($stats_subtitle) ) :
?>
<p class="subtitle"><?php echo esc_html($stats_subtitle); ?></p>
<?php endif; ?>
</li>
<?php
$stats_counter++;
endwhile; ?>
</ul>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<!-- Stats section end -->
<?php
endif;
endwhile;
endif;
$get_blog_args = [
'post_type' => "post",
'post_status' => "publish",
'posts_per_page' => 3,
'paged' => 1
];
/**
* Get the three published post
*/
$get_blog_query = new WP_Query( $get_blog_args );
if ( $get_blog_query->have_posts() ) : ?>
<!-- Blog section start -->
<div class="blog-home-wrap section">
<div class="container">
<div class="content">
<div class="sec-title text-center">
<h2 class="h2 title">Our Blogs</h2>
</div>
<div class="row listing">
<?php
$counter = 1;
while ( $get_blog_query->have_posts() ) :
$get_blog_query->the_post();
$thumbnail_url = get_the_post_thumbnail_url();
$post_time = get_the_date();
$title = get_the_title();
?>
<?php if ( $counter === 1 ) : ?>
<div class="col-lg-6">
<?php get_template_part('template-part/card');?>
</div>
<?php elseif ( $counter === 2 ) : ?>
<div class="col-lg-6">
<div class="row list-two">
<div class="col-lg-12">
<?php echo get_template_part('template-part/card'); ?>
</div>
<?php else :?>
<div class="col-lg-12">
<?php echo get_template_part('template-part/card'); ?>
</div>
<?php endif; ?>
<?php
$counter++;
endwhile;
wp_reset_query();
?>
</div>
</div>
</div>
<div class="btn-wrap text-center">
<a class="btn btn-primary" id="viewAllBlogs">View All Blogs</a>
</div>
</div>
</div>
</div>
<!-- Blog section end -->
<?php
endif;
wp_reset_postdata();
endif;
get_footer();