-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/mypage/php/membership/
File Upload :
Current File : /var/www/html/mypage/php/membership/act.fvrt.php

<?
/*
$execute = $exe->qry_(" from tbl_{$config[SHP][1]}_members where real_no = '{$total[loginno]}' order by numid " , 
										   " numid ,  ") ; 
	
*/
$actInsert = array() ; 

$i = 0 ; 
$seq = 0 ;
while ( true ) {
	$i++ ; 
	if ( !isset($_POST['s_sizest_' . $i])) break ; 
	if ( empty($_POST['s_sizest_' . $i]) && empty($_POST['s_sizesb_' . $i])) continue ;
	$seq++ ;  
	
	$actInsert[] = "('" . implode( "','" , array(	
		$total['loginno'] ,
		'1' , 
		$_POST['s_sizest_' . $i] , 
		$_POST['s_sizesb_' . $i] , 
		$_POST['s_arm_' . $i] , 
		$_POST['s_initial_' . $i] , 
		$_POST['s_number_' . $i] , 
		($_POST['s_numpos_1_' . $i]=='1' ? 'Y' :'N' ) , 
		($_POST['s_numpos_2_' . $i]=='2' ? 'Y' :'N' ) , 
		($_POST['s_numpos_3_' . $i]=='3' ? 'Y' :'N' ) 
	)) . "')" ;  
}

$exe->qry_delete("tbl_{$config[SHP][1]}_members " , " real_no = '{$total[loginno]}'  ") ;
if ( count($actInsert) > 0 ) {
	$q = " insert into tbl_{$config[SHP][1]}_members ( real_no , grp_no , topsize , botsize , armtype , user_initial , user_number , npos1 , npos2 , npos3 ) values " . implode( ',' , $actInsert ) ; 
	$exe->qry_query( $q) ;
}

script_re( '?mode=fvrt') ;
?>

Copyright © 2017 || Recoded By Mr.Bumblebee