You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

residential_preview.blade.php 34KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  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://citybroadband.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://citybroadband.my/feed/">
  29. <link rel="alternate" type="application/rss+xml" title="Cyberjaya Broadband » Comments Feed" href="https://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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://citybroadband.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>Year End Promotion (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>Monthly Recurring Charges</b></label>
  270. <table class="table table-sm table-bordered">
  271. <tbody>
  272. <tr>
  273. <th>Description</th>
  274. <th>Price exclude ST</th>
  275. <th>Total*</th>
  276. </tr>
  277. <tr><th>City Broadband Residential - {{$a['package']}}</th>
  278. @if($a['package']!='1Gbps' && $a['subscription']=='24')
  279. <td><span style="text-decoration: line-through;">RM{{ $product->retail_price }}</span> RM{{ $promo_price}}</td>
  280. <td>RM{{ $promo_st }}</td>
  281. @else
  282. <td>RM{{ $product->retail_price }}</td>
  283. <td>RM{{ $gst }}</td>
  284. @endif
  285. </tr>
  286. @if($a['voice']=='Yes')
  287. <tr><th>Home Voice Plan</th>
  288. <td>
  289. RM20
  290. </td>
  291. <td>
  292. RM21.20
  293. </td>
  294. </tr>
  295. @endif
  296. <tr><th colspan="2">Total Charges</th>
  297. <td><b>RM{{ $total_monthly }}</b></td>
  298. </tr>
  299. </tbody>
  300. </table>
  301. <small>*Price subject to 6% Service Tax (if applicable).</small><br>
  302. @if ($upfront_total != 0)
  303. <hr><label><b>Upfront Charges</b></label>
  304. <table class="table table-sm table-bordered">
  305. <tbody>
  306. <tr>
  307. <th>Description</th>
  308. <th>Price exclude ST</th>
  309. <th>Total*</th>
  310. </tr>
  311. @if ($otc_st != 0)
  312. <tr><th>One Time Charges</th>
  313. <td>RM{{ $otc }}</td>
  314. <td>RM{{ $otc_st }}</td>
  315. </tr>
  316. @endif
  317. @if ($deposit != 0)
  318. <tr><th colspan="2">Deposit</th></th>
  319. <td>RM{{ $deposit}}</td>
  320. </tr>
  321. @endif
  322. <tr><th colspan="2">Total Charges</th>
  323. <td><b>RM{{ $upfront_total }}</b></td>
  324. </tr>
  325. </tbody>
  326. </table>
  327. <small>*Price subject to 6% Service Tax (if applicable).</small><br>
  328. <small>All upfront charges will need to be paid prior installation. You will receive an email once your application has been processed.</small>
  329. @endif
  330. </div>
  331. </div>
  332. </div>
  333. </div>
  334. <!-- Document -->
  335. <div class="inner-pane">
  336. <h3>Declaration and Signature</h3>
  337. <div class="row">
  338. <div class="col-md-12" id="document">
  339. <label><b>Document &amp; Declaration </b><small style="color: red">*</small></label>
  340. <div class="form-group">
  341. <div class="checkbox">
  342. <label>
  343. <input type="checkbox" name="photocopy" id="photocopy" value="24" required="" aria-required="true"> <p>Photocopy of MyKad (front and back) or passport for Non-Malaysian (minimum 12 months validity) and visa (minimum 6 months validity)</p>
  344. </label>
  345. </div>
  346. <div class="checkbox">
  347. <label>
  348. <input type="checkbox" name="consent" id="consent" value="24" required="" aria-required="true"> <p>I hereby consent to the collection, use,
  349. disclosure of my personal information in accordance with the <b> <a href="https://www.citybroadband.my/privacy-policy-2/" >Privacy Policy</a> </b> available on www.citybroadband.my.</p>
  350. </label>
  351. </div>
  352. <div class="checkbox">
  353. <label>
  354. <input type="checkbox" name="declare" id="declare" value="24" required="" aria-required="true"> <p>I hereby declare that the above information, documents, and
  355. 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>
  356. 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
  357. to refuse any application at any given time should any of the information is incorrect.
  358. </p>
  359. </label>
  360. </div>
  361. </div>
  362. </div>
  363. </div>
  364. <h3>Upload Documents</h3>
  365. <small><b>Acceptable formats: jpg , jpeg , png , pdf</b></small>
  366. <div class="row">
  367. <div class="col-md-12">
  368. <div class="form-group">
  369. <label><b>MyKad/Passport (Front)</b> <small style="color: red">*</small></label>
  370. <input type="file" id="front_ic" accept="image/*" capture="camera" name="front_ic" multiple="" onchange="validateImage1()" class="form-control" required="" aria-required="true">
  371. </div>
  372. </div>
  373. <div class="col-md-12">
  374. <div class="form-group">
  375. <label><b>MyKad/Passport (Back)</b> <small style="color: red">*</small></label>
  376. <input type="file" id="back_ic" accept="image/*" capture="camera" name="back_ic" multiple="" onchange="validateImage2()" class="form-control" required="" aria-required="true">
  377. </div>
  378. </div>
  379. <div class="col-md-12">
  380. <div class="form-group">
  381. <label><b>Visa (Front)</b> <small style="color: red">* Non-Malaysian</small></label>
  382. <input type="file" id="visaF" accept="image/*" capture="camera" name="visaF" multiple="" onchange="validateImage3()" class="form-control" aria-required="true">
  383. </div>
  384. </div>
  385. <div class="col-md-12">
  386. <div class="form-group">
  387. <label><b>Visa (Back)</b> <small style="color: red">* Non-Malaysian</small></label>
  388. <input type="file" id="visaB" accept="image/*" capture="camera" name="visaB" multiple="" onchange="validateImage4()" class="form-control" aria-required="true">
  389. </div>
  390. </div>
  391. </div>
  392. <!-- Signature -->
  393. <div class="row">
  394. <div class="col-md-12">
  395. <div class="form-group">
  396. <label><b>Signature </b><small style="color: red">*</small></label>
  397. <small>After you save your signature, the submit button will automatic be display.</small>
  398. <div class="wrapper">
  399. <canvas id="signature-pad" class="signature-pad" width="885" height="375" style="touch-action: none;"></canvas>
  400. </div>
  401. <div class="signature-pad--footer">
  402. <center>
  403. <div class="description">Sign above</div>
  404. </center>
  405. <div class="signature-pad--actions">
  406. <div>
  407. <center><button type="button" class="btn btn-clear" id="clear">Clear</button></center>
  408. <center><button type="button" class="btn btn-clear" id="save-signature">Save Signature</button></center>
  409. </div>
  410. </div>
  411. </div>
  412. <input type="text" name="cuss_signature" value="" id="cuss_signature" style="display:none" required>
  413. </div>
  414. </div>
  415. </div>
  416. </div>
  417. </div>
  418. <!-- Wizard Footer -->
  419. <div class="wizard-footer height-wizard">
  420. <div class="wizard-footer-inner">
  421. <div class="pull-right">
  422. <!-- <a href="{{url('Residential/form2')}}"> -->
  423. <!-- <button type="submit" class="btn btn-next" name="next" value="Next" style="background-color: orangered; display: inline-block;">Next</button> -->
  424. <!-- <input type="button" id="save-data" class="btn btn-finish" data-loading-text="Please Wait..." name="finish" value="Submit" style="display: none;"> -->
  425. <div id="showB">
  426. <input type="submit" class="btn btn-finish" data-loading-text="Please Wait..." name="finish" value="Submit" style="display: none;">
  427. <!-- </a> -->
  428. </div>
  429. </div>
  430. <!-- <div class="pull-left">
  431. <a href="{{url('/application-form/residential/address/step1')}}">
  432. <input type="button" class="btn btn-previous" name="previous" value="Previous" style="background-color: grey;">
  433. </a>
  434. </div> -->
  435. <div class="clearfix"></div>
  436. </div>
  437. </div>
  438. </form>
  439. @endforeach
  440. </div>
  441. </div>
  442. </div>
  443. </div>
  444. </section>
  445. </div>
  446. </div>
  447. </div>
  448. <div class="nonstick-footer padding bg-blue" align="center">
  449. <span class="medium-title text-centeryellow" style="color: yellow;">Got A Question?</span>
  450. <div align="center">
  451. <a class="nomargin btn btn-default" href="https://www.citybroadband.my/support/faqs/residential/year-end-promo/" style="width: 230px;">
  452. Read FAQ
  453. </a>
  454. <a style="width:230px" href="#" class="nomargin btn btn-default">
  455. Write to us
  456. </a>
  457. </div>
  458. </div>
  459. </div>
  460. </section>
  461. </div>
  462. <div class="footer-callout"></div>
  463. <footer id="colophon" class="site-footer footer" role="contentinfo">
  464. <div class="container footer-inner">
  465. <div class="row">
  466. <div class="footer-widget-area">
  467. <div class="col-md-6 col-md-3 footer-widget" role="complementary">
  468. <div class="widget widget_nav_menu" id="nav_menu-3">
  469. <h2 class="widget-title">Overview</h2>
  470. <div class="menu-main-container">
  471. <ul id="menu-main" class="menu">
  472. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-16">
  473. <a href="https://citybroadband.my/residential/">Residential</a>
  474. </li>
  475. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15">
  476. <a href="https://citybroadband.my/business/">Business</a>
  477. </li>
  478. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14">
  479. <a href="https://citybroadband.my/our-story/">Our Story</a>
  480. </li>
  481. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13">
  482. <a href="https://citybroadband.my/support/">Support</a>
  483. </li>
  484. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13">
  485. <a href="https://citybroadband.my/support/coverage-map/">Coverage Map</a>
  486. </li>
  487. <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12">
  488. <a href="https://citybroadband.my/contact-us/">Contact Us</a>
  489. </li>
  490. </ul>
  491. </div>
  492. </div>
  493. </div>
  494. <div class="col-md-3 col-sm-6 footer-widget" role="complementary">
  495. <div id="nav_menu-2" class="widget widget_nav_menu">
  496. <h2 class="widget-title">Legal</h2>
  497. <div class="menu-footer-2-container">
  498. <ul id="menu-footer-2" class="menu">
  499. <li id="menu-item-22" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22">
  500. <a href="https://citybroadband.my/terms-conditions/">Terms &amp; Conditions</a>
  501. </li>
  502. <li id="menu-item-373" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-373">
  503. <a href="https://citybroadband.my/privacy-policy/">Privacy Policy</a>
  504. </li>
  505. <li id="menu-item-373" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-373">
  506. <a href="https://citybroadband.my/refund-policy/">Refund Policy</a>
  507. </li>
  508. </ul>
  509. </div>
  510. </div>
  511. </div>
  512. <div class="col-md-3 col-sm-6 footer-widget" role="complementary">
  513. <div id="text-2" class="widget widget_text">
  514. <h2 class="widget-title">Hotline</h2>
  515. <div class="textwidget"><span class="number-big yellow">1300-38-8000</span></div>
  516. </div>
  517. </div>
  518. <div class="col-md-3 col-sm-6 footer-widget" role="complementary">
  519. <div id="text-4" class="widget widget_text">
  520. <h2 class="widget-title">We Accept</h2>
  521. <div class="textwidget"><img src="https://citybroadband.my/wp-content/themes/cb1g/assets/images/weaccept.png"></div>
  522. </div>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527. <div class="container">
  528. <div class="lowerfooter">
  529. <img width="50px" src="{{url('assets/logo/footerlogo.png')}}" align="left">
  530. <span class="lower-disclaimer">Copyright © 2019 Allo Technology Sdn Bhd. All rights reserved.</span>
  531. </div>
  532. <a class="btn btn-sm fade-half back-to-top inner-link" href="#top"><i class="fa fa-angle-up"></i></a>
  533. </div>
  534. </footer>
  535. <script type="text/javascript" src="{{url('js/navigation.js')}}"></script>
  536. <script type="text/javascript" src="{{url('js/skip-link-focus.js')}}"></script>
  537. <!-- Boostrap Wizard -->
  538. <script src="{{url('js/jquery.bootstrap.wizard.js')}}" type="text/javascript"></script>
  539. <!-- Plugin for the Wizard -->
  540. <script src="{{url('js/gsdk.bootstrap.wizard.js')}}" type="text/javascript"></script>
  541. <script src="{{url('js/jquery.validate.min.js')}}" type="text/javascript"></script>
  542. <!-- DatePicker -->
  543. <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
  544. <!-- Signature -->
  545. <script src="{{url('js/signature_pad.ums.js')}}" type="text/javascript"></script>
  546. <script type="text/javascript">
  547. function validateImage1() {
  548. var formData = new FormData();
  549. var file = document.getElementById("front_ic").files[0];
  550. formData.append("Filedata", file);
  551. var t = file.type.split('/').pop().toLowerCase();
  552. if (t != "jpeg" && t != "jpg" && t !="png" && t !="pdf") {
  553. alert('Accept jpg, jpeg, png and pdf only');
  554. document.getElementById("front_ic").value = '';
  555. return false;
  556. }
  557. return true;
  558. }
  559. function validateImage2() {
  560. var formData = new FormData();
  561. var file = document.getElementById("back_ic").files[0];
  562. formData.append("Filedata", file);
  563. var t = file.type.split('/').pop().toLowerCase();
  564. if (t != "jpeg" && t != "jpg" && t !="png" && t !="pdf") {
  565. alert('Accept jpg, jpeg, png and pdf only');
  566. document.getElementById("back_ic").value = '';
  567. return false;
  568. }
  569. return true;
  570. }
  571. function validateImage3() {
  572. var formData = new FormData();
  573. var file = document.getElementById("visaF").files[0];
  574. formData.append("Filedata", file);
  575. var t = file.type.split('/').pop().toLowerCase();
  576. if (t != "jpeg" && t != "jpg" && t !="png" && t !="pdf") {
  577. alert('Accept jpg, jpeg, png and pdf only');
  578. document.getElementById("visaF").value = '';
  579. return false;
  580. }
  581. return true;
  582. }
  583. function validateImage4() {
  584. var formData = new FormData();
  585. var file = document.getElementById("visaB").files[0];
  586. formData.append("Filedata", file);
  587. var t = file.type.split('/').pop().toLowerCase();
  588. if (t != "jpeg" && t != "jpg" &&t !="png" &&t !="pdf" ) {
  589. alert('Accept jpg, jpeg, png and pdf only');
  590. document.getElementById("visaB").value = '';
  591. return false;
  592. }
  593. return true;
  594. }
  595. $(document).ready(function(){
  596. var needV = "{{ $a['citizenship'] }}";
  597. if(needV == 'Malaysia'){
  598. $("input[name='citizenship']").prop('required',false);
  599. }else{
  600. $("input[name='citizenship']").prop('required',true);
  601. }
  602. var subscription = '';
  603. var canvas = document.getElementById('signature-pad');
  604. // Adjust canvas coordinate space taking into account pixel ratio,
  605. // to make it look crisp on mobile devices.
  606. // This also causes canvas to be cleared.
  607. function resizeCanvas() {
  608. // When zoomed out to less than 100%, for some very strange reason,
  609. // some browsers report devicePixelRatio as less than 1
  610. // and only part of the canvas is cleared then.
  611. var ratio = Math.max(window.devicePixelRatio || 1, 1);
  612. canvas.width = canvas.offsetWidth * ratio;
  613. canvas.height = canvas.offsetHeight * ratio;
  614. canvas.getContext("2d").scale(ratio, ratio);
  615. }
  616. window.onresize = resizeCanvas;
  617. var signaturePad;
  618. /**** Signature ****/
  619. resizeCanvas();
  620. var signaturePad = new SignaturePad(canvas, {
  621. backgroundColor: 'rgb(255, 255, 255)'
  622. });
  623. var clearButton = document.getElementById('clear');
  624. var saveButton = document.getElementById('save-data');
  625. var saveSignature = document.getElementById('save-signature');
  626. clearButton.addEventListener("click", function (event) {
  627. signaturePad.clear();
  628. });
  629. $("#showB").hide();
  630. /**** Button click For Resident ****/
  631. saveSignature.addEventListener("click", function (event) {
  632. if (signaturePad.isEmpty()) {
  633. alert("Please provide a signature first.");
  634. }else {
  635. var dataUrl = signaturePad.toDataURL("image/jpeg");
  636. document.getElementById('cuss_signature').value = dataUrl;
  637. $("#showB").show();
  638. }
  639. });
  640. // saveButton.addEventListener("click", function (event) {
  641. // if (signaturePad.isEmpty()) {
  642. // alert("Please provide a signature first.");
  643. // } else {
  644. // var $this = $(this);
  645. // $this.button('loading');
  646. // /*** Store to Database ***/
  647. // var dataUrl = signaturePad.toDataURL("image/jpeg");
  648. // document.getElementById('cuss_signature').value = dataUrl;
  649. // var registerForm = new FormData(document.forms["registerForm"]);
  650. // if(document.getElementById('declare').checked && document.getElementById('consent').checked && document.getElementById('photocopy').checked
  651. // && document.getElementById("front_ic").files.length == 0 && document.getElementById("back_ic").files.length == 0) {
  652. // var xhr = new XMLHttpRequest();
  653. // xhr.open('POST','upload_resident.php',true);
  654. // xhr.upload.onprogress = function(e) {
  655. // if (e.lengthComputable){}
  656. // }
  657. // xhr.onreadystatechange = function() {
  658. // if(xhr.readyState == 4 && xhr.status == 200) {
  659. // var return_data = xhr.responseText;
  660. // $this.button('reset');
  661. // window.location.href = "http://cbb.swisslink.com.my/v2/application-form/residential/success-submit.php";
  662. // }/*else {
  663. // alert("Your Residential form already cant be submitted. Please call 1300-38-8000");
  664. // }*/
  665. // }
  666. // xhr.send(registerForm);
  667. // } else {
  668. // $this.button('reset');
  669. // alert("Please tick all the checkbox to proceed");
  670. // }
  671. // }
  672. // });
  673. });
  674. </script>
  675. </body>
  676. </html>
  677. <script type="text/javascript">
  678. $(window).scroll(function() {
  679. var scroll = $(window).scrollTop();
  680. if (scroll >= 150) {
  681. $(".site-header").addClass("smallHeader");
  682. }
  683. else {
  684. $(".site-header").removeClass("smallHeader");
  685. }
  686. });
  687. $(".header-blue100,.header-blue500,.header-pink, .header-blue-10, .header-blue-30, .header-blue-50, .header-blue-100, .header-blue-500").hover(function () {
  688. $(this).toggleClass("expanded-column");
  689. });
  690. $(window).on("scroll touchmove",function() {
  691. if($('body').height() <= ($(window).height() + $(window).scrollTop())) {
  692. $('footer').addClass('reached-bottom');
  693. } else {
  694. $('footer').removeClass('reached-bottom');
  695. }
  696. });
  697. </script>
  698. <style>
  699. select {
  700. height: 40px !important;
  701. }
  702. #nf-field-21-wrap .nf-field-label {
  703. padding-left: 5px;
  704. }
  705. .nf-field-element p {margin:0;}
  706. div#nf-field-22-container {
  707. margin: 0;
  708. }
  709. </style>