œ_#ÁÕ§TE NAŒ“KeÉ:”(åŽÖJÞùY’‚ñùž7; «]Û ý`8g“¯B© jdÖÖ¸ðzœ¸¦4Ç3Kó^(ÍÖ¼ Õ€pvìwšõB4df$Èü^0˜…åÌC$#2FŽÑ§±¦ÛZ/÷š&m£ñzÒÖ ’.Î]!Î;ƒ(Õ–¢d/—#Kª+tZyuÏB>NÛÖ†(¸ŒSà'³„Y˜´-_•¦¼´˜OlNK§¶ÒàŠˆTHµƒeTPå·fïM’…þuÏÍüp6دªE£åü‡ZØ'CKF#â«;‹eyO Qp„†l"ö1èíÙP ÏŒúl! BÝ2ñª•_VÁÉ÷3eu`–F¸ìI--ö<¿žë¯4õ캿¢)34Å{wMÉ2ÆÖFŸ¥`e9Ú¶¸P‡.”FÔï rY ‚²ÈTB,{ÛœéJ}«àQ4¹0Rû4D‚B§S‘ dO•v¾„™Sן¯3FeŸ™«+ÓâwH dÕÛÌì·P4ë&¥#rÜÉ Ù¦ê†ý·xòqk¯2,¹§™E\ék‚×Sá”ÚºÙ⺷ö£6…à ʾ qSá³Å|;àû}4Ÿ($â¹VY~óÍ!èÜÒŒËX½Ù1j‚VíÍŸš³+œ]«½g{_{/vµ½\¢¶vÉWKÿ:ñám½ ¥ S²x‘t ŽšÝÙÿÀÇ^ný PK IW™k‚½÷ á _rels/.relsUT dìd dìd dìd’ÏNÃ0‡ï{ŠÈ÷ÕÝ@¡¥» ¤Ý*`%îÑ&QâÁöö‚J£ì°cœŸ¿|¶²ÙÆA½rL½wVE Šñ¶w†çúay * 9Kƒw¬áÈ ¶ÕbóÄIîI]’Ê—4t"á1™ŽGJ…ìòMããH’±Å@æ…ZÆuYÞ`üÍ€jÂT;«!îì T}|Û7MoøÞ›ýÈNN<|v–í2ÄÜ¥ÏèšbË¢Ázó˜Ë )„"£OÏ7ú{ZYÈ’yÞç#1'tuÉM?6o>Z´_å9›ëKÚ˜}?þ³žÏÌ·N>fµx PK IWª½e ¢ U € word/document.xmlUT dìdPK IWþË3” z €J¢ word/settings.xmlUT dìdPK IWC‡{š' ƒ €¤ docProps/custom.xmlUT dìdPK IW츱=Œ €‡¥ [Content_Types].xmlUT dìdPK IWV%ë±" €U§ docProps/app.xmlUT dìdPK IW€RŒ 3 €¶¨ docProps/core.xmlUT dìdPK IWkòDn ô €ª word/_rels/document.xml.relsUT dìdPK IW;$î €Î« word/fontTable.xmlUT dìdPK IW+åäz] ÷. €ý¬ word/numbering.xmlUT dìdPK IW¤2×r- ¿ €›° word/styles.xmlUT dìdPK IWMFÒ ø €´ word/header1.xmlUT dìdPK IWF— T e €· word/media/image1.jpegUT dìdPK IW!Yéáå €°Ë word/media/image2.pngUT dìdPK IW°Àºë ú €ÙÌ word/media/image3.pngUT dìdPK IW$“†ª L €Î word/footer1.xmlUT dìdPK IWzaGôM €ñÑ word/footer2.xmlUT dìdPK IW–µâº P €}Õ word/theme/theme1.xmlUT dìdPK IW™k‚½÷ á €{Û _rels/.relsUT PK ! bîh^ [Content_Types].xml ¢( ¬”ËNÃ0E÷HüCä-Jܲ@5í‚Ç*Q>Àēƪc[žiiÿž‰ûB¡j7±ÏÜ{2ñÍh²nm¶‚ˆÆ»R‹ÈÀU^7/ÅÇì%¿’rZYï @1__f› ˜q·ÃR4DáAJ¬h>€ãÚÇV߯¹ªZ¨9ÈÛÁàNVÞ8Ê©ÓãÑÔji){^óã-I‹"{Üv^¥P!XS)bR¹rú—K¾s(¸3Õ`cÞ0†½ÝÎß»¾7M4²©ŠôªZÆk+¿|\|z¿(Ž‹ôPúº6h_-[ž@!‚ÒØ Pk‹´2nÏ}Ä?£LËð Ýû%áÄßdºždN"m,à¥ÇžDO97*‚~§Èɸ8ÀOíc|n¦Ñ äEøÿöéºóÀBÉÀ!$}‡íàÈé;{ìÐå[ƒîñ–é2þ ÿÿ PK ! µU0#ô L _rels/.rels ¢( ¬’MOÃ0†ïHü‡È÷ÕÝBKwAH»!T~€Iܵ£$Ý¿'TƒG½~üÊÛÝ<êÈ!öâ4¬‹;#¶w†—úqu *&r–Fq¬áÄvÕõÕö™GJy(v½*«¸¨¡KÉß#FÓñD±Ï.W ¥†=™ZÆMYÞbø®ÕBS톰·7 ê“Ï›×–¦é ?ˆ9LìÒ™ÈsbgÙ®|Èl!õùUSh9i°bžr:"y_dlÀóD›¿ý|-NœÈR"4ø2ÏGÇ% õZ´4ñËyÄ7 ëÈðÉ‚‹¨Þ ÿÿ PK ! Q48wÛ — xl/workbook.xml¤UÙnâ0}iþ!cñ‡ *–¢AšVU×$dC¬&vÆv UÕŸë@XÊK§/¹p|Žï¹N÷b“¥Ö •Š ÞC¸î"‹òHÄŒ¯zèá~b·‘¥4á1I§=ôJºèÿüÑ] ù¼âÙ ®z(Ñ:GE ͈ª‹œrˆ,…̈†©\9*—”Ä*¡Tg©ã¹nàd„q´Eåg0ÄrÉ":Q‘Q®· ’¦D}•°\UhYô¸ŒÈç"·#‘å ±`)Ó¯%(²²(œ®¸d‘‚ì nZ w v¡ñª• t¶TÆ")”Xê:@;[Ògú±ë`|²›ó=ø’ïHúÂL÷¬dðEVÁ+8€a÷Ûh¬Uz%„Íû"ZsÏÍCýî’¥ôqk]‹äù5ÉL¦Rd¥Dé˘i÷P ¦bM/|dÉ",…¨çãFNoçiûéë>aêiçsó#ðÄ ÕTr¢éHp ÜIú®ÝJìQ"ÀÜÖ-ý[0I¡¦ÀZ Z…d¡nˆN¬B¦=4 g %PDF-1.4 %âãÏÓ 3 0 obj << /Linearized 1 /L 422775 ÿØÿà JFIF ÿÛ C ÿÛ C ÿÀ X" ÿÄ ÿÄ H !1A"Qaq2‘¡#±ÁBRÑ3Cbrá$S‚¢²ð4ñ%6DTc’ÂsÿÄ ÿÄ = !1AQ"aq‘Á2R¡±BÑð#3br’²4á$‚¢ÂñÿÚ ? áHBßÝ`„! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! ! stream
<?php include'common/header.php'; ?>
<style type="text/css">
.feature{
margin-top:10px; }
.remove-icon{
margin-top: -25px;
margin-right: -20px;
float: right;
}
.add-icon{
margin-bottom: -31px;
margin-right: -13px;
float: right;
}
</style>
<?php
include 'connection/config.php';
if(isset($_GET['action']) && $_GET['action']=='edit_resort')
{
$id=$_GET['id'];
$resort_query=$mysqli->query("SELECT * FROM `resort` WHERE id=$id");
$resort_row=mysqli_fetch_array($resort_query);
?>
<form action="function.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="id" id="id" value="<?php echo $resort_row['id'];?>" />
<!-- sa-app__body -->
<div id="top" class="sa-app__body">
<div class="mx-sm-2 px-2 px-sm-3 px-xxl-4 pb-6">
<div class="container">
<div class="py-5">
<div class="row g-4 align-items-center">
<div class="col">
<h1 class="h3 m-0">Edit Product</h1>
</div>
<div class="col-auto d-flex">
<button class="btn btn-primary" type="submit" name="update_resort" id="inputGroupFileAddon04">UPDATE</button>
</div>
</div>
</div>
<div class="sa-entity-layout" data-sa-container-query="{"920":"sa-entity-layout--size--md","1100":"sa-entity-layout--size--lg"}">
<div class="sa-entity-layout__body">
<div class="sa-entity-layout__main">
<div class="card">
<div class="card-body p-5">
<div class="mb-5">
<h2 class="mb-0 fs-exact-18">Basic information</h2>
</div>
<div class="mb-4">
<label for="form-product/name" class="form-label">Name</label>
<input type="text" class="form-control" name="title" id="form-product/name" value="<?php echo $resort_row['title']; ?>"/>
</div>
<div class="mb-4">
<label for="form-product/seo-title" class="form-label">Page title</label>
<input type="text" class="form-control" name="pagetitle" id="form-product/seo-title"value="<?php echo $resort_row['pagetitle']; ?>" />
</div>
<div class="mb-4">
<label for="form-product/description" class="form-label">Description</label>
<textarea id="content1" name="description" rows="8"><?php echo html_entity_decode($resort_row['description']);?></textarea>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript">CKEDITOR.replace('content1', {height: '300', width: '700'});</script>
</div>
</div>
</div>
<div class="card mt-5">
<div class="card-body p-5">
<div class="mb-5">
<h2 class="mb-0 fs-exact-18">Search engine optimization</h2>
<div class="mt-3 text-muted">Provide information that will help improve the snippet and bring your product to the top of search engines.</div>
</div>
<div class="mb-4">
<label for="form-product/slug" class="form-label">Slug</label>
<div class="input-group input-group--sa-slug">
<span class="input-group-text" id="form-product/slug-addon">https://example.com/products/</span>
<input type="text" class="form-control" name="slug" id="form-product/slug" aria-describedby="form-product/slug-addon form-product/slug-help" value="<?php echo $resort_row['slug']; ?>"/>
</div>
<div id="form-product/slug-help" class="form-text">Unique human-readable product identifier. No longer than 255 characters.</div>
</div>
<div class="mb-4">
<label for="form-product/seo-title" class="form-label">Page Keywords</label>
<input type="text" name="keyword" class="form-control" id="form-product/seo-title" value="<?php echo $resort_row['keyword']; ?>" />
</div>
<div>
<label for="form-product/seo-description" class="form-label">Meta description</label>
<textarea id="form-product/seo-description" name="seodescription" class="form-control" rows="2"><?php echo html_entity_decode($resort_row['seodescription']);?></textarea>
</div>
</div>
</div>
<div class="card mt-5">
<div class="card-body p-5">
<div class="mb-5">
<h2 class="mb-0 fs-exact-18">Images</h2>
</div>
</div>
<div class="mt-n5">
<div class="sa-divider"></div>
<div class="table-responsive">
<table class="sa-table">
<tbody>
<?php
$multi_image_sql=$mysqli->query("SELECT * FROM `resort_images` where `resort_id`='$id' ");
$i=0;
while($multi_row=mysqli_fetch_array($multi_image_sql))
{
$i=$i+1;
?> <input type="hidden" name="uid" id="uid" value="<?php echo $multi_row['id'];?>" />
<tr style="display: inline-flex;" class="Closeimg">
<td>
<div class="sa-symbol sa-symbol--shape--rounded sa-symbol--size--lg">
<img src="../upload/<?php echo $multi_row['images'];?>" class="img-thumbnail" style="height:100px; width: 200px;" />
</div>
</td>
<td>
<button id="MmultiImg" class="btn btn-sa-muted btn-sm mx-n3" type="button" aria-label="Delete image" data-bs-toggle="tooltip" data-bs-placement="right" title="Delete image">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="currentColor">
<path d="M10.8,10.8L10.8,10.8c-0.4,0.4-1,0.4-1.4,0L6,7.4l-3.4,3.4c-0.4,0.4-1,0.4-1.4,0l0,0c-0.4-0.4-0.4-1,0-1.4L4.6,6L1.2,2.6 c-0.4-0.4-0.4-1,0-1.4l0,0c0.4-0.4,1-0.4,1.4,0L6,4.6l3.4-3.4c0.4-0.4,1-0.4,1.4,0l0,0c0.4,0.4,0.4,1,0,1.4L7.4,6l3.4,3.4 C11.2,9.8,11.2,10.4,10.8,10.8z"></path>
</svg>
</button>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="sa-entity-layout__sidebar">
<div class="card w-100">
<div class="card-body p-5">
<h2 class="mb-0 fs-exact-18">Images</h2>
</div>
<div class="card-body p-5">
<div class="mb-4">
<label for="formFile-2-nl" class="form-label">Single</label
><input type="file" name="image" class="form-control" id="formFile-2-nl" />
<input type="hidden" name="hidden_image" value="<?php echo $resort_row['image'];?>" />
<img src="../upload/<?php echo $resort_row['image'];?>" style="height: 50px;">
</div>
<div>
<label for="formFile-2-lg" class="form-label">Multiple</label
><input type="file" name="images[]" class="form-control form-control-lg" id="formFile-2-lg" multiple />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- sa-app__body / end -->
</form>
<?php }
else {
?>
<form action="function.php" method="POST" enctype="multipart/form-data">
<!-- sa-app__body -->
<div id="top" class="sa-app__body">
<div class="mx-sm-2 px-2 px-sm-3 px-xxl-4 pb-6">
<div class="container">
<div class="py-5">
<div class="row g-4 align-items-center">
<div class="col">
<h1 class="h3 m-0">Edit Product</h1>
</div>
<div class="col-auto d-flex">
<button class="btn btn-primary" type="submit" name="add_resort" id="inputGroupFileAddon04">SAVE</button>
</div>
</div>
</div>
<div class="sa-entity-layout" data-sa-container-query="{"920":"sa-entity-layout--size--md","1100":"sa-entity-layout--size--lg"}">
<div class="sa-entity-layout__body">
<div class="sa-entity-layout__main">
<div class="card">
<div class="card-body p-5">
<div class="mb-5">
<h2 class="mb-0 fs-exact-18">Basic information</h2>
</div>
<div class="mb-4">
<label for="form-product/name" class="form-label">Name</label>
<input type="text" class="form-control" name="title" id="form-product/name" />
</div>
<div class="mb-4">
<label for="form-product/seo-title" class="form-label">Page title</label>
<input type="text" class="form-control" name="pagetitle" id="form-product/seo-title"/>
</div>
<div class="mb-4">
<label for="form-product/description" class="form-label">Description</label>
<textarea id="content1" name="description" rows="8"></textarea>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript">CKEDITOR.replace('content1', {height: '300', width: '700'});</script>
</div>
</div>
</div>
<div class="card mt-5">
<div class="card-body p-5">
<div class="mb-5">
<h2 class="mb-0 fs-exact-18">Search engine optimization</h2>
<div class="mt-3 text-muted">Provide information that will help improve the snippet and bring your product to the top of search engines.</div>
</div>
<div class="mb-4">
<label for="form-product/slug" class="form-label">Slug</label>
<div class="input-group input-group--sa-slug">
<span class="input-group-text" id="form-product/slug-addon">https://example.com/products/</span>
<input type="text" class="form-control" name="slug" id="form-product/slug" aria-describedby="form-product/slug-addon form-product/slug-help" />
</div>
<div id="form-product/slug-help" class="form-text">Unique human-readable product identifier. No longer than 255 characters.</div>
</div>
<div class="mb-4">
<label for="form-product/seo-title" class="form-label">Page Keywords</label>
<input type="text" name="keyword" class="form-control" id="form-product/seo-title"/>
</div>
<div>
<label for="form-product/seo-description" class="form-label">Meta description</label>
<textarea id="form-product/seo-description" name="seodescription" class="form-control" rows="2"></textarea>
</div>
</div>
</div>
</div>
<div class="sa-entity-layout__sidebar">
<div class="card w-100">
<div class="card-body p-5">
<h2 class="mb-0 fs-exact-18">Images</h2>
</div>
<div class="card-body p-5">
<div class="mb-4">
<label for="formFile-2-nl" class="form-label">Single</label
><input type="file" name="image" class="form-control" id="formFile-2-nl" />
</div>
<div>
<label for="formFile-2-lg" class="form-label">Multiple</label
><input type="file" name="images[]" class="form-control form-control-lg" id="formFile-2-lg" multiple/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- sa-app__body / end -->
</form>
<?php } ?>
<script type="text/javascript">
$(function() {
$("#MmultiImg").click(function(){
var del_id = $("#uid").val();
var info = 'id=' + del_id+'&action=multiimg';
if(confirm("Sure you want to delete this Image? There is NO undo!"))
{
$.ajax({
type: "GET",
url: "function.php",
data: info,
success: function(data){
console.log(data);
if (data == 'npsucess') {
alert("Data has deleted successfully");
location.reload();
}
else{
$("#bcoments").html("Data has not deleted.");
}
}
});
}
return false;
});
});
</script>
<?php include'common/footer.php'; ?>