403Webshell
Server IP : 119.59.102.212  /  Your IP : 18.116.39.37
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/private_html/coremain/module/member/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/private_html/coremain/module/member/send_new.php
<?
$navig['send_new']="ส่งข่าวให้สมาชิกทางเมลล์";
navigator($navig);
echo "<br>";
bar_header("ส่งข่าวให้สมาชิกทางเมลล์"); // Bar_Header

	$date=date("d");
					$month=date("m");
					$year=date("Y");
					$yearthai=$year+543;
					$datenow=$yearthai.$month.$date;

$res_new = select_result_query("*","cms_product","(is_new_product","1"," and (start_new<='$datenow' and end_new>='$datenow')) or (is_promotion = 1 and (start_promo<='$datenow' and end_promo>='$datenow'))  group by id_product");

echo "<form name='select_form' action='index.php?mod=send_new_output&path=product' method='POST'>";
echo"<table width='100%' border='0' align='center' cellpadding='1' cellspacing='1' bgcolor='$_SESSION[tb_bgcolor]'>";
	echo"<tr height='20' bgcolor='$_SESSION[tb_head_bgcolor]'>";
$count_new = 1;


	echo "<td align='center'><b>ลำดับที่</b></td>";
	echo "<td align='center'><b>เลือก</b></td>";
	echo "<td align='center'><b>ชื่อผลิตภัณฑ์</b></td>";
	echo "<td align='center'><b>เป็นโปรโมชั่น</b></td>";
	echo "<td align='center'><b>เป็นสินค้าใหม่</b></td>";
echo "</tr>";
	while ($data = mysql_fetch_array($res_new)){
	
		 if($count_new%2==0)
					echo"  <tr height='20' bgcolor='dddddd'>";
				else
					echo"  <tr height='20' bgcolor='eeeeee'>";
					
			echo "<td align='center'>$count_new</td>";
			echo "<td align='center'><input type='checkbox' name='check_box[]' value = '$data[id_product]' id='check_box$count_new'></td>";
			echo "<td align='left'>&nbsp;&nbsp;$data[name]</td>";
			echo "<td align='center'>";
			if($data[is_promotion]==1){
				print_correct();
			}
			else
					print_wrong();
			echo "</td>";
			
				echo "<td align='center'>";
			if($data[is_new_product]==1){
					print_correct();
			}
			else
				print_wrong();
			echo "</td>";
			
		echo "</tr>";
		$count_new++;
	}
echo "</table>";
echo "<br/><br/>";
echo "<div align='center'><input type='submit' name='btn_submit' value='ตกลง'></div>";
echo "</form>";
?>

Youez - 2016 - github.com/yon3zu
LinuXploit