MMCT TEAM
Server IP : 86.38.243.193  /  Your IP : 216.73.217.61
Web Server : LiteSpeed
System : Linux in-mum-web1336.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u493057690 ( 493057690)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/u493057690/domains/iasfindia.com/public_html/admin/../assets/css-rtl/../js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u493057690/domains/iasfindia.com/public_html/admin/../assets/css-rtl/../js/post.js
$(function() {
	'use strict'
	
	$(document).on("click", '#tour', function () {    
		if (this.checked) {
			$('body').addClass('addtour');
			$('body').removeClass('addhotel');
			$('body').removeClass('addflight');
			$('body').removeClass('addcar');
			$('body').removeClass('addcruise');
			$('body').removeClass('addbus');
			localStorage.setItem("addtour", "True");
		}
		else {
			$('body').removeClass('addtour');
			localStorage.setItem("addtour", "false");
		}
	});
	
	$(document).on("click", '#hotel', function () {    
		if (this.checked) {
			$('body').addClass('addhotel');
			$('body').removeClass('addtour');
			$('body').removeClass('addflight');
			$('body').removeClass('addcar');
			$('body').removeClass('addcruise');
			$('body').removeClass('addbus');
			localStorage.setItem("addhotel", "True");
		}
		else {
			$('body').removeClass('addhotel');
			localStorage.setItem("addhotel", "false");
		}
	});
	
	$(document).on("click", '#flight', function () {    
		if (this.checked) {
			$('body').addClass('addflight');
			$('body').removeClass('addtour');
			$('body').removeClass('addhotel');
			$('body').removeClass('addcar');
			$('body').removeClass('addcruise');
			$('body').removeClass('addbus');
			localStorage.setItem("addflight", "True");
		}
		else {
			$('body').removeClass('addflight');
			localStorage.setItem("addflight", "false");
		}
	});
	
	$(document).on("click", '#car', function () {    
		if (this.checked) {
			$('body').addClass('addcar');
			$('body').removeClass('addtour');
			$('body').removeClass('addhotel');
			$('body').removeClass('addflight');
			$('body').removeClass('addcruise');
			$('body').removeClass('addbus');
			localStorage.setItem("addcar", "True");
		}
		else {
			$('body').removeClass('addcar');
			localStorage.setItem("addcar", "false");
		}
	});
	
	$(document).on("click", '#cruise', function () {    
		if (this.checked) {
			$('body').addClass('addcruise');
			$('body').removeClass('addtour');
			$('body').removeClass('addhotel');
			$('body').removeClass('addflight');
			$('body').removeClass('addcar');
			$('body').removeClass('addbus');
			localStorage.setItem("addcruise", "True");
		}
		else {
			$('body').removeClass('addcruise');
			localStorage.setItem("addcruise", "false");
		}
	});
	
	$(document).on("click", '#bus', function () {    
		if (this.checked) {
			$('body').addClass('addbus');
			$('body').removeClass('addtour');
			$('body').removeClass('addhotel');
			$('body').removeClass('addflight');
			$('body').removeClass('addcar');
			$('body').removeClass('addcruise');
			localStorage.setItem("addbus", "True");
		}
		else {
			$('body').removeClass('addbus');
			localStorage.setItem("addbus", "false");
		}
	});
	
	$('#post-categories').change(function() {
		$('.post-content').hide();
		$('#' + $(this).val()).show();
	});
	
});
	

MMCT - 2023