149 lines
8.6 KiB
PHP
149 lines
8.6 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<!-- SEO & Meta Tags -->
|
|
<title>AutoPrint - Automatic Printing Website</title>
|
|
<meta name="description" content="AutoPrint: Streamline your xerox shop with automated order, payment, and pickup for hassle-free printing.">
|
|
<meta name="keywords" content="online printing, document printing, xerox shop, automatic printing, print on demand, local printing, A4 printing, color printing, file upload print, student printing">
|
|
|
|
<!-- Open Graph / Facebook -->
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="AutoPrint - Automatic Printing Website">
|
|
<meta property="og:description" content="AutoPrint: Streamline your xerox shop with automated order, payment, and pickup for hassle-free printing.">
|
|
<meta property="og:image" content="https://project-screens.s3.amazonaws.com/screenshots/34614/app-hero-20251003-055147.png">
|
|
|
|
<!-- Twitter -->
|
|
<meta property="twitter:card" content="summary_large_image">
|
|
<meta property="twitter:title" content="AutoPrint - Automatic Printing Website">
|
|
<meta property="twitter:description" content="AutoPrint: Streamline your xerox shop with automated order, payment, and pickup for hassle-free printing.">
|
|
<meta property="twitter:image" content="https://project-screens.s3.amazonaws.com/screenshots/34614/app-hero-20251003-055147.png">
|
|
|
|
<!-- Stylesheets -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/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=Inter:wght@400;600;700&family=Georgia&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container my-5">
|
|
<header class="text-center mb-5">
|
|
<h1 class="display-4">Welcome to AutoPrint</h1>
|
|
<p class="lead">Your self-service printing solution. Upload, pay, and collect.</p>
|
|
</header>
|
|
|
|
<div class="hero-image mb-5"></div>
|
|
|
|
<main>
|
|
<div class="card p-4 p-lg-5">
|
|
<h2 class="text-center mb-4">Start Your Order</h2>
|
|
<form id="orderForm" action="order_handler.php" method="POST" enctype="multipart/form-data">
|
|
|
|
<div class="row g-5">
|
|
<!-- Left Column: Upload & Customer Info -->
|
|
<div class="col-lg-6">
|
|
<div class="mb-4 text-center">
|
|
<img src="https://picsum.photos/seed/file_icon/400/400" class="img-fluid rounded-circle mb-3" style="max-width: 150px;" alt="Abstract icon representing a document.">
|
|
<h4>1. Upload Your Document</h4>
|
|
<p class="text-muted">Supports PDF, JPG, PNG, DOC, DOCX.</p>
|
|
<input type="file" class="form-control" id="document" name="document" accept=".pdf,.jpg,.jpeg,.png,.doc,.docx" required>
|
|
</div>
|
|
|
|
<hr class="my-4">
|
|
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Your Name</label>
|
|
<input type="text" class="form-control" id="name" name="name" placeholder="Enter your name" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Your Email</label>
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="Enter your email for notifications" required>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right Column: Printing Options -->
|
|
<div class="col-lg-6">
|
|
<div class="text-center mb-4">
|
|
<img src="https://picsum.photos/seed/options_icon/400/400" class="img-fluid rounded-circle mb-3" style="max-width: 150px;" alt="Abstract icon representing customization settings.">
|
|
<h4>2. Select Printing Options</h4>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Print Type</label>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="printType" id="one-sided" value="one-sided" checked>
|
|
<label class="form-check-label" for="one-sided">One-sided</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="printType" id="both-sided" value="both-sided">
|
|
<label class="form-check-label" for="both-sided">Both-sided</label>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Color</label>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="color" id="bw" value="bw" checked>
|
|
<label class="form-check-label" for="bw">Black & White</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="color" id="color" value="color">
|
|
<label class="form-check-label" for="color">Color</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="paperSize" class="form-label">Paper Size</label>
|
|
<select class="form-select" id="paperSize" name="paperSize">
|
|
<option value="a4" selected>A4</option>
|
|
<option value="jumbo">Jumbo</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="pagesPerSheet" class="form-label">Pages per Sheet</label>
|
|
<select class="form-select" id="pagesPerSheet" name="pagesPerSheet">
|
|
<option value="1" selected>1</option>
|
|
<option value="2">2</option>
|
|
<option value="4">4</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-4">
|
|
<label for="quantity" class="form-label">Number of Copies</label>
|
|
<input type="number" class="form-control" id="quantity" name="quantity" value="1" min="1">
|
|
</div>
|
|
|
|
<hr class="my-4">
|
|
|
|
<div class="text-center">
|
|
<p class="mb-2">Estimated Price:</p>
|
|
<h3 id="price-summary">$0.00</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-5 text-center">
|
|
<button type="submit" class="btn btn-primary btn-lg">Submit Order</button>
|
|
</div>
|
|
<div class="text-center mt-3">
|
|
<button type="button" id="specificReqBtn" class="btn btn-link">Have specific requirements?</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="text-center text-muted mt-5">
|
|
<p>© <?php echo date("Y"); ?> AutoPrint. All Rights Reserved.</p>
|
|
</footer>
|
|
</div>
|
|
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|