<div class="inner-wrapper">
	<section role="main" class="content-body card-margin">
		<header class="page-header">
			<h2><?php echo $sdil[48]; //E-Ajanda?></h2>
			<div class="right-wrapper text-right">
				<ol class="breadcrumbs">
					<li>
						<a href=".">
							<i class="fa fa-home"></i>
						</a>
					</li>
					<li><span>Crm +Plus</span></li>
					<li><span><?php echo $sdil[48]; //E-Ajanda?></span></li>
				</ol>
				<a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fa fa-chevron-left"></i></a>
			</div>
		</header>
		<?php if($_GET["durum"]=="ok"){?>
			<div class="alert alert-success">
				<?php echo $sdil[212]; //Islem Basariyla Gerçeklestirilmistir !?>
			</div>
		<?php }?>
		<!-- start: page -->
		<div class="row">
			<div class="col">
				<section class="card">
					<header class="card-header v3-bg-info">
						<div class="card-actions" id="v-<?php echo $_GET["islem"]?>">
							<button type="button" class="mb-1 mt-1 mr-1 btn btn-success mfrm" data-toggle="modal" data-width="60%" data-target="#myModal" data-title="<?php echo $sdil[48]; //E-Ajanda?>" data-ref="?ne=<?php echo $_GET["ne"];?>&islem=<?php echo $_GET["islem"];?>&c=<?php echo $_GET["c"];?>&nedir=<?php echo $_GET["nedir"];?>" data-url="modules/events/note.php?ne=<?php echo $_GET["ne"]?>&islem=<?php echo $_GET["islem"]?>&durum=nekle&gun=<?php echo ltrim(date("d"),"0");?>&ay=<?php echo ltrim(date("m"),"0");?>&yil=<?php echo date("Y");?>"><strong><i class="fa fa-plus" aria-hidden="true"></i><span class="mdn"> <?php echo ctranslate("Etkinlik Ekle")?></span></strong></button>
							<a class="mb-1 mt-1 mr-1 btn btn-warning mfrm" style="color:white;" href="?ne=notlar&islem=events"><strong><i class="fa fa-list" aria-hidden="true"></i></strong></a>
							<form action="?" method="get" style="display: contents;">
								<a class="mb-1 mt-1 mr-1 btn btn-warning mfrm" href="?ne=<?php echo $_GET["ne"];?>&islem=<?php echo $_GET["islem"];?>&ay=<?php echo $onceki_ay;?>&yil=<?php echo $onceki_yil;?>" title="Previous month"><i class="fa fa-chevron-circle-left" aria-hidden="true"></i></a>
								<?php  $ay = isset($_GET["ay"]) ? $_GET["ay"] : date("n");  ?>
								<select size="1" name="ay" class="" style="margin-top: 6px;">
									<?php for ($a = 1; $a <= 12; $a++) { ?>
										<option value="<?php echo $a; ?>" <?php if ($ay == $a) { echo "selected"; } ?>><?php echo $aylar[$a - 1]; ?></option>
									<?php } ?>
								</select>
								<?php  $yil = isset($_GET["yil"]) ? $_GET["yil"] : date("Y");  ?>
								<select size="1" name="yil" class="" style="margin-top: 6px;">
									<?php for ($y = date("Y") - 2; $y <= date("Y") + 2; $y++) { ?>
										<option value="<?php echo $y; ?>" <?php if ($yil == $y) { echo "selected"; } ?>><?php echo $y; ?></option>
									<?php } ?>
								</select>
								<input type="hidden" name="ne" value="<?php echo $_GET['ne'];?>" />
								<input type="hidden" name="islem" value="<?php echo $_GET['islem'];?>" />
								<button type="submit" class="btn btn-xs btn-warning"><i class="fa fa-filter"></i></button>
								<a class="mb-1 mt-1 mr-1 btn btn-warning mfrm" href="?ne=<?php echo $_GET["ne"];?>&islem=<?php echo $_GET["islem"];?>&ay=<?php echo $sonraki_ay;?>&yil=<?php echo $sonraki_yil;?>" title="Next month"><i class="fa fa-chevron-circle-right" aria-hidden="true"></i></a>
							</form>
                            <!--
                                <a href="#" class="card-action card-action-toggle" data-card-toggle=""></a>
                                <a href="#" class="card-action card-action-dismiss" data-card-dismiss=""></a>
							-->
						</div>
						<h2 class="card-title"><?php echo $sdil[48]; //E-Ajanda?></h2>
						<p class="card-subtitle">...</p>
					</header>
					<div class="card-body" style="padding: 15px 0px;">
						<style>
							.v3_calendar td { font-size: 14px; text-align: center; }
							.unavailable { background: #337ab77a }
							.oncekiay {color: #000; cursor: pointer; text-decoration: none !important; }
							.sonrakiay {color: #000;cursor: pointer;text-decoration: none !important;}
							.gbaslik {padding: 10px;text-align: center;}
							td:hover {filter: drop-shadow(2px 4px 6px black);background: #337ab7 !important;color: #fff !important;}
							i {position: relative;}
							i span{position: absolute; font-size: 8px; top: 0px; right: -7px; width: 12px; height: 12px; background: red; padding: 1px; border-radius: 50%;}
							<?php if($mobile<>"") {
								?>.other-month {padding: 10px;position: relative;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;}
							<?php } else { ?>
								.other-month {padding: 30px 10px;position: relative;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;}
							<?php }?>
							.dot { position: absolute; bottom: 10px; right: 10px; display: flex; justify-content: flex-end; align-items: flex-end; }
							.icon-container { width: 25px; /* Küçültüldü */ height: 25px; border-radius: 50%; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; position: relative; margin-right: -5px; /* Sağdan sola üst üste biniyor */ margin-bottom: -5px; /* Yarı yarıya üst üste bindirme */ transition: background 0.3s ease, transform 0.2s; }
							.icon-container i { font-size: 14px; /* İkon boyutu küçültüldü */ color: #333; }
							.icon-container:hover { background-color: #fff3cd; transform: scale(1.1); }
							.icon-container span { position: absolute; top: -5px; right: -5px; background-color: red; color: white; font-size: 10px; /* Küçültüldü */ padding: 2px 4px; border-radius: 50%; }
						</style>
						<div id="events"></div>
						<script>
							jQuery(document).ready(function() {
								jQuery('#events').load('modules/events/calendar_events.php?ne=<?php echo $_GET["ne"]?>&islem=events<?php if (!empty($_GET["ay"]) && !empty($_GET["yil"])): ?>&month=<?php echo $_GET["ay"]?>,<?php echo $_GET["yil"]?> <?php endif; ?><?php if (!empty($_GET["date"])){ ?>&date=<?php echo $_GET["date"]?> <?php } ?>');
							});
						</script>
					</div>
				</section>
			</div>
		</div>
	</section>
	<aside id="sidebar-right" class="sidebar-right">
		<div class="nano">
			<div class="nano-content">
				<a href="#" class="mobile-close d-md-none">
					Collapse <i class="fa fa-chevron-right"></i>
				</a>
				<div class="sidebar-right-wrapper">
					<div class="sidebar-widget widget-calendar">
						<h6>Upcoming Tasks</h6>
						<div data-plugin-datepicker="" data-plugin-skin="dark"></div>
						<ul>
							<li>
								<time datetime="2017-04-19T00:00+00:00">04/19/2017</time>
								<span>Company Meeting</span>
							</li>
						</ul>
					</div>
					<div class="sidebar-widget widget-friends">
						<h6>Friends</h6>
						<ul>
							<li class="status-online">
								<figure class="profile-picture">
									<img src="img\!sample-user.jpg" alt="Joseph Doe" class="rounded-circle">
								</figure>
								<div class="profile-info">
									<span class="name">Joseph Doe Junior</span>
									<span class="title">Hey, how are you?</span>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</aside>
</div>
</section>