HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/livable-cities/Conf2017admin/detail.php
<?php 
 include("conn/db_conn.php");
session_start();
if($_SESSION['email']==""){
	header("location:login.php");
}
$refer_code = $_REQUEST['id'];
$query1 = mysql_query("select * from tbl_detail where fld_regcode='".$refer_code."'");
$sql = mysql_fetch_array($query1);

if($_REQUEST['id']){
	if($_REQUEST['status']=='new'){
		$status=$_REQUEST['status'];
		$row = mysql_query("update tbl_complaint SET fld_status='old' where fld_id='".$refer_code."'");
	}
	else{
		$row = mysql_query("update tbl_complaint SET fld_status='nquery' where fld_id='".$refer_code."'");
	}
	if($row){
		echo "<script>alert('Status Changed Successfully')</script>";
		header("Refresh:3; url=enquiry_user.php");;
		}	
}
if(isset($_REQUEST['delid'])){
	$id =  $_REQUEST['delid'];
	$sql1 = mysql_query("delete from tbl_detail where fld_regcode='".$id."'") or die(mysql_error());
	$sql2 =  mysql_query("delete from tbl_regist where fld_code='".$id."'") or die(mysql_error());
	echo "<script>alert('Data Deleted Successfully')</script>";
		header("Refresh:3; url=refer_list.php");;
}
?>
<!-- header logo: style can be found in header-->
<?php include("web_include_files/css_links.php");?>
<script src="js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script>  
 $(document).ready(function(){  
     $('.view_data').click(function(){ 
            var id = $(this).attr("id");
            $.ajax({  
                url:"ajax_refer_user.php",  
                method:"post",  
                data:{client_id:id},  
                success:function(data){  
                    $('#employee_detail').html(data);  
                    $('#basic_modal').modal("show");  
                }  
           });  
		});  
	  
 });  
 </script> 
<header class="header">
    <?php include("web_include_files/header.php");?>
</header>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <!-- Left side column. contains the logo and sidebar -->
     <?php include("web_include_files/navigation.php"); ?>
    <aside class="right-side">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="row">
                <div class="col-md-6 col-xs-6">
                    <div class="header-data">
                        <h1>Abstract Detail </h1>
                        <p></p>
                    </div>
                </div>
                <div class="col-lg-12 blog" style="display:none;">
               <div class='alert alert-danger alert-dismissible'><a href='#' class='close' data-dismiss='alert' aria-label='close'>&times;</a>
  <strong>Success!</strong>Enquiry Deleted successfully</div>
                </div>
                <div class="col-md-6 col-xs-6">
                    
                </div>
            </div>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-success">
                        <div class="panel-heading">
                            <h3 class="panel-title">
                                <i class="fa fa-fw fa-table"></i>Abstract Detail
                            </h3>
                            <span class="pull-right">
                                    <i class="fa fa-fw fa-chevron-up clickable"></i>
                                    <i class="fa fa-fw fa-times removepanel clickable"></i>
                                </span>
                        </div>
                        <div class="panel-body">
                        <h4 style="text-align:center;"><strong style="color:#030; font-size:18px; text-align:
                             center">Conference Theme:</strong>&nbsp;&nbsp;<?php echo $sql['fld_conferencetheme'];?></h4>
                             <h4 style="text-align:center;"><strong style="color:#030; font-size:18px; text-align:
                             center">Session Theme:</strong>&nbsp;&nbsp;<?php echo $sql['fld_sessiontheme'];?></h4><br>
                             
                            <p style="text-align:justify; font-family:'MS Serif', 'New York', serif"><?php echo $sql[fld_abstract];?></p>
                        </div>
                    </div>
                </div>
            </div>
            <!-- First Basic Table Ends Here-->
            <!-- Second Data Table Starts Here-->
            
            
        </section>
        <!-- /.content -->
        <div id="basic_modal" class="modal fade animated" role="dialog">
            <div class="modal-dialog">
				<form role="form" method="post" action="view_clients.php" enctype="multipart/form-data">
                    <div class="modal-content" id="employee_detail">                                           
                    </div>
				</form>
            </div>
        </div>
    </aside>
    <!-- /.right-side -->
</div>
<!-- ./wrapper -->
<!-- global js -->
<script src="js/app.js" type="text/javascript"></script>
<!-- end of global js -->
<!-- begining of page level js -->
<script type="text/javascript" src="vendors/datatables/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="vendors/datatables/js/dataTables.bootstrap.js"></script>
<script type="text/javascript" src="js/custom_js/datatables_custom.js"></script>
<!-- end of page level js -->
</body>

</html>