'
)
}
function b_edit()
{
echo('');
}
function b_new()
{
echo('');
}
function b_delete()
{
echo('');
}
function b_browse()
{
echo('');
}
function b_up()
{
echo('');
}
function b_down()
{
echo('');
}
function b_cut()
{
echo('');
}
function b_copy()
{
echo('');
}
function b_paste()
{
echo('');
}
function b_folder()
{
echo('');
}
function b_item()
{
echo('');
}
function b_folder_new()
{
echo('');
}
function b_active()
{
echo('');
}
function b_inactive()
{
echo('');
}
function b_apply()
{
echo('');
}
function b_textfield()
{
echo('');
}
function pic_frame_start()
{
echo('
');
}
function pic_frame_end()
{
echo('
');
}
function antispam_error()
{
echo('
Сработала защита от спама! Вы ввели неправильный код.
');
}
function antispam_block_title()
{
echo('Защита от спама');
}
function antispam_block_input()
{
echo('');
}
function antispam_block_pic()
{
echo('');
}
function antispam_block()
{
echo('
Защита от спама:
');
}
function admin_panel_start()
{
echo(
'
' +
'
' +
'
' +
'
'
);
}
function admin_panel_end()
{
echo(
'
' +
'
' +
'
' +
'
'
);
}
/* Ajax */
function loading_set(id)
{
var w = $('#' + id).attr('offsetWidth') + "px";
var h = $('#' + id).attr('offsetHeight') + "px";
$('#' + id + ' div.loading-overlay').css({ width:w, height:h });
}
function loading_show(id)
{
$('#' + id).prepend('');
$('#' + id).prepend('
Загрузка…
');
loading_set(id);
$(window).resize(function() {
loading_set(id);
});
}
function load_page(id, url, _this)
{
var data = _this ? $(_this).serialize() : "";
$.ajax({
type: "get",
url: url,
data: data,
beforeSend: function(){
loading_show(id);
},
success: function(html) {
$("#"+id).php(html);
}
});
}
function reload_page(id, url, _this)
{
var data = _this ? $(_this).serialize() : "";
$.ajax({
type: "get",
url: url,
data: data,
beforeSend: function(){
loading_show(id);
},
success: function(html) {
$("#"+id).replaceWith(html);
}
});
}
/* */
function feedback_check_form()
{
var reg = new RegExp("[0-9a-z_]+@[0-9a-z_^.\-]+\\.[a-z]", 'i');
if
(
($('#feedback_person').attr('value') == '') ||
($('#feedback_email').attr('value') == '') ||
($('#feedback_text').attr('value') == '')
)
alert('Необходимо заполнить все поля!');
else if (!reg.test($('#feedback_email').attr('value')))
alert('Некорректный адрес эл. почты!');
else
document.forms['feedback'].submit();
}
/* */
function init()
{
}
$(document).ready(init);