本文整理汇总了PHP中view_avatar函数的典型用法代码示例。如果您正苦于以下问题:PHP view_avatar函数的具体用法?PHP view_avatar怎么用?PHP view_avatar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了view_avatar函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: setHtml
public function setHtml()
{
global $session;
$html = array();
if ($result = $this->getRecords()) {
foreach ($result as $key => $value) {
$pfx = $value['from_id'] == $this->_engine->uid ? 't_' : 'f_';
list($msg_text, $login, $uname, $usurname) = $this->mark(array((string) $value['msg_text'], (string) $value[$pfx . 'login'], (string) $value[$pfx . 'uname'], (string) $value[$pfx . 'usurname']));
$msg_text = preg_replace('~(https?:/){[^}]+}/~', '$1/', $msg_text);
$html[$key] = '<table cellpadding="0" cellspacing="0">';
$html[$key] .= '<tr>';
$html[$key] .= '<td style="vertical-align: top; padding-right: 8px;">';
$html[$key] .= '<div class="upic">' . view_avatar($value[$pfx . 'login'], $value[$pfx . 'photo']) . '</div>';
$html[$key] .= '</td>';
$html[$key] .= '<td style="vertical-align: top;">';
$html[$key] .= view_mark_user($value, $pfx);
$html[$key] .= $session->view_online_status($value[$pfx . 'login']);
//if ($value[$pfx . 'is_pro'] == 't') $html[$key] .= (is_emp($value[$pfx . 'role']) ? view_pro_emp() : view_pro2($value[$pfx . 'is_pro_test']=='t'));
$cls = is_emp($value[$pfx . 'role']) ? 'class="empname11"' : 'class="frlname11"';
$html[$key] .= ' <font ' . $cls . '><a href="/users/' . $value[$pfx . 'login'] . '" title="' . $value[$pfx . 'uname'] . ' ' . $value[$pfx . 'usurname'] . '" ' . $cls . ' >' . $uname . ' ' . $usurname . '</a> [<a href="/users/' . $value[$pfx . 'login'] . '/" title="' . $value[$pfx . 'login'] . '" ' . $cls . '>' . $login . '</a>]</font>';
if ($msg_text != '') {
$html[$key] .= '<div style="margin-top: 4px;"><a href="/contacts/?from=' . $value[$pfx . 'login'] . '">' . reformat($msg_text, 80, 0, 1) . '</a></div>';
}
$html[$key] .= '</td>';
$html[$key] .= '</tr>';
$html[$key] .= '</table>';
}
}
$this->html = $html;
}
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:30,代码来源:search_element_messages.php
示例2: setHtml
/**
*/
public function setHtml()
{
global $session;
$html = array();
if ($result = $this->getRecords()) {
foreach ($result as $key => $value) {
list($text, $login, $uname, $usurname) = $this->mark(array((string) $value['n_text'], (string) $value['login'], (string) $value['uname'], (string) $value['usurname']));
$html[$key] = '<table cellpadding="0" cellspacing="0" style="width: 100%;">';
$html[$key] .= '<tr>';
$html[$key] .= '<td style="vertical-align: top; padding-right: 8px; width: 50px;">';
$html[$key] .= '<div class="upic">' . view_avatar($value['login'], $value['photosm']) . '</div>';
$html[$key] .= '</td>';
$html[$key] .= '<td style="vertical-align: top">';
$html[$key] .= view_mark_user($value);
$html[$key] .= $session->view_online_status($value['login']);
//if ($value['is_pro'] == 't') $html[$key] .= (is_emp($value['role']) ? view_pro_emp() : view_pro2($value['is_pro_test']=='t'));
$cls = is_emp($value['role']) ? 'class="empname11"' : 'class="frlname11"';
$html[$key] .= ' <font ' . $cls . '><a href="/users/' . $value['login'] . '" title="' . $value['uname'] . " " . $value['usurname'] . '" ' . $cls . ' >' . $uname . " " . $usurname . '</a> [<a href="/users/' . $value['login'] . '/" title="' . $value['login'] . '" ' . $cls . '>' . $login . '</a>]</font>';
$html[$key] .= '</td>';
$html[$key] .= '<td style="width: 180px;height: 64px;" class="note_' . (is_emp($value['role']) ? 'emp' : 'frl') . '">';
$html[$key] .= $text;
$html[$key] .= '</td>';
$html[$key] .= '</tr>';
$html[$key] .= '</table>';
}
}
$this->html = $html;
}
开发者ID:notUserDeveloper,项目名称:fl-ru-damp,代码行数:30,代码来源:search_element_notes.php
示例3: comments
/**
* Выводит дерево комментариев. Используется здесь и в xajax/contest.server.php
* @param integer $pid id проекта
* @param string $name название проекта
* @param array $comments массив с деревом комментариев (подробнее в classes/contest.php)
* @param boolean $comm_blocked автор отключил возможность оставлять комментарии?
* @param boolean $project_end проект закрыт?
* @param integer $s_level уровень вложенности комментария
* @return string HTML с кнопками управления
*/
function comments($pid, $name, &$comments, $comm_blocked, $project_end, $s_level = 0)
{
global $stop_words, $contest, $project, $session;
static $level = 0;
$level = ($s_level ? $s_level : $level) + 1;
$html = '';
$set_branch_as_read = false;
for ($i = 0, $c = count($comments); $i < $c; $i++) {
if (($comments[$i]['is_banned'] || $comments[$i]['usr_banned'] || $comments[$i]['user_blocked'] === 't') && !hasPermissions('projects') && !$contest->is_owner) {
$msg = $msg2 = 'Ответ от заблокированного пользователя';
} else {
if (!trim($comments[$i]['deleted'])) {
$sMsg = $comments[$i]['moderator_status'] === '0' ? $stop_words->replace($comments[$i]['msg']) : $comments[$i]['msg'];
$msg = reformat($sMsg, 30, 0, 0, 1);
$msg2 = reformat($comments[$i]['msg'], 30, 0, 0, 1);
} else {
$msg2 = $msg = "Комментарий удален модератором";
if (hasPermissions("comments")) {
$moderator = '';
$moderatorData = new users();
$moderatorData->GetUserByUID($comments[$i]['deluser_id']);
if ($moderatorData->login) {
$moderator = ' ' . $moderatorData->login . ' (' . $moderatorData->uname . ' ' . $moderatorData->usurname . ') ';
}
$msg2 = $msg = $msg . " {$moderator}";
}
if ($comments[$i]['deluser_id'] == $comments[$i]['user_id']) {
$msg2 = $msg = "Комментарий удален автором";
} else {
if (trim($comments[$i]['deleted_reason']) && (hasPermissions("comments") || $comments[$i]['user_id'] == get_uid(false))) {
$msg2 = $msg = $msg . "<div style='color:#ff0000'>Причина: " . $comments[$i]['deleted_reason'] . "</div>";
}
}
}
}
$a_is_banned = ($comments[$i]['is_banned'] || $comments[$i]['usr_banned']) && hasPermissions('projects');
$html .= "\n\t\t\t<li class='thread' id='thread-{$comments[$i]['id']}'" . ($level >= 9 ? " style='margin-left: 0'" : "") . ">\n\t\t\t\t<a name='c-comment-{$comments[$i]['id']}'></a>\n\t\t\t\t<div class='comment-one" . ($comments[$i]['deleted'] || $comments[$i]['hidden'] ? " comment-deleted" : "") . "' id='comment-{$comments[$i]['id']}'>\n\t\t\t\t\t<div class='contest-ea'>" . view_avatar($comments[$i]['login'], $comments[$i]['photo'], 1) . "</div>\n\t\t\t\t\t<div class='comment-body'>\n\t\t\t\t\t\t<h3 class='username'>" . $session->view_online_status($comments[$i]['login']) . "\n\t\t\t\t\t\t\t<a href='/users/{$comments[$i]['login']}' class='" . (is_emp($comments[$i]['role']) ? 'employer-name' : 'freelancer-name') . "'>{$comments[$i]['uname']} {$comments[$i]['usurname']} [{$comments[$i]['login']}]</a> " . view_mark_user($comments[$i]) . " " . ($comments[$i]['completed_cnt'] > 0 ? '<a href="/promo/bezopasnaya-sdelka/" title="Пользователь работал через Безопасную Сделку" target="_blank"><span class="b-icon b-icon__shield b-icon_top_1"></span></a>' : '') . "\n\t\t\t\t\t\t\t<span>[" . dateFormat('d.m.Y | H:i', $comments[$i]['post_date']) . "]</span>\n\t\t\t\t\t\t\t<span id='comment-modified-{$comments[$i]['id']}'>" . ($comments[$i]['modified'] ? "[изменен " . dateFormat('d.m.Y | H:i', $comments[$i]['modified']) . "]" : ' ') . "</span>\n\t\t\t\t\t\t\t" . ($a_is_banned ? "<b style=\"color:#ff0000\">Пользователь забанен</b>" : "") . "\n\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t" . ($_SESSION['uid'] && $comments[$i]['is_new'] ? "<p><img src='/images/mark-new.png' width='53' height='12' alt='новое' class='mark-new' /></p>" : "") . "\n\t\t\t\t\t\t<div id='comment-change-{$comments[$i]['id']}'>\n\t\t\t\t\t\t<p id='comment-msg-{$comments[$i]['id']}' " . ($a_is_banned ? "style='color:silver'" : "") . ".>" . $msg . "</p>\n\t\t\t\t\t\t<div id='comment-msg-original-{$comments[$i]['id']}' style='display:none'>" . $msg2 . "</div>\n\t\t\t\t\t\t<script type=\"text/javascript\">\n banned.addContext( 'p{$pid}c{$comments[$i]['id']}', 3, '" . HTTP_PREFIX . "{$_SERVER['HTTP_HOST']}" . getFriendlyURL("project", $pid) . "?comm={$comments[$i]['id']}#comment-{$comments[$i]['id']}', \"" . htmlspecialchars($name) . "\" );\n </script>\n\t\t\t\t\t\t<ul class='thread-options' id='comment-options-{$comments[$i]['id']}'>\n\t\t\t\t\t\t\t" . comment_options($pid, $comments[$i], $comm_blocked, $project_end, $level, $name) . "\n\t\t\t\t\t\t</ul>\n <div id='warnreason-" . $comments[$i]['id'] . "-" . $comments[$i]['user_id'] . "' style='display:none; padding: 0 0 5px 0px;'> </div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t" . (empty($comments[$i]['comments']) ? '' : '<ul>' . comments($pid, $name, $comments[$i]['comments'], $comm_blocked, $project_end) . '</ul>') . "\n\t\t\t</li>\n\t\t";
if ($comments[$i]['is_new']) {
$set_branch_as_read = true;
}
}
if ($set_branch_as_read) {
$p = new projects();
$data = array("id" => $pid, "kind" => 7, "user_id" => $project["user_id"]);
$p->SetRead($data, get_uid(false), true);
}
--$level;
return $html;
}
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:59,代码来源:contest.php
示例4: AddUser
function AddUser($login)
{
$objResponse = new xajaxResponse();
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/freelancer.php";
$user = new users();
$user->GetUser($login);
if ($user->login && !is_emp($user->role) && !$user->is_banned && $user->active == 't') {
$inner = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n<tr>\n\t<td width=\"60\">" . view_avatar($user->login, $user->photo) . "</td>\n\t<td valign=\"top\"><a href=\"/users/" . $user->login . "\" class=\"frlname11\" title=\"" . $user->uname . " " . $user->usurname . "\">" . $user->uname . " " . $user->usurname . " [" . $user->login . "]" . "</a> \n\t<a href=\"javascript:reload_form();\" class=\"blue\">изменить</a></td>\n</tr>\n</table>";
$objResponse->assign("usersel", "innerHTML", $inner);
$objResponse->script("document.getElementById('next').disabled = false;document.getElementById('login').value = '" . $login . "';");
} else {
$objResponse->script("reload_form();\n\t\t document.getElementById('usersel').innerHTML = document.getElementById('usersel').innerHTML + '" . ref_scr(view_error("Такого фрилансера не существует")) . "';\n\t\t document.getElementById('elogin').value = '" . $login . "';");
}
return $objResponse;
}
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:15,代码来源:adduser.server.php
示例5: AddUser
function AddUser($login)
{
$objResponse = new xajaxResponse();
require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/freelancer.php';
$user = new users();
$user->GetUser($login);
if ($user->login && !is_emp($user->role) && !$user->is_banned && $user->active == 't') {
$inner = '<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="60">' . view_avatar($user->login, $user->photo) . '</td>
<td valign="top"><a href="/users/' . $user->login . '" class="frlname11" title="' . $user->uname . ' ' . $user->usurname . '">' . $user->uname . ' ' . $user->usurname . ' [' . $user->login . ']' . '</a>
<a href="javascript:reload_form();" class="blue">изменить</a></td>
</tr>
</table>';
$objResponse->assign('usersel', 'innerHTML', $inner);
$objResponse->script("document.getElementById('next').disabled = false;document.getElementById('login').value = '" . $login . "';");
} else {
$objResponse->script("reload_form();\n\t\t document.getElementById('usersel').innerHTML = document.getElementById('usersel').innerHTML + '" . ref_scr(view_error('Такого фрилансера не существует')) . "';\n\t\t document.getElementById('elogin').value = '" . $login . "';");
}
return $objResponse;
}
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:21,代码来源:adduser.server.php
示例6: view_avatar
">
<div id="td_user_<?php
echo $rec['uid'];
?>
" class="izbr-item">
<a href="/users/<?php
echo $rec['login'];
?>
" title="<?php
echo $rec['uname'];
?>
<?php
echo $rec['usurname'];
?>
"><?php
echo view_avatar($rec['login'], $rec['photo'], 1, 1, 'b-pic b-pic_fl');
?>
</a>
<div class="izbr-text">
<span id="elm-offset-<?php
echo $rec['uid'] . "-" . $type;
?>
"></span>
<span class="user-inf">
<span class="<?php
echo $cls;
?>
name11"><a href="/users/<?php
echo $rec['login'];
?>
/" class="<?php
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:all_inner.php
示例7: view_fullname
<?php
}
?>
<li class="b-user-menu-clause b-user-menu-additional-clause">
<div class="b-dropdown b-user-menu-dropdown" data-dropdown="true" data-dropdown-descriptor="user-menu">
<a href="<?php
echo $user_link;
?>
" class="b-dropdown-opener" data-dropdown-opener="true" title="<?php
echo view_fullname();
?>
">
<span class="b-dropdown-opener-picture">
<?php
echo view_avatar($_SESSION['login'], $_SESSION['photo'], 0, 1, 'b-dropdown-opener-picture-entity');
?>
</span>
</a>
<div class="b-dropdown-concealment g-hidden" data-dropdown-concealment="true">
<ul class="b-dropdown-concealment-options">
<li class="b-dropdown-concealment-options-clause b-dropdown-concealment-options-profile-clause">
<a title="Профиль" class="b-dropdown-concealment-options-clause-link" href="<?php
echo $user_link;
?>
">Профиль</a>
</li>
<li class="b-dropdown-concealment-options-clause b-dropdown-concealment-options-messages-clause">
<a href="/contacts/" class="b-dropdown-concealment-options-clause-link" title="<?php
echo $tip_msg['tip'];
?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:personal_emp.php
示例8: __fpPrntPosition
/**
* Вывод позиции платного объявления
* @param array массив с данными объявления
* @return string HTML
*/
function __fpPrntPosition($value)
{
global $session;
$ufp_mod = (int) ($_SESSION['uid'] == $value['user_id']) | 2 * hasPermissions('users');
if (strlen($value['uname']) > 10) {
$uname = hyphen_words($value['uname']);
$t = explode("", $uname);
for ($i = 0; $i < count($t); $i++) {
if (strlen($t[$i]) > 10) {
$uname = LenghtFormatEx($value['uname'], 10);
break;
}
}
} else {
$uname = $value['uname'];
}
if (strlen($value['usurname']) > 10) {
$usurname = hyphen_words($value['usurname']);
$t = explode("", $usurname);
for ($i = 0; $i < count($t); $i++) {
if (strlen($t[$i]) > 10) {
$usurname = LenghtFormatEx($value['usurname'], 10);
break;
}
}
} else {
$usurname = $value['usurname'];
}
ob_start();
?>
<div id="mgCapsule<?php
echo $value['id'];
?>
">
<div id="mgContent<?php
echo $value['id'];
?>
">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-bottom:10px">
<col style="width:10px" />
<col />
<tr valign="top">
<td>
<a href="/users/<?php
echo $value['login'];
?>
/?f=<?php
echo stat_collector::REFID_PAIDSEATINGS;
?>
&stamp=<?php
echo $_SESSION['stamp'];
?>
" title="<?php
echo $value['uname'];
?>
<?php
echo $value['usurname'];
?>
"
<?php
/* if ($ufp_mod | (!$_SESSION['uid'] || is_emp())) { ?> onmouseover="mg_onOver(<?=$value['id']?>, <?=$ufp_mod?>);" onmouseout="mg_onLeave()"<? } */
?>
class="img50x50">
<?php
echo view_avatar($value['login'], $value['photo'], 1, 0);
?>
</a>
</td>
<td style="padding-left:10px">
<?php
if ($value['payed'] == 't') {
print view_pro2($value['payed_test'] == 't' ? true : false) . ' ';
}
print $session->view_online_status($value['login']);
?>
<a <?php
/* if ($ufp_mod | (!$_SESSION['uid'] || is_emp())) { ?> onmouseover="mg_onOver(<?=$value['id']?>, <?=$ufp_mod?>);" onmouseout="mg_onLeave()"<? } */
?>
class="freelancer-name" href="/users/<?php
echo $value['login'];
?>
/?f=<?php
echo stat_collector::REFID_PAIDSEATINGS;
?>
&stamp=<?php
echo $_SESSION['stamp'];
?>
" title="<?php
echo $value['uname'];
?>
<?php
echo $value['usurname'];
?>
">
<?php
//.........这里部分代码省略.........
开发者ID:amage,项目名称:fl-ru-damp,代码行数:101,代码来源:firstpage.php
示例9: employer
$user = new employer();
$user->GetUser($login);
?>
<table class="b-layout__table b-layout__table_width_full">
<tr class="b-layout__tr">
<td class="b-layout__td b-layout__td_width_60 b-layout__td_padtop_4 b-layout__td_ipad b-layout__td_width_null_ipad b-layout__td_pad_null_ipad b-layout__td_padright_10">
<a class="b-layout__link" href="/users/<?php
echo $user->login;
if (!hasPermissions('users')) {
?>
/setup/foto/<?php
}
?>
">
<?php
echo view_avatar($user->login, $user->photo, 0);
?>
</a>
</td>
<td class="b-layout__td b-layout__td_ipad b-layout__td_pad_null_ipad">
<div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_padbot_5 b-layout__txt_bold b-layout__txt_color_6db335"><?php
echo $user->uname;
?>
<?php
echo $user->usurname;
?>
[<?php
echo $user->login;
?>
] <?php
echo $user->is_pro == 't' ? view_pro_emp(1) : '';
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:info.php
示例10: foreach
<?php
foreach ($users_team as $i => $uteam) {
?>
<tr class='<?php
echo $i % 2 != 0 ? "odd" : "env";
?>
'>
<td align="center" style="text-align:center"><?php
echo $i + 1;
?>
</td>
<td>
<table>
<tr>
<td><?php
echo view_avatar($uteam['login'], $uteam['photo']);
?>
<td/>
<td><?php
echo view_user($uteam);
?>
</td>
</tr>
</table>
</td>
<td align="center" style="text-align:center">[<a href="javascript:void(0)" onclick="if(confirm('Удалить пользователя из команды?')) {$('login_team').set('value', '<?php
echo $uteam['login'];
?>
'); $('delform').submit(); } else { return false; }" class="public_red">удалить</a>]</td>
</tr>
<?php
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:inner_index.php
示例11: strtr
}
?>
<li class="ops-time"><?php
echo $posted;
?>
</li>
<li><a onclick="hlAnchor('s',<?php
echo $theme['id'];
?>
)" href="#s_<?php
echo $theme['id'];
?>
" class="ops-anchor">#</a></li>
</ul>
<?php
echo strtr(view_avatar($theme['login'], $theme['photo']), array('<img' => '<img style="user-avatar"'));
?>
<div class="user-info">
<div class="username" style="font-size: 12px"><?php
echo __prntUsrInfo($user);
?>
<?php
if (hasPermissions('users')) {
?>
<i>На сайте <?php
echo ElapsedMnths(strtotime($user->reg_date));
?>
</i>
<?php
}
?>
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:norisk_op.php
示例12: view_avatar
?>
<div class="b-post" id="opinion_<?php
echo $opinion['id'];
?>
">
<a name="o_<?php
echo $opinion['id'];
?>
"></a>
<div class="b-post__body b-post__body_pad_10_15_20" >
<div class="b-post__avatar">
<a class="b-post__link" href="/users/<?php
echo $opinion['login'];
?>
/"><?php
echo view_avatar($opinion['login'], $opinion['photo'], 1, 1, 'b-post__userpic');
?>
</a>
</div>
<div class="b-post__content b-post__content_margleft_60">
<div class="b-post__time b-post__time_float_right">
<a class="b-post__anchor b-post__anchor_margright_10" onclick="hlAnchor('o',<?php
echo $opinion['id'];
?>
);" href="#o_<?php
echo $opinion['id'];
?>
" title="Ссылка на это мнение"></a> <?php
echo date('d.m.Y в H:i', strtotime($opinion['post_time']));
?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:30,代码来源:tpl.total_opinions.php
示例13: view_avatar
<div class="search-lenta-item c">
<span class="number-item"><?php
echo $i;
?>
.</span>
<span class="search-pic"><a href="/users/<?php
echo $result[$pfx . 'login'];
?>
/?f=<?php
echo stat_collector::REFID_SEARCH;
?>
&stamp=<?php
echo $_SESSION['stamp'];
?>
"><?php
echo view_avatar($result[$pfx . 'login'], $result[$pfx . 'photo']);
?>
</a></span>
<div class="search-item-body">
<h4><?php
$cls = is_emp($result[$pfx . 'role']) ? 'empname11' : 'frlname11';
?>
<?php
echo $session->view_online_status($result[$pfx . 'login']);
?>
<span style="line-height:1; font-size:11px; vertical-align:top;"><span class="<?php
echo $cls;
?>
"><a href="/users/<?php
echo $result[$pfx . 'login'];
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.search-messages.php
示例14: view_avatar
};
}
</script>
<div class="page-title">Услуги</div>
<div class="payed-outer">
<div class="payed-h">
<h1 class="b-page__title">Профессиональный аккаунт</h1>
<p>Контакты фрилансеров с <span class="b-icon b-icon__pro b-icon__pro_f " title="платным аккаунтом" alt="платным аккаунтом"></span> аккаунтом видны всем пользователям сайта.</p>
<div class="payed-h-user">
<?php
if ($uid) {
?>
<strong>Привет, <?php
echo view_avatar($user->login, $user->photo, 1, 1, "");
?>
<?php
echo $user->uname;
?>
<!--<span class="bgrd"></span>--></strong>
Мы сберегли этот <span class="b-icon b-icon__pro b-icon__pro_f " title="платный аккаунт" alt="платный аккаунт"></span> специально для тебя :)
<?php
}
?>
</div>
</div>
<div class="payed-cnt c">
<?php
if ($uid) {
?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content.php
示例15: date
<div class="b-post b-post_pad_10_15_15" id="new_advice_<?php
echo $advice['id'];
?>
">
<div class="b-post__body b-post__body_bordbot_solid_f0 b-post__body_padbot_20">
<div class="b-post__time b-post__time_float_right"><a class="b-post__anchor b-post__anchor_margright_10" href="#"></a><?php
echo date('d.m.Y в H:i', strtotime($advice['create_date']));
?>
</div>
<div class="b-post__avatar b-post__avatar_margright_10">
<a class="b-post__link" href="/users/<?php
echo $advice['login'];
?>
/"><?php
echo view_avatar($advice['login'], $advice['photo'], 1, 1, 'b-post__userpic');
?>
</a>
</div>
<div class="b-post__content b-post__content_margleft_60">
<div class="b-username b-username_bold b-username_padbot_10">
<?php
echo view_user3($advice);
?>
</div>
<div class="b-post__voice b-post__voice_positive"></div>
<div class="b-post__txt b-post__txt_inline-block b-post__txt_valign_top"><?php
echo reformat($advice['msgtext'], 40);
?>
</div>
</div>
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:30,代码来源:tpl.advice-edit.php
示例16: freelancer
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/freelancer.php";
$user = new freelancer();
$user->GetUser($login);
?>
<a name="page"></a>
<div class="acc-h c">
<div style="float:right"><span class="del-icon"></span> <a class="del-user-lnk blue" href="/users/<?php
echo $user->login;
?>
/setup/delete/">Удалить аккаунт</a></div>
<a href="/users/<?php
echo $user->login;
?>
/setup/foto/">
<?php
echo view_avatar($user->login, $user->photo, 0, 'acc-userpic');
?>
</a>
<div class="acc-h-i">
<div>
<a href="/users/<?php
echo $user->login;
?>
/" class="<?php
echo is_emp($user->role) ? 'employer' : 'freelancer';
?>
-name"><?php
echo $user->uname;
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:info2.php
示例17: view_avatar
<td class="b-layout__one b-layout__one_padright_25"></td>
<td class="b-layout__one b-layout__one_padbot_40 b-layout__one_width_50ps"></td>
<?php
}
?>
<?php
if ($feedbacksFromFrl[$i]) {
?>
<td class="b-layout__one b-layout__one_padright_25 b-layout__one_padleft_50"><a class="b-layout__link" title="<?php
echo $feedbacksFromFrl[$i]['uname'] . ' ' . $feedbacksFromFrl[$i]['usurname'];
?>
" href="/users/<?php
echo $feedbacksFromFrl[$i]['login'];
?>
/"><?php
echo view_avatar($feedbacksFromFrl[$i]['login'], $feedbacksFromFrl[$i]['photo']);
?>
</a></td>
<td class="b-layout__one b-layout__one_padbot_40 b-layout__one_width_50ps">
<div class="b-user b-user_padbot_10"><a class="b-user__link" title="<?php
echo $feedbacksFromFrl[$i]['uname'] . ' ' . $feedbacksFromFrl[$i]['usurname'];
?>
" href="/users/<?php
echo $feedbacksFromFrl[$i]['login'];
?>
/"><?php
echo $feedbacksFromFrl[$i]['uname'] . ' ' . $feedbacksFromFrl[$i]['usurname'];
?>
<span class="b-user__login b-user__login_color_fd6c30"><span class="b-user__login-name"><?php
echo $feedbacksFromFrl[$i]['login'];
?>
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.feedbacks.php
示例18: view_avatar
}
?>
">
<table id="po_<?php
echo $value['id'];
?>
" class="b-layout__table b-layout__table_width_full b-fon b-fon_bg_f5 b-layout__table_margbot_20">
<tr class="b-layout__tr">
<td class="b-layout__td b-layout__td_width_50 b-layout__td_pad_10"><a class="b-layout__link" name="freelancer_<?php
echo $value['user_id'];
?>
" href="/users/<?php
echo $value['login'];
?>
"><?php
echo view_avatar($value['login'], $value['photo']);
?>
</a></td>
<td class="b-layout__td b-layout__td_padtop_10 b-layout__td_padbot_5 b-layout__td_width_280 b-layout__td_padright_20">
<div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_padbot_5">
<?php
echo $session->view_online_status($value['login']);
?>
<a href="/users/<?php
echo $value['login'];
?>
" class="b-layout__link b-layout__link_fontsize_11 b-layout__link_bold" title="<?php
echo $value['uname'] . " " . $value['usurname'];
?>
"><?php
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content_personal_emp.php
示例19: view_avatar
<a class="b-post__link" href="/users/<?php
echo $sbr->data['frl_login'];
?>
/"><?php
echo view_avatar($sbr->data['frl_login'], $sbr->data['frl_photo'], 1, 1, $cls = "b-post__userpic");
?>
</a>
<?php
} elseif ($current['own_role'] == 2 || $current['own_role'] == 0) {
//if
?>
<a class="b-post__link" href="/users/<?php
echo $sbr->data['emp_login'];
?>
/"><?php
echo view_avatar($sbr->data['emp_login'], $sbr->data['emp_photo'], 1, 1, $cls = "b-post__userpic");
?>
</a>
<?php
} elseif ($current['own_role'] == 3 && $current['abbr'] != 'sbr_stages.EMP_MONEY_REFUNDED' && $current['abbr'] != 'sbr_stages.MONEY_PAID') {
?>
<?php
if ($stage->status == sbr_stages::STATUS_ARBITRAGED || $stage->status == sbr_stages::STATUS_INARBITRAGE) {
?>
<a class="b-post__link" href="#"><img class="b-post__userpic" src="/images/temp/arbitration.png" width="50" height="50" alt="" /></a>
<?php
} else {
?>
<img class="b-post__userpic" src="/images/temp/g-rur.png" width="50" height="50" />
<?php
}
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.stage-history.php
示例20: view_avatar
echo $aOne['uid'];
?>
" type="checkbox" <?php
if (hasGroupPermissions('administrator', $aOne['uid']) || hasGroupPermissions('moderator', $aOne['uid'])) {
?>
disabled<?php
}
?>
/>
</div>
<div class="div-user">
<a target="_blank" href="<?php
echo $sObjLink;
?>
"><?php
echo view_avatar($aOne['login'], $aOne['photo'], 1);
?>
</a><br>
</div>
<div class="search-item-info">
<div class="search-right" id="search_right_<?php
echo $aOne['uid'];
?>
">
<?php
if ($bHasAll || $bHasPayments) {
?>
<span><a target="_blank" href="/siteadmin/bill/?login=<?php
echo $aOne['login'];
?>
" class="color-45a300">Счет пользователя</a></span>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:index_inner.php
注:本文中的view_avatar函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论