403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.252
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/wit-crm/modules/loyalty/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/wit-crm/modules/loyalty/assets/js/home_portal_js.php
<script>
(function($) {	
	"use strict";
	var greetDate = new Date();
	var hrsGreet = greetDate.getHours();

	var greet;
	if (hrsGreet < 12)
		greet = "<?php echo _l('good_morning'); ?>";
	else if (hrsGreet >= 12 && hrsGreet <= 17)
		greet = "<?php echo _l('good_afternoon'); ?>";
	else if (hrsGreet >= 17 && hrsGreet <= 24)
		greet = "<?php echo _l('good_evening'); ?>";

	if(greet) {
		document.getElementById('greeting').innerHTML =
		'<b>' + greet + ' <?php echo html_entity_decode($contact->firstname); ?>!</b>';
	}
})(jQuery);

/**
 * { program detail }
 *
 * @param        id      The identifier
 */
function program_detail(id){
	"use strict";
	$.post(site_url + 'loyalty/loyalty_portal/program_detail/' +id).done(function(response) {
        response = JSON.parse(response);
        $('#program_detail').html('');
        $('#program_detail').append(response.html);

    });
}
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit