-
✘✘✘ WIBUHAX0R1337 ✘✘✘
-
✘
PATCH :
/
var
/
www
/
clients
/
client4
/
web4
/
web
/
ris
/
includes
/
lib
/
Upload File:
files >> /var/www/clients/client4/web4/web/ris/includes/lib/PopCalendar.class.php
<?php /** * PopCalendar * @author Somchok Baowtong <somchok@gmail.com> * @version 2.0 * @copyright 2003-2008 All right serves. */ class PopCalendar { var $path = "includes/js/PopCalendar/"; var $icon = "js/popcal/calendar.gif"; var $cursor = "hand"; var $tooltip = "แสดงปฏิทิน"; var $method = ""; function PopCalendar($dficon="includes/js/PopCalendar/calbtn.gif", $dftooltip="แสดงปฏิทิน", $dfcursor="hand") { $this->setIcon($dficon); $this->setCursor($dfcursor); $this->setTooltip($dftooltip); } function init($lang='th') { $tooltip = ($lang=='th')?'แสดงปฏิทิน':'show calendar'; $this->setTooltip($tooltip); ?> <iframe width=132 height=142 name="gToday:normal<?=$lang?>:agenda<?=$lang?>.js" id="gToday:normal<?=$lang?>:agenda<?=$lang?>.js" src="<?=$this->path?>ipop<?=$lang?>.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"></iframe> <?php } function singleDate($object1, $form="frm_main") { $this->method = " onClick=\"gfPop.fPopCalendar(document.".$form.".".$object1.");return false;\""; $this->showIcon(); } function startDate($object1, $object2, $form="frm_main") { $this->method = " onClick=\"gfPop.fStartPop(document.".$form.".".$object1.", document.".$form.".".$object2.");return false;\""; $this->showIcon(); } function endDate($object1, $object2, $form="frm_main") { $this->method = " onClick=\"gfPop.fEndPop(document.".$form.".".$object1.", document.".$form.".".$object2.");return false;\""; $this->showIcon(); } function showIcon() { $html = ""; $html .= "<img"; $html .= $this->icon; $html .= $this->cursor; $html .= $this->tooltip; $html .= $this->method; $html .= " align=\"absmiddle\" alt=\"\">"; print $html; } function setIcon($path) { $this->icon = " src=\"".$path."\"";; } function setCursor($cur='hand') { $this->cursor = " style=\"cursor:".$cur.";\""; } function setTooltip($ttip='แสดงปฏิทิน') { $this->tooltip = " title=\"".$ttip."\""; } }
2022 - 2023 Copyright By Lutfifakee || Padang Blackhat ♥