<?php
include("include/baglan.php");
include("include/fonksiyonlar.php");
ob_start();
session_start();
oturumkontrolana();



if($_POST['urun_ekle'] and $_GET['islem']==""){
	
	
	
	
	
	
	
	$sira=$_POST['sira'];
	$adi=$_POST['adi'];
	$adi_en=$_POST['adi_en'];
	$adi_ru=$_POST['adi_ru'];
	$adi_ar=$_POST['adi_ar'];
	$adi_de=$_POST['adi_de'];
	$adi_it=$_POST['adi_it'];
	$aciklama=$_POST['aciklama'];
	
	
	
	
function seflink($string){
$find = array('ß','Ä','ä','Ç', 'Ş', 'Ğ', 'Ü', 'İ', 'Ö', 'ç', 'ş', 'ğ', 'ü', 'ö', 'ı', '+', '#');
$replace = array('ss','ae', 'ae','c', 's','g', 'u', 'i', 'o', 'c', 's', 'g', 'u', 'o', 'i', 'plus', 'sharp');
$string = strtolower(str_replace($find, $replace, $string));
$string = preg_replace("@[^A-Za-z0-9\-_\.\+]@i", ' ', $string);
$string = trim(preg_replace('/\s+/', ' ', $string));
$string = str_replace(' ', '-', $string);
return $string;
}

$adii= seflink($adi);
	
	
	
	
	
	
	$aciklama_en=$_POST['aciklama_en'];
	$aciklama_ru=$_POST['aciklama_ru'];
	$aciklama_ar=$_POST['aciklama_ar'];
	$aciklama_de=$_POST['aciklama_de'];
	$aciklama_it=$_POST['aciklama_it'];
	$linki=$_POST['linki'];
	$kategori=$_POST['kategori'];
	
		$kat=implode(",",$kategori);
	
	$durum=$_POST['durum'];
	$sayfa_title=$_POST['sayfa_title'];
	$sayfa_description=$_POST['sayfa_description'];
	$ozellik=$_POST['ozellik'];
	$etiket=$_POST['etiket'];
	$seo=$_POST['seo'];
	
	
	
	
	
	
$klasord="lib/images/resimler/";
	$resim_tmpd = $_FILES['dosya']['tmp_name'];
	if(empty($resim_tmpd))
	{
		$resimd = "resim-yok";
	}
	else
	{
		
		if ($_FILES["dosya"]["type"] =="image/gif" || $_FILES["dosya"]["type"] =="image/png"|| $_FILES["dosya"]["type"] =="image/jpg"|| $_FILES["dosya"]["type"] =="image/jpeg") 
		{
			$random = rand(0,999);
			
			$resimd = $random."-".$adii.".".substr($_FILES['dosya']['name'], -3);
			
			move_uploaded_file($_FILES['dosya']['tmp_name'],$klasord."/".$resimd);
			$resimdd=implode(',',$resimd);
		}
		else
		{
			$bilgi = '<div class="alert alert-error">
										<button class="close" data-dismiss="alert">×</button>
										<strong>Hata !</strong> Lütfen  Uygun Formatta Bir Resim Dosyası Seçiniz ( .jpg - .gif - .png ).
			</div>';
		}
	}
	
      
 
  

	
	
	
	
	$klasor="lib/images/resimler/";
	$resim_tmp = $_FILES['resim']['tmp_name'];
	if(empty($resim_tmp))
	{
		$resim = "resim-yok";
	}
	else
	{
		
		if ($_FILES["resim"]["type"] =="image/gif" || $_FILES["resim"]["type"] =="image/png"|| $_FILES["resim"]["type"] =="image/jpg"|| $_FILES["resim"]["type"] =="image/jpeg") 
		{
			$random = rand(0,999);
			
			$resim = $random."-".$adii.".".substr($_FILES['resim']['name'], -3);
			
			move_uploaded_file($_FILES['resim']['tmp_name'],$klasor."/".$resim);
		}
		else
		{
			$bilgi = '<div class="alert alert-error">
										<button class="close" data-dismiss="alert">×</button>
										<strong>Hata !</strong> Lütfen  Uygun Formatta Bir Resim Dosyası Seçiniz ( .jpg - .gif - .png ).
			</div>';
		}
	}
	
					  


	
	$ekle=$db->prepare("insert into resimler set sira=:sira,adi=:adi,adi_en=:adi_en,adi_ar=:adi_ar,adi_ru=:adi_ru,adi_it=:adi_it,adi_de=:adi_de,aciklama=:aciklama,aciklama_it=:aciklama_it,aciklama_en=:aciklama_en,aciklama_ar=:aciklama_ar,aciklama_de=:aciklama_de,aciklama_ru=:aciklama_ru,durum=:durum,linki=:linki,kategori=:kategori,resim=:resim,sayfa_title=:sayfa_title,sayfa_description=:sayfa_description,etiket=:etiket,seo=:seo,ozellik=:ozellik,coklu_resim=:coklu_resim,tarih=:tarih");
	
	
	$simdi=$ekle->execute(array("sira"=>$sira,"adi"=>$adi,"adi_en"=>$adi_en,"adi_de"=>$adi_de,"adi_it"=>$adi_it,"adi_ar"=>$adi_ar,"adi_ru"=>$adi_ru,"ozellik"=>$ozellik,"durum"=>$durum,"resim"=>$resim,"aciklama"=>$aciklama,"aciklama_en"=>$aciklama_en,"aciklama_ru"=>$aciklama_ru,"aciklama_de"=>$aciklama_de,"aciklama_it"=>$aciklama_it,"aciklama_ar"=>$aciklama_ar,"linki"=>$linki,"kategori"=>$kat,"sayfa_title"=>$sayfa_title,"sayfa_description"=>$sayfa_description,"etiket"=>$etiket,"seo"=>$adii,"coklu_resim"=>$resimdd,"tarih"=>$tarih));
	
	if($simdi){
		
		$bilgi = "<div class='alert alert-success alert-dismissible fade show' role='alert'>
	<strong>Resim Ekleme BAŞARILI!</strong> Resiminiz eklenmiştir.
	<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
		<span aria-hidden='true'>&times;</span>
	</button>
</div>";
		}
	
	
}

if(@$_POST['urun_ekle'] and $_GET['islem']=="duzenle"){
	
	$id=$_GET['id'];
	$sira=$_POST['sira'];
	$adi=$_POST['adi'];
	
function seflink($string){
$find = array('ß','Ä','ä','Ç', 'Ş', 'Ğ', 'Ü', 'İ', 'Ö', 'ç', 'ş', 'ğ', 'ü', 'ö', 'ı', '+', '#');
$replace = array('ss','ae', 'ae','c', 's','g', 'u', 'i', 'o', 'c', 's', 'g', 'u', 'o', 'i', 'plus', 'sharp');
$string = strtolower(str_replace($find, $replace, $string));
$string = preg_replace("@[^A-Za-z0-9\-_\.\+]@i", ' ', $string);
$string = trim(preg_replace('/\s+/', ' ', $string));
$string = str_replace(' ', '-', $string);
return $string;
}

$adii= seflink($adi);
	
	$adi_en=$_POST['adi_en'];
	$adi_ru=$_POST['adi_ru'];
	$adi_ar=$_POST['adi_ar'];
	$adi_de=$_POST['adi_de'];
	$adi_it=$_POST['adi_it'];
	$aciklama=$_POST['aciklama'];
	$aciklama_en=$_POST['aciklama_en'];
	$aciklama_ru=$_POST['aciklama_ru'];
	$aciklama_ar=$_POST['aciklama_ar'];
	$aciklama_de=$_POST['aciklama_de'];
	$aciklama_it=$_POST['aciklama_it'];
	$linki=$_POST['linki'];
	$kategori=$_POST['kategori'];
	$implode=implode(",",$kategori);
	$durum=$_POST['durum'];
	$sayfa_title=$_POST['sayfa_title'];
	$sayfa_description=$_POST['sayfa_description'];
	$ozellik=$_POST['ozellik'];
	$etiket=$_POST['etiket'];
	$seo=$_POST['seo'];
	
	
	$klasor="lib/images/resimler/";
	
	$resim_tmp = $_FILES['resim']['tmp_name'];
	
	if(empty($resim_tmp))
	{
		$duzenlenecek_id = $_GET['id'];
		$ayar_kaydi = $db->query("SELECT * FROM resimler WHERE id = '$id'")->fetch(PDO::FETCH_ASSOC);
		$resim = $ayar_kaydi['resim'];
	}
	else
	{
		if ($_FILES["resim"]["type"] =="image/gif" || $_FILES["resim"]["type"] =="image/png"|| $_FILES["resim"]["type"] =="image/jpg"|| $_FILES["resim"]["type"] =="image/jpeg") 
		{
			
			$ayar_kaydi = $db->query("SELECT * FROM resimler WHERE id = '$id'")->fetch(PDO::FETCH_ASSOC);
  			if($ayar_kaydi['resim']!="resim-yok")
			{
			  unlink("lib/images/resimler/".$ayar_kaydi['resim']);	  
			}
			
			$random = rand(0,999);
			
			$resim = $random."-".$adii.".".substr($_FILES['resim']['name'], -3);
			
			move_uploaded_file($_FILES['resim']['tmp_name'],$klasor."/".$resim);
		}
		else
		{
			$bilgi = '<div class="alert alert-error">
										<button class="close" data-dismiss="alert">×</button>
										<strong>Hata !</strong> Lütfen  Uygun Formatta Bir Resim Dosyası Seçiniz ( .jpg - .gif - .png ).
			</div>';
		}
	}
	
	
	
	
	$guncelle=$db->prepare("update resimler set sira=:sira,adi=:adi,adi_en=:adi_en,adi_ar=:adi_ar,adi_ru=:adi_ru,adi_it=:adi_it,adi_de=:adi_de,aciklama=:aciklama,aciklama_it=:aciklama_it,aciklama_en=:aciklama_en,aciklama_ar=:aciklama_ar,aciklama_de=:aciklama_de,aciklama_ru=:aciklama_ru,durum=:durum,linki=:linki,kategori=:kategori,resim=:resim,sayfa_title=:sayfa_title,sayfa_description=:sayfa_description,etiket=:etiket,seo=:seo,ozellik=:ozellik,coklu_resim=:coklu_resim,tarih=:tarih where id=:id");
	
	
	$simdii=$guncelle->execute(array("sira"=>$sira,"adi"=>$adi,"adi_en"=>$adi_en,"adi_de"=>$adi_de,"adi_it"=>$adi_it,"adi_ar"=>$adi_ar,"adi_ru"=>$adi_ru,"ozellik"=>$ozellik,"durum"=>$durum,"resim"=>$resim,"aciklama"=>$aciklama,"aciklama_en"=>$aciklama_en,"aciklama_ru"=>$aciklama_ru,"aciklama_de"=>$aciklama_de,"aciklama_it"=>$aciklama_it,"aciklama_ar"=>$aciklama_ar,"linki"=>$linki,"kategori"=>$implode,"sayfa_title"=>$sayfa_title,"sayfa_description"=>$sayfa_description,"etiket"=>$etiket,"seo"=>$adii,"coklu_resim"=>$coklu_resim,"tarih"=>$tarih,"id"=>$id));
	
	
}

if($simdii){

$bilgi = "<div class='alert alert-success alert-dismissible fade show' role='alert'>
	<strong> Resim Güncelleme BAŞARILI!</strong> ResiminizGüncellenmiştir.
	<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
		<span aria-hidden='true'>&times;</span>
	</button>
</div>";
}



if(@$_GET['islem']=="duzenle"){
	$idd=$_GET['id'];
	$guncelle=$db->query("select * from resimler where id='$idd'")->fetch(PDO::FETCH_ASSOC);

}

$deger=$db->query("select * from resimler order by id desc limit 1")->fetch(PDO::FETCH_ASSOC);

$sira=$deger['sira']+1;

$idim=$deger['id']+1;
$id=$_SESSION['id'];
$hesabim=$db->query("select * from yonetici where id='$id'")->fetch(PDO::FETCH_ASSOC);
?>

<!DOCTYPE html>
<html lang="tr">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>
	    
	    <?php if($_GET['islem']=="duzenle"){?> <?=$guncelle['adi']?> Düzenle <?php } else {?>
	    Resim Ekle <?php }?> - <?=$ayar['site_title']?>
	    
	    
	    </title>

	<link rel="stylesheet" href="assets/vendors/core/core.css">
  <link rel="stylesheet" href="assets/vendors/sweetalert2/sweetalert2.min.css">
	<link rel="stylesheet" href="assets/vendors/select2/select2.min.css">
	<link rel="stylesheet" href="assets/vendors/jquery-tags-input/jquery.tagsinput.min.css">
	<link rel="stylesheet" href="assets/vendors/dropzone/dropzone.min.css">
	<link rel="stylesheet" href="assets/vendors/dropify/dist/dropify.min.css">
	<link rel="stylesheet" href="assets/vendors/bootstrap-colorpicker/bootstrap-colorpicker.min.css">
	<link rel="stylesheet" href="assets/vendors/bootstrap-datepicker/bootstrap-datepicker.min.css">
	<link rel="stylesheet" href="assets/vendors/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="assets/vendors/tempusdominus-bootstrap-4/tempusdominus-bootstrap-4.min.css">
<link rel="stylesheet" href="drop/assets/dropzone.css">
	<link rel="stylesheet" href="assets/fonts/feather-font/css/iconfont.css">
	<link rel="stylesheet" href="assets/vendors/flag-icon-css/css/flag-icon.min.css">

	<link rel="stylesheet" href="assets/css/demo_2/style.css">

  <link rel="shortcut icon" href="lib/images/logo/<?=$ayar['favicon']?>" />
  
  
  
</head>
<body>
	<div class="main-wrapper">

		<?php include("include/menu.php");?>
    
	
	
		<div class="page-wrapper">
				
		
			<?php include("include/header.php");?>
			<div class="page-content">

				<nav class="page-breadcrumb">
					<ol class="breadcrumb">
						<li class="breadcrumb-item"><a href="./">Anasayfa</a></li>
						<li class="breadcrumb-item active" aria-current="page">Post Ekle</li>
					</ol>
				</nav>

			
				
				<div class="row">
					<div class="col-md-12 grid-margin stretch-card">
                    
                    
						<div class="card">
							<div class="card-body">
								<h6 class="card-title">Post Bilgilerini Giriniz</h6>
                                
                                 
                                <?=$bilgi?>
								<form class="cmxform" method="post" enctype="multipart/form-data" >
								
                                    
                                  
                                    
                             <div class="aside-body">
                        <ul class="nav nav-tabs mt-3" role="tablist">
                          <li class="nav-item">
                            <a class="nav-link active" id="chats-tab" data-toggle="tab" href="#chats" role="tab" aria-controls="chats" aria-selected="true">
                              <div class="d-flex flex-row flex-lg-column flex-xl-row align-items-center">
                                <i data-feather="message-square" class="icon-sm mr-sm-2 mr-lg-0 mr-xl-2 mb-md-1 mb-xl-0"></i>
                                <p class="d-none d-sm-block">Post Bilgileri</p>
                              </div>
                            </a>
                          </li>
                         
                          <li class="nav-item">
                            <a class="nav-link" id="contacts-tab" data-toggle="tab" href="#contacts" role="tab" aria-controls="contacts" aria-selected="false">
                              <div class="d-flex flex-row flex-lg-column flex-xl-row align-items-center">
                                <i data-feather="users" class="icon-sm mr-sm-2 mr-lg-0 mr-xl-2 mb-md-1 mb-xl-0"></i>
                                <p class="d-none d-sm-block">Seo Ayarları</p>
                              </div>
                            </a>
                          </li>
                        </ul>
                        <div class="tab-content mt-3">
                          <div class="tab-pane fade show active" id="chats" role="tabpanel" aria-labelledby="chats-tab">
                            <div>
                             
                             <div class="form-group">
										<label for="exampleInputNumber1"><?=$isimler['resimler']?> Sırası</label>
				<input type="number" class="form-control" min-value="0"  name="sira" <?php if(@$_GET['islem']=="duzenle"){?> value="<?=$guncelle['sira']?>" <?php } else {?> value="<?=$sira?>" <?php }?>>
									</div>
								
                             
                             <div class="form-group">
										<label >Post Adı <?=$isimler['tr']?></label>
										<input type="text" class="form-control" id="adi"  name="adi" value="<?=$guncelle['adi']?>">
									</div>
                                    
                                      <?php
                                      if($izin['en']==0){
									  ?>
                                      <div class="form-group">
										<label for="exampleInputText1">Post Adı <?=$isimler['en']?></label>
										<input type="text" class="form-control"   name="adi_en" value="<?=$guncelle['adi_en']?>">
									</div>
                                    <?php }?>
                                    
                                      <?php
                                      if($izin['ar']==0){
									  ?>
                                      <div class="form-group">
										<label for="exampleInputText1">Post Adı <?=$isimler['ar']?></label>
										<input type="text" class="form-control"   name="adi_ar" value="<?=$guncelle['adi_ar']?>">
									</div>
                                    <?php }?>
                                    
                                      <?php
                                      if($izin['ru']==0){
									  ?>
                                      <div class="form-group">
										<label for="exampleInputText1">Post Adı  <?=$isimler['ru']?></label>
										<input type="text" class="form-control" name="adi_ru" value="<?=$guncelle['adi_ru']?>">
									</div>
                                    <?php }?>
                                    
                                    <?php
                                    if($izin['de']==0){
									?>
                                    <div class="form-group">
										<label for="exampleInputText1">Post Adı <?=$isimler['de']?></label>
										<input type="text" class="form-control"   name="adi_de" value="<?=$guncelle['adi_de']?>">
									</div>
                                    <?php }?>
                                    
                                     <?php
                                     if($izin['it']==0){
									 ?>
                                     <div class="form-group">
										<label for="exampleInputText1">Post Adı <?=$isimler['it']?></label>
			<input type="text" class="form-control"  name="adi_it" value="<?=$guncelle['adi_it']?>">
									</div>
                                    <?php }?>
                                    
                                    <div class="form-group">
										<label for="exampleInputText1">Linki</label>
				<input type="text" class="form-control"   name="linki" value="<?=$guncelle['linki']?>">
									</div>
									
									
									
									
									
								
									
									
								
                                    
                                    
                                     <div class="row">
				
					<div class="col-md-12 stretch-card">
						<div class="card">
							<div class="card-body">
								<h6 class="card-title">Post Resmi</h6>
								
								<input type="file" id="myDropify" class="border" name="resim" <?php if(@$_GET['islem']=="duzenle"){?> data-default-file="lib/images/resimler/<?=$guncelle['resim']?>" <?php }?>/>
							</div>
						</div>
					</div>
				</div>
                
              
                                    
									
									<div class="form-group">
										<div class="form-check">
											<label class="form-check-label">
												<input type="radio" class="form-check-input" <?php if($guncelle['durum']==0){?> checked <?php }?> name="durum" id="optionsRadios" value="0">
												Göster
											</label>
										</div>
										<div class="form-check">
											<label class="form-check-label">
												<input type="radio" <?php if($guncelle['durum']==1){?> checked <?php }?> class="form-check-input" name="durum" id="optionsRadios1" value="1">
												Gösterme
											</label>
										</div>
										
										
										
									</div>
									
									
                                    
                                    
                                    
                                     <div class="row">
					<div class="col-md-12 grid-margin stretch-card">
						<div class="card">
							<div class="card-body">
								<h4 class="card-title">Post Açıklaması <?=$isimler['tr']?></h4>
								
				<textarea class="ckeditor" name="aciklama" rows="10" value=""><?=$guncelle['aciklama']?></textarea>
							</div>
						</div>
					</div>
				</div>
                
                
                <?php
                if($izin['en']==0){
				?>
                <div class="row">
					<div class="col-md-12 grid-margin stretch-card">
						<div class="card">
							<div class="card-body">
								<h4 class="card-title">Post Açıklaması <?=$isimler['en']?></h4>
								
								<textarea class="ckeditor" name="aciklama_en" value="" rows="10"><?=$guncelle['aciklama_en']?></textarea>
							</div>
						</div>
					</div>
				</div>
                <?php }?>
                
               <?php
               if($izin['ar']==0){
			   ?>
                <div class="row">
					<div class="col-md-12 grid-margin stretch-card">
						<div class="card">
							<div class="card-body">
								<h4 class="card-title">Post Açıklaması <?=$isimler['ar']?></h4>
								
				<textarea class="ckeditor" name="aciklama_ar" rows="10" value=""><?=$guncelle['aciklama_ar']?></textarea>
							</div>
						</div>
					</div>
				</div>
                <?php }?>
                
               <?php
               if($izin['ru']==0){
			   ?>
                <div class="row">
					<div class="col-md-12 grid-margin stretch-card">
						<div class="card">
							<div class="card-body">
								<h4 class="card-title">Post Açıklaması <?=$isimler['ru']?></h4>
								
								<textarea class="ckeditor" name="aciklama_ru" value="" rows="10"><?=$guncelle['aciklama_ru']?></textarea>
							</div>
						</div>
					</div>
				</div>
                <?php }?>
                
               <?php
               if($izin['de']==0){
			   ?>
                <div class="row">
					<div class="col-md-12 grid-margin stretch-card">
						<div class="card">
							<div class="card-body">
								<h4 class="card-title">Post Açıklaması <?=$isimler['de']?></h4>
								
								<textarea class="ckeditor" name="aciklama_de" value="" rows="10"><?=$guncelle['aciklama_de']?></textarea>
							</div>
						</div>
					</div>
				</div>
                <?php }?>
                
                
                <?php
                if($izin['it']==0){
				?>
                <div class="row">
					<div class="col-md-12 grid-margin stretch-card">
						<div class="card">
							<div class="card-body">
								<h4 class="card-title">Post Açıklaması <?=$isimler['it']?></h4>
								
								<textarea class="ckeditor" name="aciklama_it" value="" rows="10"><?=$guncelle['aciklama_it']?></textarea>
							</div>
						</div>
					</div>
				</div>
                <?php }?>
                            </div>
                          </div>
                  
                          <div class="tab-pane fade" id="contacts" role="tabpanel" aria-labelledby="contacts-tab">
                            
                                    <div class="form-group">
										<label for="exampleInputText1">Kategorisi</label>
				<input type="text" class="form-control" id="exampleInputText1"  name="kategori[]" value="<?=$guncelle['kategori']?>">
									</div>
                            
                            
                            <div class="form-group">
										<label for="exampleInputText1">Yapım Tarihi</label>
				<input type="text" class="form-control" id="exampleInputText1"  name="sayfa_title" value="<?=$guncelle['sayfa_title']?>">
									</div>
                                    
                                    
                                     <div class="form-group">
										<label for="exampleInputText1">Resim Sektör</label>
										<input type="text" class="form-control" id="exampleInputText1"  name="sayfa_description" value="<?=$guncelle['sayfa_description']?>">
									</div>
                                    
                            
                          </div>
                        </div>
                      </div>       
                                   
				  
                                    
		<input class="btn btn-primary" type="submit"<?php if(@$_GET['islem']=="duzenle"){?> value="Post Güncelle" <?php } else {?> value="Post Ekle" <?php }?> name="urun_ekle">
								</form>
                                <br>
                                
                         
									
							
								
				
							</div>
						</div>
					</div>
				</div>
				
				

				

			</div>

			<?php include("include/footer.php");?>
	
		</div>
	</div>



	<script src="ckeditor-2/ckeditor.js"></script>
	<script src="assets/vendors/core/core.js"></script>
	<script src="assets/vendors/jquery-validation/jquery.validate.min.js"></script>
	<script src="assets/vendors/bootstrap-maxlength/bootstrap-maxlength.min.js"></script>
	<script src="assets/vendors/inputmask/jquery.inputmask.min.js"></script>
	<script src="assets/vendors/select2/select2.min.js"></script>
	<script src="assets/vendors/typeahead.js/typeahead.bundle.min.js"></script>
	<script src="assets/vendors/jquery-tags-input/jquery.tagsinput.min.js"></script>
	<script src="assets/vendors/dropzone/dropzone.min.js"></script>
	<script src="assets/vendors/dropify/dist/dropify.min.js"></script>
	<script src="assets/vendors/bootstrap-colorpicker/bootstrap-colorpicker.min.js"></script>
	<script src="assets/vendors/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
	<script src="assets/vendors/moment/moment.min.js"></script>
	<script src="assets/vendors/tempusdominus-bootstrap-4/tempusdominus-bootstrap-4.js"></script>
	<script src="assets/vendors/feather-icons/feather.min.js"></script>
	<script src="assets/js/template.js"></script>
	<script src="assets/vendors/tinymce/tinymce.min.js"></script>
	<script src="assets/js/form-validation.js"></script>
	<script src="assets/js/bootstrap-maxlength.js"></script>
	<script src="assets/js/inputmask.js"></script>
	<script src="assets/js/select2.js"></script>
	<script src="assets/js/typeahead.js"></script>
	<script src="assets/js/tags-input.js"></script>
	<script src="assets/js/dropzone.js"></script>
	<script src="assets/js/dropify.js"></script>
	<script src="assets/js/bootstrap-colorpicker.js"></script>
	<script src="assets/js/datepicker.js"></script>
	<script src="assets/js/timepicker.js"></script>
	<script src="assets/js/tinymce.js"></script>
</body>
</html>