<?
### Âåðñèÿ ÏÎ (ÄÌ) 1.0.0.0 ( (c)2018 MISOFT Ïðîäóêò çàùèùåí ðåãèñòðàöèåé ïàòåíòà è àâòîðñêèõ ïðàâ! www.misoft.studio )
######################################################################################################################

  if ( $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' ) {
    define( 'ROOT_DIR', $_SERVER['DOCUMENT_ROOT'] );
    session_start();
    header( 'Content-type: text/html; charset=windows-1251' );
    include_once ROOT_DIR . '/engine/config.php';
    include_once ROOT_DIR . '/engine/function.php';
  } else {
    if ( !defined( 'MISOFT' ) ) { exit(); }
  }
  
  #Îáÿâëÿåì êëàññ êññ àêòèâíîé/íå àêòèâíîé êíîïêè
  $url_page = $_SERVER['REQUEST_URI'];
  $page_active_e = 'class="content_bar_buttom1_act"';
  $page_pasive_e = 'class="content_bar_buttom"';

?>
  <link media="all" type="text/css" rel="stylesheet" href="/theme/css/input_form_fix.css" />
  <div style="margin-left: -10px; margin-bottom: -1px;">
	<a href="/adddyn" <? if ( strpos( $url_page, 'adddyn' ) or strpos( $url_page, 'testdrive' ) or strpos( $url_page, 'addautodyn' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÑÅÐÔÈÍÃ</a>
	<a href="/addtasks" <? if ( strpos( $url_page, 'addtasks' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÇÀÄÀÍÈß</a>
	<a href="/addban468x60" <? if ( strpos( $url_page, 'addban468x60' ) or strpos( $url_page, 'addban2x3' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÁÀÍÍÅÐÛ</a>
	<a href="/addklink" <? if ( strpos( $url_page, 'addklink' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÊÎÍÒÅÊÑÒ</a>
	<a href="/addstatlink" <? if ( strpos( $url_page, 'addstatlink' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÑÒÀÒÈÊÀ</a>
	<a href="/addchain" <? if ( strpos( $url_page, 'addchain' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÖÅÏÎ×ÊÀ</a>
	<a href="/addtests" <? if ( strpos( $url_page, 'addtests' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÒÅÑÒÛ</a>
	<a href="" <? if ( strpos( $url_page, 'vk' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>VK</a>
	<a href="" <? if ( strpos( $url_page, 'youtube' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>YOUTUBE</a>
	<!--a href="" <? if ( strpos( $url_page, 'catalog' ) ) { echo $page_active_e; } else { echo $page_pasive_e; } ?>>ÊÀÒÀËÎÃ</a-->
  </div>