Exemplo n.º 1
0
                                        </span>
                                    </span>
                                </a>
                            </td>
                            <td class="b-layout__one b-layout__one_width_2ps">&#160;</td>
                        </tr>
                    </table>
                </div>
            </div>
        <?php 
}
?>

        <div id="popups_container">
            <?php 
echo user_phone::getInstance()->renderPopup();
?>
        </div>

        <?php 
if (defined('JS_BOTTOM')) {
    // Формиирование JS (склеивание)
    ?>
            <?php 
    $stc_js->Send();
    ?>
            <?php 
    $stc2_js->Send();
    ?>

            <?php 
Exemplo n.º 2
0
$uploader_field_element = array();
if (count($tservice->images)) {
    foreach ($tservice->images as $key => $image) {
        $uploader_field_element[] = array('hash' => md5($solt . $image['id'] . $tuid . $uid), 'qquuid' => $image['id'], 'src' => WDCPREFIX . '/' . $image['path'] . $image['fname']);
    }
}
$sess = __paramInit('string', NULL, 'uploader_sess', NULL);
if ($sess) {
    $files = uploader::sgetFiles($sess);
    if (count($files)) {
        foreach ($files as $file) {
            if (strpos($file['fname'], 'tiny_') === FALSE) {
                continue;
            }
            $uploader_field_element[] = array('qquuid' => $file['id'], 'src' => WDCPREFIX . '/' . $file['path'] . $file['fname']);
        }
    }
} else {
    $sess = uploader::createResource('tservices');
}
//------------------------------------------------------------------------------
$city = new city();
if (!$tservice->city) {
    $tservice->city = $user_obj->city > 0 ? $user_obj->city : 1;
}
$location_value = $city->getCountryName($tservice->city) . ": " . $city->getCityName($tservice->city);
//------------------------------------------------------------------------------
$user_phone_tservice = user_phone::getInstance()->render(user_phone::PLACE_TSERVICE);
$is_bg = true;
$inner = 'tpl.form.php';
include "../template3.php";
Exemplo n.º 3
0
$css_file = array('profile.css', 'opinions.css', '/css/block/b-icon/__cont/b-icon__cont.css', '/css/block/b-prev/b-prev.css', '/css/block/b-status/b-status.css', '/css/block/b-voting/b-voting.css', '/css/block/b-button/_vote/b-button_vote.css', '/css/nav.css', '/css/main.css', '/css/block/b-free-share/b-free-share.css', '/css/block/b-work/b-work.css');
$js_file = array('warning.js', 'note.js', 'status.js', 'banned.js', 'paid_advices.js', '/css/block/b-filter/b-filter.js', '/css/block/b-fon/b-fon.js', '/css/block/b-layout/b-layout.js', 'del_acc.js', 'sbr.js', 'specadd.js', 'drafts.js', 'polls.js', 'mAttach.js', 'blogs_cnt.js', 'blogs.js', 'opinions.js', '/css/block/b-layout/b-layout.js', '/css/block/b-textarea/b-textarea.js', 'tawl_bem.js', 'user_profile.js');
//rus
$user = new users();
if (strtolower($name) != 'admin' && strtolower($name) != 'anonymous') {
    $user->GetUser($name);
} else {
    include ABS_PATH . '/403.php';
    exit;
}
$p_user = $user;
if ($user->uid === NULL) {
    include ABS_PATH . '/404.php';
    exit;
}
$user_phone_block = user_phone::getInstance()->render(user_phone::PLACE_HEADER);
users::execOnFirstVisit($user);
if (strtolower($user->uid) == strtolower($uid) && is_pro(true)) {
    $no_adv = true;
} else {
    $no_adv = false;
}
if ($user->is_banned && !hasPermissions('users')) {
    $content = 'ban.php';
    include '../template.php';
    exit;
}
if ($user->login && $user->email == '') {
    require_once ABS_PATH . '/classes/login_change.php';
    $login_change = new login_change();
    $login_change->GetRowByOldLogin($name);
Exemplo n.º 4
0
                        exit;
                    }
                }
            } else {
                $user = new users();
                $user_id = intval($user_id);
                $user->GetUserByUID($user_id);
            }
            $content = 'emp_refuse.php';
            include '../template2.php';
            exit;
        }
        break;
}
$user_phone_block = user_phone::getInstance()->render(user_phone::PLACE_HEADER);
$user_phone_projects = user_phone::getInstance()->render(user_phone::PLACE_PROJECTS);
// Формируем JS внизу страницы
define('JS_BOTTOM', true);
$css_file = array('/css/block/b-frm-filtr/b-frm-filtr.css', '/css/block/b-opinion/b-opinion.css', '/css/block/b-free-share/b-free-share.css', '/css/block/b-note/b-note.css', '/css/block/b-button-multi/b-button-multi.css', '/css/block/b-prev/b-prev.css', '/css/nav.css', '/css/projects3.css');
$js_file[] = '/css/block/b-shadow/b-shadow.js';
if (!is_emp() && get_uid(false)) {
    $js_file[] = '/scripts/uploader.js';
    $js_file[] = '/scripts/project_abuse.js';
}
$status_content = null;
if (in_array($project['kind'], array(1, 5, 9))) {
    $feedback_form = '';
    $off_status = false;
    if ($project['exec_id'] > 0) {
        require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/tservices/tservices_helper.php';
        if (tservices_helper::isAllowOrderReserve()) {