Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/add-year-update-report.php |
<?php require_once("../lib/class/functions.php"); $db = new functions(); $current_page = ""; if(isset($_GET['edit_id'])) { $var_edit_id = $_GET['edit_id']; $_SESSION['edit_id'] = $var_edit_id; } $var_edit_id = $_SESSION['edit_id']; $contact_no_error = ""; $image_error = ""; $succ_flag = 0; $flag = 0; //$logo = ""; $var_year =""; if(isset($_SESSION['current_login_admin'])) { $email = $_SESSION['current_login_admin']; } if(isset($_POST['update_year_btn'])) { $var_year = $_POST['year']; if($db->update_year_details($var_year,$var_edit_id)) { $flag=1; } } $student_data = $db->get_year_form_details($var_edit_id); //print_r($student_data); if(!empty($student_data)) { $res_id = $student_data [0]; $res_year = $student_data [1]; $date =$student_data[2]; $time = $student_data[3]; } ?> <html> <head> <meta charset="UTF-8"> <title>ATSE Vairag</title> <link rel="stylesheet" type="text/css" href="/css/stylesheet.css" /> <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script> </head> <body> <?php require_once('header.php'); ?> <div style="min-height:570px;"> <div class="admin-mid-section"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <br /> <center><strong>वर्ष नोंद करा</strong></center> <hr /> <div class="add_centre_container"> <?php if($succ_flag=="1") { ?> <div class="add_centre_success"> नवीन वर्षची नोंद झाली आहे . </div> <?php } ?> <input type="text" name="year" id="year" class="txtflds" placeholder="वर्ष " value="<?php echo $res_year; ?>" required /> <center><input type="submit" name="update_year_btn" value="वर्ष नोंद करा" id="send_form" class="reg_btn_form" style="width:160px;" /></center> </div> </form> </div> </div> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4