本文整理汇总了PHP中BigTree::gravatar方法的典型用法代码示例。如果您正苦于以下问题:PHP BigTree::gravatar方法的具体用法?PHP BigTree::gravatar怎么用?PHP BigTree::gravatar使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BigTree
的用法示例。
在下文中一共展示了BigTree::gravatar方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: if
</head>
<body class="bigtree">
<header class="main">
<section>
<a href="<? if ($bigtree["config"]["force_secure_login"]) { echo str_replace("http://","https://",ADMIN_ROOT); } else { echo ADMIN_ROOT; } ?>login/logout/" class="logout"><span></span>Logout</a>
<div></div>
<p class="messages"><a href="<?php
echo ADMIN_ROOT;
?>
dashboard/messages/"><?php
echo $unread_messages;
?>
Unread Messages</a></p>
<div></div>
<p class="welcome"><span class="gravatar"><img src="<?php
echo BigTree::gravatar($admin->User, 28);
?>
" alt="" /></span>Welcome Back <a href="<?php
echo ADMIN_ROOT;
?>
users/profile/"><?php
echo $admin->Name;
?>
</a></p>
<strong><?php
echo $site["nav_title"];
?>
</strong>
<a href="<?php
echo WWW_ROOT;
?>
示例2: date
$x = 0;
}
$x++;
?>
<li class="page_<?php
echo $page;
?>
"<?php
if ($page > 0) {
?>
style="display: none;"<?php
}
?>
>
<section class="messages_from_to"><span class="gravatar"><img src="<?php
echo BigTree::gravatar($item["sender_email"], 36);
?>
" alt="" /></span><?php
echo $item["sender_name"];
?>
</section>
<section class="messages_subject"><?php
echo $item["subject"];
?>
</section>
<section class="messages_date_time"><?php
echo date("n/j/y", strtotime($item["date"]));
?>
</section>
<section class="messages_date_time"><?php
echo date("g:ia", strtotime($item["date"]));
示例3: array
$valid_columns = array("name", "company", "email");
if (in_array($_GET["sort"], $valid_columns)) {
$sort_by = $_GET["sort"];
}
}
$sort_dir = isset($_GET["sort_direction"]) && $_GET["sort_direction"] == "DESC" ? "DESC" : "ASC";
$pages = $admin->getUsersPageCount($query);
$results = $admin->getPageOfUsers($page, $query, "`{$sort_by}` {$sort_dir}");
foreach ($results as $item) {
?>
<li id="row_<?php
echo $item["id"];
?>
">
<section class="view_column users_name"><span class="gravatar"><img src="<?php
echo BigTree::gravatar($item["email"], 36);
?>
" alt="" /></span><?php
echo $item["name"];
?>
</section>
<section class="view_column users_email"><?php
echo $item["email"];
?>
</section>
<section class="view_column users_company"><?php
echo $item["company"];
?>
</section>
<section class="view_action">
<?php
示例4: foreach
?>
<span class="active_draft">Active</span></section>
<section class="pages_delete"><a href="#" class="icon_save"></a></section>
<section class="pages_publish"></section>
<section class="pages_edit"></section>
</li>
<?php
foreach ($revisions["unsaved"] as $r) {
?>
<li>
<section class="pages_last_edited"><?php
echo date("F j, Y @ g:ia", strtotime($r["updated_at"]));
?>
</section>
<section class="pages_draft_author"><span class="gravatar"><img src="<?php
echo BigTree::gravatar($r["email"], 36);
?>
" alt="" /></span><?php
echo $r["name"];
?>
</section>
<section class="pages_delete"><a href="#<?php
echo $r["id"];
?>
" class="icon_save"></a></section>
<section class="pages_publish"><a href="#<?php
echo $r["id"];
?>
" class="icon_draft"></a></section>
<section class="pages_edit"><a href="#<?php
echo $r["id"];
示例5:
<span class="form_error_reason">Already In Use By Another User</span><?php
}
?>
</label>
<input type="text" class="required email" name="email" autocomplete="off" value="<?php
echo $email;
?>
" tabindex="1" />
<span class="gravatar"<?php
if ($email) {
?>
style="display: block;"<?php
}
?>
><img src="<?php
echo BigTree::gravatar($email, 36);
?>
" alt="" /></span>
</fieldset>
<fieldset>
<label>Password <small>(Leave blank to remain unchanged)</small></label>
<input type="password" name="password" value="" tabindex="3" autocomplete="off" id="password_field" />
</fieldset>
<?php
if ($user["id"] != $admin->ID) {
?>
<fieldset>
<label class="required">User Level</label>
<select name="level" tabindex="5" id="user_level">
<option value="0"<?php
示例6: foreach
include BigTree::path("admin/layouts/_header.php");
}
?>
<div id="page">
<?php
if ($bigtree["page"]["title"] && !defined("BIGTREE_404")) {
?>
<h1>
<span class="page_icon <?php
echo $bigtree["page"]["icon"];
?>
"><?php
if ($bigtree["page"]["icon"] == "gravatar") {
?>
<img src="<?php
echo BigTree::gravatar($bigtree["gravatar"]);
?>
" alt="" /><?php
}
?>
</span>
<?php
$x = 0;
foreach ($breadcrumb as $item) {
$x++;
?>
<a href="<?php
echo ADMIN_ROOT . $item["link"];
?>
/" class="<?php
if ($x == 1) {
示例7:
?>
<section<?php
if ($m["selected"]) {
?>
class="selected"<?php
}
?>
>
<header>
<h3><?php
echo $m["subject"];
?>
</h3>
<div class="from">
<span class="gravatar"><img src="<?php
echo BigTree::gravatar($sender_gravatar);
?>
" alt="" /></span>
<p><?php
echo $sender_name;
?>
</p>
</div>
</header>
<article>
<?php
echo $m["message"];
?>
</article>
</section>
<?php