<?php $db = new SQL(0); $info = $db->cmdrow(0, 'SELECT T1.*,T2.*,T3.right FROM user_list as T1 LEFT JOIN user_action as T2 ON T1.id=T2.user LEFT JOIN user_rights as T3 ON T1.id=T3.user AND T3.right="expert" WHERE T1.id={0} LIMIT 0,1', array($params["user_id"])); $str = WebCache::get("http://www.gravatar.com/" . md5(strtolower(trim($info["email_standard"]))) . ".json", 10000, array("entry", "}")); $gdata = json_decode($str, true); PageEngine::html("html_head", array("title" => _h("{0}'s Profil", array($info["username"])), "description" => BBCode::strip($info["biography"]))); PageEngine::html("header", array("searchquery" => isset($_GET["query"]) ? $_GET["query"] : "")); ?> <div id="Content" class="content-wrapper PageUserprofile"> <article class="vcard contact hcard"> <h1 class="search-result-summary"><?php echo _e("{0}'s Profil-Übersicht", array(0 => $info["username"])); ?> </h1> <?php PageEngine::html("box_userprofile_navi", array("id" => $info["id"], "name" => $info["username"])); ?> <table class="wrapper"><tr style="vertical-align: top;"> <td style="text-align: center;"> <div class="box_gravatar" style="width:140px; height:140px margin-bottom: 10px; position: relative;"> <img class="profile photo" src="http://www.gravatar.com/avatar/<?php echo md5($info["email_standard"]); ?> ?s=140&d=identicon" style="border: #EEE 1px solid; padding: 5px; border-radius: 3px; ">
private function strip($in) { $bb = new BBCode(); return $bb->strip($in); }
}); $(".commenteditor .addcommentbtn").click(function() { $(this).hide(300); $(this).parent().find(".editor").show(300); }); $(".commenteditor textarea").keyup(function() { var a = $(this).val().length; if (a < 10) { $(this).parent().find(".counter").text("noch "+(10-a)+" Mindestzeichen"); } else { $(this).parent().find(".counter").text((320-a)+" Zeichen übrig"); } }); $(".commenteditor .button.cancel").click(function() { $(this).parent().hide(300); $(this).parent().parent().parent().parent().find(".addcommentbtn").show(300); }); }); </script> <div class="clearfix"></div> <?php if (count($answers) > 0) { ?> <div style="margin-bottom: 15px; padding-left: 7px; width: 723px; margin-top: 10px; background-color: #EFF5F6; height: 30px; line-height:30px;"> <div class="tabBar tabBar-answer"> <div class="tabsA"> <span class="label">Sortiere nach »</span> <a id="oldest" href="?sort=oldest" title="Älteste Antworten werden als Erstes angezeigt" class="<?php