!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\nuevo\htdocs\calendario trimestral\intranet\dist\   drwxrwxrwx
Free 1.2 GB of 239.26 GB (0.5%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     script.js (11.04 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// generate events
var eventDates = {}
let day1 = '2021-12-11';
eventDates[day1] = [
  'Día Internacional de las Montañas',
]
let day2 = '2021-12-15';
eventDates[day2] = [
  'Creación del Programa de las Naciones Unidas para el Medio Ambiente',
]
let day3 = '2021-12-22';
eventDates[day3] = [
  'Aniversario de la Ley 99 Sistema Nacional Ambiental SINA',
]
let day4 = '2021-12-24';
eventDates[day4] = [
  'Navidad',
]
let day5 = '2021-12-31';
eventDates[day5] = [
  'Año Nuevo',
]
let day6 = '2022-01-08';
eventDates[day6] = [
  'Apagón Mundial',
]
let day7 = '2022-01-26';
eventDates[day7] = [
  'Día Nacional de la Educación Ambiental',
]
let day8 = '2022-01-28';
eventDates[day8] = [
  'Día Mundial de la Acción frente al calentamiento global',
]
let day9 = '2022-02-02';
eventDates[day9] = [
  'Día Internacional de los Humedales',
]
let day10 = '2022-02-03';
eventDates[day10] = [
  'Día Internacional sin pitillo',
]
let day11 = '2022-02-07';
eventDates[day11] = [
  'Día sin carro en Bogotá',
]
let day12 = '2022-02-08';
eventDates[day12] = [
  'Apagón Amnbiental',
]
let day13 = '2022-02-18';
eventDates[day13] = [
  'Día Internacional del Control Biológico',
]
let day14 = '2022-02-21';
eventDates[day14] = [
  'Día Internacional para la Protección de los Osos',
]
let day15 = '2022-03-01';
eventDates[day15] = [
  'Día Día Nacional del Reciclador',
]
let day16 = '2022-03-03';
eventDates[day16] = [
  'Día Mundial de la Vida Silvestre',
]
let day17 = '2022-03-05';
eventDates[day17] = [
  'Día de la Eficiencia Energética',
]
let day18 = '2022-03-08';
eventDates[day18] = [
  'Apagón Ambiental',
]
let day19 = '2022-03-14';
eventDates[day19] = [
  'Día Internacional de la Acción por los Ríos',
]
let day20 = '2022-03-19';
eventDates[day20] = [
  'Día del Hombre',
]
let day21 = '2022-03-21';
eventDates[day21] = [
  'Día Mundial Forestal',
  'Día Internacional de los Bosques'	
]
let day22 = '2022-03-22';
eventDates[day22] = [
  'Día Mundial del Agua',
]
let day23 = '2022-03-23';
eventDates[day23] = [
  'Día Metereológico Mundial',
]
let day24 = '2022-03-26';
eventDates[day24] = [
  'Día Mundial del Clima',
]
let day25 = '2022-03-28';
eventDates[day25] = [
  'La Hora del Planeta',
]
let day26 = '2022-04-09';
eventDates[day26] = [
  'Apagón Ambiental',
]
let day27 = '2022-04-09';
eventDates[day27] = [
  'Día del Saneamiento Ambiental',
]
let day28 = '2022-04-22';
eventDates[day28] = [
  'Día Internacional de la Tierra',
]
let day29 = '2022-04-26';
eventDates[day29] = [
  'Día de la secretaria',
]
let day30 = '2022-04-27';
eventDates[day30] = [
  'Día Internacional de la Concienciación sobre el Ruido',
]
let day31 = '2022-04-29';
eventDates[day31] = [
  'Día Nacional del Árbol',
]
let day32 = '2022-05-01';
eventDates[day32] = [
  'Día Internacional del trabajo',
]
let day33 = '2022-05-04';
eventDates[day33] = [
  'Día Internacional del Combatiente de incendios forestales',
]
let day34 = '2022-05-08';
eventDates[day34] = [
  'Día de la madre',
  'Apagón Ambiental'
]
let day35 = '2022-05-09';
eventDates[day35] = [
  'Día Internacional de las Aves',
]
let day36 = '2022-05-10';
eventDates[day36] = [
  'Día del Veterinario',
]
let day37 = '2022-05-12';
eventDates[day37] = [
  'Día del Río Bogotá',
]
let day38 = '2022-05-16';
eventDates[day38] = [
  'Día Mundial de la Migración de peces',
]
let day39 = '2022-05-17';
eventDates[day39] = [
  'Día Internacional del Reciclaje',
  'Día Internacional contra la Homofobia, la Transfobia y la Bifobia'
]
let day40 = '2022-05-20';
eventDates[day40] = [
  'Día Mundial de las Abejas',
]
let day41 = '2022-05-21';
eventDates[day41] = [
  'Día de la Afrocolombianidad',
]
let day42 = '2022-05-21';
eventDates[day42] = [
  'Día del Sol',
]
let day43 = '2022-05-22';
eventDates[day43] = [
  'Día Mundisl de la Biodiversidad',
]
let day44 = '2022-05-23';
eventDates[day44] = [
  'Día Mundial de las Tortugas',
]
let day45 = '2022-06-03';
eventDates[day45] = [
  'Día Mundial de la Bicicleta',
]
let day46 = '2022-06-05';
eventDates[day46] = [
  'Día Mundial del Medio Ambiente',
]
let day47 = '2022-06-08';
eventDates[day47] = [
  'Día Mundial de los Océanos',
  'Apagón Ambiental'
]
let day48 = '2022-06-16';
eventDates[day48] = [
  'Día Mundial de las Tortugas Marinas',
]
let day49 = '2022-06-17';
eventDates[day49] = [
  'Día Mundial contra la Desertificación y la Sequía',
]
let day50 = '2022-06-19';
eventDates[day50] = [
  'Día del Padre',
]
let day51 = '2022-06-22';
eventDates[day51] = [
  'Día Mundial del Suelo y de la Tierra Fértil',
  'Día del abogado	'
]
let day52 = '2022-06-26';
eventDates[day52] = [
  'Día Internacional de los Bosques Tropicales',
]
let day53 = '2022-06-27';
eventDates[day53] = [
  'Día Día Nacional del Servidor Público',
]
let day54 = '2022-06-28';
eventDates[day54] = [
  'Día Internacional del Orgullo LGTBI',
]
let day55 = '2022-07-03';
eventDates[day55] = [
  'Día sin bolsas plásticas',
]
let day56 = '2022-07-04';
eventDates[day56] = [
  'Día Internacional de la Vida Silvestre',
  'Día de la Constitución Ambiental'
]
let day57 = '2022-07-07';
eventDates[day57] = [
  'Día de la Conservación del Suelo',
]
let day58 = '2022-07-08';
eventDates[day58] = [
  'Apagón Ambiental',
]
let day59 = '2022-07-11';
eventDates[day59] = [
  'Día Mundial de la Población',
]
let day60 = '2022-07-15';
eventDates[day60] = [
  'Día internacional de las tecnologías apropiadas',
  'Día Internacional de la Defensa del Manglar'
]
let day61 = '2022-07-16';
eventDates[day61] = [
  'Día del Conductor',
]
let day62 = '2022-07-30';
eventDates[day62] = [
  'Día Nacional de la Vida Silvestre',
]
let day63 = '2022-08-04';
eventDates[day63] = [
  'Día del Periodista y Comunicador',
]
let day64 = '2022-08-08';
eventDates[day64] = [
  'Apagón Ambiental',
]
let day65 = '2022-08-09';
eventDates[day65] = [
  'Día del Cóndor',
  'Día Internacional de las Poblaciones Indígenas'
]
let day66 = '2022-08-13';
eventDates[day66] = [
  'Día Nacional de las Organizaciones Ecologistas y Ambientales',
]
let day67 = '2022-08-14';
eventDates[day67] = [
  'Día Interamericano de la Calidad del Aire',
]
let day68 = '2022-08-25';
eventDates[day68] = [
  'Día del Adulto Mayor',
]
let day69 = '2022-08-14';
eventDates[day69] = [
  'Día Mundial del No Ruido',
]
let day70 = '2022-09-08';
eventDates[day70] = [
  'Apagón Ambiental',
]
let day71 = '2022-09-11';
eventDates[day71] = [
  'Día Nacional de la Biodiversidad',
]
let day72 = '2022-09-16';
eventDates[day72] = [
  'Día Mundial de la Preservación de la Capa de Ozono',
]
let day73 = '2022-09-19';
eventDates[day73] = [
  'Día  Día del Amor y la Amistad',
]
let day74 = '2022-09-29';
eventDates[day74] = [
  'Día Mundial contra el Desperdicio de Comida',
]
let day75 = '2022-10-04';
eventDates[day75] = [
  'Día Mundial de los Animales',
  'Día Nacional de las Aves'
]
let day76 = '2022-10-08';
eventDates[day76] = [
  'Apagón Ambiental',
]
let day77 = '2022-10-12';
eventDates[day77] = [
  'Día Mundial del Árbol',
]
let day78 = '2022-10-14';
eventDates[day78] = [
  'Día Internacional de los RAEE: Residuos de Aparatos Eléctricos y Electrónicos',
]
let day79 = '2022-10-28';
eventDates[day79] = [
  'Celebración de Halloween',
]
let day80 = '2022-11-08';
eventDates[day80] = [
  'Apagón Ambiental',
]
let day81 = '2022-11-17';
eventDates[day81] = [
  'Día del Ambientalista Latinoamericano',
]
let day82 = '2022-11-19';
eventDates[day82] = [
  'Día Internacional del Aire Puro',
]
let day83 = '2022-11-22';
eventDates[day83] = [
  'Día Nacional de la Orquídea',
]
let day84 = '2022-11-24';
eventDates[day84] = [
  'Día del Agrónomo',
]
let day85 = '2022-11-26';
eventDates[day85] = [
  'Día Mundial contra el Consumismo',
]
let day86 = '2022-12-01';
eventDates[day86] = [
  'Día Internacional de la lucha contra el SIDA',
]
let day87 = '2022-12-05';
eventDates[day87] = [
  'Día Mundial del Suelo',
  'Día Mundial del Voluntario y Ciudadano Ambiental',
  'Día Mundial de los Arrecifes de Coral'
]
let day88 = '2022-12-08';
eventDates[day88] = [
  'Apagón Ambiental',
]
let day89 = '2022-12-10';
eventDates[day89] = [
  'Día de los Derechos Humanos',
]


// set maxDates
var maxDate = {
  1: new Date(new Date().setMonth(new Date().getMonth() + 11)),
  2: new Date(new Date().setMonth(new Date().getMonth() + 10)),
  3: new Date(new Date().setMonth(new Date().getMonth() + 9))
}

var flatpickr = $('#calendar .placeholder').flatpickr({
  inline: true,
  minDate: 'today',
  maxDate: maxDate[3]
,
  showMonths: 1,
  enable: Object.keys(eventDates),
  disableMobile: "true",
  onChange: function(date, str, inst) {
    var contents = '';
    if(date.length) {
        for(i=0; i < eventDates[str].length; i++) {
        contents += '<div class="event"><div class="date">' + flatpickr.formatDate(date[0], 'l J F') + '</div><div class="location">' + eventDates[str][i] + '</div></div>';
      }
    }
    $('#calendar .calendar-events').html(contents)
  },
  locale: {
    weekdays: {
      shorthand: ["D", "L", "M", "M", "J", "V", "S"],
      longhand: [
        "Domingo",
        "Lunes",
        "Martes",
        "Miercoles",
        "Jueves",
        "Viernes",
        "Sabado",
      ]
    }
	,months: {
      shorthand: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
      longhand: [
      "Enero", 
	  "Febrero", 
	  "Marzo", 
	  "Abril", 
	  "Mayo", 
	  "Junio", 
	  "Julio", 
	  "Agosto", 
	  "Septiembre", 
	  "Octubre", 
	  "Noviembre", 
	  "Diciembre",
      ]
    }
	  ,days: {
      shorthand: ["uno", "dos", "tres", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
      longhand: [
      "1", 
	  "2", 
	  "3", 
	  "4", 
	  "Mayo", 
	  "Junio", 
	  "Julio", 
	  "Agosto", 
	  "Septiembre", 
	  "Octubre", 
	  "Noviembre", 
	  "Diciembre",
      ]
    }
 }
	
})

eventCaledarResize($(window));
$(window).on('resize', function() {
  eventCaledarResize($(this))
})

function eventCaledarResize($el) {
  var width = $el.width()
  if(flatpickr.selectedDates.length) {
    flatpickr.clear()
  }
  if(width >= 992 && flatpickr.config.showMonths !== 3) {
    flatpickr.set('showMonths', 3)
    flatpickr.set('maxDate', maxDate[3])
  }
  if(width < 992 && width >= 768 && flatpickr.config.showMonths !== 2) {
    flatpickr.set('showMonths', 2)
    flatpickr.set('maxDate', maxDate[2])
  }
  if(width < 768 && flatpickr.config.showMonths !== 1) {
    flatpickr.set('showMonths', 1)
    flatpickr.set('maxDate', maxDate[1])
    $('.flatpickr-calendar').css('width', '')
  }
}

function formatDate(date) {
    let d = date.getDate();
    let m = date.getMonth() + 1; //Month from 0 to 11
    let y = date.getFullYear();
    return '' + y + '-' + (m<=9 ? '0' + m : m) + '-' + (d <= 9 ? '0' + d : d);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--