Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

residential_preview.blade.php 33KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style id="stndz-style"></style>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <style type="text/css">
  8. .step {
  9. height: 15px;
  10. width: 15px;
  11. margin: 0 2px;
  12. background-color: #bbbbbb;
  13. border: none;
  14. border-radius: 50%;
  15. display: inline-block;
  16. opacity: 0.5;
  17. }
  18. </style>
  19. <link rel="profile" href="http://gmpg.org/xfn/11">
  20. <link rel="pingback" href="https://cbb.allo.my/xmlrpc.php">
  21. <link href="https://fonts.googleapis.com/css?family=Open+Sans|Oswald:400,500|Signika:400,600" rel="stylesheet">
  22. <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  23. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
  24. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker3.css">
  25. <title>Residential Application</title>
  26. <link rel="dns-prefetch" href="//fonts.googleapis.com">
  27. <link rel="dns-prefetch" href="//s.w.org">
  28. <link rel="alternate" type="application/rss+xml" title="Cyberjaya Broadband » Feed" href="https://cbb.allo.my/feed/">
  29. <link rel="alternate" type="application/rss+xml" title="Cyberjaya Broadband » Comments Feed" href="https://cbb.allo.my/feed/">
  30. <link rel="icon" href="https://citybroadband.my/wp-content/uploads/2018/09/favicon-2.png" type="image/gif">
  31. <link rel="icon" href="https://citybroadband.my/wp-content/uploads/2018/09/favicon-3.png" type="image/png">
  32. <link rel="apple-touch-icon" href="https://citybroadband.my/wp-content/uploads/2018/09/favicon-4.png">
  33. <link rel="stylesheet" href="{{url('css/bootstrap.min.css')}}" type="text/css">
  34. <link rel="stylesheet" href="{{url('css/style.css')}}" type="text/css">
  35. <!-- Custom Signature files -->
  36. <!--<link rel="stylesheet" href="../include/plugins/signature_pad/docs/css/signature-pad.css">-->
  37. <!-- Font Awesome -->
  38. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
  39. <script type="text/javascript">
  40. var _gaq = _gaq || [];
  41. _gaq.push(['_setAccount', 'UA-39365077-1']);
  42. _gaq.push(['_trackPageview']);
  43. (function() {
  44. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  45. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  46. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  47. })();
  48. </script>
  49. <style type="text/css">
  50. input[type="text"], .tab-pane input[type="search"], input[type="email"], input[type="tel"], input[type="file"] {
  51. height: 40px !important;
  52. border: 1px solid #ccc !important;
  53. border-radius: 4px;
  54. margin-bottom: 0px;
  55. background: #f5f5f5;
  56. }
  57. footer {
  58. padding: 40px 0 !important;
  59. }
  60. .inner-pane-white{
  61. background-color: #fff !important;
  62. border: 1px solid #ccc;
  63. padding: 20px;
  64. }
  65. #preview{
  66. padding: 0px !important;
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. <div id="page" class="site">
  72. <a class="skip-link screen-reader-text" href="#content">Skip to content</a>
  73. <header id="masthead" class="site-header" role="banner">
  74. <div class="fixed-portal-login"><a href="http://userportal.citybroadband.my/login" target="_blank">User Portal Login</a></div></div>
  75. <div class="nav-container">
  76. <nav id="site-navigation" class="main-navigation" role="navigation">
  77. <div class="container nav-bar">
  78. <div class="row">
  79. <div class="module left site-title-container">
  80. <a href="https://cbb.allo.my">
  81. <img class="bigLogo" src="{{ url('assets/logo.png') }}" width="106" height="auto">
  82. <img class="smallLogo" src="{{ url('assets/logo.png') }}" width="106" height="auto">
  83. </a>
  84. </div>
  85. <div class="bigLogo module widget-handle search-widget-handle right hidden-xs">
  86. <div class="search">
  87. <form role="search" method="get" class="search-form" action="https://cbb.allo.my/">
  88. <input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
  89. </form>
  90. </div>
  91. </div>
  92. <div class="module widget-handle mobile-toggle right visible-xs">
  93. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
  94. <span class="sr-only">Toggle navigation</span>
  95. <span class="icon-bar"></span>
  96. <span class="icon-bar"></span>
  97. <span class="icon-bar"></span>
  98. </button>
  99. </div>
  100. <div style="clear: both;" class="module-group right menuholder">
  101. <div class="module left">
  102. <div class="collapse navbar-collapse navbar-ex1-collapse">
  103. <ul id="menu" class="menu">
  104. <li id="menu-item-16" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-16"><a title="Residential" href="https://cbb.allo.my/residential/">Residential</a></li>
  105. <li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a title="Business" href="https://cbb.allo.my/business/">Business</a></li>
  106. <li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a title="Our Story" href="https://cbb.allo.my/our-story/">Our Story</a></li>
  107. <li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13"><a title="Support" href="https://cbb.allo.my/support/">Support</a></li>
  108. <li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12"><a title="Coverage Map" href="https://cbb.allo.my/support/coverage-map/">Coverage Map</a></li>
  109. <li id="menu-item-12" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-11"><a title="Contact Us" href="https://cbb.allo.my/contact-us/">Contact Us</a></li>
  110. </ul>
  111. </div>
  112. </div>
  113. <div class="smallLogo module right">
  114. <form role="search" method="get" class="search-form" action="https://cbb.allo.my/">
  115. <input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
  116. </form>
  117. </div>
  118. <!--end of menu module-->
  119. </div>
  120. <!--end of module group-->
  121. </div>
  122. </div>
  123. </nav><!-- #site-navigation -->
  124. </div>
  125. </header><!-- #masthead -->
  126. <div id="content" class="main-container">
  127. <section class="content-area">
  128. <div id="main" role="main">
  129. <div class="bg-white splash-text" style="padding-bottom: 0">
  130. <div class="container">
  131. <h1 class="black text-center">Residential Application</h1>
  132. <p class="text-center">
  133. Please follow the steps below to complete your application. We will get back to you shortly.
  134. </p>
  135. </div>
  136. </div>
  137. <div class="container">
  138. <div class="row">
  139. <div class="col-md-8 col-md-offset-2">
  140. <section class="form-box">
  141. <div class="row">
  142. <div class="col-md-12">
  143. <!-- Wizard container -->
  144. <div class="wizard-container">
  145. <div class="card wizard-card">
  146. <div class="wizard-navigation">
  147. <div>
  148. <ul class="nf-breadcrumbs nav nav-pills">
  149. <li style="width: 25%;"><a href="#address" class="nf-breadcrumb" data-toggle="tab" data-index="0" aria-expanded="true">Installation Address</a></li>
  150. <li style="width: 25%;"><a href="#information" class="nf-breadcrumb" data-toggle="tab" data-index="1">Application Information</a></li>
  151. <li style="width: 25%;"><a href="#service" class="nf-breadcrumb" data-toggle="tab" data-index="2">Service and Package Details</a></li>
  152. <li class="active" style="width: 25%;"><a href="#signaturess" class="nf-breadcrumb" data-toggle="tab" data-index="3">Preview</a></li>
  153. </ul>
  154. </div>
  155. </div>
  156. @foreach($data as $a)
  157. <form method="post" action="{{ url('/residential/application-form/store') }}" enctype="multipart/form-data" name="registerForm" novalidate="novalidate">
  158. <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
  159. <input type="hidden" name="coverage" value="{{$a['coverage']}}">
  160. <input type="hidden" name="unit" value="{{$a['unit']}}">
  161. <input type="hidden" name="street" value="{{$a['street']}}">
  162. <input type="hidden" name="package" value="{{ $a['package'] }}">
  163. <input type="hidden" name="application" value="{{$a['application']}}">
  164. <input type="hidden" name="name" value="{{$a['name']}}">
  165. <input type="hidden" name="nric_passport" value="{{$a['nric_passport']}}">
  166. <input type="hidden" name="race" value="{{$a['race']}}">
  167. <input type="hidden" name="contact_primary" value="{{$a['contact_primary']}}">
  168. <input type="hidden" name="contact_secondary" value="{{$a['contact_secondary']}}">
  169. <input type="hidden" name="citizenship" value="{{$a['citizenship']}}">
  170. <input type="hidden" name="email" value="{{$a['email']}}">
  171. <input type="hidden" name="gender" value="{{$a['gender']}}">
  172. <input type="hidden" name="subscription" value="{{$a['subscription']}}">
  173. <input type="hidden" name="voice" value="{{$a['voice']}}">
  174. <input type="hidden" name="rfs" value="{{$a['thedate']}}">
  175. <input type="hidden" name="postcode" value="{{ $coverage->postcode }}">
  176. <input type="hidden" name="city" value="{{ $coverage->city }}">
  177. <input type="hidden" name="state" value="{{ $coverage->state }}">
  178. <input type="hidden" name="deposit" value="{{ $deposit }}">
  179. <input type="hidden" name="otc" value="{{ $otc_st }}">
  180. <input type="hidden" name="gst" value="{{ $gst }}">
  181. <input type="hidden" name="promo_st" value="{{ $promo_st }}">
  182. <input type="hidden" name="total_monthly" value="{{ $total_monthly }}">
  183. <div class="tracking-process"></div>
  184. <div>
  185. <div class="inner-pane-white">
  186. <!-- Preview -->
  187. <div class="row">
  188. <div class="col-md-12">
  189. <div id="preview">
  190. <label><b>Subscription Details</b></label>
  191. <table class="table table-sm table-bordered">
  192. <tbody>
  193. <tr><th width="50%">Application Type</th>
  194. <td>{{$a['application']}}</td>
  195. </tr>
  196. <tr><th width="50%">Package</th>
  197. <td>City Broadband Residential {{$a['package']}}</td>
  198. </tr>
  199. @if ($a['subscription']==24 && ($a['package']=='50Mbps' || $a['package']=='100Mbps' || $a['package']=='300Mbps' || $a['package']=='500Mbps'))
  200. <tr><th width="50%">Promotion</th>
  201. <td>RM10 off for 24 months</td>
  202. </tr>
  203. @endif
  204. <tr><th width="50%">Contract Term</th>
  205. <td>{{$a['subscription']}} Months</td>
  206. </tr>
  207. <tr><th width="50%">Preferred Installation Date</th>
  208. <td>{{$a['thedate']}}</td>
  209. </tr>
  210. </tbody>
  211. </table>
  212. <hr><label><b>Add-On(s)</b></label>
  213. <table class="table table-sm table-bordered">
  214. <tbody>
  215. <tr><th width="50%">Home Voice Plan</th>
  216. <td>{{$a['voice']}}</td>
  217. </tr>
  218. </tbody>
  219. </table>
  220. <hr><label><b>Personal Details</b></label>
  221. <table class="table table-sm table-bordered">
  222. <tbody>
  223. <tr><th width="50%">Full Name</th>
  224. <td>{{$a['name']}}</td>
  225. </tr>
  226. <tr><th width="50%">MyKad/Passport</th>
  227. <td>{{$a['nric_passport']}}</td>
  228. </tr>
  229. <tr><th width="50%">Gender</th>
  230. <td>{{ucfirst($a['gender'])}}</td>
  231. </tr>
  232. <tr><th width="50%">Nationality</th>
  233. <td>{{$a['citizenship']}}</td>
  234. </tr>
  235. <tr><th width="50%">Primary Phone Number</th>
  236. <td>{{$a['contact_primary']}}</td>
  237. </tr>
  238. <tr><th width="50%">Secondary Phone Number</th>
  239. <td>{{$a['contact_secondary']}}</td>
  240. </tr>
  241. <tr><th width="50%">Email Address</th>
  242. <td>{{$a['email']}}</td>
  243. </tr>
  244. </tbody>
  245. </table>
  246. <hr><label><b>Service Installation Address</b></label>
  247. <table class="table table-sm table-bordered">
  248. <tbody>
  249. <tr><th width="50%">Unit Number</th>
  250. <td>{{$a['unit']}}</td>
  251. </tr>
  252. <tr><th width="50%">Building</th>
  253. <td>{{$coverage->building_name}}</td>
  254. </tr>
  255. <tr><th width="50%">Street</th>
  256. <td>{{ucwords($a['street'])}}</td>
  257. </tr>
  258. <tr><th width="50%">Postcode</th>
  259. <td>{{$coverage->postcode}}</td>
  260. </tr>
  261. <tr><th width="50%">City</th>
  262. <td>{{$coverage->city}}</td>
  263. </tr>
  264. <tr><th width="50%">State</th>
  265. <td>{{$coverage->state}}</td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <hr><label><b>Montly Recurring Charges</b></label>
  270. @if($a['package']!='1Gbps' && $a['subscription']=='24')
  271. <br><small> Promotion: RM10 off for 24 months</small>
  272. @endif
  273. <table class="table table-sm table-bordered">
  274. <tbody>
  275. <tr>
  276. <th>Description</th>
  277. <th>Price exclude ST</th>
  278. <th>With ST 6%</th>
  279. </tr>
  280. <tr><th>City Broadband Residential - {{$a['package']}}</th>
  281. @if($a['package']!='1Gbps' && $a['subscription']=='24')
  282. <td><span style="text-decoration: line-through;">RM{{ $product->retail_price }}</span> RM{{ $promo_price}}</td>
  283. <td>RM{{ $promo_st }}</td>
  284. @else
  285. <td>RM{{ $product->retail_price }}</td>
  286. <td>RM{{ $gst }}</td>
  287. @endif
  288. </tr>
  289. @if($a['voice']=='Yes')
  290. <tr><th>Voice Home Plan</th>
  291. <td>
  292. RM20
  293. </td>
  294. <td>
  295. RM21.20
  296. </td>
  297. </tr>
  298. @endif
  299. <tr><th colspan="2">Total Charges</th>
  300. <td><b>RM{{ $total_monthly }}</b></td>
  301. </tr>
  302. </tbody>
  303. </table>
  304. <hr><label><b>Upfront Charges</b></label>
  305. <table class="table table-sm table-bordered">
  306. <tbody>
  307. <tr>
  308. <th>Description</th>
  309. <th>Price exclude ST</th>
  310. <th>With ST 6%</th>
  311. </tr>
  312. <tr><th>One Time Charges</th>
  313. <td>RM{{ $otc }}</td>
  314. <td>RM{{ $otc_st }}</td>
  315. </tr>
  316. <tr><th colspan="2">Deposit</th></th>
  317. <td>RM{{ $deposit}}</td>
  318. </tr>
  319. <tr><th colspan="2">Total Charges</th>
  320. <td><b>RM{{ $upfront_total }}</b></td>
  321. </tr>
  322. </tbody>
  323. </table>
  324. <small>All upfront charges will need to be paid prior installation. You will receive an email once your application has been processed.</small>
  325. </div>
  326. </div>
  327. </div>
  328. </div>
  329. <!-- Document -->
  330. <div class="inner-pane">
  331. <h3>Declaration and Signature</h3>
  332. <div class="row">
  333. <div class="col-md-12" id="document">
  334. <label><b>Document &amp; Declaration </b><small style="color: red">*</small></label>
  335. <div class="form-group">
  336. <div class="checkbox">
  337. <label>
  338. <input type="checkbox" name="consent" id="consent" value="24" required="" aria-required="true"> <p>I hereby consent to the collection, use,
  339. disclosure of my personal information in accordance with the <b> <a href="https://www.citybroadband.my/privacy-policy-2/" >Privacy Policy</a> </b> available one www.citybroadband.my.</p>
  340. </label>
  341. </div>
  342. <div class="checkbox">
  343. <label>
  344. <input type="checkbox" name="declare" id="declare" value="24" required="" aria-required="true"> <p>I hereby declare that the above information, documents, and
  345. any appendices attached are true and valid. I have read and understood the contents of this form and agreed to be bound by <b> <a href="https://www.citybroadband.my/terms-conditions/">Terms &amp; Condition </a> </b>
  346. as stated on the next page of this form which accompany the subscription of product(s) and/ or service(s). Allo Technology Sdn Bhd reserve the rights
  347. to refuse any application at any given time should any of the information is incorrect.
  348. </p>
  349. </label>
  350. </div>
  351. </div>
  352. </div>
  353. </div>
  354. <h3>Upload Documents</h3>
  355. <small><b>Acceptable formats: jpg , jpeg , png </b></small>
  356. <div class="row">
  357. <div class="col-md-12">
  358. <div class="form-group">
  359. <label><b>MyKad/Passport (Front)</b> <small style="color: red">*</small></label>
  360. <input type="file" id="front_ic" accept="image/*" capture="camera" name="front_ic" multiple="" onchange="validateImage1()" class="form-control" required="" aria-required="true">
  361. </div>
  362. </div>
  363. <div class="col-md-12">
  364. <div class="form-group">
  365. <label><b>MyKad/Passport (Back)</b> <small style="color: red">*</small></label>
  366. <input type="file" id="back_ic" accept="image/*" capture="camera" name="back_ic" multiple="" onchange="validateImage2()" class="form-control" required="" aria-required="true">
  367. </div>
  368. </div>
  369. <div class="col-md-12">
  370. <div class="form-group">
  371. <label><b>Visa (Front)</b> <small style="color: red">* Non-Malaysian</small></label>
  372. <input type="file" id="visaF" accept="image/*" capture="camera" name="visaF" multiple="" onchange="validateImage3()" class="form-control" aria-required="true">
  373. </div>
  374. </div>
  375. <div class="col-md-12">
  376. <div class="form-group">
  377. <label><b>Visa (Back)</b> <small style="color: red">* Non-Malaysian</small></label>
  378. <input type="file" id="visaB" accept="image/*" capture="camera" name="visaB" multiple="" onchange="validateImage4()" class="form-control" aria-required="true">
  379. </div>
  380. </div>
  381. </div>
  382. <!-- Signature -->
  383. <div class="row">
  384. <div class="col-md-12">
  385. <div class="form-group">
  386. <label><b>Signature </b><small style="color: red">*</small></label>
  387. <small>After you save your signature, the submit button will automatic be display.</small>
  388. <div class="wrapper">
  389. <canvas id="signature-pad" class="signature-pad" width="885" height="375" style="touch-action: none;"></canvas>
  390. </div>
  391. <div class="signature-pad--footer">
  392. <center>
  393. <div class="description">Sign above</div>
  394. </center>
  395. <div class="signature-pad--actions">
  396. <div>
  397. <center><button type="button" class="btn btn-clear" id="clear">Clear</button></center>
  398. <center><button type="button" class="btn btn-clear" id="save-signature">Save Signature</button></center>
  399. </div>
  400. </div>
  401. </div>
  402. <input type="text" name="cuss_signature" value="" id="cuss_signature" style="display:none" required>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. <!-- Wizard Footer -->
  409. <div class="wizard-footer height-wizard">
  410. <div class="wizard-footer-inner">
  411. <div class="pull-right">
  412. <!-- <a href="{{url('Residential/form2')}}"> -->
  413. <!-- <button type="submit" class="btn btn-next" name="next" value="Next" style="background-color: orangered; display: inline-block;">Next</button> -->
  414. <!-- <input type="button" id="save-data" class="btn btn-finish" data-loading-text="Please Wait..." name="finish" value="Submit" style="display: none;"> -->
  415. <div id="showB">
  416. <input type="submit" class="btn btn-finish" data-loading-text="Please Wait..." name="finish" value="Submit" style="display: none;">
  417. <!-- </a> -->
  418. </div>
  419. </div>
  420. <!-- <div class="pull-left">
  421. <a href="{{url('/application-form/residential/address/step1')}}">
  422. <input type="button" class="btn btn-previous" name="previous" value="Previous" style="background-color: grey;">
  423. </a>
  424. </div> -->
  425. <div class="clearfix"></div>
  426. </div>
  427. </div>
  428. </form>
  429. @endforeach
  430. </div>
  431. </div>
  432. </div>
  433. </div>
  434. </section>
  435. </div>
  436. </div>
  437. </div>
  438. <div class="nonstick-footer padding bg-blue" align="center">
  439. <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span>
  440. <div align="center">
  441. <a class="nomargin btn btn-default" href="#" style="width: 230px;">
  442. Read FAQ
  443. </a>
  444. <a style="width:230px" href="#" class="nomargin btn btn-default">
  445. Write to us
  446. </a>
  447. </div>
  448. </div>
  449. </div>
  450. </section>
  451. </div>
  452. <div class="footer-callout"></div>
  453. <footer id="colophon" class="site-footer footer" role="contentinfo">
  454. <div class="container footer-inner">
  455. <div class="row">
  456. <div class="footer-widget-area">
  457. <div class="col-md-6 col-md-3 footer-widget" role="complementary">
  458. <div class="widget widget_nav_menu" id="nav_menu-3">
  459. <h2 class="widget-title">Overview</h2>
  460. <div class="menu-main-container">
  461. <ul id="menu-main" class="menu">
  462. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-16">
  463. <a href="https://cbb.allo.my/residential/">Residential</a>
  464. </li>
  465. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15">
  466. <a href="https://cbb.allo.my/business/">Business</a>
  467. </li>
  468. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14">
  469. <a href="https://cbb.allo.my/our-story/">Our Story</a>
  470. </li>
  471. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13">
  472. <a href="https://cbb.allo.my/support/">Support</a>
  473. </li>
  474. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13">
  475. <a href="https://cbb.allo.my/support/coverage-map/">Coverage Map</a>
  476. </li>
  477. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12">
  478. <a href="https://cbb.allo.my/contact-us/">Contact Us</a>
  479. </li>
  480. </ul>
  481. </div>
  482. </div>
  483. </div>
  484. <div class="col-md-3 col-sm-6 footer-widget" role="complementary">
  485. <div id="nav_menu-2" class="widget widget_nav_menu">
  486. <h2 class="widget-title">Legal</h2>
  487. <div class="menu-footer-2-container">
  488. <ul id="menu-footer-2" class="menu">
  489. <li id="menu-item-22" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22">
  490. <a href="https://cbb.allo.my/terms-conditions/">Terms &amp; Conditions</a>
  491. </li>
  492. <li id="menu-item-373" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-373">
  493. <a href="https://cbb.allo.my/privacy-policy/">Privacy Policy</a>
  494. </li>
  495. <li id="menu-item-373" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-373">
  496. <a href="https://cbb.allo.my/refund-policy/">Refund Policy</a>
  497. </li>
  498. </ul>
  499. </div>
  500. </div>
  501. </div>
  502. <div class="col-md-3 col-sm-6 footer-widget" role="complementary">
  503. <div id="text-2" class="widget widget_text">
  504. <h2 class="widget-title">Hotline</h2>
  505. <div class="textwidget"><span class="number-big yellow">1300-38-8000</span></div>
  506. </div>
  507. </div>
  508. <div class="col-md-3 col-sm-6 footer-widget" role="complementary">
  509. <div id="text-4" class="widget widget_text">
  510. <h2 class="widget-title">We Accept</h2>
  511. <div class="textwidget"><img src="https://cbb.allo.my/wp-content/themes/cb1g/assets/images/weaccept.png"></div>
  512. </div>
  513. </div>
  514. </div>
  515. </div>
  516. </div>
  517. <div class="container">
  518. <div class="lowerfooter">
  519. <img width="50px" src="{{url('assets/logo/footerlogo.png')}}" align="left">
  520. <span class="lower-disclaimer">Copyright © 2019 Allo Technology Sdn Bhd. All rights reserved.</span>
  521. </div>
  522. <a class="btn btn-sm fade-half back-to-top inner-link" href="#top"><i class="fa fa-angle-up"></i></a>
  523. </div>
  524. </footer>
  525. <script type="text/javascript" src="{{url('js/navigation.js')}}"></script>
  526. <script type="text/javascript" src="{{url('js/skip-link-focus.js')}}"></script>
  527. <!-- Boostrap Wizard -->
  528. <script src="{{url('js/jquery.bootstrap.wizard.js')}}" type="text/javascript"></script>
  529. <!-- Plugin for the Wizard -->
  530. <script src="{{url('js/gsdk.bootstrap.wizard.js')}}" type="text/javascript"></script>
  531. <script src="{{url('js/jquery.validate.min.js')}}" type="text/javascript"></script>
  532. <!-- DatePicker -->
  533. <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
  534. <!-- Signature -->
  535. <script src="{{url('js/signature_pad.ums.js')}}" type="text/javascript"></script>
  536. <script type="text/javascript">
  537. function validateImage1() {
  538. var formData = new FormData();
  539. var file = document.getElementById("front_ic").files[0];
  540. formData.append("Filedata", file);
  541. var t = file.type.split('/').pop().toLowerCase();
  542. if (t != "jpeg" && t != "jpg" && t !="png") {
  543. alert('Accept jpg, jpeg, png and pdf only');
  544. document.getElementById("front_ic").value = '';
  545. return false;
  546. }
  547. return true;
  548. }
  549. function validateImage2() {
  550. var formData = new FormData();
  551. var file = document.getElementById("back_ic").files[0];
  552. formData.append("Filedata", file);
  553. var t = file.type.split('/').pop().toLowerCase();
  554. if (t != "jpeg" && t != "jpg" && t !="png") {
  555. alert('Accept jpg, jpeg, png and pdf only');
  556. document.getElementById("back_ic").value = '';
  557. return false;
  558. }
  559. return true;
  560. }
  561. function validateImage3() {
  562. var formData = new FormData();
  563. var file = document.getElementById("visaF").files[0];
  564. formData.append("Filedata", file);
  565. var t = file.type.split('/').pop().toLowerCase();
  566. if (t != "jpeg" && t != "jpg" && t !="png") {
  567. alert('Accept jpg, jpeg, png and pdf only');
  568. document.getElementById("visaF").value = '';
  569. return false;
  570. }
  571. return true;
  572. }
  573. function validateImage4() {
  574. var formData = new FormData();
  575. var file = document.getElementById("visaB").files[0];
  576. formData.append("Filedata", file);
  577. var t = file.type.split('/').pop().toLowerCase();
  578. if (t != "jpeg" && t != "jpg" &&t !="png") {
  579. alert('Accept jpg, jpeg, png and pdf only');
  580. document.getElementById("visaB").value = '';
  581. return false;
  582. }
  583. return true;
  584. }
  585. $(document).ready(function(){
  586. var needV = "{{ $a['citizenship'] }}";
  587. if(needV == 'Malaysia'){
  588. $("input[name='citizenship']").prop('required',false);
  589. }else{
  590. $("input[name='citizenship']").prop('required',true);
  591. }
  592. var subscription = '';
  593. var canvas = document.getElementById('signature-pad');
  594. // Adjust canvas coordinate space taking into account pixel ratio,
  595. // to make it look crisp on mobile devices.
  596. // This also causes canvas to be cleared.
  597. function resizeCanvas() {
  598. // When zoomed out to less than 100%, for some very strange reason,
  599. // some browsers report devicePixelRatio as less than 1
  600. // and only part of the canvas is cleared then.
  601. var ratio = Math.max(window.devicePixelRatio || 1, 1);
  602. canvas.width = canvas.offsetWidth * ratio;
  603. canvas.height = canvas.offsetHeight * ratio;
  604. canvas.getContext("2d").scale(ratio, ratio);
  605. }
  606. window.onresize = resizeCanvas;
  607. var signaturePad;
  608. /**** Signature ****/
  609. resizeCanvas();
  610. var signaturePad = new SignaturePad(canvas, {
  611. backgroundColor: 'rgb(255, 255, 255)'
  612. });
  613. var clearButton = document.getElementById('clear');
  614. var saveButton = document.getElementById('save-data');
  615. var saveSignature = document.getElementById('save-signature');
  616. clearButton.addEventListener("click", function (event) {
  617. signaturePad.clear();
  618. });
  619. $("#showB").hide();
  620. /**** Button click For Resident ****/
  621. saveSignature.addEventListener("click", function (event) {
  622. if (signaturePad.isEmpty()) {
  623. alert("Please provide a signature first.");
  624. }else {
  625. var dataUrl = signaturePad.toDataURL("image/jpeg");
  626. document.getElementById('cuss_signature').value = dataUrl;
  627. $("#showB").show();
  628. }
  629. });
  630. // saveButton.addEventListener("click", function (event) {
  631. // if (signaturePad.isEmpty()) {
  632. // alert("Please provide a signature first.");
  633. // } else {
  634. // var $this = $(this);
  635. // $this.button('loading');
  636. // /*** Store to Database ***/
  637. // var dataUrl = signaturePad.toDataURL("image/jpeg");
  638. // document.getElementById('cuss_signature').value = dataUrl;
  639. // var registerForm = new FormData(document.forms["registerForm"]);
  640. // if(document.getElementById('declare').checked && document.getElementById('consent').checked && document.getElementById('photocopy').checked
  641. // && document.getElementById("front_ic").files.length == 0 && document.getElementById("back_ic").files.length == 0) {
  642. // var xhr = new XMLHttpRequest();
  643. // xhr.open('POST','upload_resident.php',true);
  644. // xhr.upload.onprogress = function(e) {
  645. // if (e.lengthComputable){}
  646. // }
  647. // xhr.onreadystatechange = function() {
  648. // if(xhr.readyState == 4 && xhr.status == 200) {
  649. // var return_data = xhr.responseText;
  650. // $this.button('reset');
  651. // window.location.href = "http://cbb.swisslink.com.my/v2/application-form/residential/success-submit.php";
  652. // }/*else {
  653. // alert("Your Residential form already cant be submitted. Please call 1300-38-8000");
  654. // }*/
  655. // }
  656. // xhr.send(registerForm);
  657. // } else {
  658. // $this.button('reset');
  659. // alert("Please tick all the checkbox to proceed");
  660. // }
  661. // }
  662. // });
  663. });
  664. </script>
  665. </body>
  666. </html>
  667. <script type="text/javascript">
  668. $(window).scroll(function() {
  669. var scroll = $(window).scrollTop();
  670. if (scroll >= 150) {
  671. $(".site-header").addClass("smallHeader");
  672. }
  673. else {
  674. $(".site-header").removeClass("smallHeader");
  675. }
  676. });
  677. $(".header-blue100,.header-blue500,.header-pink, .header-blue-10, .header-blue-30, .header-blue-50, .header-blue-100, .header-blue-500").hover(function () {
  678. $(this).toggleClass("expanded-column");
  679. });
  680. $(window).on("scroll touchmove",function() {
  681. if($('body').height() <= ($(window).height() + $(window).scrollTop())) {
  682. $('footer').addClass('reached-bottom');
  683. } else {
  684. $('footer').removeClass('reached-bottom');
  685. }
  686. });
  687. </script>
  688. <style>
  689. select {
  690. height: 40px !important;
  691. }
  692. #nf-field-21-wrap .nf-field-label {
  693. padding-left: 5px;
  694. }
  695. .nf-field-element p {margin:0;}
  696. div#nf-field-22-container {
  697. margin: 0;
  698. }
  699. </style>