當前位置: 首頁>>代碼示例>>PHP>>正文


PHP BigTree::gravatar方法代碼示例

本文整理匯總了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;
?>
開發者ID:keyanmca,項目名稱:BigTree-CMS,代碼行數:31,代碼來源:_header.php

示例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"]));
開發者ID:matthisamoto,項目名稱:Graphfan,代碼行數:31,代碼來源:default.php

示例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 
開發者ID:kurt-planet,項目名稱:BigTree-CMS,代碼行數:31,代碼來源:get-page.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"];
開發者ID:kurt-planet,項目名稱:BigTree-CMS,代碼行數:31,代碼來源:revisions.php

示例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 
開發者ID:matthisamoto,項目名稱:Graphfan,代碼行數:31,代碼來源:edit.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) {
開發者ID:kurt-planet,項目名稱:BigTree-CMS,代碼行數:31,代碼來源:default.php

示例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 
開發者ID:kurt-planet,項目名稱:BigTree-CMS,代碼行數:31,代碼來源:view.php


注:本文中的BigTree::gravatar方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。