| 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 : |
<!--#include file="LibraryForm.html"-->
<p><table border="0" width="100%" cellspacing="0" cellpadding="4"><tr>
'' <!---------------------左側----------------------------->
<td class="active" width="10%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
' If $CTID
<tr><td nowrap>
' Call cmLink "(全テンプレート)" "category20.png" "$Server?page=$Page&wid=$WID$$Arg"
' Else
<tr class="selected"><td nowrap>
' Call cmImage "category20.png"
<b>(全テンプレート)</b>
' EndIf
</td></tr>
' $CategoryTree = $Command.Template.GetCategoryView $WID $CTID $Arg
$_CategoryTree
</table><br>
</td>
'' <!---------------------右側----------------------------->
<td width="90%" valign="top" nowrap>
' Set $Templates = $Command.Template.GetTemplates $WID $CTID
' If $Text or ( $Text = "0" )
' $Templates.SearchText = $Text
' EndIf
' Call cmImage "search20.png"
テンプレートの検索
' Call formText "Text" $Text 20 1
' Call formSubmit "Search" "検索"
' If $InitCaption and $InitURL
' Call cmLink $InitCaption "stop20.png" $InitURL
' EndIf
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#ffffff">
<tr class="title"><td nowrap><b>名前</b></td>
' If ! $CTID
<td nowrap><b>カテゴリ</b></td>
' EndIf
</tr>
' Init $Head = 0
' $Rows = 50
' $Tail = $Rows + $Head
' $Count = 0
' $RowNum = 0
' For Each $Template in $Templates
' If $Count < $Head
' Inc $Count
' Continue
' EndIf
' If $Count >= $Tail
' $Next = $Count
' Exit
' EndIf
' Inc $Count
' Inc $RowNum
' $Remainder = $Command.Math.Modulus $RowNum 2
' If $Remainder = 0
' $RowClass = "evenRow"
' Else
' $RowClass = "oddRow"
' EndIf
<tr class="$RowClass"><td nowrap>
' Call cmLink $Template.Name "template20.png" "javascript:onSelect('$Template.ID');"
</td>
' If ! $CTID
<td nowrap>$Template.Category.Name<br></td>
' EndIf
</tr>
' Next
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr><td nowrap>
<div style="line-height:1.5em">
' If $Head
<a href="$Server?page=$Page&wid=$WID&ctid=$CTID&text=$Text$$Arg">先頭へ</a> |
' If $Head > $Rows
' $Prev = $Head - $Rows
<a href="$Server?page=$Page&wid=$WID&ctid=$CTID&text=$Text&head=$Prev$$Arg"><< 前の$Rows件へ</a>
' Else
<a href="$Server?page=$Page&wid=$WID&ctid=$CTID&text=$Text$$Arg"><< 前の$Rows件へ</a>
' EndIf
' Else
<font color="#888888">先頭へ | << 前の$Rows件へ</font>
' EndIf
' If $Next
| <a href="$Server?page=$Page&wid=$WID&ctid=$CTID&text=$Text&head=$Next$$Arg">次の$Rows件へ >></a>
' Else
<font color="#888888">| 次の$Rows件へ >></font>
' EndIf
</div>
</td></tr>
</table>
</td>
</tr></table></p>