當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。