<?php
    define ('PL_SEARCH_KB', '.'); 
    define ('PL_SEARCH_MB', '.');
    define ('PL_SEARCH_BYTE', '');
    define ('PL_SEARCH_STATISTIC', '');
    define ('PL_SEARCH_NUM_PAGES', '  ');
    define ('PL_SEARCH_NUM_WORDS', ' ');
    define ('PL_SEARCH_NUM_WORDS_UNIQUE', '  ');
    define ('PL_SEARCH_VOL_PAGES', '  ');
    define ('PL_SEARCH_VOL_WORDS', '  ');
    define ('PL_SEARCH_VOL_MEMORY', '  ');
    define ('PL_SEARCH_SAVE_RESULTS', '  ');
    define ('PL_SEARCH_END', ' ');
    define ('PL_SEARCH_CLOSE_WINDOW', '    ?        !');
    
    define ('PL_SEARCH_FIRST_PAGE', ' ,    ');
    define ('PL_SEARCH_CLEAR_INDEX', ' ');
    define ('PL_SEARCH_MAKE_INDEX', '');
    define ('PL_SEARCH_TEMP_USED', '  ');
    define ('PL_SEARCH_TEMP_NOT_USED', '   ');
    define ('PL_SEARCH_TEMP_DEFAULT', ' ');
    define ('PL_SEARCH_TEMP_ROOT_NAME', ' ');
    define ('PL_SEARCH_TEMP_SORT_BY_NAME', '  ');
    define ('PL_SEARCH_TEMP_SORT_ITEM', '  ');
    
    define ('PL_SEARCH_TEMP_SYSTEM_MESSAGES', ' ');
    define ('PL_SEARCH_TEMP_NO_TITLE', '   !');
    define ('PL_SEARCH_TEMP_TITLE', ' ');
    define ('PL_SEARCH_TEMP_NAME', '');
    define ('PL_SEARCH_TEMP_FORM', ' ');
    define ('PL_SEARCH_TEMP_DEFAULT_TEXT', ' ');
    define ('PL_SEARCH_TEMP_TOP', ' ');
    define ('PL_SEARCH_TEMP_ELEMENT', ' ');
    define ('PL_SEARCH_TEMP_BOTTOM', ' ');
    define ('PL_SEARCH_TEMP_FONT_WORD', '    ');
    define ('PL_SEARCH_TEMP_PAGE_FONT_WORD_TAG', ' ');
    
    define ('PL_SEARCH_TEMP_FORM_TAG', ' ');
    define ('PL_SEARCH_TEMP_INPUT_TAG', '   ');
    define ('PL_SEARCH_TEMP_BUTTON_TAG', ' \"\"');
    define ('PL_SEARCH_TEMP_SEARCH_BUTTON_STR', '');
    define ('PL_SEARCH_TEMP_AND_TAG', ' \"\"');
    define ('PL_SEARCH_TEMP_OR_TAG', ' \"\"');
    define ('PL_SEARCH_TEMP_NUMLIST_TAG', ' ');
    define ('PL_SEARCH_TEMP_SEARCH_WORDS_TAG', ' ');
    define ('PL_SEARCH_TEMP_NUM_PAGES_TAG', '-  ');
    define ('PL_SEARCH_TEMP_PAGE_TITLE_TAG', ' ');
    define ('PL_SEARCH_TEMP_PAGE_DESC_TAG', ' ');
    define ('PL_SEARCH_TEMP_PAGE_LINK_TAG', '  ');
    define ('PL_SEARCH_TEMP_PAGE_SIZE_TAG', ' ');
    define ('PL_SEARCH_TEMP_WORD_COUNT_TAG', '-    ');
    
    define ('PL_SEARCH_TEMP_TAB1', ' ');
    define ('PL_SEARCH_TEMP_TAB2', ' ');
    define ('PL_SEARCH_TEMP_TAB3', ' ');
    
    define ('PL_SEARCH_TEMP_DELETE_ERROR', '        .  !');
    define ('PL_SEARCH_INDEXATION_YES', '   !');
    define ('PL_SEARCH_INDEXATION_LOG', '       log  :');
    define ('PL_SEARCH_INDEXATION_LOG_2', '         ');
    
    define ('PL_SEARCH_HISTORY_TAB1', '');
    define ('PL_SEARCH_HISTORY_TAB2', '  ');
    define ('PL_SEARCH_HISTORY_TAB3', ' ');
    
    define ('PL_SEARCH_HISTORY_SELECT_ERROR', '!       .'); 
    
    define ('PL_SEARCH_HISTORY_LANGUAGE', '');
    define ('PL_SEARCH_HISTORY_DATE', '  '); 
    define ('PL_SEARCH_HISTORY_HEADER', ' '); 
    define ('PL_SEARCH_HISTORY_CENTER_EVEN', '  '); 
    define ('PL_SEARCH_HISTORY_CENTER_ODD', '  '); 
    define ('PL_SEARCH_HISTORY_FOTTER', ' '); 
    define ('PL_SEARCH_HISTORY_NUMLIST_TAG', ' ');
    define ('PL_SEARCH_HISTORY_NUM_PAGES_TAG', '- ');
    define ('PL_SEARCH_HISTORY_SEARCH_WORDS', ' ');
    define ('PL_SEARCH_HISTORY_NUM_PAGES_WORDS', '-  ');
    define ('PL_SEARCH_HISTORY_COUNT_SEARCH_WORDS', '-   ');
    define ('PL_SEARCH_HISTORY_LAST_DATE', '  ');
    define ('PL_SEARCH_HISTORY_URL', '   ');
    
    define ('PL_SEARCH_HISTORY_TEMP_LANG', '{DAY}.{MONTH}.{LONG_YEAR} {MINUTE}:{HOUR}');
    define ('PL_SEARCH_HISTORY_TEMP_HEADER', "<table width='100%'><tr>\n<td align='center'>\n<b> </b>\n</td>\n<td align='center' style='width: 100px'>\n<b>-  </b>\n</td>\n<td align='center' style='width: 100px'>\n<b>-   </b>\n</td>\n<td align='center' style='width: 100px'>\n<b>  </b>\n</td>\n</tr>");
    define ('PL_SEARCH_HISTORY_TEMP_CENTER_EVEN', "<tr>\n<td style='background-color: #f2f2f2'>\n<a href={URL_SEARCH}''>{SEARCH_WORDS}</a>\n</td>\n<td style='background-color: #f2f2f2; width: 100px' align='center'>\n{NUM_PAGES_WORDS}\n</td>\n<td style='background-color: #f2f2f2; width: 100px' align='center'>\n{COUNT_SEARCH_WORDS}\n</td>\n<td style='background-color: #f2f2f2; width: 100px' align='center'>\n{LAST_DATE}\n</td>\n</tr>");
    define ('PL_SEARCH_HISTORY_TEMP_CENTER_ODD', "<tr>\n<td>\n<a href='{URL_SEARCH}'>{SEARCH_WORDS}</a>\n</td>\n<td style='width: 100px' align='center'>\n{NUM_PAGES_WORDS}\n</td>\n<td style='width: 100px' align='center'>\n{COUNT_SEARCH_WORDS}\n</td>\n<td style='width: 100px' align='center'>\n{LAST_DATE}\n</td>\n</tr>");
    define ('PL_SEARCH_HISTORY_TEMP_FOOTER', "</table>\n<div style='width: 100%; text-align: center'>{NUM_LIST}</div>");
    define ('PL_SEARCH_HISTORY_TEMP_BEGIN', '<a href="{BEGIN_LINK}">&lt;&lt;</a>');
    define ('PL_SEARCH_HISTORY_TEMP_PREV', '<a href="{PREV_LINK}">&lt;</a>');
    define ('PL_SEARCH_HISTORY_TEMP_NEXT', '<a href="{NEXT_LINK}">&gt;</a>');
    define ('PL_SEARCH_HISTORY_TEMP_END', '<a href="{END_LINK}">&gt;&gt;</a>');
    define ('PL_SEARCH_HISTORY_TEMP_NUMBER', '<a href="{NUMBER_LINK}">{NUMBER}</a>&nbsp;');
    define ('PL_SEARCH_HISTORY_TEMP_SEL_NUMBER', '<b>{SEL_NUMBER}</b>&nbsp;');
    define ('PL_SEARCH_HISTORY_TEMP_NUM_LIST', '{BEGIN}&nbsp;&nbsp;{PREV}&nbsp;{NUM_LIST}&nbsp;{NEXT}&nbsp;&nbsp;{END}');

    define ('PL_SEARCH_ERROR_MKDIR', ' ,     /database !');
    define ('PL_SEARCH_ERROR_LOG', ' ,     /database/log.html !');
    define ('PL_SEARCH_ERROR_INPUT', ' ,     /cms/plugins/pl_search/tree.fin !');
    define ('PL_SEARCH_ERROR_FINFO', ' ,     /database/.finfo !');
    define ('PL_SEARCH_ERROR_FTEXT', ' ,     /database/.ftext !');
    define ('PL_SEARCH_ERROR_SITEWORDS', ' ,     /database/.sitewords !');
    define ('PL_SEARCH_ERROR_WORD_IND', ' ,     /database/.word_ind !');
    define ('PL_SEARCH_ERROR_LINK', ' !');
    define ('PL_SEARCH_ERROR_FILE_EMPTY', ' !');
    define ('PL_SEARCH_ERROR_HASH', ' ,     /database/.hash !');
    define ('PL_SEARCH_ERROR_HASHWORDS', ' ,     /database/.hashwords !');
    define ('PL_SEARCH_ERROR_FATAL', '  .      ,    db!');
    define ('PL_SEARCH_ERROR_NO_FATAL', '      !');
    
    define ('PL_SEARCH_INDEXATION', ' .');
    define ('PL_SEARCH_INDEXATION_LINK', ' c');
    define ('PL_SEARCH_INDEXATION_REDIRECTED', ' ');
    define ('PL_SEARCH_INDEXATION_REDIRECTED_URL', ' ');
    define ('PL_SEARCH_INDEXATION_2', '     .    : ');
    define ('PL_SEARCH_INDEXATION_TIME', '  !');
    define ('PL_SEARCH_INDEXATION_NO_DB', '          !');
    define ('PL_SEARCH_INDEXATION_NO_INDEX', ' !     index.php,   !');
    define ('PL_SEARCH_INDEXES_WORKS', '     !');
    define ('PL_SEARCH_INDEXES_TRUE', '   !');
    
    $sm_codes_arr = array();
    $sm_codes_arr['SMC_SEARCH_NO_RESULT']['descr'] = '  '; $sm_codes_arr['SMC_SEARCH_NO_RESULT']['temp'] = '<center><b>     !</b></center>';
    
    $sm_history_codes_arr = array();
    $sm_history_codes_arr['SMC_SEARCH_HISTORY_NO_RESULT']['descr'] = '   '; $sm_history_codes_arr['SMC_SEARCH_HISTORY_NO_RESULT']['temp'] = '<center><b>     !</b></center>';
?>