File manager - Edit - /home/autoph/public_html/ven.php
Back
<?php $connect_error = 'Sorry, we\'re experiencing connection problem. Please try again later... Thank you!'; mysql_connect('localhost','autoph_arnel','Hke@2001') or die ($connect_error); mysql_select_db('autoph_connect') or die($connect_error); $prfDate = date_create() ->format("Y-m-d"); $myUID = $user_data['u_id']; if(isset($_GET['c'])){ $key = $_GET['c']; $poNumber=mysql_result(mysql_query("SELECT `po_code` FROM `prf_validate_links` WHERE `code`='$key'"),0); $uid=mysql_result(mysql_query("SELECT `uid` FROM `prf_validate_links` WHERE `code`='$key'"),0); $myToken=mysql_result(mysql_query("SELECT `token` FROM `prf_purchase_order` WHERE `po_number`=$poNumber"),0); header("Location: connect/home/prfvendorview.php?vid=$uid&pid=$poNumber&token=$myToken&key=$key"); } ?> <style> .aprbutton{ float:right; width:100%; border-radius:5px; font-family:Yu Gothic Light; font-size:14px; color: #ffffff; font-weight:normal; margin:3px; cursor:pointer; background:#ef4901; padding:5px; border:2px solid white; margin-bottom:5px; } .aprbutton:hover{ float:right; width:100%; border-radius:5px; font-family:Yu Gothic Light; font-size:14px; color:#ffffff; font-weight:bold; margin:3px; margin-bottom:5px; cursor:pointer; background:#ef2901; padding:5px; border:2px solid white; } .popup { position: fixed; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); height:200px; padding:10px; border-radius:10px; width:350px; background:#fff; border:1px solid red; display:block; } .buttonOTP{ padding:10px; border-radius:5px;border:1px solid #f11806;background:#f0670e;color:white;width:80%;margin-left:30px;margin-right:30px;font-size:14px } .buttonOTP:hover{ padding:10px; border-radius:5px;border:1px solid #f11806;background:#f11806;color:white;font-weight:bold;width:80%;margin-left:30px;margin-right:30px;font-size:14px; } .buttonOTPX{ float:right;padding:5px;border-radius:5px;border:1px solid #f11806;background:#fff;color:white } .buttonOTPX:hover{ float:right;padding:5px;border-radius:5px;border:1px solid #f11806;background:#fff;color:white;font-weight:bold } </style> <div id='smsOTP' class='popup'> <form method='GET' target='' action='ven2.php'> <div style='width:100%;height:5%;float:left;padding:5px;padding-top:0px'> </div> <div style='width:100%;height:60%;float:left;padding:5px'> <input required type='text' name='c' id='MyTOPCode' style='margin-left:30px;margin-right:30px;padding:8px;font-family:Yu Gothic Light;font-weight:bold;font-size:18px;color:blue;border:1px solid gray;width:80%;text-align:center'> <p style='font-family:Yu Gothic Light;font-size:13px;color:black;font-weight:normal;width:80%;margin-right:30px;margin-left:30px;padding-top:0px;margin-top:10px'>Type the OTP Code sent to your registered Mobile Number to access this PO. <br><b id='resendOTP' style='padding:2px;margin:2px;cursor:pointer;color:gray'>♻ Resend OTP</b><i>(Disabled)</i></p> </div> <div style='width:100%;height:30%;float:left;padding:5px'> <input type='submit' id='sendOTP' class='buttonOTP' value='SUBMIT'> </div> </form> </div>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings