Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
cpdadmin /
calendar /
Delete
Unzip
Name
Size
Permission
Date
Action
doc
[ DIR ]
drwxr-sr-x
2022-04-19 07:00
lang
[ DIR ]
drwxr-sr-x
2022-04-19 07:00
skins
[ DIR ]
drwxr-sr-x
2022-04-19 07:00
ChangeLog
24.51
KB
-rw-r--r--
2022-04-19 06:59
README
910
B
-rw-r--r--
2022-04-19 06:59
bugtest-hidden-selects.html
4
KB
-rw-r--r--
2022-04-19 06:59
calendar-blue.css
4.72
KB
-rw-r--r--
2022-04-19 06:59
calendar-blue2.css
4.89
KB
-rw-r--r--
2022-04-19 06:59
calendar-brown.css
4.61
KB
-rw-r--r--
2022-04-19 06:59
calendar-green.css
4.67
KB
-rw-r--r--
2022-04-19 06:59
calendar-setup.js
8.65
KB
-rw-r--r--
2022-04-19 06:59
calendar-setup_ew.js
8.98
KB
-rw-r--r--
2022-04-19 06:59
calendar-setup_stripped.js
4.8
KB
-rw-r--r--
2022-04-19 06:59
calendar-system.css
5.57
KB
-rw-r--r--
2022-04-19 06:59
calendar-tas.css
5.18
KB
-rw-r--r--
2022-04-19 06:59
calendar-win2k-1.css
5.85
KB
-rw-r--r--
2022-04-19 06:59
calendar-win2k-2.css
5.85
KB
-rw-r--r--
2022-04-19 06:59
calendar-win2k-cold-1.css
5.65
KB
-rw-r--r--
2022-04-19 06:59
calendar-win2k-cold-2.css
5.85
KB
-rw-r--r--
2022-04-19 06:59
calendar.js
52.57
KB
-rw-r--r--
2022-04-19 06:59
calendar.php
4.38
KB
-rw-r--r--
2022-04-19 06:59
calendar_stripped.js
33.51
KB
-rw-r--r--
2022-04-19 06:59
dayinfo.html
2.97
KB
-rw-r--r--
2022-04-19 06:59
img.gif
223
B
-rw-r--r--
2022-04-19 06:59
index.html
12.41
KB
-rw-r--r--
2022-04-19 06:59
menuarrow.gif
68
B
-rw-r--r--
2022-04-19 06:59
menuarrow2.gif
49
B
-rw-r--r--
2022-04-19 06:59
multiple-dates.html
2.86
KB
-rw-r--r--
2022-04-19 06:59
release-notes.html
18
KB
-rw-r--r--
2022-04-19 06:59
simple-1.html
9.23
KB
-rw-r--r--
2022-04-19 06:59
simple-2.html
3.65
KB
-rw-r--r--
2022-04-19 06:59
simple-3.html
4.38
KB
-rw-r--r--
2022-04-19 06:59
test-position.html
1.46
KB
-rw-r--r--
2022-04-19 06:59
test.php
3.2
KB
-rw-r--r--
2022-04-19 06:59
Save
Rename
<?php /** * File: calendar.php | (c) dynarch.com 2004 * Distributed as part of "The Coolest DHTML Calendar" * under the same terms. * ----------------------------------------------------------------- * This file implements a simple PHP wrapper for the calendar. It * allows you to easily include all the calendar files and setup the * calendar by instantiating and calling a PHP object. */ define('NEWLINE', "\n"); class DHTML_Calendar { var $calendar_lib_path; var $calendar_file; var $calendar_lang_file; var $calendar_setup_file; var $calendar_theme_file; var $calendar_options; function DHTML_Calendar($calendar_lib_path = '/calendar/', $lang = 'en', $theme = 'calendar-win2k-1', $stripped = true) { if ($stripped) { $this->calendar_file = 'calendar_stripped.js'; $this->calendar_setup_file = 'calendar-setup_stripped.js'; } else { $this->calendar_file = 'calendar.js'; $this->calendar_setup_file = 'calendar-setup.js'; } $this->calendar_lang_file = 'lang/calendar-' . $lang . '.js'; $this->calendar_theme_file = $theme.'.css'; $this->calendar_lib_path = preg_replace('/\/+$/', '/', $calendar_lib_path); $this->calendar_options = array('ifFormat' => '%Y/%m/%d', 'daFormat' => '%Y/%m/%d'); } function set_option($name, $value) { $this->calendar_options[$name] = $value; } function load_files() { echo $this->get_load_files_code(); } function get_load_files_code() { $code = ( '<link rel="stylesheet" type="text/css" media="all" href="' . $this->calendar_lib_path . $this->calendar_theme_file . '" />' . NEWLINE ); $code .= ( '<script type="text/javascript" src="' . $this->calendar_lib_path . $this->calendar_file . '"></script>' . NEWLINE ); $code .= ( '<script type="text/javascript" src="' . $this->calendar_lib_path . $this->calendar_lang_file . '"></script>' . NEWLINE ); $code .= ( '<script type="text/javascript" src="' . $this->calendar_lib_path . $this->calendar_setup_file . '"></script>' ); return $code; } function _make_calendar($other_options = array()) { $js_options = $this->_make_js_hash(array_merge($this->calendar_options, $other_options)); $code = ( '<script type="text/javascript">Calendar.setup({' . $js_options . '});</script>' ); return $code; } function make_input_field($cal_options = array(), $field_attributes = array()) { $id = $this->_gen_id(); $attrstr = $this->_make_html_attr(array_merge($field_attributes, array('id' => $this->_field_id($id), 'type' => 'text'))); echo '<input ' . $attrstr .'/>'; echo '<a href="#" id="'. $this->_trigger_id($id) . '">' . '<img align="middle" border="0" src="' . $this->calendar_lib_path . 'img.gif" alt="" /></a>'; $options = array_merge($cal_options, array('inputField' => $this->_field_id($id), 'button' => $this->_trigger_id($id))); echo $this->_make_calendar($options); } /// PRIVATE SECTION function _field_id($id) { return 'f-calendar-field-' . $id; } function _trigger_id($id) { return 'f-calendar-trigger-' . $id; } function _gen_id() { static $id = 0; return ++$id; } function _make_js_hash($array) { $jstr = ''; reset($array); while (list($key, $val) = each($array)) { if (is_bool($val)) $val = $val ? 'true' : 'false'; else if (!is_numeric($val)) $val = '"'.$val.'"'; if ($jstr) $jstr .= ','; $jstr .= '"' . $key . '":' . $val; } return $jstr; } function _make_html_attr($array) { $attrstr = ''; reset($array); while (list($key, $val) = each($array)) { $attrstr .= $key . '="' . $val . '" '; } return $attrstr; } }; ?>