<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>予約語選択</title> <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 src="/em/js/common.js" type="text/javascript"></script> <script src="/em/js/jquery.datepick.js" type="text/javascript"></script> <script src="/em/js/jquery.datepick-ja.js" type="text/javascript"></script> <link href="/em/css/default_new.css" rel="stylesheet" type="text/css"> <link href="/em/css/jquery.datepick.css" rel="stylesheet" type="text/css"> <script type="text/javascript"> function searchEnq(tabName){ document.getElementById("tabName").value = tabName; document.frm.submit(); } $(function() { $('#tabs > ul').tabs(); }); function setC(val){ var tabName = document.getElementById("tabName").value; location.href="#q('/admin/mail/mailRegist/setClipboard/')?clipboard="+val+"&tabName="+tabName; } function setLink(valLink){ var tabName = document.getElementById("tabName").value; location.href="#q('/admin/mail/mailPopup/setClipboard/')?clipboard="+valLink+"&tabName="+tabName; } function copyToClipboard(text) { if (window.clipboardData) // Internet Explorer { window.clipboardData.setData("Text", text); } } </script> <script language="javascript" type="text/javascript" charset="utf-8"> <!-- //開始日 $(function() { $('#operationTermFrom').datepick({showTrigger: '#calFromDate', minDate: '-1m', maxDate: '+1m +1w'}); }); //終了日 $(function() { $('#operationTermTo').datepick({showTrigger: '#calToDate'}); }); // --> </script> </head> <body> <div id="tabs"> <ul> <li><a href="#tab1" id="tab1_a"><span>顧客情報</span></a></li> <li><a href="#tab2" id="tab2_a"><span>アンケート</span></a></li> <input type="button" align="left" value="閉じる" onClick="window.close()"> </ul> <div id="tab1"> <table border="0" cellspacing="5" cellpadding="0" class="stripe3 w790"> <tr class="gray"> <td>氏名 </td> <td> <input type="button" onclick='copyToClipboard("%memberName%")' value="コピー"/> </td> <td> %memberName% </td> </tr> <tr class="gray"> <td>会員ID </td> <td> <input type="button" onclick='copyToClipboard("%memberId%")' value="コピー"/> </td> <td> %memberId% </td> </tr> <tr class="gray"> <td>ログインID </td> <td> <input type="button" onclick='copyToClipboard("%loginId%")' value="コピー"/> </td> <td> %loginId% </td> </tr> <tr class="gray"> <td>パスワード </td> <td> <input type="button" onclick='copyToClipboard("%passWord%")' value="コピー"/> </td> <td> %passWord% </td> </tr> <tr class="gray"> <td>ポイント数 </td> <td> <input type="button" onclick='copyToClipboard("%pointNum%")' value="コピー"/> </td> <td> %pointNum% </td> </tr> <!-- <tr class="gray"> <td>会員登録完了メール </td> <td> <input type="button" onclick='copyToClipboard("%registMail%")' value="コピー"/> </td> </tr> <tr class="gray"> <td>パスワード確認メール </td> <td> <input type="button" onclick='copyToClipboard("%passwordMail%")' value="コピー"/> </td> </tr> <tr class="gray"> <td>退会メール </td> <td> <input type="button" onclick='copyToClipboard("%drawMember%")' value="コピー"/> </td> </tr> --> </table> </div> <div id="tab2"> <p> <form method="POST" action="#q('/admin/mail/mailPopup/search/1')" name="frm"> #if($enqueteSearchForm.tabName) <input type="hidden" name="tabName" id="tabName" value="$enqueteSearchForm.tabName"> #else <input type="hidden" name="tabName" id="tabName" value="tab1_a"> #end <div id="right_contents"> <div id="search"> $!tools.getMsg("dateError") $!tools.getMsg("dateError_1") $!tools.getMsg("dateError_2") <table width="700" border="0" cellpadding="0" cellspacing="1"> <tr class="gray"> <td width="100">アンケート名 </td> <td> <input name="enqueteName" type="text" size="90" class="w380 mgl10" value="$!escape.html($!enqueteSearchForm.enqueteName)"> </td> </tr> <tr class="gray"> <td>実施期間 </td> <td><input name="operationTermFrom" id="operationTermFrom" type="text" class="w100 mgl10" value="$!escape.html($!enqueteSearchForm.operationTermFrom)"> <div style="display: none;"><img id="calFromDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div> ~<input name="operationTermTo" id="operationTermTo" type="text" class="w100 mgl10" value="$!escape.html($!enqueteSearchForm.operationTermTo)"> <div style="display: none;"><img id="calToDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div> </td> </tr> <tr> <td colspan="2"> <a href="#" onclick="searchEnq('tab2_a'); return false;"><button class="button">検索</button></a> </td> </tr> </table> <table width="525" border="0" cellspacing="0" cellpadding="0"> <tr> <td><p>検索一覧</p></td> </tr> </table> <script> document.getElementById(document.getElementById("tabName").value ).click(); </script> #if($enqueteSearchForm.searchResultList && $!enqueteSearchForm.searchResultList.size() > 0) ■該当件数 $!{enqueteSearchForm.pagingMap.paging.totalCnt}件中 $!{enqueteSearchForm.pagingMap.paging.firstIndex} ~ $!{enqueteSearchForm.pagingMap.paging.lastIndex}件 <table width="750" border="1" cellpadding="0" cellspacing="1" bgcolor="#004080"> <tr> <td class="listmenu" style="text-align:center; padding-left:0px;">アンケート名</td> <td class="listmenu" style="text-align:center;padding-left:0px;">実施期間</td> <td class="listmenu" style="text-align:center;padding-left:0px;">状態</td> <td class="listmenu" style="text-align:center;padding-left:0px;" colspan="2">コピー</td> </tr> #foreach($enquete in $!enqueteSearchForm.searchResultList) <tr> <td class="listcts" width="250">$!escape.html($!enquete.enqueteName)</td> <td class="listcts" width="150" style="text-align:center;padding-left:0px;">$tools.addSlashDate($!{enquete.startDate}) ~ $tools.addSlashDate($!{enquete.endDate})</td> <td class="listcts" width="100" style="text-align:center;padding-left:0px;">#if($!enquete.status == "1")実施中#else 未実施 #end</td> <td class="listcts" width="100" style="text-align:center;"> ##<a href="#q('/admin/mail/mailSearch/')"><button class="button">コピー</button></a> ##<input type="button" onclick="copyToClipboard('$!{enqueteSearchForm.serverUrl}#q("/user/enquete?eid=$!{enquete.enqueteId}")');" value="コピー"/> <input type="button" onclick="copyToClipboard('%enqUrl$!{enquete.enqueteId}%');" value="コピー"/> </td> <td class="listcts" width="150" style="text-align:center;">%enqUrl$!{enquete.enqueteId}% </td> </tr> #end </table> </div></div> ## #makeLink("#q('/admin/mail/mailPopup/search/')",$enqueteSearchForm.pagingMap.paging) #set($link = $viewUtil.makePagingLink($enqueteSearchForm.pagingMap.paging.curPage,$enqueteSearchForm.pagingMap.paging.totalPage,"","","#q('/admin/mail/mailPopup/search/')")) $link.replace("<ul class='pageNav01'><li>","").replace("</li>"," ").replace("</ul>","").replace("<li>","") #else <BR><BR><BR> #end </div> </form> </div> </body> </html>