Файловый менеджер - Редактировать - /home/d46091/gemprocessing.org/schedule-call.php
Назад
<?php date_default_timezone_set('Asia/Kolkata'); $today = date('d-m-Y H:i'); if ((isset($_GET['cid']) && $_GET['cid'] != '')) { if ($_SERVER['HTTP_HOST'] == 'localhost') { $url = 'http://localhost/msmebiz.shop/api/get-schedule-call.php?cid='.$_GET['cid'].''; } else { $url = 'https://msmebiz.shop/api/get-schedule-call.php?cid='.$_GET['cid'].''; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if ($response == '__%____%__') { if ($_SERVER['HTTP_HOST'] == 'localhost') { $url = 'http://localhost/msmebiz.shop/api/get-schedule-call.php?cid='.$_GET['cid'].''; } else { $url = 'https://msmebiz.shop/api/get-schedule-call.php?cid='.$_GET['cid'].''; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if ($response == '__%____%__') { header ('location: ./error.php'); } else { $response_in_array = explode('__%__', $response); $name = $response_in_array[0]; $mobile = $response_in_array[1]; $email = $response_in_array[2]; } } else { $response_in_array = explode('__%__', $response); $name = $response_in_array[0]; $mobile = $response_in_array[1]; $email = $response_in_array[2]; } } else { header ('location: ./error.php'); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Schedule Date & Time - GeM Registration</title> <link rel="stylesheet" href="./style.css"> <link href="https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="./calender/jquery.datetimepicker.css"/> <style> .form-header { background: #009688; } .xdsoft_datetimepicker.xdsoft_inline { margin-top: 15px; } .form-group [type="submit"] { margin-left: unset; margin-right: auto; } </style> </head> <body> <span class="body-header"><span>Schedule</span> Date & Time</span> <span class="body-sub-header">© GeM PROCESSING</span> <div class="form-container"> <span class="form-header">Scheduling For GeM Registration Call</span> <form action="./submit.php" method="POST"> <div class="table"> <div class="table-inner"> <span>Applicant Name:</span> <span><?php echo $name; ?></span> </div> <div class="table-inner"> <span>Mobile Number:</span> <span><?php echo $mobile; ?></span> </div> <div class="table-inner"> <span>Email Id:</span> <span><?php echo $email; ?></span> </div> </div> <div class="form-group"> <label>Select Date & Time <span>(Required)</span></label> <input type="text" name="schedule_date" id="datetimepicker" placeholder="<?php echo $today; ?>" required autocomplete="off" maxlength="16" readonly> <input type="hidden" name="cid" value="<?php echo $_GET['cid']; ?>"> <input type="submit" value="Schedule"> </div> </form> </div> <div class="footer"> <span>GeM PROCESSING © 2021</span> </div> <script src="./calender/jquery.js"></script> <script src="./calender/jquery.datetimepicker.js"></script> <script> $('#datetimepicker').datetimepicker({ format:'d-m-Y H:i', allowTimes:[ '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00' ] }); </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка