-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/admin-1/php/event/
File Upload :
Current File : /var/www/html/admin-1/php/event/act.insert.php

<?php

	if ( empty($_POST['title'])) script_re( $total['cmnall'] . '&mode=write' , ' Çʼö»çÇ×À» ÀÔ·ÂÇØÁÖ¼¼¿ä ' ) ;

# base construct
	$action = array (
		'keycode'				=> $total['code'] ,
		'write_date'			=> $total['now'] ,
		'ip'							=> $total['ip'] ,

		'c1_no'					=> $_POST['category1'] ,
		'c2_no'					=> $_POST['category2'] ,
		'c3_no'					=> $_POST['category3'] ,
		'title'						=> $_POST['title'] ,
		'display_type'			=> $_POST['display_type'] ,
		'begindate'				=> $_POST['begindate'] ,
		'enddate'				=> $_POST['enddate'] ,

		'imagefile'				=> file_upload($_FILES['file1']['tmp_name'] , $_FILES['file1']['name'] , 'files/' . $total['options']['dir'] . '' ) ,

		'link1'						=> $_POST['link1'] ,
		'link2'						=> $_POST['link2'] ,
		'link3'						=> $_POST['link3'] ,
		'link4'						=> $_POST['link4'] ,
		'link5'						=> $_POST['link5']
	);
	$numid = $exe->qry_insert ( $action , " tbl_{$total[table]}_event " ) ;

# end
	script_re($total['cmnall'] . '&mode=view&numid=' . $numid ) ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee