Премини към съдържанието
Форумът в приложение

По-лесно сърфиране. Научи повече.

Kaldata.com - Форуми

Приложение на форума на цял екран с push известия, значки и други.

За да инсталирате това приложение на iOS и iPadOS
  1. Докоснете Иконата за споделяне в Safari
  2. Превъртете менюто и докоснете Добавяне към началния екран.
  3. Докоснете Добавяне в горния десен ъгъл.
За да инсталирате това приложение на Android
  1. Докоснете менюто с 3 точки (⋮) в горния десен ъгъл на браузъра.
  2. Докоснете Добавяне към началния екран или Инсталиране на приложение.
  3. Потвърдете, като докоснете Инсталиране.

rtx

Потребител
  • Регистрация

  • Последно онлайн

Всичко публикувано от rtx

  1. rtx отговори в добавена от Т.Христов тема в Програмиране
    Странно.. качих го и на хостинг: Линк: http://ebulgaria.bg/menu-1.htm Копирай пак сорс кода от този линк.
  2. rtx отговори в добавена от Т.Христов тема в Програмиране
    <!DOCTYPE html> <html> <head> <style> .accordion { background-color: #eee; color: #444; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px; transition: 0.4s; } .active, .accordion:hover { background-color: #ccc; } .panel { padding: 0 18px; display: none; background-color: white; overflow: hidden; } </style> </head> <body> <h2>Accordion Menu Example</h2> <button class="accordion">Section 1</button> <div class="panel"> <p>Content for Section 1...</p> </div> <button class="accordion">Section 2</button> <div class="panel"> <p>Content for Section 2...</p> </div> <button class="accordion">Section 3</button> <div class="panel"> <p>Content for Section 3...</p> </div> <script> var acc = document.getElementsByClassName("accordion"); var i; function togglePanel() { var panel = this.nextElementSibling; this.classList.toggle("active"); panel.style.display = panel.style.display === "block" ? "none" : "block"; } for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", togglePanel); } </script> </body> </html> Тествах го. Може да провериш в дясно са "+"-четта.
  3. Активиран ли е PHPMail() или SMTP? Дай малко конкретика. Пробвай така: <!DOCTYPE html> <html> <head> <style> /* Add your CSS styles here */ </style> </head> <body> <section> <div class="cta-from"> <form action="process-form.php" method="POST"> <div class="cta-form-col d-flex justify-content-between"> <select class="custom-select" name="service"> <option selected="">Select Service</option> <option>Ambient Freight Transport Service</option> <option>Frozen Freight Transport Service</option> <option>Groupage Freight Transport Service</option> <option>Full load Freight Transport Service</option> <option>Part load Freight Transport Service</option> <option>Part load Freight Transport Service</option> <option>ADR "Dangerous" Freight Transport Service</option> </select> <input type="text" name="length" placeholder="Length"> <input type="text" name="height" placeholder="Height"> </div> <div class="cta-form-col d-flex justify-content-between"> <select class="custom-select" name="from_country"> <option selected="">From Country</option> <option value="United Kingdom">United Kingdom</option> <!-- Add other options here --> </select> <select class="custom-select" name="to_country"> <option selected="">To Country</option> <option value="United Kingdom">United Kingdom</option> <!-- Add other options here --> </select> </div> <div class="cta-form-col d-flex justify-content-between"> <select class="custom-select" name="weight"> <option selected="">Weight kg</option> <option>100Kg</option> <option>200Kg</option> <option>300Kg</option> <!-- Add other options here --> </select> <input class="cta-email" type="email" name="email" placeholder="Email ID"> <input class="cta-phone" type="tel" name="phone" placeholder="Phone Number"> </div> <h4 class="extra-services"><i class="fas fa-binoculars"></i>How we can connect with you</h4> <ul> <li> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="customCheck1" name="contact_by_phone"> <label class="custom-control-label" for="customCheck1">By Phone</label> </div> </li> <li> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="customCheck2" name="contact_by_email"> <label class="custom-control-label" for="customCheck2">By Email</label> </div> </li> <!-- Add other checkbox options here --> </ul> <button class="btn" type="submit">Contact us</button> </form> </div> </section> <?php if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Collect form data $service = $_POST['service']; $length = $_POST['length']; $height = $_POST['height']; $fromCountry = $_POST['from_country']; $toCountry = $_POST['to_country']; $weight = $_POST['weight']; $email = $_POST['email']; $phone = $_POST['phone']; $contactByPhone = isset($_POST['contact_by_phone']); $contactByEmail = isset($_POST['contact_by_email']); // Validate form data $errors = array(); if (empty($service)) { $errors[] = 'Please select a service'; } if (!is_numeric($length)) { $errors[] = 'Length must be a number'; } if (!is_numeric($height)) { $errors[] = 'Height must be a number'; } if (empty($fromCountry)) { $errors[] = 'Please select a "from" country'; } if (empty($toCountry)) { $errors[] = 'Please select a "to" country'; } if (empty($weight)) { $errors[] = 'Please select a weight'; } if (empty($email) && empty($phone)) { $errors[] = 'Please provide an email or phone number'; } // If there are no errors, send an email if (empty($errors)) { $to = '[email protected]'; $subject = 'New contact request'; $message = "Service: $service\nLength: $length\nHeight: $height\nFrom: $fromCountry\nTo: $toCountry\nWeight: $weight\nEmail: $email\nPhone: $phone\nContact by phone: " . ($contactByPhone ? 'Yes' : 'No') . "\nContact by email: " . ($contactByEmail ? 'Yes' : 'No'); $headers = "From: $email\r\nReply-To: $email\r\nX-Mailer: PHP/" . phpversion(); mail($to, $subject, $message, $headers); echo 'Thank you for your message. We will get back to you soon.'; } else { // If there are errors, display them echo '<ul>'; foreach ($errors as $error) { echo "<li>$error</li>"; } echo '</ul>'; } } ?> </body> </html>
  4. rtx отговори в добавена от Т.Христов тема в Програмиране
    <!DOCTYPE html> <html> <head> <style> .accordion { background-color: #eee; color: #444; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px; transition: 0.4s; } .active, .accordion:hover { background-color: #ccc; } .panel { padding: 0 18px; display: none; background-color: white; overflow: hidden; } </style> </head> <body> <h2>Accordion Menu Example</h2> <button class="accordion">Section 1</button> <div class="panel"> <p>Content for Section 1...</p> </div> <button class="accordion">Section 2</button> <div class="panel"> <p>Content for Section 2...</p> </div> <button class="accordion">Section 3</button> <div class="panel"> <p>Content for Section 3...</p> </div> <script> var acc = document.getElementsByClassName("accordion"); var i; for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", function() { this.classList.toggle("active"); var panel = this.nextElementSibling; if (panel.style.display === "block") { panel.style.display = "none"; } else { panel.style.display = "block"; } }); } </script> </body> </html> И. т.н.т. Може да се преработи.
  5. Може да ползваш и функция: add_action('admin_enqueue_scripts', 'theme_scripts'); function replace_text($text) { $text = str_replace('View Cart', 'Добавяне в количката', $text); return $text; } add_filter('the_content', 'replace_text'); UTF-8

Разглеждащи това в момента 0

  • Няма регистрирани потребители разглеждащи тази страница.

Профил

Навигация

Търсене

Търсене

Конфигуриране на push известия в браузъра

Chrome (Android)
  1. Докоснете иконата на катинар до адресната лента.
  2. Докоснете Разрешения → Известия.
  3. Променете предпочитанията си.
Chrome (Desktop)
  1. Кликнете върху иконата на катинар в адресната лента.
  2. Изберете Настройки на сайта.
  3. Намерете Известия и коригирайте предпочитанията си.