• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP view_mark_user函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中view_mark_user函数的典型用法代码示例。如果您正苦于以下问题:PHP view_mark_user函数的具体用法?PHP view_mark_user怎么用?PHP view_mark_user使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了view_mark_user函数的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] .= '&nbsp;<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] .= '&nbsp;<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>&nbsp;" . view_mark_user($comments[$i]) . "&nbsp;" . ($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']) . "]" : '&nbsp;') . "</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;'>&nbsp;</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: view_mark_user

?>
</a>
<div class="user-info">
    <div class="username">
        
        <a href="/users/<?php 
echo $msg['login'];
?>
/" class="<?php 
echo $msg['is_admin'] == 't' ? 'arbitrage' : (is_emp($msg['role']) ? 'employer' : 'freelancer');
?>
-name"><?php 
echo $msg['uname'] . ' ' . $msg['usurname'] . ' [' . $msg['login'] . ']';
?>
</a><?php 
echo view_mark_user($msg);
?>
&nbsp;<?php 
echo $session->view_online_status($msg['login'], false, '&nbsp;');
?>
    </div>
    <div class="utxt">
    <?php 
if ($msg['deluser_id']) {
    ?>
      <p><font color="gray"><small>Комментарий удален <?php 
    echo $msg['deluser_id'] == $msg['user_id'] ? 'автором' : 'администратором';
    ?>
: <?php 
    echo date('d.m.Y | H:i', strtotime($msg['deleted']));
    ?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.stage-msg_node_content.php


示例5: is_emp

        <?php 
$cls = is_emp($result['role']) ? 'empname11' : 'frlname11';
?>
        <?php 
echo $session->view_online_status($result['login']);
?>
<span class="<?php 
echo $cls;
?>
"><a href="/users/<?php 
echo $result['login'];
?>
/?f=<?php 
echo stat_collector::REFID_SEARCH;
?>
&stamp=<?php 
echo $_SESSION['stamp'];
?>
"><?php 
echo "{$uname} {$usurname} [{$login}]";
?>
</a></span> <?php 
echo view_mark_user($result);
?>
        </h4>
        <p><?php 
echo reformat($text, 40, 0, 1);
?>
</p>
    </div>
</div><!--/search-lenta-item-->
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.search-notes.php


示例6: view_fullname

            </td>
            <td class="b-layout__td b-layout__td_padbot_20">
                <?php 
echo $session->view_online_status($freelancer->login);
?>
                <a class="b-layout__link b-layout__link_fontsize_13 b-layout__link_no-decorat b-layout__link_color_000 b-layout__link_bold" 
                   href="/users/<?php 
echo $freelancer->login;
?>
/">
                    <?php 
echo view_fullname($freelancer);
?>
                </a>
                <?php 
echo view_mark_user(array("login" => $freelancer->login, "is_pro" => $freelancer->is_pro, "is_profi" => $freelancer->is_profi, "is_pro_test" => $freelancer->is_pro_test, "is_team" => $freelancer->is_team, "role" => $freelancer->role), '', true, "&nbsp;");
?>
            </td>
            <td class="b-layout__td b-layout__td_width_70 b-layout__td_padbot_20"></td>
        </tr>      
        <tr class="b-layout__tr">
            <?php 
echo $form->getElement('title')->render();
?>
            <td class="b-layout__td b-layout__td_width_70 b-layout__td_padbot_20"></td>
        </tr>        
        <tr class="b-layout__tr">
            <?php 
echo $form->getElement('description')->render();
?>
            <td class="b-layout__td b-layout__td_width_70 b-layout__td_padbot_20"></td>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:new-order-form.php


示例7: foreach

        foreach ($dinamic_content as $key => $dContent) {
            $n++;
            $info_for_reg = @unserialize($dContent['info_for_reg']);
            ?>
                    <div class="seo-best-item">
                        <?php 
            echo view_avatar($dContent['login'], $dContent['photo']);
            ?>
                        <h4><a href="/users/<?php 
            echo $dContent['login'];
            ?>
/"><?php 
            echo $dContent['uname'] . " " . $dContent['usurname'] . " [{$dContent['login']}]";
            ?>
</a><?php 
            echo view_mark_user(array('login' => $dContent['login'], 'is_pro' => true, 'role' => $dContent['role'], 'is_team' => $dContent['is_team']));
            ?>
                        &#160;<?php 
            echo $dContent['completed_sbr_cnt'] ? view_sbr_shield() : '';
            ?>
</h4>
                        <p>На сайте: <?php 
            echo ElapsedMnths(strtotime($dContent['reg_date']));
            ?>
</p>
                        <p>
                        <?php 
            if (!$info_for_reg['country'] || get_uid(false)) {
                if (intval($dContent['country']) != 0) {
                    print country::GetCountryName($dContent['country']);
                    if ($dContent['city'] && !$info_for_reg['city'] || get_uid(false)) {
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content.php


示例8: is_emp

        ?>
            </div>
            <h4 id="user<?php 
        echo $aOne['uid'];
        ?>
"><a target="_blank" href="<?php 
        echo $sObjLink;
        ?>
" class="<?php 
        echo is_emp($aOne['role']) ? 'employer' : 'freelancer';
        ?>
-name user-name"><?php 
        echo $sObjName;
        ?>
</a> <?php 
        echo view_mark_user(array("login" => $aOne['login'], "is_pro" => $aOne['is_pro'], "is_pro_test" => $aOne['is_pro_test'], "is_team" => $aOne['is_team'], "role" => $aOne['role']), '', true, '');
        ?>
</h4>
            
            <?php 
        // редактирование отношения пользователей старт
        if (!$aOne['role'][0]) {
            // только для фрилансеров
            $sClass = $aOne['pop'] < 0 ? 'b-voting__link_dot_red' : 'b-voting__link_dot_green';
            $sPop = $aOne['pop'] != 0 ? $aOne['pop'] : '0';
            ?>
            <div id="pop_show<?php 
            echo $aOne['uid'];
            ?>
" class="b-voting b-voting_float_right">
                <a onclick="upPopValue(<?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:index_inner.php


示例9: view_mark_user

    echo $project['uname'] . " " . $project['usurname'];
    ?>
"><?php 
    echo $project['uname'] . " " . $project['usurname'];
    ?>
</a> <a class="b-layout__link b-layout__link_bold b-layout__link_color_6db335" href="/users/<?php 
    echo $project['login'];
    ?>
" title="<?php 
    echo $project['login'];
    ?>
">[<?php 
    echo $project['login'];
    ?>
]</a> <?php 
    echo view_mark_user($project);
    /*!!!is_team!!!*/
    ?>
 <?php 
    echo $project['completed_cnt'] > 0 ? ' <a class="b-layout__link" href="/promo/bezopasnaya-sdelka/" title="Пользователь работал через Безопасную Сделку" target="_blank"><span class="b-icon b-icon__shield"></span></a>' : '';
    ?>
                  <?php 
} else {
    //if
    ?>
                      <span class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_color_6db335">Заказчик</span> 
                      <?php 
    if ($project['is_pro'] == 't') {
        echo is_emp($project['role']) ? view_pro_emp() : view_pro();
    }
    ?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.prj-main.php


示例10: view_mark_user

?>
"><?php 
echo $proj['uname'] . " " . $proj['usurname'];
?>
</a> [<a href="/users/<?php 
echo $proj['login'];
?>
" class="frlname11" title="<?php 
echo $proj['login'];
?>
"><?php 
echo $proj['login'];
?>
</a>]</font> 
                                                        <?php 
echo view_mark_user(array("login" => $user_obj->login, "is_pro" => $user_obj->is_pro, "is_profi" => $user_obj->is_profi, "is_pro_test" => $user_obj->is_pro_test, "is_team" => $user_obj->is_team, "role" => $user_obj->role));
?>
<br>
														<?php 
//время последней активности пользователя
include_once $_SERVER['DOCUMENT_ROOT'] . '/classes/users.php';
$usr = new users();
$usr->GetUser($proj['login']);
?>
														
													</td>
												</tr>
											</table>
										</td>
									</tr>
                                    <?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.viewproj.php


示例11: view_mark_user

            ?>
name11">
                      <?php 
            echo $contact['uname'] . " " . $contact['usurname'];
            ?>
                      </a> [<a href="/users/<?php 
            echo $contact['login'];
            ?>
" class="<?php 
            echo $cnt_role;
            ?>
name11"><?php 
            echo $contact['login'];
            ?>
</a>]</span><?php 
            echo view_mark_user($contact);
            ?>
                    </div>
                    <?php 
            /*if(is_emp() && !is_emp($contact['role'])) {?>
              <a href="/sbr/?site=create&fid=<?=$contact['uid']?>" class="b-button b-button_flat b-button_flat_grey b-button_float_right">Начать «Безопасную Сделку»</a>
              <?php }//if */
            ?>
                    <?php 
            echo $contact['is_banned'] == 1 ? "<br /><span style='color: #FF500B;'><strong>Пользователь&nbsp;заблокирован</strong></span>" : "";
            ?>
                    <br />
                    <?php 
            if ($cur_folder != -5) {
                ?>
                    <div class="b-layout__txt b-layout__txt_padtb_5" style="clear:right"><a href="/contacts/?from=<?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content.php


示例12: setHtml

 /**
  */
 public function setHtml()
 {
     global $session;
     $html = array();
     if ($result = $this->getRecords('is_pro DESC, id')) {
         foreach ($result as $key => $value) {
             list($login, $uname, $usurname, $spec_text, $country_name, $city_name, $skype, $resume, $konk, $site, $compname, $email) = $this->mark(array((string) $value['login'], (string) $value['uname'], (string) $value['usurname'], (string) $value['spec_text'], (string) $value['country_name'], (string) $value['city_name'], (string) $value['skype'], (string) $value['resume'], (string) $value['konk'], (string) $value['site'], (string) $value['compname'], (string) $value['email']));
             $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['login'], $value['photo']) . '</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] .= '&nbsp;<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>';
             if ($value['name_prof'] != 'Нет специализации' && $value['name_prof'] != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">Специализация: ' . $value['name_prof'] . '</div>';
             }
             if ($spec_text != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">Условия сотрудничества:<br />' . $spec_text . '</div>';
             }
             if ($city_name) {
                 $html[$key] .= '<div style="margin-top: 4px;">Местоположение: ' . $country_name . ", " . $city_name . '</div>';
             }
             if ($skype != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">Skype: ' . $skype . '</div>';
             }
             if ($site != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">Сайт: ' . $site . '</div>';
             }
             if ($compname != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">Компания: ' . $compname . '</div>';
             }
             if ($email != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">E-mail: ' . $email . '</div>';
             }
             if ($resume != '') {
                 $html[$key] .= '<div style="margin-top: 4px;">Резюме:<br />' . $resume . '</div>';
             }
             if ($konk != '' && isset($value['blocks'][1]) && $value['blocks'][1]) {
                 $html[$key] .= '<div style="margin-top: 4px;">Участие в конкурсах:<br />' . $konk . '</div>';
             }
             $html[$key] .= '</td>';
             $html[$key] .= '</tr>';
             $html[$key] .= '</table>';
         }
     }
     $this->html = $html;
 }
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:54,代码来源:search_element_users.php


示例13: view_mark_user

                        </span>
                        <div class="b-username b-username_bold b-username_inline">
                            <a class="b-username__link" href="/users/<?php 
        echo $row['exec_login'];
        ?>
/"><?php 
        echo $row['exec_name'] . " " . $row['exec_surname'];
        ?>
</a> <span class="b-username__login b-username__login_color_fd6c30">[<a class="b-username__link" href="/users/<?php 
        echo $row['exec_login'];
        ?>
"><?php 
        echo $row['exec_login'];
        ?>
</a>]</span> <?php 
        echo view_mark_user($row, "exec_");
        ?>
                        </div>
                        <div class="i-opinion i-opinion_padtop_10">
                            <span class="b-opinion">
                                <span class="b-opinion__txt"><a class="b-opinion__link  b-opinion__link_color_4e" href="/users/<?php 
        echo $row['exec_login'];
        ?>
/opinions/">Отзывы пользователей</a></span>
                                <span class="b-opinion__txt b-opinion__txt_color_6db335"><?php 
        if ($row['sbr_opi_plus'] + $row['ops_all_plus'] > 0) {
            ?>
<a class="b-opinion__link b-opinion__link_decoration_no b-opinion__link_color_6db335" href="/users/<?php 
            echo $row['exec_login'];
            ?>
/opinions/?sort=1#op_head">+</a><?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.employer-project-item.php


示例14: view_avatar

                    ?>
</td>
                                            </tr><?php 
                }
                ?>
<tr valign="top">
												<td width="60"><?php 
                echo view_avatar($value['login'], $value['photo']);
                ?>
</td>
												<td style="padding: 0px;">
    												<table border="0" style="width: 100%;" cellspacing="0" cellpadding="2">
                                                        <tr>
                                                            <td style="width: 100%; padding: 0px;">
                                                            <?php 
                echo view_mark_user($value, '', false);
                echo $session->view_online_status($value['login']);
                ?>
                                                                <span class="frlname11"><a href="/users/<?php 
                echo $value['login'];
                ?>
" class="frlname11" title="<?php 
                echo $value['uname'] . " " . $value['usurname'];
                ?>
"><?php 
                echo $value['uname'] . " " . $value['usurname'];
                ?>
</a> [<a href="/users/<?php 
                echo $value['login'];
                ?>
" class="frlname11" title="<?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content_kon_emp.php


示例15: htmlspecialchars

    ?>
              </div>
              <?php 
}
?>
      </td>
      <td class="b-layout__td b-layout__td_padright_20 b-layout__td_ipad b-layout__td_padbot_10_iphone">
              <div class="b-layout__txt b-layout__txt_fontsize_15 b-layout__txt_bold b-layout__txt_lineheight_1 b-layout__txt_padbot_5 b-page__desktop"><?php 
if ($session->view_online_status($user->login)) {
    ?>
<span class="b-icon b-icon__lamp"></span> <?php 
}
echo htmlspecialchars($user->uname) . " " . htmlspecialchars($user->usurname) . " [" . htmlspecialchars($user->login) . "]";
?>
              <?php 
echo view_mark_user(array("login" => $user->login, "is_pro" => $user->is_pro, "is_pro_test" => $user->is_pro_test, "is_team" => $user->is_team, "role" => $user->role, "is_profi" => $user->is_profi, "is_verify" => $user->is_verify), '', true, '');
?>
                          
              <?php 
$sbr = false;
if ($sbr_info["completed_cnt"] > 0) {
    $sbr = true;
    ?>
                  <a class="b-layout__link b-layout__link_inline-block" href="/promo/bezopasnaya-sdelka/"  title="Пользователь работал через Безопасную сделку" target="_blank"><span class="b-icon b-icon__shield"></span></a>
              <?php 
}
?>
              </div>
              <div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_padbot_10">На сайте <?php 
echo ElapsedMnths(strtotime($user->reg_date));
?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:header.php


示例16: view_mark_user

"><?php 
                echo $value['uname'] . " " . $value['usurname'];
                ?>
</a>
                            [<a href="/users/<?php 
                echo $value['login'];
                ?>
" class="b-layout__link b-layout__link_fontsize_11 b-layout__link_bold" title="<?php 
                echo $value['login'];
                ?>
"><?php 
                echo $value['login'];
                ?>
</a>]
                            <span style="line-height:1; vertical-align:top;"><?php 
                echo view_mark_user($value);
                /*!!!is_team!!!*/
                ?>
 <?php 
                echo $value['completed_cnt'] > 0 ? '<a class="b-layout__link" href="/promo/bezopasnaya-sdelka/" title="Пользователь работал через Безопасную Сделку" target="_blank"><span class="b-icon b-icon__shield "></span></a>' : '';
                ?>
</span> &#160; <?php 
                if ($value['is_banned']) {
                    ?>
<span class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_color_c10600 b-layout__txt_bold">Пользователь&nbsp;забанен.</span><?php 
                }
                ?>
                         </div>
						 <?php 
                if ($value['spec_name'] != '') {
                    ?>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content_personal_emp.php


示例17: view_mark_user

echo $cls;
?>
"><a href="/users/<?php 
echo $result[$pfx . 'login'];
?>
/?f=<?php 
echo stat_collector::REFID_SEARCH;
?>
&stamp=<?php 
echo $_SESSION['stamp'];
?>
"><?php 
echo "{$uname} {$usurname} [{$login}]";
?>
</a> <?php 
echo view_mark_user(array('login' => $result[$pfx . 'login'], 'is_team' => $result[$pfx . 'is_team'], 'is_profi' => @$result[$pfx . 'is_profi'], 'role' => $result[$pfx . 'role'], 'is_pro' => $result[$pfx . 'is_pro']));
?>
</span><?php 
if ($result[$pfx . 'is_banned'] == 1) {
    ?>
<span class="red">[Пользователь заблокирован]</span><?php 
}
//if
?>
 <span class="search-mess-time"><?php 
echo date('d.m.Y в H:i', strtotime($result['post_time']));
?>
</span></span>
        </h4>
        <p><?php 
echo reformat($msg_text, 40, 0, 1);
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.search-messages.php


示例18: view_mark_user

                        <a href="/users/<?php 
                echo $prj['login'];
                ?>
" class="b-layout__link b-layout__link_color_6db335 b-layout__link_bold">
                            <?php 
                echo $prj['uname'];
                ?>
 <?php 
                echo $prj['usurname'];
                ?>
 [<?php 
                echo $prj['login'];
                ?>
]
                        </a> <?php 
                echo view_mark_user($prj);
                ?>
                    </div>
                <?php 
            } else {
                ?>
                    <span class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_bg_fff7ee">
                        Контакты заказчика видны только пользователям с аккаунтом <?php 
                echo view_pro();
                ?>
                    </span>            
                <?php 
            }
            ?>
            <?php 
        }
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content_list.php


示例19: htmlspecialchars

</a>
                  </div>
              <?php 
}
?>
      </td>
      <td class="b-layout__td b-layout__td_padright_20 b-layout__td_ipad b-layout__td_padbot_10_iphone">
              <div class="b-layout__txt b-layout__txt_padbot_5 b-layout__txt_fontsize_15 b-layout__txt_bold b-layout__txt_lineheight_1 b-layout__txt_color_6db335 b-page__desktop"><?php 
if ($session->view_online_status($user->login)) {
    ?>
<span class="b-icon b-icon__lamp"></span> <?php 
}
echo htmlspecialchars($user->uname) . " " . htmlspecialchars($user->usurname) . " [" . htmlspecialchars($user->login) . "]";
?>
                        <?php 
echo view_mark_user(array("login" => $user->login, "is_pro" => $user->is_pro, "is_pro_test" => $user->is_pro_test, "is_team" => $user->is_team, "role" => $user->role), '', true, "");
?>
              <?php 
$sbr = false;
if ($sbr_info["completed_cnt"] > 0) {
    $sbr = true;
    ?>
                  <a class="b-layout__link b-layout__link_inline-block" href="/promo/bezopasnaya-sdelka/"  title="Пользователь работал через Безопасную сделку" target="_blank"><span class="b-icon b-icon__shield"></span></a>
              <?php 
}
?>
              </div>
              <div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_padbot_10">На сайте <?php 
echo ElapsedMnths(strtotime($user->reg_date));
?>
				  <?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:header.php


示例20: _parseSbrReqv

/**
 * Парсит порцию HTML содержимого для изменений в реквизитах финансов
 * 
 * @param  int $last_id возвращает последний Id проектов
 * @param  array $content массив данных из базы
 * @param  int $status статус: 0 - не проверенно, 1 - утверждено, 2 - удалено
 * @param  array $aStream данные о потоке
 * @return string HTML
 */
function _parseSbrReqv(&$last_id, $content = array(), $status = 0, $aStream = array())
{
    $sReturn = '';
    $nCnt = count($content);
    foreach ($content as $aOne) {
        $link = sprintf('%s/users/%s/setup/finance/', $GLOBALS['host'], $aO 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP view_page函数代码示例发布时间:2022-05-23
下一篇:
PHP view_log函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap