{"id":27,"date":"2025-09-09T18:57:34","date_gmt":"2025-09-09T18:57:34","guid":{"rendered":"https:\/\/truck.ctaindiaload.in\/?page_id=27"},"modified":"2025-09-18T03:30:37","modified_gmt":"2025-09-18T03:30:37","slug":"register-page","status":"publish","type":"page","link":"https:\/\/truck.ctaindiaload.in\/?page_id=27","title":{"rendered":"Register Page"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"27\" class=\"elementor elementor-27\">\n\t\t\t\t<div class=\"elementor-element elementor-element-00b89ae e-flex e-con-boxed e-con e-parent\" data-id=\"00b89ae\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-38b7af7 elementor-widget elementor-widget-html\" data-id=\"38b7af7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>CTA INDIA LOAD - Register<\/title>\n  <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.4.2\/css\/all.min.css\">\n  <style>\n    body {\n      font-family: \"Segoe UI\", Arial, sans-serif;\n      margin: 0;\n      padding: 0;\n      height: 100vh;\n      display: flex;\n      flex-direction: column;\n      justify-content: space-between;\n      background: #ffffff; \/* \u092a\u093e\u0902\u0922\u0930\u093e \u092c\u0945\u0915\u0917\u094d\u0930\u093e\u090a\u0902\u0921 *\/\n      color: #333;\n    }\n\n    \/* Header *\/\n    .header {\n      width: 100%;\n      padding: 15px 20px;\n      background: #f9f9f9;\n      border-bottom: 1px solid #ddd;\n      display: flex;\n      justify-content: space-between;\n      align-items: center;\n      position: fixed;\n      top: 0;\n      left: 0;\n      box-sizing: border-box;\n    }\n    .header h1 {\n      font-size: 20px;\n      font-weight: bold;\n      color: #1976d2; \/* Blue *\/\n      margin: 0;\n    }\n    .help-icon {\n      font-size: 20px;\n      color: #1976d2;\n      cursor: pointer;\n    }\n\n    .container {\n      width: 100%;\n      max-width: 420px;\n      margin: auto;\n      padding: 100px 20px 120px; \/* top for header, bottom for footer buttons *\/\n      box-sizing: border-box;\n    }\n\n    h2 {\n      font-size: 20px;\n      margin-bottom: 15px;\n      text-align: left;\n      color: #000;\n    }\n\n    input {\n      width: 100%;\n      padding: 12px;\n      margin-bottom: 15px;\n      border: 1px solid #ccc;\n      border-radius: 8px;\n      font-size: 16px;\n      outline: none;\n    }\n\n    .error {\n      color: #d32f2f;\n      font-size: 14px;\n      margin-top: 5px;\n      text-align: center;\n    }\n\n    \/* Footer Buttons *\/\n    .footer {\n      position: fixed;\n      bottom: 0;\n      left: 0;\n      width: 100%;\n      padding: 15px 20px;\n      background: #fff;\n      border-top: 1px solid #ddd;\n      box-sizing: border-box;\n      display: flex;\n      flex-direction: column;\n      gap: 10px;\n    }\n    .footer button {\n      width: 100%;\n      padding: 14px;\n      border: none;\n      border-radius: 25px;\n      font-size: 16px;\n      font-weight: bold;\n      cursor: pointer;\n      transition: background 0.3s;\n    }\n    .btn-create {\n      background: #2e7d32; \/* Green *\/\n      color: #fff;\n    }\n    .btn-create:hover {\n      background: #256528;\n    }\n    .btn-login {\n      background: #1976d2; \/* Blue *\/\n      color: #fff;\n    }\n    .btn-login:hover {\n      background: #1259a5;\n    }\n  <\/style>\n<\/head>\n<body>\n  <!-- Header -->\n  <div class=\"header\">\n    <h1>CTA INDIA LOAD<\/h1>\n    <div class=\"help-icon\">\n      <i class=\"fas fa-question-circle\"><\/i>\n    <\/div>\n  <\/div>\n\n  <!-- Form -->\n  <div class=\"container\">\n    <h2>Register<\/h2>\n    <form id=\"register-form\">\n      <input type=\"tel\" id=\"mobile\" placeholder=\"Enter mobile number\" required>\n      <input type=\"password\" id=\"password\" placeholder=\"Enter password\" required>\n      <div class=\"error\" id=\"error-msg\"><\/div>\n    <\/form>\n  <\/div>\n\n  <!-- Footer Buttons -->\n  <div class=\"footer\">\n    <button type=\"submit\" form=\"register-form\" class=\"btn-create\">Create<\/button>\n    <button class=\"btn-login\" onclick=\"window.location.href='login.html'\">Login<\/button>\n  <\/div>\n\n  <script>\n    document.getElementById('register-form').addEventListener('submit', (e) => {\n      e.preventDefault();\n      const mobile = document.getElementById('mobile').value;\n      const password = document.getElementById('password').value;\n\n      if (mobile && password && \/^[0-9]{10}$\/.test(mobile)) {\n        \/\/ LocalStorage \u092e\u0927\u094d\u092f\u0947 \u0921\u0947\u091f\u093e \u0938\u0947\u0935\u094d\u0939\n        localStorage.setItem(`password_${mobile}`, password);\n        localStorage.setItem('onboarded_' + mobile, 'false');\n        localStorage.setItem('payment_done_' + mobile, 'false');\n        window.location.href = 'login.html';\n      } else {\n        document.getElementById('error-msg').textContent = '\u26a0\ufe0f Mobile must be 10 digits and all fields are required!';\n      }\n    });\n  <\/script>\n<\/body>\n<\/html>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>CTA INDIA LOAD &#8211; Register CTA INDIA LOAD Register Create Login<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-27","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=\/wp\/v2\/pages\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":146,"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=\/wp\/v2\/pages\/27\/revisions"}],"predecessor-version":[{"id":729,"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=\/wp\/v2\/pages\/27\/revisions\/729"}],"wp:attachment":[{"href":"https:\/\/truck.ctaindiaload.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}