33976-vm/index.php
Flatlogic Bot 4753d6c028 v3
2025-09-09 21:47:13 +00:00

104 lines
5.9 KiB
PHP

<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Polish Contract Calculator</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<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=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<main class="container my-5">
<div class="row justify-content-center">
<div class="col-lg-8 col-xl-7">
<div class="text-center mb-4">
<h1 class="h2 fw-bold">Kalkulator Wynagrodzeń</h1>
<p class="text-muted">Oblicz swoje zarobki dla najpopularniejszych form zatrudnienia.</p>
</div>
<div class="card calculator-widget">
<div class="card-body p-4 p-md-5">
<!-- Contract Type Selector -->
<div class="mb-4">
<label class="form-label fw-bold">Typ umowy</label>
<div id="contract-type-selector" class="btn-group w-100" role="group" aria-label="Wybierz typ umowy">
<input type="radio" class="btn-check" name="contractType" id="b2b" value="b2b" autocomplete="off" checked>
<label class="btn btn-outline-primary" for="b2b"><i class="bi bi-briefcase-fill me-2"></i>B2B</label>
<input type="radio" class="btn-check" name="contractType" id="uop" value="uop" autocomplete="off">
<label class="btn btn-outline-primary" for="uop"><i class="bi bi-file-earmark-person-fill me-2"></i>Umowa o pracę</label>
<input type="radio" class="btn-check" name="contractType" id="uz" value="uz" autocomplete="off">
<label class="btn btn-outline-primary" for="uz"><i class="bi bi-file-text-fill me-2"></i>Umowa zlecenie</label>
<input type="radio" class="btn-check" name="contractType" id="uod" value="uod" autocomplete="off">
<label class="btn btn-outline-primary" for="uod"><i class="bi bi-palette-fill me-2"></i>Umowa o dzieło</label>
<input type="radio" class="btn-check" name="contractType" id="inkubator" value="inkubator" autocomplete="off">
<label class="btn btn-outline-primary" for="inkubator"><i class="bi bi-lightbulb-fill me-2"></i>Inkubator</label>
</div>
</div>
<form id="calculator-form">
<!-- Amount Input -->
<div class="mb-3">
<label for="amount" class="form-label fw-bold">Kwota</label>
<div class="input-group input-group-lg">
<input type="number" class="form-control" id="amount" placeholder="Np. 10000" required>
<span class="input-group-text">PLN</span>
</div>
</div>
<!-- Amount Type (Net/Gross) -->
<div class="mb-4 text-center">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="amountType" id="gross" value="gross" checked>
<label class="form-check-label" for="gross">Brutto</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="amountType" id="net" value="net">
<label class="form-check-label" for="net">Netto ("na rękę")</label>
</div>
</div>
<!-- Dynamic Options -->
<div id="dynamic-options" class="mb-4">
<!-- Options for B2B, UoP, etc. will be injected here by JS -->
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary btn-lg">Oblicz</button>
</div>
</form>
<!-- Results -->
<div id="results" class="mt-5" style="display: none;">
<hr>
<h3 class="text-center mb-4 h4">Podsumowanie</h3>
<div id="results-summary" class="row">
<!-- Results will be injected here -->
</div>
</div>
</div>
</div>
<div class="text-center mt-3 footer-links">
<small class="text-muted">&copy; <?php echo date("Y"); ?> AppWizzy Inc. Obliczenia są szacunkowe. | <a href="/tos.php">Terms of Service</a> | <a href="/privacy.php">Privacy Policy</a></small>
</div>
</div>
</div>
</main>
<!-- Bootstrap 5 JS Bundle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<!-- Custom JS -->
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>