#set($title = "団体一括登録") #set($menukubun = "4") #parse( "/WEB-INF/view/common/header_admin.vm" ) <link href="/em/css/ui.tabs.css" rel="stylesheet" type="text/css" media="print, projection, screen" /> <script src="/em/js/jquery-1.4.2.js" type="text/javascript"></script> <script src="/em/js/ui.core.js" type="text/javascript"></script> <script src="/em/js/ui.tabs.js" type="text/javascript"></script> <script language="JavaScript" type="text/JavaScript"> <!-- function oganizationUpload(tabName){ document.getElementById("tabName").value = tabName; document.frm.submit(); } function fileDownLoad(){ location.href="#q('/admin/support/organizationShelfRegist/resultFileDownLoad/')"; } $(function() { $('#tabs > ul').tabs(); }); --> </script> <div id="contents"> <div id="contents_main"> <div id="breadcrumbsWrap"> <!-- <div id="breadcrumbs" class="fs01 clearfix"> <ul class="crumbs"> <li><a href="#q('/admin/support/')">1%支援制度管理</a> ></li> <li><em>団体一括登録</em></li> </ul> </div>[ /breadcrumbs ] --> </div><!--[ /breadcrumbsWrap ]--> <div id="main" class="clearfix"> <h2 class="contents_title"><!-- 市民活動 -->団体一括登録</h2> <div id="right_contents"> <form method="POST" name="frm" enctype="multipart/form-data" action="#q('/admin/support/organizationShelfRegist/organizationUpload/')" > #if($organizationShelfForm.tabName) <input type="hidden" name="tabName" id="tabName" value="$organizationShelfForm.tabName"> #else <input type="hidden" name="tabName" id="tabName" value="tab1_a"> #end <div id="tabs"> <ul> <li><a href="#tab1" id="tab1_a"><span class="txt10">ファイルフォーマット<BR>ダウンロード</span></a></li> <li><a href="#tab2" id="tab2_a"><span class="txt10">登録・更新用データ<BR>アップロード</span></a></li> </ul> <div id="tab1"> <font size="2">登録用データ</font><BR><BR> <a href="#q('/admin/support/organizationShelfRegist/formatFileDownLoad/')"><font size="2">ファイルフォーマットダウンロード</font></a> <BR><BR> <table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb30 w650"> <tr class="gray"> <th>説明<th> <td> ・上記リンクをクリックするとヘッダーデータファイルがダウンロードできます。<BR> ・ダウンロードしたファイルの2行目から記入してください。<BR> <hr> ・登録のみになります。団体名、団体番号の更新はできません。 </td> </tr> </table> <BR><BR><BR><BR><BR><BR><BR><BR><BR> </div> <div id="tab2"> $tools.getMsgs() <table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb10 w650"> <tr class="gray"> <td colspan="3"><input type="file" name="file" size="60" value="$file.getName()" id="File" multiple="multiple"></td> </tr> <tr class="gray"> <th width="50">説明</th> <td>・データは一行に1団体ずつタブ区切りで入力してください。<BR> ・団体名と団体番号は必須です。<!-- メモは省略できます。 --> </td> </tr> </table> <div class="btn_area2" style="width:650px;"> <input type="button" class="button" onclick="oganizationUpload('tab2_a')" value="登録"/> </div> <BR> <!--前回登録エラーファイル --> #if($organizationShelfForm.uploadError) <h3 class="table_title">前回登録結果</h3> <table border="0" cellpadding="0" cellspacing="0" width="450" class="stripe"> <thead> <tr> <th class="w200 t_center">日時</th> <th class="w200 t_center">ステータス</th> <th class="w200 t_center">ダウンロード</th> </tr> </thead> <tbody> <tr class="gray"> <td class="t_center dot_line" >$date.format("yyyy/MM/dd HH:mm:ss",$organizationShelfForm.uploadError.insertDate)</td> <td class="t_center dot_line">$organizationShelfForm.uploadError.status</td> <td class="t_center dot_line"> #if($organizationShelfForm.uploadError.status =="NG") <a onclick="fileDownLoad()"> ダウンロード </a> #end </td> </td> </tr> </tbody> </table> #end <BR> </div> </div> </form> </div> </div> <div id="contents_bottom"> <img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div> </div> <script> document.getElementById(document.getElementById("tabName").value ).click(); </script> #parse( "/WEB-INF/view/common/footer_admin.vm" )