HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/ww.snodshop.com/Public///Common/akmall.scroll-3.php
<?php
$html = "<style>.akmall-scroll2{height:160px;overflow:hidden;line-height:30px;border-radius: 5px;margin:10px 5px}.akmall-scroll2 li span{margin-right:10px;}</style>";
$html .= "<div class='akmall-scroll2'><div style='padding: 5px;'><ul>";
if($akmallConfig['real_notice']==1){
	$orders = M('Order')->field('item_name,item_params,name,mobile,region,add_time')->where(array('item_id'=>$info['id']))->order('id asc')->limit(25)->select();
	$i=0;
	foreach($orders as $li){
		$region = explode(' ',$li['region']);
		$item_params = empty($li['item_params'])?$li['item_name']:$li['item_params'];
		$i++;
		$html .= "<li ".($i%2 == 0?"class='even'":'')."><span class='akmall-badge'>{$region[0]}</span><span class='akmall-mobile'>".mb_substr($li['name'],0,1,'utf-8')."*[".substr($li['mobile'],0,3)."****".substr($li['mobile'],-4)."]</span><span class='akmall-date'>".date('m-d',$li['add_time'])."</span>{$item_params}</li>";
	}
}else{
	$item = json_decode($info['params'],true);
	$province = explode(',',L('scrollProvince'));
	$name = explode(',',L('scrollName'));
	$mobile = explode(',',L('scrollMobile'));
	$time=  explode(',',L('scrollTime'));
	for($i=0;$i<50;$i++){
		$num = rand(0,3);
		$pro = empty($item)?$info['name']:$item[array_rand($item,1)]['title'];
		$pp = $province[array_rand($province,1)];
		$nn = $name[array_rand($name,1)];
		$mm = $mobile[array_rand($mobile,1)].'****'.randCode(4);
		$rand = array_rand($time);
		$html .= "<li ".($i%2 == 0?"class='even'":'')."><span style='color:#0c3'>[最新订购]</span><span class='akmall-mobile'>{$nn}*({$mm})</span><span class='akmall-date'>{$time[$rand]}订购了</span><span class='akmall-item'>{$pro} <span style='color:#FF0000'>√</span></span></li>";
	}	
}
$html .= "</ul></div></div>";
$html .= "<script>function scollDown(c,b){var a=$(c+' ul li').height();var b=b||2500;setInterval(function(){ $(c+' ul').prepend($(c+' ul li:last').css('height','0px').animate({height:a+'px'},'slow'))},b)}seajs.use(['jquery'],function(a){scollDown('.akmall-scroll2',3000)});</script>";

return $html;
?>