</tr>
  </table>
  <table cellspacing="0" cellpadding="0" style="width:100%;background:<?php 
                echo $prj['prof_id'] == professions::BEST_PROF_ID || $prj['prof_id'] == professions::CLIENTS_PROF_ID ? '#fff9e3' : '#eef2fb';
                ?>
">
  <tr>
    <td style="padding:6px 12px 6px 28px;text-align:left;vertical-align:middle;">
      <?php 
                if ($error_prof && $saved_prof_id == $prj['prof_id']) {
                    print view_error($error_prof);
                }
                ?>
      <?php 
                if ($info_prof && $saved_prof_id == $prj['prof_id']) {
                    echo view_info($info_prof);
                }
                ?>
      &nbsp;
    </td>
    <td style="padding:6px 4px 6px 6px;text-align:right;vertical-align:middle;">
      <?php 
                if ($portf_cnt[professions::BEST_PROF_ID] >= portfolio::MAX_BEST_WORKS && $prj['prof_id'] == professions::BEST_PROF_ID) {
                    ?>
        Вы не можете добавить больше <?php 
                    echo portfolio::MAX_BEST_WORKS;
                    ?>
 работ в этот раздел.
      <?php 
                } else {
                    ?>
Exemple #2
0
$ureqv = $reqv[$reqv['form_type']];
if ($_SESSION['alert']) {
    $alert = $_SESSION['alert'];
    unset($_SESSION['alert']);
}
if ($_SESSION['info_msg']) {
    $info_msg = $_SESSION['info_msg'];
    unset($_SESSION['info_msg']);
}
?>

<div class="b-layout b-layout_padtop_20">
	<h2 class="b-layout__title b-layout__title_padbot_30">Безопасность аккаунта</h2>
	<?php 
if ($info_msg) {
    print view_info($info_msg) . "<br />";
}
?>
    
    <h3 class="b-layout__h3">Двухэтапная аутентификация через соцсети</h3>
    <?php 
if ($social_multivel && is_array($social_multivel)) {
    ?>
        <div class="b-layout__txt b-layout__txt_padbot_40">
            Включена двухэтапная аутентификация с помощью <?php 
    echo $social_multivel['name'];
    ?>
. 
            <a id="multilevel_switchoff" href="javascript:void(0);">Отключить</a>.
        </div>
    <?php 
Exemple #3
0
$ureqv = $reqv[$reqv['form_type']];
if ($_SESSION['alert']) {
    $alert = $_SESSION['alert'];
    unset($_SESSION['alert']);
}
if ($_SESSION['info_msg']) {
    $info_msg = $_SESSION['info_msg'];
    unset($_SESSION['info_msg']);
}
?>

<div class="b-layout b-layout_padtop_20">
	<h2 class="b-layout__title b-layout__title_padbot_30">Безопасность аккаунта</h2>
	<?php 
if ($info_msg) {
    print view_info($info_msg) . '<br />';
}
?>
    
    <h3 class="b-layout__h3">Двухэтапная аутентификация через соцсети</h3>
    <?php 
if ($social_multivel && is_array($social_multivel)) {
    ?>
        <div class="b-layout__txt b-layout__txt_padbot_40">
            Включена двухэтапная аутентификация с помощью <?php 
    echo $social_multivel['name'];
    ?>
. 
            <a id="multilevel_switchoff" href="javascript:void(0);">Отключить</a>.
        </div>
    <?php 
Exemple #4
0
                <?php 
if ($error) {
    ?>
                <tr><td colspan="3"><?php 
    echo view_error($error);
    ?>
</td></tr>
                <?php 
}
?>
                <?php 
if ($info) {
    ?>
                <tr><td colspan="3">
                <?php 
    echo view_info($info);
    ?>
                <script type="text/javascript">_gaq.push(['_trackPageview', '/virtual/freelance/profile']); ga('send', 'pageview', '/virtual/freelance/profile');</script>
                </td></tr>
                <?php 
}
?>
                <tr>
                    <td style=" width:110px;"><div class="b-layout__txt b-layout__txt_bold b-layout__txt_padtop_5">Дата рождения:</div></td>
                    <td class="">
                       <div class="b-combo b-combo_inline-block">
                          <div class="b-combo__input b-combo__input_width_50">
                             <input class="b-combo__input-text " type="text" name="dated" size="4" maxlength="2" value="<?php 
echo htmlspecialchars($day, ENT_QUOTES);
?>
" />
Exemple #5
0
<?php

if (!$_in_setup) {
    header("HTTP/1.0 403 Forbidden");
    exit;
}
?>
<form action="." method="post">
  <div class="b-layout b-layout_padtop_20">
	<h2 class="b-layout__title">Настройка закладок</h2>
	<?php 
if ($info_msg) {
    print '<div class="b-layout__txt b-layout__txt_padbot_20">' . view_info($info_msg) . '</div>';
}
?>
	<div class="b-layout__txt b-layout__txt_padbot_20">В разделе &laquo;Моя страница&raquo; отображать следующие закладки:</div>
	<div class="b-check b-check_padbot_5">
	<input class="b-check__input" type="checkbox" id="ch6" name="inform" value="0" disabled="disabled"  checked="checked" /> 
	<label class="b-check__label b-check__label_fontsize_13" for="ch6">Информация</label>
	</div>
	<input type="hidden" name="action" value="tabs_change" />
    <div class="b-buttons b-buttons_padtop_20">
	   <button type="submit" name="btn" class="b-button b-button_flat b-button_flat_green">Изменить</button>
    </div>
  </div>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="15">
<tr valign="top">
	<td height="400" valign="top" bgcolor="#FFFFFF" class="box2">
	<h1>Удаление аккаунта</h1>
	<?php 
echo @view_info("Ваш аккаунт был удален");
?>
	</td>
</tr>
</table>
Exemple #7
0
<table width="100%" border="0" cellspacing="0" cellpadding="15">
<tr valign="top">
	<td height="400" valign="top" bgcolor="#FFFFFF" class="box2">
	<h1>Удаление аккаунта</h1>
	<?php 
echo @view_info('Ваш аккаунт был удален');
?>
	</td>
</tr>
</table>
Exemple #8
0
<script type="text/javascript">
<?php 
echo $sGrafExt;
?>
</script>
<div class="b-layout b-layout_padtop_20">
<form action="." method="post" enctype="multipart/form-data" name="frm" id="frm"  onsubmit="return specificExt(this['foto'].value, grafExt);">
<input type="hidden" name="pfrom" value="<?php 
echo $_REQUEST['pfrom'];
?>
" />
			<h3 class="b-layout__h3">Моя фотография</h3>
			<?/* if ($info_msg) print(view_info($info_msg)) */?>
			<?php 
if ($nParam == 1) {
    print view_info('Изменения внесены');
}
?>
			<?php 
if ($nParam == 1 && $_REQUEST['pfrom']) {
    ?>
				<script type="text/javascript">window.close();</script>
			<?php 
}
?>
			<input type="hidden" name="MAX_FILE_SIZE" value="102400" />
			<input type="file" name="foto" />
			<?/* if ($error) print(view_error($error)) */?>
			<?php 
if ($nParam == 2) {
    print view_error('Загружаемое изображение слишком большое. Пожалуйста, уменьшите его размер до 1000*1000 пикселов.');
function ChangePortfPrice($proj_id, $cost, $cost_type, $time_type, $time_value)
{
    global $session;
    session_start();
    $objResponse = new xajaxResponse();
    $portf = new portfolio();
    $proj_id = intval($proj_id);
    $cost = intval(str_replace(' ', '', $cost) * 100) / 100;
    $cost_type = intval($cost_type);
    $time_type = intval($time_type);
    $time_value = intval($time_value);
    $error = $portf->ChangePortfPrice($_SESSION['uid'], $proj_id, $cost, $cost_type, $time_type, $time_value);
    if ($error == '') {
        $script = "document.getElementById('prj_cost_{$proj_id}').value = {$cost};\n\t\tdocument.getElementById('prj_cost_type_{$proj_id}').value = {$cost_type};\n\t\tdocument.getElementById('prj_time_type_{$proj_id}').value = {$time_type};\n\t\tdocument.getElementById('prj_time_value_{$proj_id}').value = {$time_value};";
        $objResponse->script($script);
        $objResponse->assign("prj_msg_{$proj_id}", 'innerHTML', view_info('Данные сохранены'));
    } else {
        $objResponse->assign("prj_msg_{$proj_id}", 'innerHTML', view_error($error));
    }
    return $objResponse;
}
Exemple #10
0
        $('error_box').style.display = 'none';
        return true; 
    }
}
</script>
<form action="." method="post" onsubmit="return checkLngPass()">
<div class="b-layout b-layout_padtop_20">
<h2 class="b-layout__title">Изменить пароль</h2>
<div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_padbot_20">От 6 до 24 символов. Допустимы латинские буквы, цифры и следующие спецсимволы: !@#$%^&*()_+-=;,./?[]{}</div>
<?php 
if ($info || $error) {
    ?>
   <div class="b-layout__txt">
	<?php 
    if ($info) {
        print view_info($info);
    }
    ?>
	<?php 
    if ($error) {
        print view_error($error);
    }
    ?>
   </div>
<?php 
}
?>
<table cellspacing="0" cellpadding="0" class="b-layout__table">
<tr class="b-layout__tr">
	<td class="b-layout__td b-layout__td_padbot_20"><div class="b-layout__txt b-layout__txt_padtop_5">Старый пароль:&#160;</div></td>
	<td class="b-layout__td b-layout__td_padbot_20 b-layout__td_width_320">
Exemple #11
0
            echo "</tr>";
        } else {
            echo "<tr class=\"text\" align=\"left\">\n";
            echo "<td colspan=\"4\">keine :P</td>\n";
            echo "</tr>";
        }
    }
    echo "</table>";
}
if ($bughunter = check_for_auth()) {
    switch ($act) {
        case "add":
            add();
            show_items();
            show_menu();
            break;
        case "delete":
            delete_it();
            break;
        case "change_status":
            change_status();
            break;
        case "view_info":
            view_info();
            break;
        default:
            show_items();
            show_menu();
            break;
    }
}