admin.tpl 6.22 KB
<html>
<head>
<title>Àäìèíêà - {$meta.title}</title>
<META name="description" content="Àäìèíêà" lang="ru">
<META name="keywords" content="Àäìèíêà">
<META http-equiv=content-type content="text/html; charset=windows-1251">
<link href="{$config->url}/css/style_admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{$config->url}/js/jquery-1.5.min.js"></script>
<script language="javascript" type="text/javascript" src="{$config->url}/js/tiny_mce/tiny_mce.js"></script>

<link rel="stylesheet" type="text/css" media="all" href="{$config->url}/js/calendar/calendar-system.css" title="win2k-cold-1" />
<script type="text/javascript" src="{$config->url}/js/calendar/calendar.js"></script>
<script type="text/javascript" src="{$config->url}/js/calendar/lang/cal-ru.js"></script>
<script type="text/javascript" src="{$config->url}/js/calendar/calendar-setup.js"></script>


{literal}
<script type="text/javascript">
   function del(url){
    if(confirm("Óäàëèòü?")){
        document.location=url;
        return true;
    }return false;
   }
</script>
{/literal}
<script type="text/javascript">
<!--
{literal}

  function myFileBrowser (field_name, url, type, win) {

    var cmsURL = "{/literal}{$config->url}{literal}/js/tiny_mce/plugins/ajaxfilemanager/ajaxfilemanager.php";    // script URL - use an absolute path!
    if (cmsURL.indexOf("?") < 0) {
        //add the type as the only query parameter
        cmsURL = cmsURL + "?type=" + type;
    }
    else {
        //add the type as an additional query parameter
        // (PHP session ID is now included if there is one at all)
        cmsURL = cmsURL + "&type=" + type;
    }

    tinyMCE.activeEditor.windowManager.open({
        file : cmsURL,
        title : 'My File Browser',
        width : 782,  // Your dimensions may differ - toy around with them!
        height : 440,
        resizable : "yes",
        inline : "yes",  // This parameter only has an effect if you use the inlinepopups plugin!
        close_previous : "no"
    }, {
        window : win,
        input : field_name
    });
    return false;
  }


{/literal}
//-->
 </script>
{literal}
<script type="text/javascript">
<!--

        tinyMCE.init({
                // General options
language : "ru",
mode : "exact",
elements : "text,features",
                theme : "advanced",
                plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",

                // Theme options
                theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
                theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
                theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
                theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
                theme_advanced_toolbar_location : "top",
                theme_advanced_toolbar_align : "left",
                theme_advanced_statusbar_location : "bottom",
                theme_advanced_resizing : true,
				extended_valid_elements : "iframe[name|src|framespacing|border|frameborder|scrolling|title|height|width]",

                // Example content CSS (should be your site CSS)
                content_css : "{/literal}{$config->url}{literal}/js/tiny_mce/style.css",
                file_browser_callback : 'myFileBrowser',
                        paste_use_dialog : false,
                        theme_advanced_resizing : true,
                        theme_advanced_resize_horizontal : true,
                        apply_source_formatting : true,
                        force_br_newlines : true,
                        force_p_newlines : false,
                        relative_urls : false
        });



//-->
 </script>
{/literal}


</head>

<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff">




<table cellpadding="1" cellspacing="0" border="0" background="#ffffff" width="100%" height="100%">
<tr height="100%">
<td width="230">
 <table cellpadding="0" cellspacing="0" width="100%" height="100%">
  <tr><td class="bord"></td></tr>
  <tr><td height="100%" valign="top">
    <table cellpadding="0" cellspacing="0" width="100%">
     <tr><td class="left_hot"><font color="#1273C4"><b>Ñèñòåìà àäìèíèñòðèðîâàíèÿ<br>ñàéòà</b></font></td></tr>
     <tr><td align="center"><img src="{$config->url}/img/admin/logo_artweb.jpg" border="0" width="189" height="118"></td></tr>
     <tr><td align="center">&nbsp;</td></tr>
     <tr><td align="center"><input type="button" value="Âûõîä" class="submit_red" onClick="document.location='{$url_lang}/admin/auth/_exit/'"></td></tr>
     <tr><td align="center"><img src="{$config->url}/img/admin/hr1.jpg" height="3" width="189" border="0"></td></tr>
     <tr><td class="left_hot">
{foreach from=$links_lang key=lang_s item=i}
  <a href="{$i}" {if $lang eq $lang_s}style="font-weight:bold;"{/if}>{$lang_s}</a>
{/foreach}

  <br /><br />

{$menu_ul}

     </td></tr>
    </table>
  </td></tr>
  <tr><td class="bord"></td></tr>
 </table>
</td>
<td>
 <table cellpadding="0" cellspacing="0" width="100%" height="100%">
  <tr><td class="bord" align="right"><a href="{$url_lang}/admin/auth/users/" id="link1">Àäìèíèñòðàòîðû</a> | <a href="{$url_lang}/admin/menu/" id="link1">Óïðàâëåíèå ñòðàíèöàìè</a></td></tr>
  <tr><td height="100%" class="content_site" valign="top">
   <h1>{$rules_info_one.name}</h1>
   {include file="error.tpl"}
   {include file="$tpl"}
  </td></tr>
  <tr><td class="bord"></td></tr>
 </table>
</td>
</tr>
</table>

<!--
Ðàçðàáîòàíî ñòóäèåé "ÀðòÏëþñ"
Ïðîãðàììèðîâàíèå Áîðèñåíêî Ïàâåë Ñåðãååâè÷ (Programming Borisenko Paul Sergeevich)
-->