403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/xampp/htdocs-coblaa/pureFaith/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/pureFaith/cb_publisher.php
<!DOCTYPE html>
<html lang="en">
<?php 
session_start();
include('db.php');
?>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Join Publishers</title>
    <!-- Load Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- Configure Tailwind for Inter font and custom colors -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        sans: ['Inter', 'sans-serif'],
                    },
                    colors: {
                        'accent': '#10b981', /* Emerald for a primary feel */
                        'accent-dark': '#059669',
                    }
                }
            }
        }
    </script>
    <style>
        /* Custom styles for full-screen and centering */
        body {
            background-color: #f0fdf4; /* Light mint background */
        }
        .form-container {
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
            background-color: white;
            transition: transform 0.3s ease-in-out;
        }
        .form-container:hover {
            transform: translateY(-2px);
        }
        select:focus {
            border-color: #10b981;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.5); /* Custom focus ring */
            outline: none;
        }
    </style>
</head>
<body class="font-sans min-h-screen flex items-center justify-center p-4">

    <!-- Main Centered Container (The Selection Form) -->
    <div class="form-container w-full max-w-sm mx-auto p-8 md:p-10 rounded-2xl">
        <h1 class="text-4xl font-extrabold text-gray-900 mb-2 text-center">
            Join Publishers
        </h1>
        <p class="text-center text-gray-500 mb-8">
            Please select your religious affiliation to proceed.
        </p>

        <!-- The Selection Form -->
        <form id="religionForm" class="space-y-6">

            <!-- Religion Selection Field -->
            <div>
                <label for="religion" class="block text-sm font-semibold text-gray-700 mb-2">Select Religion</label>
                <select id="religion" name="religion" required
                        class="w-full px-4 py-3 border border-gray-300 rounded-xl shadow-inner text-lg appearance-none bg-white transition duration-200">
                    <option value="" disabled selected>--- Choose One ---</option>
                    
                    <!-- Requested Religions -->
                    <option value="christianity">Christianity</option>
                    <option value="islam">Islam</option>
                    
                    <!-- Extended List -->
                    <option value="buddhism">Buddhism</option>
                    <option value="hinduism">Hinduism</option>
                    <option value="judaism">Judaism</option>
                    <option value="sikhism">Sikhism</option>
                    <option value="other">Other</option>
                    <option value="prefer_not_to_say">Prefer Not To Say</option>
                </select>
                <!-- Custom arrow indicator using tailwind, as appearance-none removes default -->
                <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
                    <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"/></svg>
                </div>
            </div>

            <!-- Legal Disclaimer added here -->
            <p class="text-xs text-gray-500 text-center pt-2">
                By clicking **Submit Selection**, we assume that you agree to the publishers' terms and conditions.
            </p>

            <!-- Submission Button -->
            <div>
                <button type="submit"
                        class="w-full flex justify-center py-3 px-4 rounded-xl shadow-lg text-lg font-bold text-white bg-accent hover:bg-accent-dark focus:outline-none focus:ring-4 focus:ring-accent transition duration-200 ease-in-out transform hover:scale-[1.01]">
                    Submit Selection
                </button>
            </div>
        </form>

        <!-- Submission Message Box -->
        <div id="messageBox" class="mt-8 p-4 bg-green-100 border border-green-400 text-green-700 rounded-lg hidden" role="alert">
            <p id="messageText" class="text-sm font-medium"></p>
			<p id="errorOutput" class="text-sm font-medium"></p>
        </div>
    </div>

    <script>
        document.getElementById('religionForm').addEventListener('submit', function(event) {
            // Prevent the page from refreshing
            event.preventDefault();

            // Get the selected religion value
            const religion = document.getElementById('religion').value; 
			
  	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","auto_page.php?religion="+religion+"&&status=join_publisher",false);
	xmlhttp.send(null);
	document.getElementById('errorOutput').innerHTML=xmlhttp.responseText;
	
            // Log the captured data to the console
            console.log('--- Publisher Religion Selection Submitted ---');
            console.log('Selected Religion:', religion);

            // Display success message in the custom message box
            const messageBox = document.getElementById('messageBox');
            const messageText = document.getElementById('messageText');

            messageText.textContent = `Thank you! You selected: ${religion}. Your choice has been processed (data logged to console).`;

            // Make the message box visible
            messageBox.classList.remove('hidden');

            // Clear the message after a few seconds
            setTimeout(() => {
                messageBox.classList.add('hidden');
				window.open('clip_studio','_self')
            }, 5000);
        });
    </script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit