if ($errmsg) { print "<blockquote><font color=\"red\"><strong>"; print strconv($errmsg); print "</strong></font></blockquote>\n"; } // 対象ファイル再設定 print "<br />\n"; print "<form enctype=\"multipart/form-data\" method=\"POST\" " . "action=\"/external/reg_upload/\">\n"; print "対象ファイル: <input id=\"file_upfile\" type=\"file\" name=\"file[upfile]\" size=\"60\" />\n"; print "<input id=\"gid\" name=\"gid\" type=\"hidden\" value=\"" . $group_id . "\" />"; print "<input type=\"submit\" value=\"再読み込み\">\n"; print "</form>\n"; print "<br />\n"; // Excelファイル表示処理 if ($xls) { put_css($xls); put_excel($xls); } // 登録実行ボタン if ($xls) { print "<br>\n"; print "<center>\n"; print "<form enctype=\"multipart/form-data\" method=\"POST\" " . "action=\"/external/reg_exec/\">\n"; print "<input id=\"gid\" name=\"gid\" type=\"hidden\" value=\"" . $group_id . "\" />\n"; print "<input id=\"file\" name=\"file\" type=\"hidden\" value=\"" . $file_id . "\" />\n"; print "<input type=\"submit\" value=\"登録実行\">\n"; print "</form>\n"; print "</center>\n"; print "<br />\n"; } // フッタ読み込み
$conf = new FileConf($file_id); // Excelファイル読み込み処理 if ($tgt_file) { list($xls, $errmsg) = excel_peruser_factory($charset, $tgt_file); } put_config($file_id, $_REQUEST, $group_id, $sheet_id, $xls, $conf); $field_index = get_config($file_id, $conf); $marker_window = new MarkerWindowWebUI($conf->get("block_width"), $conf->get("block_height"), $conf->get("block_offsetx"), $conf->get("block_offsety"), $conf->get("block_size"), $_REQUEST['scale']); $sheet_marker = new SheetCellFitMarker($xls, $marker_window); put_rails($file_id, $sheet_marker, $rails_env, $conf); // // HTMLファイル作成処理 // if ($xls) { $html = put_header(); $html .= put_css($xls); $html .= put_excel($xls, $marker_window, $sheet_marker, $field_index, $conf, $debug_mode); $html .= put_footer(); file_put_contents(DST_DIR . $file_id . ".html", $html); $msg .= "put_excel\n"; } // XXX: debugging purpose /* file_put_contents("/tmp/faxocr.log", "----------------------------------------\n" . date("Y/m/d H:i:s") . "\n(" . count($_REQUEST) . ")\n" . $msg . "\n\n", FILE_APPEND | LOCK_EX ); */
echo site_url(); ?> /assets/librerias/datepicker/css/datepicker.css" rel="stylesheet" type="text/css"/> <!-- bootstrap select 1.9.4 https://silviomoreto.github.io/bootstrap-select/ --> <link href="<?php echo site_url(); ?> /assets/librerias/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" type="text/css"/> <!-- Custom styles for this template --> <link href="<?php echo site_url(); ?> /assets/mm/css/mm_base.css" rel="stylesheet" type="text/css"/> <?php echo put_css(); ?> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <?php $this->load->view("mm/layout/default/menu"); ?>