[new]
[if session arg]
[value name=mv_data_table set="[data session arg]" hide=1]
[/if]
[L]Choose database to edit[/L]
[title-bar color="#666666"][L]Table[/L] [value mv_data_table][/title-bar]
[rotate-database]
[if scratch mvc_data_file]
[title-bar 400 5][L]Upload new database text source file[/L][/title-bar]
[/if]
[title-bar 400 5][L]Upload updates text file[/L][/title-bar]
[if type=file term="upload/[value mv_data_table].update"]
[check-upload file="[value mv_data_table].update" same=1]
[/if]
[if type=file term="upload/[value mv_data_table].add"]
[check-upload file="[value mv_data_table].add" same=1]
[/if]
[if type=file term="products/[value mv_data_table].update"]
[tag op="flag write" interpolate=1][value mv_data_table][/tag]
[import-fields table="[value mv_data_table]" move=1]
[/if]
[if type=file term="products/[value mv_data_table].add"]
[tag op="flag write" interpolate=1][value mv_data_table][/tag]
[import-fields table="[value mv_data_table]"
file="products/[value mv_data_table].add"
move=1 add=1]
[/if]