Файловый менеджер - Редактировать - /home/gqdcvggs/go.imators.com/peerkinton.com.zip
Назад
PK �)�[��k�b b reset_password.phpnu �[��� <?php session_start(); if(isset($_SESSION['user_id'])) { header("Location: dashboard.php"); exit(); } $token = isset($_GET['token']) ? $_GET['token'] : ''; $token_valid = false; $token_expired = false; if($token) { require_once 'db.php'; $sql = "SELECT * FROM users WHERE reset_token = ?"; $stmt = $conn->prepare($sql); $stmt->bind_param("s", $token); $stmt->execute(); $result = $stmt->get_result(); if($result->num_rows > 0) { $user = $result->fetch_assoc(); if(strtotime($user['reset_expiry']) > time()) { $token_valid = true; } else { $token_expired = true; } } $stmt->close(); $conn->close(); } if(isset($_POST['reset']) && $token_valid) { require_once 'db.php'; $new_password = $_POST['new_password']; $confirm_password = $_POST['confirm_password']; if($new_password === $confirm_password) { if(strlen($new_password) >= 8) { $hashed_password = password_hash($new_password, PASSWORD_DEFAULT); $sql = "UPDATE users SET password = ?, reset_token = NULL, reset_expiry = NULL WHERE reset_token = ?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $hashed_password, $token); $stmt->execute(); $success = "Ton mot de passe a été réinitialisé avec succès. Tu peux maintenant te connecter."; $token_valid = false; $stmt->close(); $conn->close(); } else { $error = "Le mot de passe doit contenir au moins 8 caractères."; } } else { $error = "Les mots de passe ne correspondent pas."; } } ?> <!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Peerkinton - Réinitialisation</title> <script src="https://cdn.tailwindcss.com"></script> <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&display=swap" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet"> <style> body { font-family: 'Poppins', sans-serif; } </style> <script> tailwind.config = { theme: { extend: { fontFamily: { 'sans': ['Poppins', 'sans-serif'], } } } } </script> </head> <body class="bg-white text-gray-900 min-h-screen flex items-center justify-center"> <div class="w-full px-4 sm:px-6 py-8 sm:py-12"> <div class="max-w-md mx-auto"> <div class="mb-10 sm:mb-16 text-center"> <img src="logo.png" alt="Peerkinton Logo" class="h-6 sm:h-8 mx-auto"> </div> <?php if(!$token): ?> <div class="text-center mb-6 sm:mb-10"> <h1 class="text-3xl sm:text-4xl font-medium mb-3 sm:mb-4">Lien invalide</h1> <p class="text-gray-600 font-light">Le lien de réinitialisation est invalide ou manquant.</p> </div> <div class="text-center"> <a href="login.php" class="inline-block bg-black text-white px-6 py-3 font-medium text-sm uppercase tracking-wider rounded"> Retour à la connexion </a> </div> <?php elseif($token_expired): ?> <div class="text-center mb-6 sm:mb-10"> <h1 class="text-3xl sm:text-4xl font-medium mb-3 sm:mb-4">Lien expiré</h1> <p class="text-gray-600 font-light">Ce lien de réinitialisation a expiré. Demande un nouveau lien.</p> </div> <div class="text-center"> <a href="login.php" class="inline-block bg-black text-white px-6 py-3 font-medium text-sm uppercase tracking-wider rounded"> Retour à la connexion </a> </div> <?php elseif(isset($success)): ?> <div class="text-center mb-6 sm:mb-10"> <h1 class="text-3xl sm:text-4xl font-medium mb-3 sm:mb-4">Succès</h1> <div class="bg-green-50 text-green-800 px-4 py-3 rounded mb-6"> <?php echo $success; ?> </div> </div> <div class="text-center"> <a href="login.php" class="inline-block bg-black text-white px-6 py-3 font-medium text-sm uppercase tracking-wider rounded"> Se connecter </a> </div> <?php elseif($token_valid): ?> <div class="text-center mb-6 sm:mb-10"> <h1 class="text-3xl sm:text-4xl font-medium mb-3 sm:mb-4">Nouveau mot de passe</h1> <p class="text-gray-600 font-light">Choisis un nouveau mot de passe pour ton compte.</p> </div> <div class="mb-6"> <?php if(isset($error)): ?> <div class="bg-red-50 text-red-800 px-4 py-3 rounded mb-4"> <?php echo $error; ?> </div> <?php endif; ?> <form action="" method="POST"> <div class="mb-4"> <input type="password" name="new_password" required placeholder="Nouveau mot de passe" class="w-full px-4 py-3 bg-gray-50 border-0 focus:ring-0 rounded"> </div> <div class="mb-6"> <input type="password" name="confirm_password" required placeholder="Confirme le mot de passe" class="w-full px-4 py-3 bg-gray-50 border-0 focus:ring-0 rounded"> </div> <button type="submit" name="reset" class="w-full bg-black text-white px-6 py-3 font-medium text-sm uppercase tracking-wider rounded"> Réinitialiser </button> </form> </div> <p class="text-gray-600 text-center text-sm"> <i class="fas fa-info-circle mr-1"></i>Le mot de passe doit contenir au moins 8 caractères. </p> <?php endif; ?> </div> </div> </body> </html>PK �)�[=Qy�� � subscribe.phpnu �Iw�� <?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $email = filter_var($_POST["email"], FILTER_SANITIZE_EMAIL); if (filter_var($email, FILTER_VALIDATE_EMAIL)) { // Configure recipient email $to = "press@peerkinton.com"; $admin_subject = "New Newsletter Subscription"; $admin_message = "New subscription from: " . $email; $admin_headers = "From: no-reply@peerkinton.com"; // Send email to admin mail($to, $admin_subject, $admin_message, $admin_headers); // Send welcome email to subscriber $subscriber_subject = "Welcome to Peerkinton"; // HTML email with Tailwind inline styles $subscriber_message = ' <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body style="font-family: \'Poppins\', sans-serif; margin: 0; padding: 0; background-color: #f9fafb;"> <div style="max-width: 600px; margin: 0 auto; padding: 40px 20px; background-color: white;"> <div style="margin-bottom: 30px;"> <img src="https://yourwebsite.com/images/logo.png" alt="Peerkinton Logo" style="height: 30px;"> </div> <h1 style="font-size: 24px; font-weight: 500; color: #111827; margin-bottom: 16px;">Welcome to Peerkinton</h1> <p style="color: #4b5563; line-height: 1.5; margin-bottom: 24px;"> Thank you for subscribing to our newsletter. We\'re excited to keep you updated with the latest news and events from Peerkinton. </p> <div style="margin-top: 40px; padding-top: 20px; border-top: 1px solid #e5e7eb; color: #6b7280; font-size: 14px;"> <p> © ' . date("Y") . ' Peerkinton, a AktasCorp creations, All rights reserved. </p> <p> If you didn\'t subscribe to this newsletter, you can safely ignore this email. </p> </div> </div> </body> </html> '; // Headers for HTML email $subscriber_headers = "MIME-Version: 1.0" . "\r\n"; $subscriber_headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; $subscriber_headers .= "From: Peerkinton <no-reply@peerkinton.com>" . "\r\n"; // Send HTML email to subscriber mail($email, $subscriber_subject, $subscriber_message, $subscriber_headers); // Redirect back with success message header("Location: index.php?subscribed=true"); exit; } else { // Redirect back with error header("Location: index.php?error=invalid_email"); exit; } } ?> */ ?>PK �)�[�hc � � account_deleted.phpnu �[��� <!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Compte supprimé - Peerkinton</title> <script src="https://cdn.tailwindcss.com"></script> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet"> <style>body { font-family: 'Poppins', sans-serif; }</style> </head> <body class="bg-gray-50"> <div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> <div class="max-w-md w-full text-center"> <img src="logo.png" alt="Peerkinton" class="mx-auto h-12 mb-6"> <div class="bg-white shadow rounded-lg p-8"> <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100 mb-4"> <svg class="h-6 w-6 text-green-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /> </svg> </div> <h2 class="text-2xl font-bold text-gray-900 mb-4">Compte supprimé</h2> <p class="text-gray-600 mb-6">Ton compte a été définitivement supprimé de nos serveurs.</p> <p class="text-sm text-gray-500 mb-6">Merci d'avoir fait partie de la communauté Peerkinton.</p> <a href="https://peerkinton.com" class="bg-blue-600 text-white py-2 px-4 rounded-lg hover:bg-blue-700"> Retour à l'accueil </a> </div> </div> </div> </body> </html> PK �)�[p��0� � IMG_8871.pngnu �Iw�� �PNG IHDR z � u�^� sRGB ��� gAMA ���a pHYs � ��o�d ��IDATx^��%�u���z�M[tW��� H�� H��ġ�F����Y�7�H���'�(�h5�$����h �A ��k��]�����{�q2O�ͼ��* �_u^F��Ȍȼ��9�z����|����<��>Þ�f��,�<�I�2&����s%��s���F|̦�|����!���r�����d�vk���:W���s��J��k�b��]ڝ�X:~��B�7�s��*犢;�~�;��y�[�s.<�|v����K�0\>��,F��s�{�>f(���r>�T%���:�Eg0�cz�$;��֞sE�M�_��������V�tH+mQP����bL����7�Ţ�<ů�B�Xe���6;��o���bѵ���3ܽD/fm]�j�mf��f����̘�k�D�_Ϙ�/�|.y�WVM� 6�~ĹBT�6�@�`�d���-�n�L�EM�h���I8����`a�sQ���^$����2燿mw�DP$����,�8�\��]{�:l��2��E��hW6�!�炥c��_]���l��G��_�Еr�Wɡ�Z�ᛖ2�~��\zʔra��y H_vi�X�sU��,�vٵ��Q��֩\g'_�#��o�v�>�Eԟ͆糭�rau�T��p@�D��?0{��y�=w���6�TG��k�����]Xe����>�����;�u��}�*�E����y#m��6ˋ�K���s����?��fa)��?�k�L6m�V�|���6��n�虦Lm��O�b�߮�8�^*�M����g�8��;f�D��d�i�� �l3�L��9�L�j���e��:�����on�����dss��ЬK�;m�!�y㚫*�h`�/���f�]���0Ʒ� �;�Q��wxԷi��*]�C����o �'���'��0��_��=�w��6�]ϕmoH�HS��RiJ��tiz���C���F��bg�s�1�s�1���|��vg_��w�ٴ�է��p04����'w�V5�f���C����}�>�'���]>�5�F��V�f���g���g](�6�N�|�7�����|ŕ�>�ZZ0�nt� T ��_(۾/����.y|z�E&7��` {�c&?�bw:��~���{�d����㾣�d3���1F�ϋ�w�=�4��G�E�%tҫfD��@����|2ԟ�]�'c�1?[�M����i�VL���cSP�@p�nz�dv�"�q���@c����w�ȼ�?~֤��]��Ϛ���_�~�?�m��5���I�J��o�w��E����Y�Co��?�ғ|v;�ٽ���x��yd�Ρ��OǕ���[���f���I�x��d�q�}�/����� ����g^�jҵ�у^7���2�/��ĭ�g�Rc�Ʈ����<�mn,��{�k��>q9���Si�܀��'��jf��e�� �� �{��e��v�W��4���v�in��Nn�ݝ >rđ��[!�K�;&��s�x��o�ä��m+�\�O>u���+?eF���K���^����u��w��ݿ���Qy0\=h7�?��o��W~%�~w+|���xv��+ ��/�?��O?�\�Bt�C�vzŹ,~����?�3�53ܶ�P��yכ07��?p.����4I���qs��@�?���\������0g �aȓ�*���B1�q�1Oo��9�Ë���z��n�Ρ�] ���m@�������磎{�-��O_q�/�������a�v%�eD;�"��R�m�o7��>