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


PHP Account::makeFotoIterator方法代码示例

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


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

示例1: time

<?php

$t = time();
?>
    <h1><?php 
echo $acc->getName();
?>
</h1>
    <div class="col-md-4">
        <?php 
Account::makeFotoIterator($acc->admin_foto, "responsive");
?>
        <div style="padding-top: 10px;">
            <button id="inboxComposeProfile<?php 
echo $acc->admin_id;
?>
" data-toggle="modal" data-target="#myModal"
                    type="button" class="btn btn-primary btn-block"><?php 
echo Lang::t('Send Message');
?>
</button>
            <script type="text/javascript">
                $('#inboxComposeProfile<?php 
echo $acc->admin_id;
?>
').click(function (event) {
                    event.preventDefault();
                    $('#myModalLabel').empty().append('<?php 
echo Lang::t('Compose Message');
?>
');
开发者ID:CapsuleCorpIndonesia,项目名称:elang-combo,代码行数:31,代码来源:profile.php

示例2:

<div class="row widgethead">
    <div class="col-md-12">
        <h3><?php 
echo Lang::t('Homeroom');
?>
</h3>
    </div>
</div>
<hr/>
<div class="row" style="margin-top: 10px;">
    <div onclick="openProfile('<?php 
echo $guru->account_id;
?>
');" class="col-lg-3 col-md-3 col-sm-5 col-xs-5">
        <?php 
Account::makeFotoIterator($guru->foto, "responsive");
?>
    </div>
    <div class="col-md-8 col-lg-8 col-sm-7 col-xs-7" style="margin-left: 0; padding-left: 0;">
        <div onclick="openProfile('<?php 
echo $guru->account_id;
?>
');" class="namahomeroom"
             style="font-size: 17px; font-weight: bold;"><?php 
echo $guru->getName();
?>
</div>
        <small><?php 
echo Lang::t('Homeroom');
?>
 <?php 
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:31,代码来源:homeroom_widget.php

示例3:

<h1><?php 
echo $roleObj->getName();
?>
</h1>
<div class="col-md-4">
    <?php 
Account::makeFotoIterator($roleObj->foto, "responsive");
?>

    <h3><?php 
echo Lang::t('Gallery');
?>
</h3>
    <?php 
$roleObj->getGallery($roleObj->account_id);
?>

</div>
<div class="col-md-8">
    <div class="table-responsive">
        <h3 style="padding-left: 10px;"><?php 
echo Lang::t('Account Details');
?>
</h3>
        <table class="table table-striped">
            <tr>
                <td>
                    <?php 
echo Lang::t('Username');
?>
 :
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:31,代码来源:myprofile.php

示例4:

<div class="col-md-2 col-lg-2 col-sm-4 col-xs-6" onclick="openProfile('<?php 
echo $murid->account_id;
?>
');">
    <?php 
Account::makeFotoIterator($murid->foto, "responsive");
?>
    <div
        style="text-align: center; margin-bottom: 20px; margin-top: 5px; font-weight: bold;"><?php 
echo $murid->getName();
?>
</div>
</div>
<?php 
//pr($murid);
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:15,代码来源:printEinzelAsBadge.php

示例5: myCollagues

    public function myCollagues()
    {
        $targetID = isset($_GET['kelasid']) ? addslashes($_GET['kelasid']) : die("No Target ID");
        $acc = new AccountMeta();
        $arrM = $acc->getWhere("meta_key = 'RoleOrganization' AND meta_value = '{$targetID}'");
        $arrAcc = array();
        foreach ($arrM as $mt) {
            $ac = new Account();
            $ac->getByID($mt->account_id);
            $arrAcc[$mt->account_id]['acc'] = $ac;
            $arrAcc[$mt->account_id]['meta'] = $mt;
        }
        ?>
<h3 style="background-color: #dedede; padding: 5px; font-size: 18px;"><?php 
        echo Lang::t('My Colleagues');
        ?>
</h3>
        <?php 
        //pr($arrAcc);
        $nrRow = 4;
        foreach ($arrAcc as $a) {
            $murid = $a['acc'];
            ?>
<style type="text/css">
    .fotoresponsive {
    // padding : 10 px;
    // background-color : white;
    height: 91px;
    overflow: hidden;
    }
	.foto50{
		height: 50px;
		overflow: hidden;
	}
</style>
<div  style="cursor:pointer; float: left; width: 70px; height:120px; overflow:hidden; padding: 10px;"
     onclick="openProfile('<?php 
            echo $murid->admin_id;
            ?>
');">

    <?php 
            Account::makeFotoIterator($murid->admin_foto, 50);
            ?>
    <div style="text-align: center; margin-bottom: 15px; margin-top: 5px; font-size: 11px;">
        <?php 
            echo getNamaPendek($murid->getName());
            ?>
    </div>
</div>
<?php 
        }
    }
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:53,代码来源:PortalHierarchy.php


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