Ejemplo n.º 1
0
	</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;
?>
Ejemplo n.º 2
0
            $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"]));
Ejemplo n.º 3
0
    $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 
Ejemplo n.º 4
0
?>
<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"];
Ejemplo n.º 5
0
<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 
Ejemplo n.º 6
0
    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) {
Ejemplo n.º 7
0
    ?>
	<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