⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default-report.vm

📁 Jive Forums 论坛源码 v4.2.3
💻 VM
📖 第 1 页 / 共 2 页
字号:
#end
</table>
</div>

<br /><br /><br /><br /><br />

#foreach ($report in $reports)

    #set($reportCount = $velocityCount)

    <a name="r${reportCount}"></a>

    <div class="report-main">

    <table cellpadding="0" cellspacing="0" border="0" width="500">
    <tr>
        <th width="1%">
            <div class="report-title">
            $reportCount)&nbsp;
            </div>
        </th>
        <th width="98%">
            <div class="report-title">
            $report.getName()
            <span style="font-size:0.8em;font-weight:normal;">
            &nbsp; (<a href="#toc">top</a>)
            </span>
            </div>
        </th>
        <th width="1%">

            #foreach ($icsv in $report.getImageCSV())

                #if ($velocityCount == 1)

                    <table cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td>&nbsp;<b>CSV</b>&nbsp;</td>
                        <td><a href="csv/icsv_${reportCount}_1.csv"><img src="csv.gif" width="16" height="16" border="0"></a></td>
                    </tr>
                    </table>

                #end

            #end

        </th>
    </tr>
    <tr>
        <td colspan="3">
            <div class="report-description">
            $report.getDescription()
            </div>
        </td>
    </tr>

    #foreach ($xinfo in $report.getExtraInfo())

        #if ($velocityCount == 1)

            <tr>
                <td colspan="3">

                    #foreach ($item in $xinfo)

                        <div class="report-extrainfo">
                        &#149; $item.getKey(): $item.getValue()
                        </div>

                    #end

                </td>
            </tr>

        #end

    #end

    #foreach ($chart in $report.getCharts())

        #set ($formname = $reportCount)

        #if ($velocityCount == 1)

            <tr>
                <td colspan="3">
                    <div class="report-nav">
                    <table cellpadding="2" cellspacing="0" border="0" width="100%">
                    <form name="f${formname}">
                    <tr>
                        <td width="90%" nowrap>
                            <select size="1" name="spinner${velocityCount}" class="jump-pulldown"
                             onchange="document.images['img${reportCount}'].src=this.options[this.selectedIndex].value;">

                                #foreach ($innerChart in $report.getCharts())

                                    <option value="images/chart_${reportCount}_${velocityCount}.png">
                                        Chart: $innerChart.getTitle()
                                    </option>

                                #end

                            </select>

                            <script language="JavaScript" type="text/javascript">
                            registerSpinner(document.f${reportCount}.spinner${velocityCount});
                            </script>
                        </td>
                    </tr>
                    </form>
                    </table>
                    </div>
                </td>
            </tr>

            <tr align="center">
                <td colspan="3">
                    <img src="images/chart_${reportCount}_1.png" width="500" height="250" border="0" id="img${reportCount}" />

                    #foreach ($c in $report.getCharts())

                        ## See if there is more than one chart
                        #if ($velocityCount == 2)

                            <br>
                            This is a summary graph - <a href="r${reportCount}.html">click for more details</a>.

                        #end

                    #end
                </td>
            </tr>

        #end

    #end

    </table>

    #foreach ($table in $report.getDataTables())

        #set ($tableIndex = $velocityCount)

        #if ($table)

            <br />

            <table cellpadding="3" cellspacing="0" border="0" width="500">
            <tr>
                <th width="99%" align="left">
                    <b>$table.getTitle()</b>
                </th>
                <th width="1%" nowrap>
                    <table cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td><b>CSV:</b>&nbsp;</td>
                        <td><a href="csv/dcsv_${reportCount}_${tableIndex}.csv"><img src="csv.gif" width="16" height="16" border="0"></a></td>
                    </tr>
                    </table>
                </th>
            </tr>

            #if ($table.getDescription())

                <tr>
                    <td colspan="2">
                        $table.getDescription()
                    </td>
                </tr>

            #end

            </table>

            <div class="data-table">
            <table cellpadding="2" cellspacing="0" border="0" width="500">
            <tr>
                #foreach ($column in $table.getColumns())

                    <th>$column</th>

                #end
            </tr>

            #foreach ($row in $table.getRows())

                #set ($rowCount = $velocityCount)

                <tr class="#evenodd($velocityCount)">

                    #foreach ($item in $row)

                        #set($class = "")

                        #if ($velocityCount == 1)
                            #set($class = "label")
                        #end

                        #if ($velocityCount == 1 && $table.isOrderedList())
                            #set($showCount = true)
                        #else
                            #set($showCount = false)
                        #end

                        <td class="${class}">
                            #if ($showCount)
                                ${rowCount}.&nbsp;
                            #end
                            $item
                        </td>

                    #end
                </tr>

            #end
            </table>
            </div>

        #end

    #end

    <br /><br /><br /><br />

    </div>

#end

<br /><br />

<div class="help-title">
Help
<span style="font-size:0.8em;font-weight:normal;">
&nbsp; (<a href="#top">top</a>)
</span>
</div>

<div class="help-content">
<ul>
    <li>
        <div class="help-item">
        <div class="help-title">
        <a name="reportresultsummary"></a>
        Report Result Summary
        </div>
        <div class="help-item-body">
        This section provides a brief summary of the actual report: report execution time,
        who ran the report ("System" means it was run by the application, not by a user), the date
        the report was generated as well as the timezone for all dates.
        </div>
        </div>
    </li>
    <li>
        <div class="help-item">
        <div class="help-title">
        <a name="quickforumssummary"></a>
        Quick Forums Summary
        </div>
        <div class="help-item-body">
        This is a summary of all forum content. Numbers of categories, forums, threads, messages,
        users and groups are displayed.
        </div>
        </div>
    </li>
    <li>
        <div class="help-item">
        <div class="help-title">
        <a name="environmentsummary"></a>
        Environment Summary
        </div>
        <div class="help-item-body">
        This is a summary of the environment in which the report was executed.
        </div>
        </div>
    </li>
    <li>
        <div class="help-item">
        <div class="help-title">
        <a name="generatedreports"></a>
        Generated Reports
        </div>
        <div class="help-item-body">
        This table provides quick links to each individual report.
        </div>
        </div>
    </li>
    <li>
        <div class="help-item">
        <div class="help-title">
        <a name="forums"></a>
        Forums Included In Report
        </div>
        <div class="help-item-body">
        This is a simple listing of all forums used when running reports over forum content.
        Where applicable you can use the chart pulldown to see results from an individual
        forum.
        </div>
        </div>
    </li>
</ul>
</div>

<br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br />

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -