AVE.CMS v3.28
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

302 lines
12 KiB

8 years ago
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
7 years ago
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>{#MAIN_PAGE_TITLE#} - {*#SUB_TITLE#*} ({$smarty.session.user_name|escape})</title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="pragma" content="no-cache">
<meta name="generator" content="Notepad" >
<meta name="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT">
<!-- Favicon -->
<link rel="icon" type="image/vnd.microsoft.icon" href="{$ABS_PATH}admin/admin.favicon.ico">
<link rel="SHORTCUT ICON" href="{$ABS_PATH}admin/admin.favicon.ico">
<!-- CSS Files -->
<link href="{$tpl_dir}/css/reset.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{$tpl_dir}/css/main.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{$tpl_dir}/css/data_table.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{$tpl_dir}/css/nestable.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{$tpl_dir}/css/jquery-ui_custom.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{$tpl_dir}/css/jquery.fancybox.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{$tpl_dir}/css/color_{$smarty.const.DEFAULT_THEME_FOLDER_COLOR}.css" rel="stylesheet" type="text/css" media="screen" />
<!-- JS files -->
{include file='scripts.tpl'}
<!-- JS Scripts -->
<script>
var ave_path = "{$ABS_PATH}";
var ave_theme = "{$smarty.const.DEFAULT_THEME_FOLDER}";
var ave_admintpl = "{$tpl_dir}";
5 years ago
var sess = '{$sess}';
7 years ago
</script>
<script type="text/javascript" language="JavaScript">
$(document).ready(function(){ldelim}
{if $smarty.const.ADMIN_MENU}
$("#menu").sticky({ldelim}topSpacing:56{rdelim});
{/if}
{if check_permission('group_edit')}
$(".ulAddGroup").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_GROUP#}';
var text = '{#MAIN_ADD_NEW_GROUP_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=groups&action=new&cp={$sess}'+ '&user_group_name=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_GROUP#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
{if check_permission('user_edit')}
$(".ulAddUser").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_USER#}';
var text = '{#MAIN_ADD_NEW_USER_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=user&action=new&cp={$sess}'+ '&user_name=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_USER#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
{if check_permission('navigation_edit')}
$(".ulAddNav").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_NAV#}';
var text = '{#MAIN_ADD_NEW_NAV_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=navigation&action=new&cp={$sess}'+ '&NaviName=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_NAV#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
{if check_permission('template_edit')}
$(".ulAddTempl").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_TEMPL#}';
var text = '{#MAIN_ADD_NEW_TEMPL_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=templates&action=new&cp={$sess}'+ '&TempName=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_TEMPL#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
{if check_permission('request_edit')}
$(".ulAddRequest").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_REQUEST#}';
var text = '{#MAIN_ADD_NEW_REQUEST_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=request&action=new&cp={$sess}'+ '&request_title_new=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_QUERY#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
{if check_permission('rubric_edit')}
$(".ulAddRub").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_RUB#}';
var text = '{#MAIN_ADD_NEW_RUB_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=rubs&action=new&cp={$sess}'+ '&rubric_title=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_RUB#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
{if check_permission('sysblocks_edit')}
$(".ulAddBlock").click( function(e) {ldelim}
e.preventDefault();
var title = '{#MAIN_ADD_NEW_BLOCK#}';
var text = '{#MAIN_ADD_NEW_BLOCK_NAME#}';
jPrompt(text, '', title, function(b){ldelim}
if (b){ldelim}
$.alerts._overlay('hide');
$.alerts._overlay('show');
window.location = ave_path+'admin/index.php?do=sysblocks&action=new&cp={$sess}'+ '&sysblock_name=' + b;
{rdelim}else{ldelim}
$.jGrowl("{#MAIN_NO_ADD_BLOCK#}", {ldelim}theme: 'error'{rdelim});
{rdelim}
8 years ago
{rdelim}
7 years ago
);
{rdelim});
{/if}
8 years ago
7 years ago
{rdelim});
</script>
8 years ago
7 years ago
</head>
8 years ago
7 years ago
<body>
8 years ago
7 years ago
<div id="leftNav_show">
<a href="javascript:void(0);" id="toggle-LeftMenu"><span class="rightDir {if $smarty.cookies.LeftMenu != "hidden"}close{/if}" title="{#MAIN_SHOWHIDE#}"></span></a>
</div>
8 years ago
7 years ago
<!-- Top Menu -->
<div id="topNav">
<div class="fixed">
<div class="wrapper">
<div class="welcome">
{if $user_avatar}
<img src="{$user_avatar}" class="avatar" alt="{$smarty.session.user_name|escape}" />
{else}
<img src="{$tpl_dir}/images/userPic.png" class="avatar" alt="" />
8 years ago
{/if}
7 years ago
<span>{#MAIN_USER_ONLINE#} <strong>{$smarty.session.user_name|escape}</strong></span>
</div>
<div class="userNav">
<ul>
{if $smarty.const.ADMIN_MENU_QUICK_ADD}
<li class="dropdown"><a title=""><img src="{$tpl_dir}/images/icons/add.png" alt="" /><span>{#MAIN_BUTTON_ADD#}</span></a>
<ul>
{if check_permission('documents_edit')}<li><a onclick="windowOpen('index.php?do=docs&action=add_new&pop=1&cp={$sess}','750','500','1')" href="javascript:void(0);">{#MAIN_ADD_DOC#}</a></li>{/if}
{if check_permission('rubric_edit')}<li><a class="ulAddRub" href="index.php?do=rubs&action=new&cp={$sess}">{#MAIN_ADD_RUB#}</a></li>{/if}
{if check_permission('request_edit')}<li><a class="ulAddRequest" href="index.php?do=request&action=new&cp={$sess}">{#MAIN_ADD_REQ#}</a></li>{/if}
{if check_permission('sysblocks_edit')}<li><a class="ulAddBlock" href="index.php?do=sysblocks&action=new&cp={$sess}">{#MAIN_ADD_SYS#}</a></li>{/if}
{if check_permission('template_edit')}<li><a class="ulAddTempl" href="index.php?do=templates&action=new&cp={$sess}">{#MAIN_ADD_TEM#}</a></li>{/if}
{if check_permission('navigation_edit')}<li><a class="ulAddNav" href="index.php?do=navigation&action=new&cp={$sess}">{#MAIN_ADD_NAV#}</a></li>{/if}
{if check_permission('user_edit')}<li><a class="ulAddUser" href="index.php?do=user&action=new&cp={$sess}">{#MAIN_ADD_USR#}</a></li>{/if}
{if check_permission('group_edit')}<li><a class="ulAddGroup" href="index.php?do=groups&action=new&cp={$sess}">{#MAIN_ADD_GRP#}</a></li>{/if}
</ul>
</li>
{/if}
8 years ago
7 years ago
<li class="dropdown dd_page" {if $smarty.cookies.LeftMenu == "visible"}style="display: none;"{/if}>
<a title=""><img src="{$tpl_dir}/images/icons/tasks.png" alt="" /><span>{#MAIN_BRANCHES#}</span></a>
<ul class="menu_page">
{$navi_top}
</ul>
</li>
{if check_permission('modules_view')}
{if $modules}
<li class="dropdown"><a title=""><img src="{$tpl_dir}/images/icons/subInbox.png" alt="" /><span>{#MAIN_LINK_MODULES_H#}</span></a>
{if $modules && check_permission('modules_view')}
<ul>
{foreach from=$modules item=module}
<li><a href="index.php?do=modules&action=modedit&mod={$module.ModuleSysName}&moduleaction=1&cp={$sess}">{$module.ModuleName}</a></li>
{/foreach}
</ul>
{/if}
</li>
8 years ago
{/if}
7 years ago
{/if}
{if check_permission('gen_settings') || check_permission('gen_settings_more') || check_permission('dbactions') || check_permission('gen_settings_countries') || check_permission('gen_settings_languages') }
<li class="dropdown"><a title=""><img src="{$tpl_dir}/images/icons/settings.png" alt="" /><span>{#MAIN_LINK_SETTINGS_H#}</span></a>
<ul>
{if check_permission('gen_settings')}<li><a href="index.php?do=settings&cp={$sess}">{#MAIN_SETTINGS_EDIT_1#}</a></li>{/if}
{if check_permission('gen_settings_more')}<li><a href="index.php?do=settings&sub=case&cp={$sess}">{#MAIN_SETTINGS_EDIT_2#}</a></li>{/if}
{if check_permission('gen_settings_countries')}<li><a href="index.php?do=settings&sub=countries&cp={$sess}">{#MAIN_SETTINGS_EDIT_3#}</a></li>{/if}
{if check_permission('gen_settings_languages')}<li><a href="index.php?do=settings&sub=language&cp={$sess}">{#MAIN_LINK_LANG#}</a></li>{/if}
{if check_permission('db_actions')}<li><a href="index.php?do=dbsettings&action=dump_top&cp={$sess}">{#MAIN_SETTINGS_EDIT_4#}</a></li>{/if}
</ul>
</li>
{/if}
5 years ago
{if check_permission('cache_clear')}
<li class="dropdown"><a href="javascript:void(0);" class="clearCache" title="{#MAIN_STAT_CLEAR_CACHE#}"><img src="{$tpl_dir}/images/icons/subTrash.png" alt="" /><span>{#MAIN_STAT_CLEAR_CACHE#}</span></a>
<ul>
4 years ago
<li><a href="index.php?do=settings&action=showcache&cp={$sess}">{#MAIN_SETTINGS_SHOWCACHE#}</a></li>
5 years ago
</ul>
</li>
{/if}
7 years ago
{*
<li><a href="#" title="{#MAIN_LOGIN_HELP#}"><img src="{$tpl_dir}/images/icons/help.png" alt="" /><span>{#MAIN_LOGIN_HELP#}</span></a></li>
*}
<li>
<a href="../" title="{#MAIN_LINK_SITE#}" target="_blank"><img src="{$tpl_dir}/images/icons/preview.png" alt="" /><span>{#MAIN_LINK_SITE#}</span></a>
</li>
<li><a href="admin.php?do=logout" class="ConfirmLogOut" title="{#MAIN_BUTTON_LOGOUT#}"><img src="{$tpl_dir}/images/icons/logout.png" alt="" /><span>{#MAIN_BUTTON_LOGOUT#}</span></a></li>
</ul>
</div>
<div class="fix"></div>
8 years ago
</div>
</div>
</div>
7 years ago
<!-- Header -->
<div id="header" class="wrapper">
<div class="fix"></div>
</div>
8 years ago
7 years ago
<!-- Wrapper -->
<div class="wrapper">
8 years ago
7 years ago
<!-- Left navigation -->
<div class="leftNav {if $smarty.cookies.LeftMenu == "hidden"}hidden{/if}">
<ul id="menu">
<li><a href="index.php" {if $smarty.request.do == ''}class="active collapse-close"{/if}><span>{#MAIN_LINK_HOME#}</span></a></li>
{$navi}
</ul>
</div>
8 years ago
7 years ago
<!-- Content -->
<div class="content" id="contentPage">
{$content}
</div>
8 years ago
7 years ago
<div class="fix"></div>
8 years ago
</div>
7 years ago
<!-- Footer -->
<div id="footer">
<div class="wrapper">
<span class="floatleft">{#oficial_site#}: {$smarty.const.APP_INFO}</span>
<span class="floatleft ml20">{#support#}: <a href="mailto:support@ave-cms.ru">support@ave-cms.ru</a></span>
<span class="floatright">{$smarty.const.APP_NAME} v{$smarty.const.APP_VERSION}</span>
</div>
8 years ago
</div>
7 years ago
<script type="text/javascript" src="{$ABS_PATH}admin/lang/{$smarty.session.admin_language}/scripts.js"></script>
<script src="{$tpl_dir}/js/main.js" type="text/javascript"></script>
8 years ago
7 years ago
</body>
8 years ago
</html>