当前位置: 首页>>代码示例>>PHP>>正文


PHP content::drawFooter方法代码示例

本文整理汇总了PHP中content::drawFooter方法的典型用法代码示例。如果您正苦于以下问题:PHP content::drawFooter方法的具体用法?PHP content::drawFooter怎么用?PHP content::drawFooter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在content的用法示例。


在下文中一共展示了content::drawFooter方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Insert new API Key</h3>
                    </div>
                    <div class="panel-body">
                        <i class="fa fa-warning fa-fw"></i> Please only add relevant characters to your account <br>
                        <i class="fa fa-warning fa-fw"></i> More characters means longer login times <br><br>
<?php 
api_val_form($character_get, $con);
?>
</div>
                </div>
            </div>
        </div>
<?php 
$content->drawFooter();
?>
</div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-8 -->
                
                <!-- /.col-lg-4 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <script>
    $(document).ready(function() {
开发者ID:marcfeather,项目名称:EveTradeMaster,代码行数:31,代码来源:api_add.php

示例2: drawDashTable

function drawDashTable($character_get, $getTransactions)
{
    $content2 = new content();
    ?>
            <div class="panel-body">
                 <div class="dataTable_wrapper">
                    <table class="table table-striped table-bordered table-hover" id="dataTables-dashboard">
                       <thead>
                            <tr>
                            <th>Item</th>
                            <th>Time</th>
                            <th>Type</th>
                            <th>Q</th>
                            <th>ISK/u</th>
                            <th>Station</th>
                            </tr>
                        </thead>
                        <tbody>
                                               
                                                <?php 
    while ($pow = mysqli_fetch_array($getTransactions, MYSQLI_ASSOC)) {
        $typeid = $pow['item_id'];
        $name = $pow['item_name'];
        $time = $pow['time'];
        $transaction = $pow['transaction_type'];
        if ($transaction == 'Buy') {
            $icon_trans = "<img src='../assets/buy.png'>";
            $t = "<font color='white'>1</font>";
        } else {
            $icon_trans = "<img src='../assets/sell.png'>";
            $t = "<font color='white'>2</font>";
        }
        $quantity = $pow['quantity'];
        $price_unit = $pow['price_unit'];
        $imgpath = "../Types/" . $typeid . "_32.png";
        $stationName = $pow['station_name'];
        echo "<tr><td>" . "<img src='{$imgpath}'>" . $name . "</td>" . "<td>" . $time . "</td>" . "<td>" . $t . $icon_trans . "</td>" . "<td align = 'right'>" . $quantity . "</td>" . "<td align = 'right'>" . number_format($price_unit) . "</td>" . "<td>" . $stationName . "</td></tr>";
    }
    ?>
                                                
                                            </tbody>
                                        </table>
                                    </div>
                                    <!-- /.table-responsive -->
                                <!-- /.col-lg-4 (nested) -->
                                <!-- /.col-lg-8 (nested) -->
                            <!-- /.row -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <?php 
    $content2->drawFooter();
    ?>
                        </div>
                        <!-- /.panel-body -->
                    
                    <!-- /.panel -->
                </div>
<?php 
}
开发者ID:marcfeather,项目名称:EveTradeMaster,代码行数:63,代码来源:dashboard.php


注:本文中的content::drawFooter方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。