Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.03 KB | None | 0 0
  1. <?php
  2. function clean($string) {
  3. $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
  4.  
  5. return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
  6. }
  7.  
  8. if (!empty($_GET["state"])):
  9. $state = $_GET["state"];
  10. $state = clean($state);
  11. $theZip = strtolower($state);
  12. if (($theZip >= 90001) && ($theZip <= 96162) || ($theZip == 'california') || ($theZip == 'placer-county') || ($theZip == 'auburn')) {
  13. PRINT"<script>window.location.replace('/placercounty')</script>";
  14. }
  15. if (($theZip >= 80001) && ($theZip <= 81658) || ($theZip == 'colorado') || ($theZip == 'denver') || ($theZip == 'golden')) {
  16. PRINT"<script>window.location.replace('/denver')</script>";
  17. }
  18. if (($theZip >= 32004) && ($theZip <= 34997) || ($theZip == 'florida') || ($theZip == 'osceola-county') || ($theZip == 'osceola') || ($theZip == 'orlando')) {
  19. PRINT"<script>window.location.replace('/osceolacounty')</script>";
  20. }
  21. if (($theZip == 'river-valley') || ($theZip == 'davenport')) {PRINT"<script>window.location.replace('/rivervalley')</script>";}
  22. if (($theZip >= 50001) && ($theZip <= 52809) || ($theZip == 'iowa')) {
  23. PRINT"<script>window.location.replace('/search-nearby/?state=iowa')</script>";
  24. }
  25. if (($theZip == 52333-0416) || ($theZip == 'eastern-iowa') || ($theZip == 'Solon')){PRINT"<script>window.location.replace('/easterniowa')</script>";}
  26. if (($theZip == 52101) || ($theZip == 'tri-state-valley') || ($theZip == 'decorah')) {PRINT"<script>window.location.replace('/tristatevalley')</script>";}
  27. if (($theZip >= 01001) && ($theZip <= 02791) || ($theZip == 'massachusetts') || ($theZip == 'essex-county') || ($theZip == 'essex') || ($theZip == 'methuen')) {PRINT"<script>window.location.replace('/essexcounty')</script>";}
  28. if (($theZip >= 20331) && ($theZip <= 20331) || ($theZip == 'maryland') || ($theZip == 'delmarva-peninsula') || ($theZip == 'delmarva') || ($theZip == 'salisbury')) { PRINT"<script>window.location.replace('/delmarva')</script>";}
  29. if (($theZip == 'eastern-michigan') || ($theZip == 'fort-gratiot') || ($theZip == 'gratiot')) { PRINT"<script>window.location.replace('/easternmichigan')</script>";}
  30. if (($theZip >= 48001) && ($theZip <= 49971) || ($theZip == 'michigan')) {
  31. PRINT"<script>window.location.replace('/search-nearby/?state=michigan')</script>";}
  32. if (($theZip == 'northwest-michigan') || ($theZip == 'traverse-city') || ($theZip == 'traverse')) {
  33. PRINT"<script>window.location.replace('/nwmichigan')</script>";
  34. }
  35. if (($theZip >= 48001) && ($theZip <= 49971) || ($theZip == 'ottawa-county') || ($theZip == 'ottawa') || ($theZip == 'grand-haven') || ($theZip == 49696) || ($theZip == 'haven')) {
  36. PRINT"<script>window.location.replace('/search-nearby/?state=michigan')</script>";
  37.  
  38. }
  39. if (($theZip == 55707) || ($theZip == 'northland') || ($theZip == 'barnum')) {
  40. PRINT"<script>window.location.replace('/northland')</script>";
  41. }
  42. if (($theZip == 55448) || ($theZip == 'central-minnesota') || ($theZip == 'coon-rapids') || ($theZip == 'rapids') || ($theZip == 'coon')) { PRINT"<script>window.location.replace('http://www.sparklewashcmn.com')</script>";
  43.  
  44. }
  45. if (($theZip >= 55001) && ($theZip <= 56763) || ($theZip == 'minnesota')) {
  46. PRINT"<script>window.location.replace('/search-nearby/?state=minnesota')</script>";
  47. }
  48. if (($theZip >= 27006) && ($theZip <= 28909) || ($theZip == 'north-carolina') || ($theZip == 'carolina') || ($theZip == 'coon-rapids') || ($theZip == 'cutting-edge') || ($theZip == 'charlotte')) {
  49. PRINT"<script>window.location.replace('/charlotte')</script>";
  50. }
  51. if (($theZip >= 88901) && ($theZip <= 89883) || ($theZip == 'nevada') || ($theZip == 'las-vegas')) {
  52. PRINT"<script>window.location.replace('/cleanworld')</script>";
  53. }
  54. if (($theZip >= 10001) && ($theZip <= 14975) || ($theZip == 'new-york') || ($theZip == 'port-crane') || ($theZip == 'crane')) {
  55. PRINT"<script>window.location.replace('/southerntier')</script>";
  56. }
  57. if (($theZip >= 43001) && ($theZip <= 45999) || ($theZip == 'ohio')) {
  58. PRINT"<script>window.location.replace('/search-nearby/?state=ohio')</script>";
  59.  
  60. }
  61. if (($theZip == 44312) || ($theZip == 'akron')) {
  62. PRINT"<script>window.location.replace('/northcentralohio')</script>";
  63. }
  64. if (($theZip == 44146) || ($theZip == 'cuyahoga') || ($theZip == 'oakwood')) {
  65. PRINT"<script>window.location.replace('/cuyahogacounty')</script>";
  66. }
  67. if (($theZip == 44060) || ($theZip == 'lake-county') || ($theZip == 'lake') || ($theZip == 'mentor')) {
  68. PRINT"<script>window.location.replace('/lakecounty')</script>";
  69. }
  70. if (($theZip == 45802) || ($theZip == 'lima') || ($theZip == 'lima')) {
  71. PRINT"<script>window.location.replace('/lima')</script>";
  72.  
  73. }
  74. if (($theZip == 'L7L4J7') || ($theZip == 'burlington') || ($theZip == 'l7l 4j7') || ($theZip == 'toronto') || ($theZip == 'ontario') || ($theZip == 'hamilton')) {
  75. PRINT"<script>window.location.replace('/trefethen')</script>";
  76. }
  77. if (($theZip == 97475) || ($theZip == 'oregon') || ($theZip == 'lane-county') || ($theZip == 'lane') || ($theZip == 'springfield')) {
  78. PRINT"<script>window.location.replace('/lanecounty')</script>";
  79. }
  80. if (($theZip >=15001) && ($theZip <= 19640) || ($theZip == 'pennsylvania')) {
  81. PRINT"<script>window.location.replace('/search-nearby/?state=pennsylvania')</script>";
  82. }
  83. if (($theZip == 19540-9745) || ($theZip == 'mohnton') || ($theZip == 'lane-county') || ($theZip == 'berks') || ($theZip == 'berks-county')) { PRINT"<script>window.location.replace('/berkscounty')</script>";
  84. }
  85. if (($theZip == 15220) || ($theZip == 'pittsburgh') || ($theZip == 'allegheny-county') || ($theZip == 'allegheny')) {
  86. PRINT"<script>window.location.replace('/alleghenycounty')</script>";
  87. }
  88. if (($theZip == 17402) || ($theZip == 'york-county') || ($theZip == 'york')) {
  89. PRINT"<script>window.location.replace('/york')</script>";
  90. }
  91. if (($theZip == 15857) || ($theZip == 'st-marys')) {
  92. PRINT"<script>window.location.replace('/saintmary')</script>";
  93. }
  94. if (($theZip == 51101) || ($theZip == 'siouxland') || ($theZip == 'south-dakota') || ($theZip == 'dakota') || ($theZip == 'humboldt')) {
  95. PRINT"<script>window.location.replace('/siouxland')</script>";
  96. }
  97. if (($theZip >= 73301) && ($theZip <= 79000) || ($theZip == 'texas')) {
  98. PRINT"<script>window.location.replace('/search-nearby/?state=texas')</script>";
  99. }
  100. if (($theZip == 57035) || ($theZip == 'two-rivers') || ($theZip == 'rivers') || ($theZip == 'new-braunfels')) {
  101. PRINT"<script>window.location.replace('/tworivers')</script>";
  102. }
  103. if (($theZip == 77380) || ($theZip == 'lone-star') || ($theZip == 'lone') || ($theZip == 'star') || ($theZip == 'woodlands')) {
  104. PRINT"<script>window.location.replace('/woodlands')</script>";
  105. }
  106. if (($theZip >= 22001) && ($theZip <= 24658) || ($theZip == 'virginia')) {
  107. PRINT"<script>window.location.replace('/search-nearby/?state=virginia')</script>";
  108. }
  109. if (($theZip == 24068) || ($theZip == 'valley') || ($theZip == 'christiansburg')) {
  110. PRINT"<script>window.location.replace('/newrivervalley')</script>";
  111. }
  112. if (($theZip == 23235) || ($theZip == 'central-virginia') || ($theZip == 'richmond')) {
  113. PRINT"<script>window.location.replace('/centralvirginia')</script>";
  114. }
  115. if (($theZip >=98001 ) && ($theZip <= 99403) || ($theZip == 'washington')) {
  116. PRINT"<script>window.location.replace('/search-nearby/?state=washington')</script>";
  117. }
  118. if (($theZip == 98321) || ($theZip == 'northwest') || ($theZip == 'buckley')) {
  119. PRINT"<script>window.location.replace('/northwest')</script>";
  120.  
  121. }
  122. if (($theZip == 98082) || ($theZip == 'mill-creek') || ($theZip == 'mill') || ($theZip == 'creek')) {
  123. PRINT"<script>window.location.replace('/pugetsound')</script>";
  124. }
  125. if (($theZip >=53001) && ($theZip <= 54990) || ($theZip == 'wisconsin')) {
  126. PRINT"<script>window.location.replace('/search-nearby/?state=wisconsin')</script>";
  127. } //Wisconsin
  128. if (($theZip == 54702) || ($theZip == 'eau-claire') || ($theZip == 'eau') || ($theZip == 'claire')) {
  129. PRINT"<script>window.location.replace('/eauclaire')</script>";
  130. }
  131. if (($theZip == 54937) || ($theZip == 'fox') || ($theZip == 'valley') || ($theZip == 'fond-du-lac')) {
  132. PRINT"<script>window.location.replace('/foxvalley')</script>";
  133. }
  134. if (($theZip == 54452) || ($theZip == 'merrill')) {
  135. PRINT"<script>window.location.replace('/northwisconsin')</script>";
  136. }
  137. if (($theZip == 54426-9409) || ($theZip == 'washing') || ($theZip == 'edgar')) {
  138. PRINT"<script>window.location.replace('/centralstatewashing')</script>";
  139. }
  140. if (($theZip == 53048) || ($theZip == 'lomira')) {
  141. PRINT"<script>window.location.replace('/eastwisconsin')</script>";
  142. }
  143. if (($theZip == 26554) || ($theZip == 'fairmont') || ($theZip == 'west-virginia')) {
  144. PRINT"<script>window.location.replace('/northcentralwv')</script>";
  145. }
  146. endif;
  147. ?>
  148. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  149. <html xmlns="http://www.w3.org/1999/xhtml">
  150. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  151. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  152. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  153. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  154. <head>
  155. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  156. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  157. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  158. <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
  159. <script src="<?php bloginfo('template_url'); ?>/js/bootstrap.min.js"></script>
  160. <script src="<?php bloginfo('template_url'); ?>/js/js.js"></script>
  161. <script src="<?php bloginfo('template_url'); ?>/js/owl.carousel.min.js"></script>
  162. <link href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  163. <link href="<?php bloginfo('template_url'); ?>/style.css" rel="stylesheet" type="text/css" />
  164. <link href="<?php bloginfo('template_url'); ?>/css/hover.css" rel="stylesheet" type="text/css" />
  165. <link href="<?php bloginfo('template_url'); ?>/css/owl.carousel.css" rel="stylesheet" type="text/css" />
  166. <link rel='stylesheet' media='screen and (min-width: 320px) and (max-width: 768px)' href='<?php bloginfo('template_url'); ?>/css/xs device css.css' />
  167. <link rel='stylesheet' media='screen and (min-width: 769px) and (max-width: 992px)' href='<?php bloginfo('template_url'); ?>/css/sm device css.css' />
  168. <link rel='stylesheet' media='screen and (min-width: 993px) and (max-width: 1199px)' href='<?php bloginfo('template_url'); ?>/css/md device css.css' />
  169. <link rel='stylesheet' media='screen and (min-width: 1200px) and (max-width: 2000px)' href='<?php bloginfo('template_url'); ?>/css/lg device css.css' />
  170. <title><?php bloginfo('name'); ?>/</title>
  171. <?php wp_head(); ?>
  172. </head>
  173. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  174. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  175. <!--[if lt IE 9]>
  176. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  177. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  178. <script src="<?php bloginfo('template_url'); ?>/js/respond.js"></script>
  179. <![endif]-->
  180. <style>
  181. #gform_submit_button_89{
  182. background-color: red;
  183. width: 100%;
  184. border: 0px;
  185. border-radius: 0px;
  186. color: white;
  187. font-family: bebas-neue;
  188. font-size: 30px;
  189. }
  190. #field_89_1 > label,#field_89_2 > label,#field_89_9 > label,#field_89_12 > label,#field_89_13 > label{
  191. display: none;
  192. }
  193. input[type="text"]{
  194. background: rgba(195, 195, 195, 0.01);
  195. border: 1px solid white;
  196. color: white;
  197. width: 100% !important;
  198. }
  199. ::-webkit-input-placeholder { /* WebKit browsers */
  200. color: white;
  201. }
  202. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  203. color: white;
  204. opacity: 1;
  205. }
  206. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  207. color: white;
  208. opacity: 1;
  209. }
  210. :-ms-input-placeholder { /* Internet Explorer 10+ */
  211. color: white;
  212. }
  213.  
  214.  
  215. </style>
  216. <body>
  217. <!--------------------------------Top gray area start------------------------- -->
  218. <div class="container-fluid top-gray">
  219. <div class="container ">
  220. <div class="row">
  221. <div class="col-md-4 col-sm-6">
  222. <p class="abt-ctct-text"><a href="<?php the_field('page_url_1', 'options'); ?>"><?php the_field('page_name_1', 'options'); ?></a> | <a href="<?php the_field('page_url_2', 'options'); ?>"><?php the_field('page_name_2', 'options'); ?></a></p>
  223. </div>
  224. <div class="col-md-1"></div>
  225. <div class="col-md-3 col-sm-3 col-xs-12">
  226. <p class="contact text-center">800.321.0770</p>
  227. </div>
  228.  
  229. <div class="col-md-4 franchise col-sm-3 col-xs-12">
  230. <p class="text-center top-txt"><a href="http://sparklewashfranchise.com" class="white">Franchise Opportunities</a></p>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. <!--------------------------------Top gray area end--------------------------->
  236.  
  237. <!--------------------------------Header area start------------------------- -->
  238. <div class="clearfix"> </div>
  239.  
  240. <div class="container header">
  241. <div class="row">
  242. <div class="col-md-4 col-sm-4 col-xs-12">
  243. <a href="/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" class="img-responsive" alt="logo"/></a>
  244. </div>
  245. <div class="col-md-8 col-sm-8 col-xs-12">
  246. <div class="navbar navbar-inverse navabar-inverse-for-dropdown">
  247. <!-- button section start -->
  248. <span class="icon-bar"></span>
  249. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  250. <span class="icon-bar"></span>
  251. <span class="icon-bar"></span>
  252. </button>
  253. <!-- button section end -->
  254. <?php
  255. wp_nav_menu( array(
  256. 'menu' => 'top',
  257. 'theme_location' => 'top',
  258. 'depth' => 2,
  259. 'container' => 'div',
  260. 'container_class' => 'collapse navbar-collapse pers',
  261. 'container_id' => '',
  262. 'menu_class' => 'nav navbar-nav down-menues pull-right menu',
  263. 'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
  264. 'walker' => new wp_bootstrap_navwalker())
  265. );
  266. ?>
  267. </div>
  268. </div>
  269.  
  270.  
  271. </div>
  272. </div>
  273. </div>
  274. <!--------------------------------Header area end----------------------------->
  275.  
  276. <style>
  277. #home {
  278. background: url(<?php the_field('fbimage', 'options'); ?>) 50% 0 scroll;
  279. height: auto;
  280. margin: 0 auto;
  281. width: 100%;
  282. position: relative;
  283. padding: 20px 0;
  284. background-position:center;
  285. -webkit-background-size: cover;
  286. -moz-background-size: cover;
  287. -o-background-size: cover;
  288. background-size: cover;
  289. width: 100%;
  290. }
  291. </style>
  292.  
  293. <!--------------------------------parallax area start--------------------------- -->
  294. <section id="home" class="section" data-stellar-background-ratio="0.5">
  295. <div class="container">
  296. <div class="row">
  297. <div class="col-md-7 big-word">
  298. <h1><?php the_field('form_text','options'); ?> </h1>
  299. </div>
  300. <div class="col-md-5 formarea">
  301. <div class="form-group">
  302. <?php gravity_form( 89, false, false, false, '', false, $tabindex = 4 ); ?>
  303. </div>
  304. </div>
  305. </div>
  306. </div>
  307. </section>
  308. <!--------------------------------parallax area end----------------------------->
  309.  
  310.  
  311. <!--------------------------------local area start--------------------------- -->
  312. <div class="container-fluid local">
  313. <div class="container">
  314. <div class="row ">
  315. <div class="col-md-12">
  316. <h2 class="text-center"><?php the_field('service_title','options'); ?></h2>
  317. <?php the_field('service_text','options'); ?>
  318. </div>
  319.  
  320. <div class="col-md-2"></div>
  321. </div>
  322. </div>
  323. </div>
  324. <!--------------------------------local area end----------------------------->
  325.  
  326. <!--------------------------------search area start--------------------------- -->
  327. <div class="container-fluid red-bg">
  328. <div class="container">
  329. <div class="row">
  330. <div class="col-md-12 col-sm-12">
  331. <h3 class="text-center"><?php the_field('search_text','options'); ?></h3>
  332. </div>
  333. <div class="col-md-12 dark-red col-sm-12">
  334. <div class="col-md-10 left-spacing col-sm-12">
  335. <form method="GET" action="/">
  336. <div class="form-group">
  337. <input type="text" class="search-input" name="state" id="state" placeholder="Enter state, zip code, or province">
  338. <!--<input type="text" class="search-input" name="state" id="exampleInputEmail1" placeholder="Enter state, zip code, or province">-->
  339. </div>
  340.  
  341. </div>
  342. <div class="col-md-2 left-spacing right-spacing col-sm-12">
  343. <style>input[type="submit"]{ font-family: bebas-neue; }</style>
  344. <a href="http://sparklewash.com/location/"><input type="submit" class="btn btn-primary col-md-12 search col-sm-12 col-xs-12" value="SEARCH"></a>
  345. <!-- <input type="submit" class="btn btn-primary col-md-12 search col-sm-12 col-xs-12" value="SEARCH"> -->
  346.  
  347. </div>
  348. </form>
  349. </div>
  350. </div>
  351. </div>
  352. </div>
  353. <!--------------------------------search area end----------------------------->
  354.  
  355. <!--------------------------------services area start--------------------------- -->
  356. <div class="container-fluid services">
  357. <div class="row">
  358. <div class="col-md-12 col-sm-12">
  359. <h2 class="text-center">SERVICES WE OFFER!</h2>
  360. </div>
  361. <div class="col-md-12 col-sm-12"><!--slider start-->
  362. <div class="owl-carousel">
  363. <?php if( have_rows('offer', 'options') ):
  364. while ( have_rows('offer', 'options') ) : the_row(); ?>
  365.  
  366.  
  367.  
  368. <div class="owl-item">
  369. <img src="<?php the_sub_field('offer_image'); ?>" class="img-responsive center-block" />
  370. <div class="slider-txt text-center"><?php the_sub_field('offer_text'); ?></div>
  371. <div class="gray-area">
  372. <h3 class="text-center red-txt"><?php the_sub_field('offer_title'); ?></h3>
  373. </div>
  374. <a href="<?php the_sub_field('offer_url'); ?>" ><button type="button" class="btn btn-primary center-block red-btn slider-btn">LEARN MORE</button></a>
  375. </div>
  376. <?php endwhile; endif; ?>
  377. </div>
  378. <!--owl end-->
  379. </div><!--slider end-->
  380. </div>
  381. </div>
  382. <!--------------------------------services area end----------------------------->
  383.  
  384. <!--------------------------------services 2nd area start--------------------------- -->
  385. <div class="container-fluid">
  386. <div class="row">
  387. <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12 ">
  388. <div class="owl-carousel2">
  389. <?php if( have_rows('corusel', 'options') ):
  390. while ( have_rows('corusel', 'options') ) : the_row(); ?>
  391. <div class="owl-item">
  392. <div class="col-md-4 blue-bg-area col-lg-4 col-sm-4 col-xs-12">
  393. <div class="service-heading"><?php the_sub_field('blueblock_title'); ?></div>
  394. <div class="service-sub"><?php the_sub_field('blueblock_text'); ?></div>
  395. </div>
  396. <div class="col-md-4 col-lg-4 col-sm-4 col-xs-12 spacing">
  397. <div class="col-md-12 left-spacing right-spacing col-sm-12 col-xs-12 hidden-xs">
  398. <img src="<?php the_sub_field('image_1'); ?>" class="img-responsive" />
  399. </div>
  400. <div class="col-md-12 left-spacing right-spacing red-service-area col-lg-12 col-sm-12 col-xs-12">
  401. <div class="service-heading text-center"><?php the_sub_field('block_1_title'); ?></div>
  402. <div class="service-sub text-center"><?php the_sub_field('block_1_text'); ?> </div>
  403. </div>
  404. </div>
  405. <div class="col-md-4 left-spacing col-lg-4 col-sm-4 col-xs-12">
  406. <div class="col-md-12 left-spacing right-spacing red-service-area2">
  407. <div class="service-heading text-center"><?php the_sub_field('block_2_title'); ?></div>
  408. <div class="service-sub text-center"><?php the_sub_field('block_2_text'); ?> </div>
  409. </div>
  410. <div class="col-md-12 left-spacing right-spacing cleang3 col-lg-12 col-sm-12 hidden-xs">
  411. <img src="<?php the_sub_field('image_2'); ?> " class="img-responsive" />
  412. </div>
  413. </div>
  414. </div>
  415. <?php endwhile; endif; ?>
  416.  
  417.  
  418.  
  419. </div>
  420. <!--owl end-->
  421. </div>
  422. </div>
  423. </div>
  424. <!--------------------------------services 2nd area end----------------------------->
  425.  
  426. <!--------------------------------Testiomonial area start--------------------------- -->
  427. <div class="container-fluid testimonial">
  428. <div class="container">
  429. <div class="row">
  430. <div class="col-md-4 ">
  431. <p class="customer-heading text-center"><b><?php the_field('title','options'); ?></b></p>
  432. </div>
  433. <div class="col-md-4">
  434. <div class="col-md-12 testimonials">
  435. <ul class="stars">
  436. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  437. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  438. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  439. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  440. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  441. </ul>
  442. <div class="testi-sub"><?php the_field('text_1','options'); ?></div>
  443. </div>
  444. </div>
  445. <div class="col-md-4">
  446. <div class="col-md-12 testimonials">
  447. <ul class="stars">
  448. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  449. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  450. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  451. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  452. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  453. </ul>
  454. <div class="testi-sub"><?php the_field('text_2','options'); ?></div>
  455. </div>
  456. </div>
  457. </div>
  458. <div class="row top-spacing">
  459. <div class="col-md-7">
  460. <div class="col-md-12 testimonials">
  461. <ul class="stars">
  462. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  463. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  464. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  465. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  466. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  467. </ul>
  468. <div class="testi-sub"><?php the_field('text_3','options'); ?></div>
  469. </div>
  470. </div>
  471. <div class="col-md-5">
  472. <div class="col-md-12 testimonials">
  473. <ul class="stars">
  474. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  475. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  476. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  477. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  478. <li><img src="<?php bloginfo('template_url'); ?>/images/star.png" class="img-responsive" /></li>
  479. </ul>
  480. <div class="testi-sub"><?php the_field('text_4','options'); ?></div>
  481. </div>
  482.  
  483. </div>
  484. </div>
  485. </div>
  486. </div>
  487.  
  488. <!--------------------------------Testiomonial area end----------------------------->
  489.  
  490.  
  491. <!--------------------------------footer area start--------------------------- -->
  492. <div class="container-fluid footer-area">
  493. <div class="container">
  494. <div class="row">
  495. <div class="col-md-6">
  496. <p class="white-txt copy-right">© 2016 Sparkle Wash International | <a href="https://sparklewash.com/privacy-policy/">Privacy Policy</a></p>
  497. </div>
  498. <div class="col-md-6">
  499. <ul class="social pull-right">
  500. <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/fb.png" class="img-responsive" /></a></li>
  501. <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/twiter.png" class="img-responsive" /></a></li>
  502. <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/gplus.png" class="img-responsive" /></a></li>
  503. </ul>
  504. </div>
  505. </div>
  506. </div>
  507. </div>
  508. <!--------------------------------footer area end--------------------------- -->
  509. <?php wp_footer(); ?>
  510. </body>
  511. </html>
  512. <script>
  513. $(document).ready(function(){
  514. $('.owl-carousel').owlCarousel({
  515. margin: 0,
  516. loop: true,
  517. items: 1,
  518. stagePadding: 250,
  519. nav: true,
  520. responsiveClass:true,
  521. pagination: false,
  522. navText : false,
  523. responsive:{
  524. 0:{
  525. items:1,
  526. nav:true,
  527. navText : false,
  528. pagination: false,
  529. loop:true,
  530. stagePadding: 0,
  531. },
  532. 1024:{
  533. items:1,
  534. nav:true,
  535. navText : false,
  536. pagination: false,
  537. loop:true,
  538. stagePadding: 250,
  539. },
  540. }
  541. })
  542. });
  543.  
  544.  
  545. </script>
  546. <script>
  547. $(document).ready(function(){
  548. $('.owl-carousel2').owlCarousel({
  549. margin: 0,
  550. loop: true,
  551. items: 1,
  552. stagePadding: 250,
  553. nav:true,
  554. navText : false,
  555. responsiveClass:true,
  556. responsive:{
  557. 0:{
  558. items:1,
  559. nav:true,
  560. navText : false,
  561. loop:true,
  562. stagePadding: 0,
  563. },
  564. 1024:{
  565. items:1,
  566. nav:true,
  567. navText : false,
  568. loop:true,
  569. stagePadding: 100,
  570. },
  571. }
  572. })
  573. });
  574.  
  575.  
  576. </script>
  577. <script>
  578. var owl = $('.owl-carousel3');
  579. owl.owlCarousel({
  580. items:1,
  581. loop:true,
  582. margin:10,
  583. autoplay: false,
  584. autoplayTimeout:1000,
  585. autoplayHoverPause:true
  586. });
  587. $('.play').on('click',function(){
  588. owl.trigger('autoplay.play.owl',[1000])
  589. })
  590. $('.stop').on('click',function(){
  591. owl.trigger('autoplay.stop.owl')
  592. })
  593.  
  594. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement