| Server IP : 133.18.244.157 / Your IP : 216.73.217.20 Web Server : Apache System : Linux o4022v-135.kagoya.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : main2 ( 81069) PHP Version : 5.6.34 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /install/page/ |
Upload File : |
' $System.Access Mail ' $Command.Mail.AccessModify $BS ' If $System.IsPost ' If $Mode or ( $Mode = 0 ) <!--#include file="PartsChangeCondition.html"--> ' $System.ContentType ' Else ' $ST = $Command.Mail.SetSearchCondition ' $System.Redirect $Server?page=MailRefSearch&wid=$WID&bs=$BS&rmid=$RMID&st=$ST ' Exit ' EndIf ' EndIf <!--#include file="LibraryCommon.html"--> <!--#include file="LibraryForm.html"--> ' Call cmHtmlHead ' If $ST ' $Progress = $Command.Mail.Search $BS $ST $Head $HID $RMID ' If $Progress <meta http-equiv="Refresh" content="0;URL=$Server?page=MailRefSearch&wid=$WID&bs=$BS&rmid=$RMID&ST=$ST&head=$Head&hid=$HID"> ' EndIf ' EndIf <!--#include file="PartsMailCondition.html"--> ' $CaptionTitle = "スレッドの修復" ' Call cmHead $CaptionTitle </head> <body> ' Call cmChildHeader $CaptionTitle ' $System.CloseDatabase "mw" '' ' If $Progress ' Sub progressColumn <p>現在、絞込を実行中です。しばらくお待ちください。</p> <!--#include file="PartsProgress.html"--> ' EndSub ' Call layout_msg "" "" 0 progressColumn ' Call cmFooter </body> </html> ' Exit ' EndIf '' ' Set $MailProfile = $Command.Mail.GetMailTop $BS ' If $ST ' Set $Search = $Command.Mail.GetPersonalSearch $BS $ST ' Set $Conditions = $Search.Conditions ' $Name = $Search.Name ' $Type = $Search.Type ' $FID = $Search.FID ' $SF = $Search.SF ' $OR = $Search.OR ' $Span = $Search.Span ' $SetDate = $Search.SetDate ' $EndDate = $Search.EndDate ' EndIf '' <form name="MailSearch" method="post" action="$Server?"> <input type="hidden" name="CSRFTicket" value="$System.MakeCSRFKey"> <input type="hidden" name="Page" value="MailRefSearch"> <input type="hidden" name="WID" value="$WID"> <input type="hidden" name="BS" value="$BS"> <input type="hidden" name="RMID" value="$RMID"> <input type="hidden" name="Mode" value=""> <input type="hidden" name="Remove" value=""> <input type="hidden" name="ST" value=""> ' If $ST <input type=hidden name=CC value="$Conditions.Count"> ' Elif $CC <input type="hidden" name="CC" value="$CC"> ' Else <input type="hidden" name="CC" value="1"> ' $SF = 1 ' $Type = "Received" ' $Span = 3 ' EndIf '' ' Sub formColumn <table class="formTable"> <tr>\\ <th nowrap>検索対象</th><td nowrap>\\ ' Call formRadio "Type" "受信メール" $Type.Checked_Received "Received" "Received" ' Call formRadio "Type" "送信メール" $Type.Checked_Sent "Sent" "Sent" ' Call formRadio "Type" "送受信メール" $Type.RChecked "" "Both" </td></tr> ' If ! $MailProfile.Folder.Disable <tr>\\ <th nowrap>フォルダ</th><td nowrap>\\ <select name="FID"> ' If $FID = -9 ' $Sel = "Selected" ' Else ' $Sel = "" ' EndIf <option value="-9" $Sel>(全て)</option> ' $FolderOptions = $Command.Mail.GetFolderOptions $BS $FID 1 1 $_FolderOptions</select> \\ ' Call formCheckBox "SF" "サブフォルダも検索する" $SF 1 "SF" </td></tr> ' Else <input type="hidden" name="FID" value="-9"> ' EndIf <tr>\\ <th nowrap>検索期間</th><td nowrap>\\ ' Call formRadio "Span" "本日" $Span.Checked_1 1 "today" ' Call formRadio "Span" "過去1週間" $Span.Checked_2 2 "week" ' Call formRadio "Span" "過去1ヶ月" $Span.Checked_3 3 "month" ' Call formRadio "Span" "過去3ヶ月" $Span.Checked_7 7 "three" ' Call formRadio "Span" "過去6ヶ月" $Span.Checked_8 8 "six" ' Call formRadio "Span" "過去1年" $Span.Checked_4 4 "year" ' Call formRadio "Span" "全て" $Span.Checked_5 5 "all" <br> ' Call formRadio "Span" "期間指定" $Span.Checked_6 6 "date" ( ' Call formDateSpan "SetDate" "EndDate" "MailSearch" 0 $SetDate $EndDate "Span[7].checked=true;" ) </td></tr> <tr>\\ <th nowrap>検索条件</th> <td nowrap>\\ <!--#include file="LibrarySearchCondition.html"--> <table border="0" cellspacing="0" cellpadding="5" width="100%"> <tr><td> ' Call searchCondition </td></tr> <tr><td> <table border="0" cellspacing="0" cellpadding="0"> ' If $CC ' $Num = $CC - 1 ' For $i = 0 to $Num ' $IID = $System.GetParameter IID$i ' $Text = $System.GetParameter Text$i ' $Expr = $System.GetParameter Expr$i ' $Value = $System.GetParameter Value$i ' Call QueryConditionRow $MailProfile $i $IID $Text $Expr $Value $Num "MailSearch" ' Next ' Elif $Conditions ' $CC = 0 ' If $Conditions.Count ' $Num = $Conditions.Count - 1 ' Else ' $Num = 0 ' EndIf ' For Each $Cond in $Conditions ' Call QueryConditionRow $MailProfile $CC $Cond.IID $Cond.Text $Cond.Expr $Cond.Value $Num "MailSearch" ' Inc $CC ' Next ' EndIf ' If ! $CC ' Call QueryConditionRow $MailProfile 0 $IID $Text $Expr $Value 0 "MailSearch" ' EndIf </table> </td></tr> <tr><td> ' Call cmButton "条件を追加する" "Mode.value='add';this.form.submit();" </td></tr> </table> </td></tr> </table> ' $escBackURL = $Command.String.JSEncode "$Server?page=MailRefSelect&wid=$WID&bs=$BS&rmid=$RMID" ' Call formCommit "検索する" "" "Mode.value='';" "location.href='$escBackURL';" ' EndSub '' ' Sub mainColumn <div class="desc">メールの検索をおこないます。検索条件を指定してください。</div> ' Call formColumn ' If $ST and ( ! $Reset ) ' $Count = $Search.Count ' Init $Count = 0 <!--#include file="PartsMailIndex.html"--> ' Set $MailProfile = $Command.Mail.GetMailTop $BS ' $Rows = $MailProfile.Rows ' Init $Rows = 20 ' $ViewIndex.WID = $WID ' Set $rs = $Command.Mail.GetSearchResult $BS $ST $Rows $Head $HID ' $ViewIndex.Prev = $rs.Prev ' $ViewIndex.PID = $rs.PID ' $ViewIndex.Next = $rs.Next ' $ViewIndex.NID = $rs.NID ' Call operation "Head" $Count <table class="dataList" width="100%" border="0" cellspacing="0" cellpadding="7"> ' For Each $m in $rs ' Set $v = $ViewIndex.Add ' $v.AID = $BS ' $v.OID = $m.OID ' $v.DBID = $m.DBID ' $v.Type = $m.Type ' Next ' $Command.Mail.CloseIndexDatabase $BS ' Call viewMailTitle $BS $MailProfile $FID 1 ' Call viewMailIndex $BS $MailProfile $ViewIndex $FID "&st=$ST&head=$Head&hid=$HID&rmid=$RMID" "" 0 0 "MailRefChange" ' Call viewMailTitle $BS $MailProfile $FID 1 </table> ' Call operation "Tail" $Count ' EndIf ' EndSub '' ' Sub operation $argPos $argCount <!--#include file="LibraryNavigation.html"--> <table border="0" width="100%" cellspacing="0" cellpadding="0">\\ <tr class="active">\\ ' If $argPos = "Head" <td>検索結果(全$argCount件)\\ ' $SD = $MailSearch.SetDate ' $ED = $MailSearch.EndDate ' If $SD or $ED ' If $SD $SD.Year/$SD.Month/$SD.Day\\ ' EndIf ~\\ ' If $ED $ED.Year/$ED.Month/$ED.Day\\ ' EndIf ' EndIf </td> ' EndIf ' Call Navigation $ViewIndex "&bs=$BS&st=$ST&rmid=$RMID" $Rows </tr></table> ' EndSub '' ' Call layout_view "" "" 0 mainColumn </form> ' Call cmChildFooter "$Server?page=MailRefSelect&wid=$WID&bs=$BS&rmid=$RMID" "戻る" </body> </html>