Пример #1
0
function ao_partners()
{
    ?>
    <style>
    .itemDetail {
        background: #fff;
        width: 250px;
        min-height: 270px;
        border: 1px solid #ccc;
        float: left;
        padding: 15px;
        position: relative;
        margin: 0 10px 10px 0;
    }
    .itemTitle {
        margin-top:0px;
        margin-bottom:10px;
    }
    .itemImage {
        text-align: center;        
    }
    .itemImage img {
        max-width: 95%;
        max-height: 150px;
    }
    .itemDescription {
        margin-bottom:30px;
    }
    .itemButtonRow {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width:100%;
    }
    .itemButton {
        float:right;
    }
    .itemButton a {
        text-decoration: none;
        color: #555;
    }
    .itemButton a:hover {
        text-decoration: none;
        color: #23282d;
    }    
    </style>
    <div class="wrap">
        <h1><?php 
    _e('Autoptimize Settings', 'autoptimize');
    ?>
</h1>
        <?php 
    echo autoptimizeConfig::ao_admin_tabs();
    ?>
        <?php 
    _e("<h2>These Autoptimize power-ups and related services will improve your site's performance even more!</h2>", "autoptimize");
    ?>
        <div>
            <?php 
    getAOPartnerFeed();
    ?>
        </div>
    </div>
    <?php 
}