Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/vahtuksanghatana.com/ssociety_old/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/vahtuksanghatana.com/ssociety_old/sabhasad_report.php

<?php
require_once('lib/functions.php');
$db		=	new login_function();
	
	$flag 		= 0;
	$succ_flag 	= 0;
	$succ_msg   = 0;

 if(isset($_GET['delete_id']))
	{
		 $del_id	=	$_GET['delete_id'];
		 if($db->delete_sabhasad($del_id))
		 {
		 	$succ_flag = 1 ;
		 }
	}

$date_from=date("Y-m-d");
$date_to=date("Y-m-d");
$title="";

  if(isset($_POST['add_btn1']))
{
    $title = $_POST['title'];
    $date_from = $_POST['date_from'];
    $date_to = $_POST['date_to'];

    $_SESSION['filter_title'] = $title;
    $_SESSION['filter_date_from'] = $date_from;
    $_SESSION['filter_date_to'] = $date_to;    
}
else if(isset($_POST['search_page'])) 
{
    $title = $_POST['title'];	
    $date_from = $_POST['date_from'];
    $date_to = $_POST['date_to'];

    $_SESSION['filter_title'] = $title;
    $_SESSION['filter_date_from'] = $date_from;
    $_SESSION['filter_date_to'] = $date_to;

    echo "<script>window.location.href = 'print_billing_report.php';</script>"; 
}
else if(isset($_SESSION['filter_title']))
{
    $title = $_SESSION['filter_title'];
    $date_from = $_SESSION['filter_date_from'];
    $date_to = $_SESSION['filter_date_to'];
}


?>



<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width initial-scale=1.0">
    <title>Software Users Report</title>
    <!-- GLOBAL MAINLY STYLES-->
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link href="css/line-awesome.min.css" rel="stylesheet" />
    <link href="css/themify-icons.css" rel="stylesheet" />
    <link href="css/animate.min.css" rel="stylesheet" />
    <link href="css/toastr.min.css" rel="stylesheet" />
    <link href="css/bootstrap-select.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  
    <!-- PLUGINS STYLES-->
    <!-- THEME STYLES-->
    <link href="css/main.min.css" rel="stylesheet" />
	 <link href="datatable/datatables.min.css" rel="stylesheet" />
    <!-- PAGE LEVEL STYLES-->
    <link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
	<script src="js/wow.min.js"></script>
	<style>
	.col-md-12
	{
		width:100%;
		margin:auto;
		margin-top:20px;
	}
	table,th
	{
		text-align:center;
		text-transform:uppercase;
	}
	table,td
	{
		text-align:left;
		text-transform:uppercase;
	}
	@media only screen and (max-width: 600px) {
		.col-md-12
		{
			width:100%;
		}
		.alert
		{
			width:100%;
		}
		.side-row
		{
			width:49%;
			display:inline-table;
		}
	}
	.content-wrapper {
	    position: relative;
	    background-color: #f2f3fa;
	    margin-left: 230px;
	    padding: 0 15px 60px 15px;
	    -webkit-transition: margin .2s ease-in-out;
	    -o-transition: margin .2s ease-in-out;
	    transition: margin .2s ease-in-out;
	    min-height: 1400px; 
	}
	.txt
	{
		text-align:left;
		color:#232B99;
		font-size:12px;
		margin-right:10px;
		font-weight:bold;
		height:40px;
	}
	</style>
</head>
<body class="fixed-navbar">

<div class="page-wrapper">
<?php include('header.php'); ?>
<?php include('side-bar.php'); ?>

<div class="content-wrapper">
<div class="page-content fade-in-up">
<?php
	if($succ_flag == 1)
	{?>
	<div class="alert alert-danger" style="width:100%; text-align:center;font-weight:bold; font-size:16px;">
		सभासद डिलीट झाली
	</div>
	<?php
	}
	?>
	<?php
	if($succ_msg == 1)
	{
	?>
	<div class="alert alert-danger" style="width:100%; text-align:center;font-weight:bold; font-size:16px;">
		<span style="color:red">Bill Information Deleted Successfully.</span>
	</div>
	<?php
	}
?>	
<div class="ibox" style="border-radius:5px; padding:7px;">
<div class="ibox-body" style="padding:7px; padding-top:0px;">
	<div class="ibox-head">
		<div class="ibox-title"><i class="fas fa-user-tie" style="margin-right:10px;"></i>सभासद नोंदणी रिपोर्ट</div>
		<a href="add_sabasad.php" class="btn btn-primary btn-air"><i class="fas fa-plus">&nbsp;&nbsp;</i>नवीन सभासद फॉर्म भरा </a>
		 
	</div>
	<br />
<div class="ibox-body" style="padding:7px; padding-top:0px;margin:20px;">
		 <form class="form-pink" method="post" action="">
      
		<div class="ibox-body">
			<div class="row">
				<div class="col-sm-3 col-md-3 col-lg-3 form-group mb-6">
					<label class="form-group mb-4 set-row label_marg"><b>Type Here </b></label>
					<div class="input-group-icon input-group-icon-left mr-3">
						<span class="input-icon input-icon-right font-16" ><i class="fas fa-search"></i></span>
						<input class="form-control form-control form-control form-control-air"  id="key-search" type="text" placeholder="Search ...">
					</div>
				</div>
				<div class="col-sm-2 col-md-2 col-lg-2 form-group mb-6">
					<label class="form-group mb-4 set-row label_marg"><b>From Date</b></label>
					<div class="input-group-icon input-group-icon-left  set-row">
						<span class="input-icon input-icon-left"><i class="fas fa-pen-square"></i></span>
						<input type="date" name="date_from" id="date_from" class="form-control form-control-air" value="<?php echo $date_from; ?>" placeholder="Enter Service"  />
					</div>
				</div>
				<div class="col-sm-3 col-md-3 col-lg-2 form-group mb-6">
					<label class="form-group mb-4 set-row label_marg"><b>To Date</b></label>
					<div class="input-group-icon input-group-icon-left  set-row">
						<span class="input-icon input-icon-left"><i class="fas fa-pen-square"></i></span>
						<input type="date" name="date_to" id="date_to" class="form-control form-control-air" value="<?php echo $date_to; ?>" placeholder="Enter Service"  />
					</div>
				</div>
<div class="col-sm-2 col-md-2 col-lg-2 form-group mb-2" style="text-align:center; padding-left:0px; padding-right:0px; padding-top:23px;">
            <button class="btn btn-pink btn-air" type="submit" name="add_btn1">Search</button>
        </div>
			</div>
			<!-- <button id="printContentBtn" class="btn btn-pink btn-air"  style="flex-grow: 1;">Print Content</button> -->
		<!-- <button id="printContentBtn" class="btn btn-pink btn-air" style="flex-grow: 1;" onclick="printContent()">Print Content</button> -->
			<!-- <div class="col-sm-2 col-md-2 col-lg-2 form-group mb-2" style="text-align:center; padding-left:0px; padding-right:0px; padding-top:23px;">
			    <a href="print_billing_report.php" onclick="printContent()">
			        <button type="button" style="margin-top: 15px; margin-right: 60px;width: 150px" class="btn btn-pink btn-air"> View Print</button>
			    </a>
			</div> -->
			<div class="col-sm-2 col-md-2 col-lg-2 form-group mb-2" style="text-align:center; padding-left:0px; padding-right:0px; padding-top:23px;">
        <!-- <button name="search_page" type="submit" style="margin-top: 15px; margin-right: 60px; width: 150px" class="btn btn-pink btn-air" >View Print</button> -->
    </div>

		</div>
	</form>
</div>

	
<div class="table-responsive row">
	<table class="table table-bordered table-hover" id="example" style="overflow-x:auto;overflow-y:auto;" cellpadding=0 cellspacing=0>
		<thead class="thead-default thead-lg">
			<tr>
			    <th>Sr No</th>
			    <th>नियम व अटी</th>
			    <th>सभासदची पावती फॉर्म </th>
			    <th>पावती फॉर्म रीपोर्ट</th>
			    <th>नाव</th>
				<th>पत्ता</th>
				<th>जन्म तारीख</th>
				<th>व्यवसाय</th>
	            <th>मोबाइल न्ं</th>
	            <th>आधार कार्ड न्ं</th>
	            <th>(संचालकचे नाव) शिफारस</th>
	            <th>वारसदार</th>
	            <th>नाते</th>
				<th>Date</th>
				<th>Time</th>
				<!-- <th>Edit</th> -->
				<th>Delete</th>
				
			</tr>
		</thead>
		<tbody>
		<?php
		$users_data = array ();
		$users_data = $db->get_all_sabhasad($date_from,$date_to);
			
			if(!empty($users_data))
			{
				$counter =0;
				foreach($users_data as $record)
				{
				  $res_id  				= $users_data[$counter][0];
		          $res_name 			= $users_data[$counter][1];
	              $res_address  		= $users_data[$counter][2];
	              $res_dob  	 		= $users_data[$counter][3];
	              $res_business 		= $users_data[$counter][4];		  
	              $res_mobile_no 		= $users_data[$counter][5];
				  $res_adhaar_no 		= $users_data[$counter][6];
				  $res_sanchalak_name 	= $users_data[$counter][7];
				  $res_varsadar 		= $users_data[$counter][8];
				  $res_nate 			= $users_data[$counter][9];
				  $res_date   			= $users_data[$counter][10];
			      $res_time   			= $users_data[$counter][11];
		?>		
			<tr class="odd gradeX">
				<td><?php echo $counter+1;?></td>
				<td style="text-align: center!important;"><a href="niyam_and_ati.php" style="color:blue;font-weight: 800;font-size: 14px;">नियम व अटी </a></td>
				
				<td style="text-align: center!important;"><a href="add_payment.php?pavati_id=<?php echo $res_id; ?>" style="color:blue;font-weight: 800;font-size: 14px;">पावती भरा</a></td>
				<td style="text-align: center!important;"><a href="pavati_report.php?pavati_id=<?php echo $res_id; ?>" style="color:blue;font-weight: 800;font-size: 14px;">पावती रीपोर्ट</a></td>
				<td><?php echo $res_name;?></td>
				<td><?php echo $res_address ;?></td>
				<td><?php echo $res_dob ;?></td>
				<td><?php echo $res_business ;?></td>
				<td><?php echo $res_mobile_no ;?></td>
				<td><?php echo $res_adhaar_no;?></td>
				<td><?php echo $res_sanchalak_name;?></td>
				<td><?php echo $res_varsadar;?></td>
				<td><?php echo $res_nate;?></td>
				<td><?php echo $res_date;?></td> 
				<td><?php echo $res_time;?></td> 
				<!-- <td>
					<a style="color:blue;" href ="software_users_update.php?edit_id=<?php echo $res_id; ?>"><i class="far fa-edit" style="color:blue;margin-left:20px;"> </i></a>
				</td> -->
				<td>
					<a style="color:blue;" href="sabhasad_report.php?delete_id=<?php echo $res_id; ?>" onclick="return confirm('Are you sure?');"><i class="fas fa-trash-alt"style="color:red; margin-left:20px;"></i></a>
				</td>
			</tr>
			<?php
					$counter
					++;
				}
			}
			?>
		</tbody> 
	</table> 
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
		
	</div>
</div>

<!-- END SEARCH PANEL-->
<!-- BEGIN THEME CONFIG PANEL-->

<!-- END THEME CONFIG PANEL-->
<!-- BEGIN PAGA BACKDROPS-->
<div class="sidenav-backdrop backdrop"></div>
<div class="preloader-backdrop">
<div class="page-preloader">Loading</div>
</div>
<!-- END PAGA BACKDROPS-->
<!-- New question dialog-->


<!-- End New question dialog-->
<!-- QUICK SIDEBAR-->

<script src="js/jquery.min.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
		
<script>

$( function()  {
		$( "#from_date" ) .datepicker({ dateFormat: 'dd-mm-yy'   }) ;
		$( "#to_date" ) .datepicker({ dateFormat: 'dd-mm-yy'   }) ;
		
}  ) ;
		


</script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/metisMenu.min.js"></script>
<script src="js/jquery.slimscroll.min.js"></script>
<script src="js/idle-timer.min.js"></script>
<script src="js/toastr.min.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/bootstrap-select.min.js"></script>
<!-- PAGE LEVEL PLUGINS-->
<!-- CORE SCRIPTS-->
<script src="datatable/datatables.min.js"></script>
<script src="js/app.min.js"></script>
<script>
$(function() {
	$('#example').DataTable({
		pageLength: 100,
		fixedHeader: true,
		responsive: true,
		"sDom": 'rtip',
		columnDefs: [{
			targets: 'no-sort',
			orderable: false
		}]
	});

	var table = $('#example').DataTable();
	$('#key-search').on('keyup', function() {
		table.search(this.value).draw();
	});
  
});

</script>


	
    <!-- PAGE LEVEL SCRIPTS-->
</body>

</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

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