8-9
templates/op_import_form.tpl
< form action = "import.php" method = "post" class = "form-inline" enctype = "multipart/form-data" style = "margin-top:60px;" > |
< label for = "userfile" >請選擇 xls 檔</ label > |
< input type = "file" name = "userfile" class = "form-control" id = "userfile" placeholder = "請選擇 xls 檔" > |
< input type = "hidden" name = "op" value = "import_excel" > |
< button type = "submit" class = "btn btn-default" >匯入</ button > |