EIOS/tpl/tpl_javascript.html

84 lines
4.3 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{literal}<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>
{/literal}
<div class="fly_window" style="{if $user_change_email==0}display:none;{/if}">
<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>