echo $d == "03" ? 'SELECTED="SELECTED"' : ''; ?> >März</OPTION> <OPTION value="04" <?php echo $d == "04" ? 'SELECTED="SELECTED"' : ''; ?> >April</OPTION> <OPTION value="05" <?php echo $d == "05" ? 'SELECTED="SELECTED"' : ''; ?> >Mai</OPTION> <OPTION value="06" <?php echo $d == "06" ? 'SELECTED="SELECTED"' : ''; ?> >Juni</OPTION> <OPTION value="07" <?php echo $d == "07" ? 'SELECTED="SELECTED"' : ''; ?> >Juli</OPTION> <OPTION value="08" <?php echo $d == "08" ? 'SELECTED="SELECTED"' : ''; ?> >August</OPTION> <OPTION value="09" <?php echo $d == "09" ? 'SELECTED="SELECTED"' : ''; ?> >September</OPTION> <OPTION value="10" <?php echo $d == "10" ? 'SELECTED="SELECTED"' : ''; ?> >Oktober</OPTION>
<a class="author" href="<?php echo UserProfile::ProfilePermaLink($row["author"], $row["authorname"]); ?> "><img class="gravatar photo" src="http://www.gravatar.com/avatar/<?php echo md5($row["authoremail"]); ?> ?s=32&d=identicon" title="<?php echo html($row["authorname"]); ?> " alt="<?php echo html($row["authorname"]); ?> Gravatar-Bild"></a> <?php if ($row["authorexpert"] == "expert") { echo '<img class="expert icon" src="' . get_path("/skins/default/images/icons/expert.png") . '" TITLE="Der User ist Experte in diesem Thema"/>'; } ?> </div> <a class="charakter" href="<?php echo UserProfile::ProfilePermaLink($row["author"], $row["authorname"]); ?> "><?php echo html($row["authorname"]); if ($row["country"] != "" and $row["show_country"] == "1") { echo '<img class="flag" src="' . get_path("/skins/default/images/flags/16x11/" . strtolower($row["country"]) . ".png") . '"/>'; } ?> </a><br/> <span class="reputation-score" title=""><?php echo $row["authorkarma"];
<div id="Content" class="content-wrapper PageUsers"> <article class="ContentLeft"> <div class="tabBar"> <div id="sort_tabs" class="tabsA"> <span class="label"><?php echo _e("Sort by »"); ?> </span> <a id="by_karma" href="<?php echo URL::addVar("sort", "karma"); ?> " class="sortby" title="sort by Karma"><span>Karma</span></a> <a id="by_name" href="<?php echo URL::addVar("sort", "name"); ?> " class="sortby" title="sort by Username"><span>Name</span></a> </div></div> <h1 class="search-result-summary"><?php echo _e("{n} Users", array("n" => $AnzahlUsers)); ?> </h1> <div class="clearfix"></div> <section class="tag-list tags"> <?php foreach ($rows as $row) { echo '<div class="user" style="float:left; position: relative; width:180px; height:32px; overflow: hidden; margin-bottom: 5px;">'; echo '<a href="' . UserProfile::ProfilePermaLink($row["id"], $row["username"]) . '"><img class="gravatar" width="32" height="32" src="http://www.gravatar.com/avatar/' . md5(strtolower(trim($row["email_standard"]))) . '?s=32&d=mm" title="' . html($row["username"]) . '" alt="' . _e("{0}'s Gravatar Image") . '">'; if ($row["is_expert"] == "expert") { echo '<img src="' . get_path("/skins/default/images/icons/expert.png") . '" TITLE="' . _e("Expert for this Subject") . '" style="width:8px; height:8px; position: absolute; top:24px; left: 28px;"/>'; } echo '<span class="username">' . html($row["username"]) . '</span></a>';
<tr><th><?php echo _e("Facebook likes:"); ?> </th><td><?php echo _e("{1} Likes", array($d["like_count"], number_format($d["like_count"], 0, ",", "."))); ?> </td></tr> <tr><th><?php echo _e("Facebook shares:"); ?> </th><td><?php echo _e("{1} Shares", array($d["share_count"], number_format($d["share_count"], 0, ",", "."))); ?> </td></tr> <tr><th><?php echo _e("Facebook clicks:"); ?> </th><td><?php echo _e("{1} Clicks", array($d["click_count"], number_format($d["click_count"], 0, ",", "."))); ?> </td></tr> <tr><th><?php echo _e("Last contributor:"); ?> </th><td><a href="<?php echo UserProfile::ProfilePermaLink($params["data"]["user_action"], $params["data"]["user_actionname"]); ?> "><?php echo html($params["data"]["user_actionname"]); ?> </a></td></tr>
echo _e("views"); ?> </div> </div> <div class="countbox answers <?php echo $row["count_answers"] > 0 ? "some-answers" : "no-answers"; ?> <?php echo $row["is_answered"] == "1" ? "answered" : ""; ?> "> <span class="item-count"><?php echo format_blocknumber($row["count_answers"]); ?> </span> <div><?php echo _e("answers"); ?> </div> </div> <div class="countbox votes <?php echo $row["count_votes"] > 0 ? "some-votes" : "no-votes"; ?> "> <span class="item-count"><?php echo format_blocknumber($row["count_votes"]); ?> </span> <div><?php echo _e("votes"); ?> </div> </div> <div class="clearfix"></div> <div class="userinfo"> <abbr class="timeago" title="<?php echo date(_h("j. M Y H:i:s T"), $row["date_action"]); ?>
<?php if (MyUser::id() == $params["id"]) { ?> <li><a href="<?php echo UserProfile::ProfilePermaLink($params["id"], $params["name"], "inbox"); ?> ">Postfach</a></li> <?php } ?> <li><a href="<?php echo UserProfile::ProfilePermaLink($params["id"], $params["name"], "karma"); ?> ">Karma</a></li> <li><a href="<?php echo UserProfile::ProfilePermaLink($params["id"], $params["name"], "badges"); ?> ">Abzeichen</a></li> <?php if (MyUser::hasAdminRight()) { echo '<li><a href="' . UserProfile::ProfilePermaLink($params["id"], $params["name"], "rights") . '">Rechte</a></li>'; } ?> </ul> <div class="clearfix"></div> <style> ul.navibar { display: block; margin-bottom: 15px; background-color: #EFF5F6; height: 30px; line-height: 30px; font-family: Georgia,serif; font-size: 16px; padding: 0px 0px 0px 10px; border-radius: 5px; } ul.navibar li { list-style: none; float: left; padding: 0px 10px; border-left: 1px solid #D0E1E4; } ul.navibar li:first-child { border-left: none; } ul.navibar li a { color: #7EA9B3; } ul.navibar li:hover a { color: #4A757F; }
public static function getProfileURL($subsite = null) { return UserProfile::ProfilePermaLink($_SESSION["myuser"]["id"], $_SESSION["myuser"]["username"], $subsite); }
<div id="contrib-users" class="widget"> <h2 class="contributorback"><?php echo _e("Contributors"); ?> </h2> <?php $db = new SQL(0); $rows = $db->cmdrows(0, 'SELECT T1.id, T1.username ,T1.email_standard as email ,T2.last_writeaction FROM user_list as T1 LEFT JOIN user_action as T2 ON T1.id=T2.user WHERE 1 GROUP BY T1.id ORDER BY T2.last_writeaction DESC LIMIT 0,16'); foreach ($rows as $row) { echo '<a style="text-decoration:none" href="' . UserProfile::ProfilePermaLink($row["id"], $row["username"]) . '"><img class="gravatar" width="48" height="48" src="http://www.gravatar.com/avatar/' . md5(strtolower(trim($row["email"]))) . '?s=48&d=mm" title="' . html($row["username"]) . '" alt="' . _e("{0}'s Gravatar Image", array($row["username"])) . '"></a>'; } ?> </div>
</a></td></tr> <tr><th>Wohnort:</th><td class="adr"><span class="locality location"><?php echo html($info["location"]); ?> </span> <?php if ($info["country"] != "" and $info["show_country"] == "1") { echo '<img class="flag" src="' . get_path("/skins/default/images/flags/16x11/" . strtolower($info["country"]) . ".png") . '"/>'; } ?> <span class="country-name hidden">Deutschland</span></td></tr> <tr><th>Skype:</th><td class="skype status status0"><?php echo isset($info["SkypeID"]) && $info["SkypeID"] . "" != "" ? '<a href="skype:' . html($info["SkypeID"]) . '?call"><img src="http://mystatus.skype.com/smallclassic/' . html($info["SkypeID"]) . '" style="border: none;" width="114" height="20" alt="Mein Status" /></a>' : ''; ?> </td></tr> <tr><th>Google+:</th><td><?php if (isset($info["GooglePlus"]) && $info["GooglePlus"] . "" != "") { echo '<div class="g-plus" data-height="69" data-href="' . html($info["GooglePlus"]) . '" data-rel="author"></div><a href="' . html($info["GooglePlus"]) . '?rel=author"></a>'; } ?> </td></tr> <tr><th>Alter:</th><td><?php function alter($datum) { list($y, $m, $d) = explode('-', $datum); $alter = date("Y") - $y; $monat = date("m"); if ($monat < $m or $monat == $m and $d > date("d")) { $alter--; } return $alter;