109 lines
5.2 KiB
PHP
109 lines
5.2 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 20:27:54
|
||
compiled from "tpl/tpl_javascript.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:18974644896254651a2f6651-45564201%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'76ee6721ab29b8e37fc46b21472831979674bc60' =>
|
||
array (
|
||
0 => 'tpl/tpl_javascript.html',
|
||
1 => 1609336314,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '18974644896254651a2f6651-45564201',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'variables' =>
|
||
array (
|
||
'user_change_email' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_6254651a2f8615_28504643',
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_6254651a2f8615_28504643')) {function content_6254651a2f8615_28504643($_smarty_tpl) {?><style>
|
||
.fly_window{position:absolute;right:8px;top:60px;padding:10px;background:#fff;width: 400px;height: 400px;border:1px solid gray;z-index: 9999;}
|
||
.fly_window_wrap{}
|
||
.fly_window_head{position:relative;}
|
||
.fly_window_close{position:absolute;right:2px;top:2px;cursor:pointer;}
|
||
.fly_window_body{}
|
||
.fly_window_footer{}
|
||
</style>
|
||
<script>$(document).ready(function(){
|
||
$('.popovers').popover();
|
||
$(".fly_window_close").click(function(){ $(".fly_window").hide(); })
|
||
$("#change_email").click(function(){
|
||
$.ajax({
|
||
url: '/json.php',dataType:'json',type:'POST',async:false,data:'ajdes=change_email&email='+$("#new_email").val(),
|
||
success: function(data){
|
||
$(".fly_window_footer").html(data.html);
|
||
}
|
||
});
|
||
return false;
|
||
});
|
||
/*var nowTemp = new Date();
|
||
var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);
|
||
$('.datepicker_iup_day').datepicker({
|
||
format:"dd.mm.yyyy",
|
||
onRender: function(date) {
|
||
console.log(date.valueOf+"="+now.valueOf());
|
||
return date.valueOf() < now.valueOf() ? 'disabled' : '';
|
||
}
|
||
});*/
|
||
});
|
||
|
||
</script>
|
||
|
||
|
||
<div class="fly_window" style="<?php if ($_smarty_tpl->tpl_vars['user_change_email']->value==0){?>display:none;<?php }?>">
|
||
<div class="fly_window_wrap">
|
||
<div class="fly_window_head">
|
||
<h3>Сообщение</h3>
|
||
<div class="fly_window_close">Закрыть</div>
|
||
</div>
|
||
<div class="fly_window_body">
|
||
<p>В целях оповещения пользователей сайта: об изменениях на сайте, о новых личных сообщениях, о событиях ВУЗа и других событиях, просим Вас указать ваш рабочий электронный адрес(email)!</p>
|
||
<p><form method="POST" id="u_change_email">
|
||
Ваш емаил: <input type="TEXT" id="new_email" value="" style="width:160px;">
|
||
<input type="submit" id="change_email" value="Сохранить">
|
||
</form></p>
|
||
</div>
|
||
<div class="fly_window_footer">
|
||
<p>На указанный электронный адрес(email) прийдет письмо с дальнейшими инструкциями для активации электронного адреса(email)</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<script src="/tpl/js/jquery.nicescroll.js" type="text/javascript"></script>
|
||
<script src="/tpl/assets/bootstrap/js/bootstrap.min.js"></script>
|
||
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap/js/bootstrap-fileupload.js"></script>
|
||
<script src="/tpl/js/jquery.blockui.js"></script>
|
||
|
||
|
||
|
||
<!--[if lt IE 9]>
|
||
<script src="/tpl/js/excanvas.js"></script>
|
||
<script src="/tpl/js/respond.js"></script>
|
||
<![endif]-->
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-toggle-buttons/static/js/jquery.toggle.buttons.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/chosen-bootstrap/chosen/chosen.jquery.min.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/jquery-slimscroll/jquery.slimscroll.min.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/uniform/jquery.uniform.min.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-wysihtml5/wysihtml5-0.3.0.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-wysihtml5/bootstrap-wysihtml5.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/clockface/js/clockface.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/jquery-tags-input/jquery.tagsinput.min.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-daterangepicker/date.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-timepicker/js/bootstrap-timepicker.js"></script>
|
||
<script type="text/javascript" src="/tpl/assets/bootstrap-inputmask/bootstrap-inputmask.min.js"></script>
|
||
<script src="/tpl/assets/fancybox/source/jquery.fancybox.pack.js"></script>
|
||
<script src="/tpl/js/common-scripts.js"></script>
|
||
<script src="/tpl/js/form-component.js"></script>
|
||
<script src="/tpl/js/trudo_portfolio.js"></script>
|
||
<script src="/tpl/js/pm_check.js"></script><?php }} ?>
|