Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/edit-home-page-instructions.php |
<?php require_once("../lib/class/functions.php"); $db = new functions(); $current_page = ""; if(!isset($_SESSION['current_admn_email'])) { header("Location:/atse_admin_panel007/index.php"); } $current_edt_id = ""; if(isset($_GET['edt_id'])) { $current_edt_id = $_GET['edt_id']; $_SESSION['edt_id'] = $current_edt_id; } else if(isset($_SESSION['edt_id'])) { $current_edt_id = $_SESSION['edt_id']; } $flag = 0; $success_msg = 0; if(isset($_POST['update_instruction'])) { $text_data = $_POST['text_data']; if($flag==0) { if($db->update_new_main_page_info($text_data,$current_edt_id)) { $success_msg = 1; } } } ?> <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> <script type="text/javascript" src="/js/site.js"></script> </head> <body> <?php require_once('header.php'); ?> <div style="min-height:570px;"> <div class="admin-mid-section"> <a href="home-page-instructions.php" class="center_list_back_link"><< मेन पेज माहिती लिस्ट</a> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <div class="add_centre_container"> <br /> <center><strong>मेन पेज माहिती अपडेट करा</strong></center> <br /> <?php if($success_msg=="1") { ?> <div class="add_centre_success"> मेन पेज माहिती अपडेट केली आहे. </div> <br /> <?php } ?> <?php if($current_edt_id=="") { header("Location:home-page-instructions.php"); } $res_text_data = $db->get_home_page_instruction_from_id($current_edt_id); ?> <input type="text" id="text_data" name="text_data" class="txtflds" placeholder="माहिती भरा" value="<?php echo $res_text_data; ?>" /><br /> <br /> <center><input type="submit" name="update_instruction" value="अपडेट करा" id="update_prices" class="reg_btn_form" style="width:140px;" /></center> </div> </form> </div> </div> <?php require_once('footer.php'); ?> </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