📁 File Manager
Editing:
/home/wvl7mof7402e/public_html/chem/basic-chemicals.php
<?php /* |-------------------------------------------------------------------------- | Basic Chemical — Premium Product Catalogue | File: basic-chemical.php |-------------------------------------------------------------------------- */ if (session_status() === PHP_SESSION_NONE) { session_start(); } function bc_escape($value) { return htmlspecialchars((string)$value, ENT_QUOTES, 'UTF-8'); } /* |-------------------------------------------------------------------------- | Product Catalogue | Format: Product Name||CAS Number||Product Code |-------------------------------------------------------------------------- */ $basicCategories = [ 'Acetates' => [ 'Butyl Cellosolve Acetate||112-07-2||PPCGC00134', 'Butyl Acetate||123-86-4||PPCGC00038', 'Ethyl Acetate||141-78-6||PPCGC00037', 'N-Propyl Acetate||109-60-4||PPCGC00039', 'Sodium Acetate||127-09-3||PPCGC00040', 'Arcosolv PMA||108-65-6||PPCGC00125' ], 'Acids' => [ 'Acetic acid||64-19-7||PPCGC00122', 'Citric acid||77-92-9||PPCGC00026', 'Formic acid||64-18-6||PPCGC00092', 'Oxalic acid||-||PPC008', 'Phosphoric acid||-||PPC006', 'Stearic acid||57-11-4||PPCGC00025', 'Tartaric acid||87-69-4||PPCGC00028', 'Neo Decanoic Acid||26896-20-8||PPCGC00043', 'Neo Pentonic Acid||75-98-9||PPCGC00041', 'Acrylic Acid||79-10-7||PPCGC00029', 'Adipic Acid||124-04-9||PPCGC00030', 'Propionic Acid||79-09-4||PPCGC00027', 'Iso Phthalic Acid||121-91-5||PPCGC00042' ], 'Acrylates' => [ 'Butyl Acrylate||141-32-2||PPCGC00045', 'Ethyl Acrylate||140-88-5||PPCGC00131', 'Methyl Methacrylate (MMA)||80-62-6||PPCGC00044' ], 'Alcohols' => [ 'Tertiary Butanol||75-65-0||PPCGC00022' ], 'Aldehyde' => [ 'Formaldehyde||50-00-0||PPCGC00024' ], 'Alicyclic Solvents' => [ 'Cyclohexane||110-82-7||PPCGC00046', 'Cyclohexylamine||108-91-8||PPCGC00047', 'Cyclohexanone||108-94-1||PPCGC00128' ], 'Aliphatic Solvents' => [ 'Iso Heptane||646-04-8||PPCGC00050', 'Hydrogen Peroxide||7722-84-1||PPCGC00048', 'N Hexane 99%||110-54-3||PPCGC00051', 'Exxsol Heptane||142-82-5||PPCGC00036', 'Exxsol Hexane||64742-49-0||PPCGC00035', 'N Hepatane 99%||142-82-5||PPCGC00049', 'N-Heptane||||ALS01' ], 'Alkali Metal Salt' => [ 'Sodium metabisulfite||7681-57-4||PPCGC00056', 'Sodium nitrate||7631-99-4||PPCGC00010', 'Potassium Chloride||7447-40-7||PPCGC00060', 'Potassium Iodide||7681-11-0||PPCGC00061', 'Sodium Benzoate||532-32-1||PPCGC00052', 'Sodium Gluconate||527-07-1||PPCGC00053', 'Sodium Hydrosulphite||7775-14-6||PPCGC00054', 'Sodium Hydroxide Pellets||1310-73-2||PPCGC00055', 'Sodium Perborate||04-04-7632||PPCGC00057', 'Sodium Sulphide||1313-82-2||PPCGC00059', 'Sodium Sulfite||7757-83-7||PPCGC00058' ], 'Alkanolamines' => [ 'Monoethanolamine||141-43-5||PPCGC00018', 'Triethanolamine (TEA)||102-71-6||PPCGC00062', 'Diethanolamine (DEA)||111-42-2||PPCGC00063' ], 'Amides' => [ 'Dimethyl formamide (DMF)||68-12-2||PPCGC00064', 'N,N-Dimethyl acetamide (DMAC)||127-19-5||PPCGC00065' ], 'Amines' => [ 'Diethylamine||109-89-7||PPCGC00066', 'Melamine||108-78-1||PPCGC00067', 'Heaxamine||100-97-0||PPCGC00011' ], 'Aromatic Alcohol' => [ 'Benzyl Alcohol||100-51-6||PPCGC00068' ], 'Aromatic Solvents' => [ 'Mineral Turpentine Oil (MTO)||-||PPC026', 'Mixed Xylene (MX)||-||PPC023', 'Ortho Xylene (OX)||95-47-6||PPCGC00116', 'Phenol||108-95-2||PPCGC00117', 'Solvent Naptha L (C9)||64742-94-5||PPCGC00123', 'Solvent Naptha M (C10)||64742-82-1||PPCGC00019', 'Solvesso 200 (C12)||64742-94-5||PPCGC00020', 'Toluene||108-88-3||PPCGC00121', 'N Methyl 2 Pyrrolidone (NMP)||872-50-4||PPCGC00070', 'Styrene||100-42-5||PPCGC00071', 'Tetrahydrofuran Thf||109-99-9||PPCGC00069', 'Xylene||1330-20-7||PPCGC00072', 'Toluene Di Isocynate (TDI)||26471-62-5||PPCGC00124', 'Solvent 100||64742-95-6||PPCGC00021' ], 'Base Oil' => [ 'Process Oil||||PPCGC00023' ], 'Carbohydrates And Polysaccharides' => [ 'Glycerine||-||PPC037' ], 'Carbonates' => [ 'Calcium Carbonate||471-34-1||PPCGC00008', 'Potassium Carbonate||584-08-7||PPCGC00075', 'Sodium Bicarbonate (Baking Soda)||144-55-8||PPCGC00074', 'Sodium Carbonate||497-19-8||PPCGC00073' ], 'Dearomatized Hydrocarbon Fluids' => [ 'Exxsol D40||-||PPC054', 'Exxsol D60||64742-47-8||PPCGC00001', 'Exxsol D80||64742-48-9||PPCGC00002', 'Exxsol D95||64742-47-8||PPCGC00003', 'Exxsol D110||64742-48-9||PPCGC00119', 'Exxsol D130||64742-48-9||PPCGC00118', 'Isopar G||64742-48-9||PPCGC00033', 'Isopar H||64742-48-9||PPCGC00034', 'Isopar L||-||PC066', 'Isopar M||-||PC067', 'Escaid 110 Dearomatized Hydrocarbon Fluid||64742-47-8||exsol12345' ], 'Emulsifier' => [ 'Polysorbate||||PPCGC00016' ], 'Ethers' => [ 'Arcosolv Tripropylene Glycol Methyl Ether (TPM)||25498-49-1||PPCGC00126', 'Methyl Tert Butyl Ether (MTBE)||1634-04-4||PPCGC00081', 'Petroleum Ether||8032-32-4||PPCGC00082', 'Propylene Glycol Methyl Ether (PM)||107-98-2||PPCGC00079', 'Propylene Glycol N Propyl Ether (PNP)||1569-01-3||PPCGC00080', '2 Ethoxy Ethanol||110-80-5||PPCGC00012', 'Butyl Carbitol||112-34-5||PPCGC00127', 'Di Iso Propyl Ether-99%||108-20-3||PPCGC00132' ], 'Ethylene Glycols' => [ 'Diethylene Glycol (DEG)||111-46-6||PPCGC00129', 'Dipropylene Glycol (DPG)||25265-71-8||PPCGC00130', 'Monoethylene Glycol (MEG)||107-21-1||PPCGC00133', '2-Methyl-1,3-Propanediol (MP Diol Glycol)||2163-42-0||PPCGC00084', 'Propylene Glycol Industrial & USP Grade||57-55-6||PPCGC00085' ], 'Exxal Oxo Alcohols' => [ 'Exxal 8 IsoOctanol||26952-21-6||PPCGC00076', 'Exxal 10 Iso Decanol||25339-17-7||PPCGC00077', 'Exxal 13 IsoTri Decanol||27458-94-2||PPCGC00078', 'Exxal 11 Iso Undecanol||34335-52-5||PPCGC00083' ], 'Glycol' => [ 'Mono Propylene Glycol (MPG)||57-55-6||PPCGC00004' ], 'Halogenated Solvents' => [ 'Chloroform||67-66-3||PPCGC00086', 'Epichlorohydrin (ECH)||106-89-8||PPCGC00090', 'Ethylene Dichloride (EDC)||107-06-2||PPCGC00088', 'Methylene Dichloride (MDC)||75-09-2||PPCGC00087', 'Perchloroethylene (PCE) | DOWPER Solvent||127-18-4||PPCGC00120', 'Trichloroethylene (TCE)||79-01-6||PPCGC00089' ], 'Ketone' => [ 'Diacetone alcohol||123-42-2||PPCGC00110', 'Acetone||67-64-1||PPCGC00109', 'Methyle Isobutyl Ketone (MIBK)||108-10-1||PPCGC00111' ], 'Natural Oil' => [ 'Pine Oil||||PPCGC00017', 'Slop Oil||||PPCGC00091' ], 'Nitriles' => [ 'Acetonitrile||75-05-8||PPCGC00093', 'Acrylonitrile||107-13-1||PPCGC00094' ], 'Other Basic Chemicals' => [ 'Magnesium Chloride||7786-30-3||PPCGC00031', 'Methyl Formate||107-31-3||PPCGC00032', 'Organic Pigment Powders||||PPCGC00014', 'Titanium Dioxide||13463-67-7||PPCGC00015', 'Vinyl Acetate Monomer (VAM)||108-05-4||PPCGC00112', 'Maleic Anhydride||108-31-6||PPCGC00114', 'Pthalic Anhydride||85-44-9||PPCGC00115', 'Bisphenol A (BPA)||80-05-7||PPCGC00113', 'Somentor 34||||PPCGC00013' ], 'Oxazinanes' => [ 'Morpholine||110-91-8||PPCGC00005' ], 'Oxo Alcohols' => [ '2-Ethyl hexanol (2-EH) H||104-76-7||PPCGC00099', 'Iso Propyl Alcohol (IPA)||-||PPC010', 'Isobutanol||78-83-1||PPCGC00098', 'N-Butanol||71-36-3||PPCGC00097', 'N-Propanol||71-23-8||PPCGC00096', 'Poly vinyl alcohol (PVA)||9002-89-5||PPCGC00095' ], 'Phospates' => [ 'Sodium phosphate monobasic||7558-80-7||PPCGC00006', 'Tri Sodium phosphate||7601-54-9||PPCGC00007', 'Sodium Hexametaphosphate||68915-31-1||PPCGC00100' ], 'Sugar Alcohols / Polyols' => [ 'Glycerol||56-81-5||PPCGC00102', 'Sorbitol||50-70-4||PPCGC00103' ], 'Sugars' => [ 'Dextrasol||||PPCGC00101' ], 'Sulfoxides' => [ 'Dimethyl sulphoxide (DMSO)||67-68-5||PPCGC00104' ], 'Sulphates' => [ 'Sodium Bisulphate||7681-38-1||PPCGC00106', 'Sodium Sulphate||7757-82-6||PPCGC00105', 'Hydroxyl Amine Sulphate (HAS)||10039-54-0||PPCGC00107' ], 'Terpenes' => [ 'Isoprene||78-79-5||PPCGC00009' ], 'Waxes' => [ 'Paraffin Wax||8002-74-2||PPCGC00108' ] ]; $totalProducts = 0; foreach ($basicCategories as $items) { $totalProducts += count($items); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Basic Chemicals | Industrial Chemical Suppliers</title> <meta name="description" content="Explore our range of basic chemicals, solvents, acids, alcohols and industrial raw materials. Contact our team for product quotations."> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" rel="stylesheet"> <style> /* ===================================================== BASIC CHEMICAL — ISOLATED PREMIUM DESIGN ===================================================== */ .bc-page, .bc-page * { box-sizing: border-box; } .bc-page { --bc-navy: #09243f; --bc-blue: #1268bd; --bc-red: #cf2938; --bc-muted: #66758a; --bc-line: #e2e9f1; font-family: 'Manrope', sans-serif; color: #172b43; background: #f5f8fc; overflow: hidden; } .bc-page a { text-decoration: none; } .bc-container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; } /* Hero */ .bc-hero { position: relative; min-height: 390px; display: flex; align-items: center; color: #fff; background: linear-gradient(105deg, rgba(5, 23, 43, .96), rgba(8, 44, 78, .84), rgba(5, 23, 43, .50)), url('assets/images/GeneralchemicalBanner.jpg') center/cover no-repeat; } .bc-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, #d92c3d, #1683dc, #53d1dc); } .bc-hero-content { position: relative; z-index: 1; padding-block: 70px 85px; } .bc-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.23); border-radius: 50px; background: rgba(255,255,255,.09); color: #e3f3ff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; } .bc-hero h1 { margin: 22px 0 15px; color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.13; font-weight: 800; letter-spacing: -1.7px; } .bc-hero p { max-width: 660px; margin: 0; color: #dce7f3; font-size: 15px; line-height: 1.9; } .bc-breadcrumb { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-top: 24px; color: #dce7f3; font-size: 13px; } .bc-breadcrumb a { color: #fff; } .bc-breadcrumb i { color: #e35b68; font-size: 10px; } /* Search panel */ .bc-search-wrap { position: relative; z-index: 3; margin-top: -48px; } .bc-search-panel { padding: 28px; background: #fff; border: 1px solid rgba(215,226,239,.85); border-radius: 20px; box-shadow: 0 18px 55px rgba(12, 39, 68, .12); } .bc-search-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; } .bc-search-top h2 { margin: 0; color: var(--bc-navy); font-size: 23px; font-weight: 800; } .bc-count { padding: 8px 12px; background: #edf5ff; border-radius: 50px; color: var(--bc-blue); font-size: 12px; font-weight: 800; white-space: nowrap; } .bc-search-control { position: relative; } .bc-search-control > i { position: absolute; top: 50%; left: 19px; transform: translateY(-50%); color: #718198; pointer-events: none; } .bc-search-input { width: 100%; height: 58px; padding: 0 48px; border: 1px solid #dce5ef; border-radius: 12px; outline: none; background: #f9fbfe; color: #162a42; font: inherit; font-size: 14px; transition: .2s; } .bc-search-input:focus { border-color: #3788db; background: #fff; box-shadow: 0 0 0 4px rgba(18,104,189,.09); } .bc-search-clear { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); border: 0; background: transparent; color: #687a90; padding: 8px; } .bc-search-help { margin: 12px 0 0; color: var(--bc-muted); font-size: 12px; } /* Intro */ .bc-intro { padding: 75px 0 48px; background: #fff; } .bc-section-label { display: inline-flex; align-items: center; gap: 9px; color: var(--bc-blue); font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; } .bc-section-label::before { content: ""; width: 26px; height: 2px; background: var(--bc-red); } .bc-intro h2, .bc-bottom-info h2 { margin: 15px 0 18px; color: var(--bc-navy); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -.7px; } .bc-intro p, .bc-bottom-info p { color: #637286; font-size: 14px; line-height: 2; text-align: justify; } .bc-feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 28px; } .bc-feature { padding: 18px; border: 1px solid var(--bc-line); border-radius: 13px; background: #fff; } .bc-feature i { margin-bottom: 12px; color: var(--bc-blue); font-size: 22px; } .bc-feature h3 { margin: 0 0 7px; color: var(--bc-navy); font-size: 14px; font-weight: 800; } .bc-feature p { margin: 0; text-align: left; font-size: 12px; line-height: 1.7; } /* Catalogue */ .bc-catalogue { padding: 65px 0 75px; background: radial-gradient(ellipse at top left, rgba(40,117,192,.06), transparent 45%), #f5f8fc; } .bc-catalogue-heading { margin-bottom: 30px; } .bc-catalogue-heading h2 { margin: 12px 0; color: var(--bc-navy); font-size: clamp(26px, 3vw, 35px); font-weight: 800; letter-spacing: -.8px; } .bc-catalogue-heading p { margin: 0; color: var(--bc-muted); font-size: 14px; line-height: 1.8; } .bc-accordion .accordion-item { margin-bottom: 13px; overflow: hidden; border: 1px solid #e0e8f2; border-radius: 13px !important; background: #fff; box-shadow: 0 4px 15px rgba(15,42,70,.025); transition: box-shadow .2s, border-color .2s; } .bc-accordion .accordion-item:hover { border-color: #c5d8ee; box-shadow: 0 8px 24px rgba(15,42,70,.06); } .bc-accordion .accordion-button { gap: 14px; min-height: 68px; padding: 18px 22px; background: #fff; color: var(--bc-navy); font-size: 14px; font-weight: 800; box-shadow: none; } .bc-accordion .accordion-button::after { width: 17px; height: 17px; background-size: 17px; } .bc-accordion .accordion-button:not(.collapsed) { background: #f1f7ff; color: var(--bc-blue); } .bc-category-icon { display: inline-flex; flex: 0 0 35px; width: 35px; height: 35px; align-items: center; justify-content: center; border-radius: 10px; background: #edf5ff; color: var(--bc-blue); } .bc-category-name { flex: 1; } .bc-category-count { padding: 5px 9px; border-radius: 30px; background: #f0f3f8; color: #637286; font-size: 11px; font-weight: 800; } .bc-accordion .accordion-body { padding: 0; border-top: 1px solid #e9eef5; } .bc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; } .bc-table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; } .bc-table thead th { padding: 16px 22px; border: 0; background: #f6f9fd; color: #63758c; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; } .bc-table tbody td { padding: 15px 22px; border-bottom: 1px solid #edf1f6; color: #526278; font-size: 12px; vertical-align: middle; } .bc-table tbody tr:last-child td { border-bottom: 0; } .bc-table tbody tr:hover { background: #f8fbff; } .bc-product-name { color: #183550; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; } .bc-cas { color: #63758c; font-variant-numeric: tabular-nums; } .bc-code { display: inline-block; padding: 6px 9px; border: 1px solid #e2eaf3; border-radius: 6px; background: #f8fafc; color: #52667d; font-size: 10px; font-weight: 800; white-space: nowrap; } .bc-quote-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 8px 12px; border: 0; border-radius: 7px; background: var(--bc-red); color: #fff; font-family: inherit; font-size: 11px; font-weight: 800; white-space: nowrap; transition: .2s; } .bc-quote-btn:hover { transform: translateY(-1px); background: #a91b29; color: #fff; } .bc-empty { display: none; padding: 45px 20px; text-align: center; border: 1px dashed #cbd8e7; border-radius: 14px; background: #fff; } .bc-empty i { margin-bottom: 15px; color: #8da3bc; font-size: 34px; } .bc-empty h3 { color: var(--bc-navy); font-size: 19px; font-weight: 800; } .bc-empty p { color: var(--bc-muted); font-size: 13px; } .bc-reset { padding: 10px 17px; border: 0; border-radius: 8px; background: var(--bc-blue); color: #fff; font: inherit; font-size: 12px; font-weight: 800; } /* Bottom content */ .bc-bottom-info { padding: 70px 0; background: #fff; } .bc-info-card { padding: 28px; border: 1px solid var(--bc-line); border-radius: 18px; background: linear-gradient(145deg, #f8fbff, #fff); } .bc-info-card p:last-child { margin-bottom: 0; } /* WhatsApp modal */ .bc-modal-overlay { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(4,20,37,.72); backdrop-filter: blur(5px); } .bc-modal-overlay.bc-open { display: flex; } .bc-modal { position: relative; width: min(100%, 500px); max-height: 92vh; overflow-y: auto; padding: 30px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.22); animation: bcModalIn .2s ease-out; } @keyframes bcModalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } .bc-modal-close { position: absolute; top: 15px; right: 15px; display: inline-flex; width: 35px; height: 35px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #f0f3f7; color: #53657a; } .bc-modal-icon { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 17px; border-radius: 15px; background: #e8f8ee; color: #16964a; font-size: 25px; } .bc-modal h2 { margin: 0 0 8px; color: var(--bc-navy); font-size: 25px; font-weight: 800; } .bc-modal-description { margin-bottom: 20px; color: var(--bc-muted); font-size: 12px; line-height: 1.8; } .bc-selected-product { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #dce9f8; border-radius: 10px; background: #f3f8ff; color: var(--bc-blue); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; } .bc-form-group { margin-bottom: 13px; } .bc-form-group label { display: block; margin-bottom: 6px; color: #334960; font-size: 11px; font-weight: 800; } .bc-form-control { display: block; width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid #dce4ee; border-radius: 9px; outline: none; background: #fbfcfe; color: #183550; font-family: inherit; font-size: 12px; } .bc-form-control:focus { border-color: var(--bc-blue); box-shadow: 0 0 0 3px rgba(18,104,189,.08); } .bc-modal-submit { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; border: 0; border-radius: 10px; background: #168c48; color: #fff; font-family: inherit; font-size: 13px; font-weight: 800; transition: .2s; } .bc-modal-submit:hover { background: #0d7037; } .bc-privacy-note { margin: 12px 0 0; color: #7a8a9c; font-size: 10px; line-height: 1.7; text-align: center; } /* Responsive */ @media (max-width: 767px) { .bc-container { width: min(100% - 24px, 1180px); } .bc-hero { min-height: 320px; background-position: 60% center; } .bc-hero-content { padding-block: 55px 75px; } .bc-hero h1 { font-size: 36px; letter-spacing: -1px; } .bc-hero p { font-size: 13px; } .bc-search-panel { padding: 20px 16px; border-radius: 15px; } .bc-search-top h2 { font-size: 20px; } .bc-search-input { height: 52px; font-size: 12px; } .bc-intro { padding: 58px 0 35px; } .bc-feature-row { grid-template-columns: 1fr; } .bc-catalogue { padding: 45px 0 55px; } .bc-accordion .accordion-button { min-height: 62px; padding: 13px 12px; gap: 9px; font-size: 12px; } .bc-category-icon { flex-basis: 30px; width: 30px; height: 30px; font-size: 12px; } .bc-category-count { padding: 4px 7px; font-size: 10px; } .bc-table thead th, .bc-table tbody td { padding: 13px 14px; } .bc-bottom-info { padding: 48px 0; } .bc-info-card { padding: 20px; } .bc-modal { padding: 25px 18px; border-radius: 16px; } } @media (prefers-reduced-motion: reduce) { .bc-page *, .bc-page *::before, .bc-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } } </style> </head> <body> <?php include __DIR__ . '/header.php'; ?> <main class="bc-page"> <!-- Hero --> <section class="bc-hero"> <div class="bc-container bc-hero-content"> <span class="bc-eyebrow"> <i class="fa-solid fa-flask"></i> Industrial Chemical Solutions </span> <h1>Basic Chemicals</h1> <p> Discover essential industrial chemicals, solvents and raw materials for diverse manufacturing applications. Find the product you need and request a quotation from our team. </p> <nav class="bc-breadcrumb" aria-label="Breadcrumb"> <a href="index.php">Home</a> <i class="fa-solid fa-chevron-right"></i> <span>Basic Chemicals</span> </nav> </div> </section> <!-- Search --> <section class="bc-search-wrap"> <div class="bc-container"> <div class="bc-search-panel"> <div class="bc-search-top"> <h2><i class="fa-solid fa-magnifying-glass me-2"></i>Find Products</h2> <span class="bc-count"> <span id="bcVisibleCount"><?= $totalProducts ?></span> Products </span> </div> <div class="bc-search-control"> <i class="fa-solid fa-search"></i> <input type="search" id="bcProductSearch" class="bc-search-input" placeholder="Search product name, CAS number, code or category..." autocomplete="off" aria-label="Search chemical products" > <button type="button" class="bc-search-clear" id="bcClearSearch" aria-label="Clear search" title="Clear search"> <i class="fa-solid fa-xmark"></i> </button> </div> <p class="bc-search-help"> <i class="fa-regular fa-lightbulb me-1"></i> Search by product name, CAS number, product code or chemical category. </p> </div> </div> </section> <!-- Introduction --> <section class="bc-intro"> <div class="bc-container"> <span class="bc-section-label">Our Chemical Portfolio</span> <h2>Basic Chemicals for Industrial Applications</h2> <p> Basic chemicals are essential raw materials used across a wide range of industries. They form the foundation for products used in coatings, adhesives, pharmaceuticals, agrochemicals, textiles and numerous manufacturing processes. </p> <p> At <strong>OPPULENT CHEMICALLS EXCELLENCE INNOVATION</strong>, we offer a broad catalogue of basic chemicals for industrial requirements. Our aim is to help businesses identify suitable raw materials and request product information and quotations through a straightforward enquiry process. </p> <div class="bc-feature-row"> <div class="bc-feature"> <i class="fa-solid fa-layer-group"></i> <h3>Wide Product Range</h3> <p>Browse products across multiple chemical categories in one catalogue.</p> </div> <div class="bc-feature"> <i class="fa-solid fa-magnifying-glass-chart"></i> <h3>Easy Product Search</h3> <p>Search by product name, CAS number, category or product code.</p> </div> <div class="bc-feature"> <i class="fa-solid fa-comments"></i> <h3>Quick Enquiry</h3> <p>Share your requirements with our team through WhatsApp.</p> </div> </div> </div> </section> <!-- Product Catalogue --> <section class="bc-catalogue" id="bcCatalogue"> <div class="bc-container"> <div class="bc-catalogue-heading"> <span class="bc-section-label">Explore Our Products</span> <h2>Browse Basic Chemicals</h2> <p> Select a category to view its products or use the search box to find a specific chemical. </p> </div> <div class="accordion bc-accordion" id="bcProductsAccordion"> <?php $categoryIndex = 0; ?> <?php foreach ($basicCategories as $categoryName => $products): ?> <?php $categoryIndex++; $collapseId = 'bcCategory' . $categoryIndex; $headingId = 'bcHeading' . $categoryIndex; ?> <div class="accordion-item bc-category" data-category="<?= bc_escape($categoryName) ?>"> <h3 class="accordion-header" id="<?= $headingId ?>"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#<?= $collapseId ?>" aria-expanded="false" aria-controls="<?= $collapseId ?>" > <span class="bc-category-icon"> <i class="fa-solid fa-flask-vial"></i> </span> <span class="bc-category-name"> <?= bc_escape($categoryName) ?> </span> <span class="bc-category-count"> <?= count($products) ?> items </span> </button> </h3> <div id="<?= $collapseId ?>" class="accordion-collapse collapse" aria-labelledby="<?= $headingId ?>" data-bs-parent="#bcProductsAccordion" > <div class="accordion-body"> <div class="bc-table-wrap"> <table class="bc-table"> <thead> <tr> <th>Product Name</th> <th>CAS Number</th> <th>Product Code</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach ($products as $productLine): ?> <?php $parts = explode('||', $productLine); $productName = trim($parts[0] ?? ''); $casNumber = trim($parts[1] ?? ''); $productCode = trim($parts[2] ?? ''); $searchText = strtolower( $productName . ' ' . $casNumber . ' ' . $productCode . ' ' . $categoryName ); ?> <tr class="bc-product-row" data-search="<?= bc_escape($searchText) ?>"> <td> <span class="bc-product-name"> <?= bc_escape($productName) ?> </span> </td> <td> <span class="bc-cas"> <?= bc_escape($casNumber !== '' ? $casNumber : '—') ?> </span> </td> <td> <span class="bc-code"> <?= bc_escape($productCode !== '' ? $productCode : '—') ?> </span> </td> <td> <button type="button" class="bc-quote-btn" data-product="<?= bc_escape($productName) ?>" data-cas="<?= bc_escape($casNumber) ?>" data-code="<?= bc_escape($productCode) ?>" onclick="bcOpenQuote(this)" > Get a Quote <i class="fa-solid fa-arrow-right"></i> </button> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> </div> <?php endforeach; ?> </div> <div class="bc-empty" id="bcNoResults"> <i class="fa-solid fa-magnifying-glass"></i> <h3>No products found</h3> <p>Try a different product name, CAS number, product code or category.</p> <button type="button" class="bc-reset" id="bcResetSearch"> <i class="fa-solid fa-rotate-left me-1"></i> Show All Products </button> </div> </div> </section> <!-- Detailed Information --> <section class="bc-bottom-info"> <div class="bc-container"> <div class="bc-info-card"> <span class="bc-section-label">Industrial Supply</span> <h2>Basic Chemical Suppliers and Distributors in India</h2> <p> Basic chemicals are used as raw materials in manufacturing, processing and other industrial applications. Common categories include acids, acetates, alcohols, aliphatic solvents, aromatic solvents, carbonates, glycols, ethers and other speciality materials. </p> <p> <strong>OPPULENT CHEMICALLS EXCELLENCE INNOVATION</strong> provides this catalogue to help customers explore available product categories and identify chemicals relevant to their requirements. Product specifications, availability, packaging, quantity and commercial terms should be confirmed with our team before placing an order. </p> <p> Need pricing or product details? Use the <strong>Get a Quote</strong> button against the relevant product to send your enquiry through WhatsApp. </p> </div> </div> </section> </main> <!-- WhatsApp Quote Modal --> <div class="bc-modal-overlay" id="bcQuoteOverlay" role="dialog" aria-modal="true" aria-labelledby="bcQuoteTitle"> <div class="bc-modal"> <button type="button" class="bc-modal-close" id="bcModalClose" aria-label="Close enquiry form"> <i class="fa-solid fa-xmark"></i> </button> <div class="bc-modal-icon"> <i class="fa-brands fa-whatsapp"></i> </div> <h2 id="bcQuoteTitle">Request a Quote</h2> <p class="bc-modal-description"> Enter your details and product requirements. Your enquiry will open in WhatsApp for you to review and send. </p> <div class="bc-selected-product"> <i class="fa-solid fa-flask me-2"></i> <span id="bcSelectedProduct">Selected product</span> </div> <form id="bcQuoteForm"> <input type="hidden" id="bcQuoteProduct"> <input type="hidden" id="bcQuoteCas"> <input type="hidden" id="bcQuoteCode"> <div class="bc-form-group"> <label for="bcCustomerName">Full Name *</label> <input type="text" id="bcCustomerName" class="bc-form-control" maxlength="100" autocomplete="name" required placeholder="Enter your name"> </div> <div class="bc-form-group"> <label for="bcCustomerEmail">Email Address *</label> <input type="email" id="bcCustomerEmail" class="bc-form-control" maxlength="150" autocomplete="email" required placeholder="you@company.com"> </div> <div class="bc-form-group"> <label for="bcCustomerPhone">Mobile Number *</label> <input type="tel" id="bcCustomerPhone" class="bc-form-control" maxlength="25" autocomplete="tel" required placeholder="Enter mobile number"> </div> <div class="bc-form-group"> <label for="bcCustomerLocation">City / Location *</label> <input type="text" id="bcCustomerLocation" class="bc-form-control" maxlength="150" autocomplete="address-level2" required placeholder="Enter your city"> </div> <div class="bc-form-group"> <label for="bcCustomerQty">Required Quantity *</label> <input type="text" id="bcCustomerQty" class="bc-form-control" maxlength="100" required placeholder="e.g. 100 kg or 5 drums"> </div> <div class="bc-form-group"> <label for="bcCustomerMessage">Additional Requirements</label> <textarea id="bcCustomerMessage" class="bc-form-control" rows="3" maxlength="1000" placeholder="Grade, packaging or other requirements (optional)"></textarea> </div> <button type="submit" class="bc-modal-submit"> Send Enquiry on WhatsApp <i class="fa-brands fa-whatsapp"></i> </button> <p class="bc-privacy-note"> Your details are added to the WhatsApp message you choose to send. Review the message before sending it. </p> </form> </div> </div> <?php include __DIR__ . '/footer.php'; ?> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script> <script> (function () { "use strict"; const searchInput = document.getElementById("bcProductSearch"); const clearButton = document.getElementById("bcClearSearch"); const resetButton = document.getElementById("bcResetSearch"); const visibleCount = document.getElementById("bcVisibleCount"); const noResults = document.getElementById("bcNoResults"); const categories = Array.from(document.querySelectorAll(".bc-category")); const rows = Array.from(document.querySelectorAll(".bc-product-row")); function filterProducts() { const query = searchInput.value.trim().toLocaleLowerCase(); let count = 0; categories.forEach(function (category) { const categoryName = (category.dataset.category || "").toLocaleLowerCase(); const categoryRows = Array.from( category.querySelectorAll(".bc-product-row") ); let categoryMatches = 0; categoryRows.forEach(function (row) { const searchable = (row.dataset.search || "").toLocaleLowerCase(); const match = query === "" || searchable.includes(query); row.hidden = !match; if (match) { categoryMatches++; count++; } }); const categoryMatchesName = query !== "" && categoryName.includes(query); /* * A category-name match displays all products in that category. */ if (categoryMatchesName) { categoryRows.forEach(function (row) { row.hidden = false; }); categoryMatches = categoryRows.length; // Recalculate total after category-name match. count = categories.reduce(function (sum, item) { return sum + item.querySelectorAll(".bc-product-row:not([hidden])").length; }, 0); } category.hidden = categoryMatches === 0; const collapse = category.querySelector(".accordion-collapse"); const button = category.querySelector(".accordion-button"); if (query !== "" && categoryMatches > 0) { if (collapse && !collapse.classList.contains("show")) { bootstrap.Collapse.getOrCreateInstance(collapse, { toggle: false }).show(); } } else if (query === "" && collapse && collapse.classList.contains("show")) { bootstrap.Collapse.getOrCreateInstance(collapse, { toggle: false }).hide(); } }); // Always compute the actual visible product count. count = rows.filter(function (row) { return !row.hidden; }).length; visibleCount.textContent = count; noResults.style.display = count === 0 ? "block" : "none"; categories.forEach(function (category) { const visibleRows = category.querySelectorAll( ".bc-product-row:not([hidden])" ).length; const countBadge = category.querySelector(".bc-category-count"); if (countBadge) { const total = category.querySelectorAll(".bc-product-row").length; countBadge.textContent = query ? visibleRows + " / " + total : total + " items"; } }); } searchInput.addEventListener("input", filterProducts); clearButton.addEventListener("click", function () { searchInput.value = ""; filterProducts(); searchInput.focus(); }); if (resetButton) { resetButton.addEventListener("click", function () { searchInput.value = ""; filterProducts(); searchInput.focus(); }); } const overlay = document.getElementById("bcQuoteOverlay"); const quoteForm = document.getElementById("bcQuoteForm"); const closeButton = document.getElementById("bcModalClose"); window.bcOpenQuote = function (button) { document.getElementById("bcQuoteProduct").value = button.dataset.product || ""; document.getElementById("bcQuoteCas").value = button.dataset.cas || ""; document.getElementById("bcQuoteCode").value = button.dataset.code || ""; document.getElementById("bcSelectedProduct").textContent = button.dataset.product || "Selected product"; overlay.classList.add("bc-open"); document.body.style.overflow = "hidden"; setTimeout(function () { document.getElementById("bcCustomerName").focus(); }, 100); }; function closeQuote() { overlay.classList.remove("bc-open"); document.body.style.overflow = ""; } closeButton.addEventListener("click", closeQuote); overlay.addEventListener("click", function (event) { if (event.target === overlay) { closeQuote(); } }); document.addEventListener("keydown", function (event) { if (event.key === "Escape" && overlay.classList.contains("bc-open")) { closeQuote(); } }); quoteForm.addEventListener("submit", function (event) { event.preventDefault(); if (!quoteForm.reportValidity()) { return; } const product = document.getElementById("bcQuoteProduct").value.trim(); const cas = document.getElementById("bcQuoteCas").value.trim(); const code = document.getElementById("bcQuoteCode").value.trim(); const name = document.getElementById("bcCustomerName").value.trim(); const email = document.getElementById("bcCustomerEmail").value.trim(); const phone = document.getElementById("bcCustomerPhone").value.trim(); const location = document.getElementById("bcCustomerLocation").value.trim(); const quantity = document.getElementById("bcCustomerQty").value.trim(); const message = document.getElementById("bcCustomerMessage").value.trim(); /* * Replace this with your verified business WhatsApp number. * Country code included; no plus sign or spaces. */ const whatsappNumber = "917428465992"; const lines = [ "Hello! I would like to request a quotation for a Basic Chemical.", "", "Product: " + product, "CAS Number: " + (cas || "Not specified"), "Product Code: " + (code || "Not specified"), "", "Name: " + name, "Email: " + email, "Mobile: " + phone, "Location: " + location, "Required Quantity: " + quantity, "Additional Requirements: " + (message || "None") ]; const whatsappURL = "https://wa.me/" + whatsappNumber + "?text=" + encodeURIComponent(lines.join("\n")); const openedWindow = window.open(whatsappURL, "_blank", "noopener,noreferrer"); /* * Some browsers block popups. In that case, navigate in this tab. */ if (!openedWindow) { window.location.href = whatsappURL; } closeQuote(); }); filterProducts(); })(); </script> </body> </html>
Save
Cancel