Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/eventsbyshubhchintak/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
\<?php include'loginQuery/session_start.php'; include'dbc.php'; $pageTitle="Add a new Review and other attributes"; $pageName="Review Name"; $linkName="All Review"; $tableName="tbl_review"; $listPageUrl="review-list.php"; ?> <!DOCTYPE html> <html> <head> <title><?php echo $pageName; ?> | <?php echo $companyName; ?></title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Vendor styles --> <link rel="stylesheet" href="vendor/fontawesome/css/font-awesome.css" /> <link rel="stylesheet" href="vendor/metisMenu/dist/metisMenu.css" /> <link rel="stylesheet" href="vendor/animate.css/animate.css" /> <link rel="stylesheet" href="vendor/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="vendor/sweetalert/lib/sweet-alert.css" /> <!-- App styles --> <link rel="stylesheet" href="fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css" /> <link rel="stylesheet" href="fonts/pe-icon-7-stroke/css/helper.css" /> <link rel="stylesheet" href="styles/style.css"> <script type="text/javascript" src="js/tinymce/tinymce.min.js"></script> <script type="text/javascript"> tinymce.init({ selector: "textarea", plugins: [ "codesample", "advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste" ], toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | codesample " }); </script> </head> <body class="fixed-small-header light-skin fixed-navbar sidebar-scroll"> <!-- Header --> <?php include 'includes/header.php'; ?> <!-- Navigation --> <?php include 'includes/sidemenu.php'; ?> <!-- php code --> <?php if(isset($_GET['id'])) { $idd=$_GET['id']; $sql=mysqli_query($conn,"select * from $tableName where id='$idd'") or die(mysqli_error($conn)); $row=mysqli_fetch_assoc($sql); extract($row); $mode="editReview"; $btnname="Update Reply"; } else { $id =""; $question =""; $url =""; $order_number =""; $keyword=""; $thumb =""; $status ="1"; $answer=""; $mode="addReview"; $idd=""; $btnname="Save "; $active=''; } ?> <!-- php code close --> <!-- Main Wrapper --> <div id="wrapper"> <div class="small-header"> <div class="hpanel"> <br><br> <div class="panel-body"> <div id="hbreadcrumb" class="pull-right"> <ol class="hbreadcrumb breadcrumb"> <li><a href="<?php echo $listPageUrl; ?>" class="btn btn-sm btn-primary m-t-n-xs"><strong><?php echo $linkName; ?></strong></a></li> </ol> </div> <h2 class="font-light m-b-xs"> <?php echo $pageTitle; ?> </h2> <small><a href="home.php">Dashboard</a></small> </div> </div> </div> <div class="content"> <div class="row"> <div class="col-lg-12"> <div class="hpanel"> <div class="panel-heading"> Add Review </div> <div class="panel-body"> <form role="form" id="form" action="dataQuery/process.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="action" value="<?php echo $mode;?>" /> <input type="hidden" id="getid" name="txtid" value="<?php echo $id;?>" /> <div class="form-group"> <label>Vendor Name *</label> <input type="name" id="applicationname" class="form-control" value="<?php echo $vendorname ;?>" required readonly> </div> <div class="form-group"> <label>User Name *</label> <input type="name" id="applicationname" class="form-control" value="<?php echo $name ;?>" required readonly> </div> <div class="form-group"> <label> Number *</label> <input type="name" id="applicationname" class="form-control" value="<?php echo $mobile ;?>" required readonly> </div> <div class="form-group"> <label for="name">Review *</label> <textarea name="txtreview" placeholder="enter the item description"><?php echo $usercomment;?></textarea> </div> <div class="form-group"> <label for="name">Reply *</label> <textarea name="txtreply" placeholder="Add Reply"><?php echo $reply;?></textarea> </div> <div > <button class="btn btn-success btn-sm submitbtn" type="submit"><strong>Submit Review</strong></button> </div> </form> </div> </div> </div> </div> </div> <!-- Footer--> <?php include 'includes/footer.php'; ?> </div> <!-- Vendor scripts --> <!-- Vendor scripts --> <script src="vendor/jquery/dist/jquery.min.js"></script> <script src="vendor/jquery-ui/jquery-ui.min.js"></script> <script src="vendor/slimScroll/jquery.slimscroll.min.js"></script> <script src="vendor/bootstrap/dist/js/bootstrap.min.js"></script> <script src="vendor/jquery-flot/jquery.flot.js"></script> <script src="vendor/jquery-flot/jquery.flot.resize.js"></script> <script src="vendor/jquery-flot/jquery.flot.pie.js"></script> <script src="vendor/flot.curvedlines/curvedLines.js"></script> <script src="vendor/jquery.flot.spline/index.js"></script> <script src="vendor/metisMenu/dist/metisMenu.min.js"></script> <script src="vendor/iCheck/icheck.min.js"></script> <script src="vendor/peity/jquery.peity.min.js"></script> <script src="vendor/sparkline/index.js"></script> <!-- App scripts --> <script src="scripts/homer.js"></script> <script src="scripts/charts.js"></script> <script src="js/custum.js"></script> <!-- TinyMCE CDN --> <script src="vendor/summernote/dist/summernote.min.js"></script> <script> $(function () { // Initialize summernote plugin $('.summernote').summernote(); $('.summernote1').summernote({ toolbar: [ ['headline', ['style']], ['style', ['bold', 'italic', 'underline', 'superscript', 'subscript', 'strikethrough', 'clear']], ['textsize', ['fontsize']], ['alignment', ['ul', 'ol', 'paragraph', 'lineheight']], ] }); $('.summernote2').summernote({ airMode: true, }); }); </script> </body> </html>