Прошу помочь прикрутить модуль к DLE
Страницы: 1
Прошу помочь прикрутить модуль к DLE, Модуль PhpMathPublisher
Всем привет! Совсем новичок в PHP smile:confused: , пожалуйста помогите подключить модуль PhpMathPublisher к движку DLE.
Собственно, немного про этот модуль:
PhpMathPublisher — система публикации математических формул в HTML, используя только средства PHP.
Каждая формула преобразуется в PNG-изображение скриптом, возвращающим соответствующий HTML-код.
Решение кроссбраузерно, конечному пользователю не требуется устанавливать у себя какие-либо дополнения или шрифты.
Для работы скрипта необходима библиотека GD и некоторые шрифты, содержащие математические символы (шрифты содержатся в комплекте).

Содержание файла помощи этого модуля:
Цитата

Features

With PhpMathPublisher, you can publish mathematical documents on the web by using only a php script (no latex programs on the server, no mathml...).
The method : each formula is transformed into image by a php script which returns the corresponding html code.
Advantages for the visitors : the web pages created by PhpMathPublisher can be displayed by all the cureent browsers.
The visitor does not have anything to install on his system: neither fonts, nor plugins...
Advantages for the webmasters :
Only Php (with the GD library) and some fonts are required.
PhpMathPublisher is simple to install and use. You can convert a mathematical text with only one php command.
It can be easily used by CMS systems, weblogs and forums.
PhpMathPublisher creates cross-browser pages.
The png images created by the script are transparent and can be placed in any page.

Installation and use of the script

1. PhpMathPublisher needs a repertory for the fonts and another for the images (you can use your own directories or the defaults directories included in the package). You must first modify the firt lines of the "mathpublisher.php" script to indicate the absolute path to these directories.
2. Then, you must install the fonts into their directory (there are located in the fonts/ directory in the package).
3. The script is contained in only one file : "mathpublisher.php"
The only command to be used in your php pages to convert a mathematical expression is :
echo mathfilter($text,$size,$pathtoimg); (and include("mathpublisher.php") smile;)
$text is the text with standard html tags and mathematical expressions (defined by the <m>...</m> tag), $size is the size of the police used for the formulas and $pathtoimg is the relative path between the html pages and the images directory.
The "mathfilter" function creates the images of the formulas and returns the corresponding html code. Apart from the <m>...</m> tag, $text can contain any html code. Syntax to be respected for the mathematical formulas is indicated in the help.html file.
The php code of the demo files (in the examples/ directory) shows you how the script can be used by a webmaster.

Еще тут немного, но не пониманию как и куда подключать файл
Код
http://habrahabr.ru/blogs/php/45292/


Надеюсь английский знают все smile:D, несмотря на то, что я понял, что там написано, я не смог сделать ничего.
Прошу помочь. Спасибо smile:)

Можно в ICQ: 570восемь0467два
Страницы: 1
Читают тему (гостей: 1, пользователей: 0, из них скрытых: 0)
Новые темыОбъявленияСвободное общение
10:57 3snet - гемблинг, беттинг, форекс, бинарные опционы, майнинг 
19:12 Мошенники-копирайтеры 
08:57 Индексация страниц 
23:16 Есть ли альтернатива Адсенсу и РСЯ? 
20:48 Dao.AD: Монетизация и покупка Push/Pops/Inpage и Video трафика! 
18:53 Настройка плагина для wordpress Price Shop 
14:28 Подскажите нормальные поисковики на ТОР браузере 
11:37 Volna.money 
09:41 SpaceSwap.cc - Быстрый и надежный обменник криптовалют 
09:09 Coin Click.cc - Быстрый и надежный обмен электронных валют в два клика 
04:14 Просто $0.04/IP 9PROXY.COM Резидентные прокси Неограниченная пропускная способность Уникальная политика замены Без чёрного списка 
23:10 BestX24 - быстрый и безопасный обменник криптовалют и электронных денежных средств 
21:10 Бесплатные виртуальные роутеры от ARB. Лучшее решение для подключения прокси на виртуальных машинах 
20:02 [Бесплатный тест] Прокси для соц. сетей с синхронизацией сетевого стека [PoF] от ARB. Решение №1 
21:16 Точные прогнозы на футбол 
20:32 Ням-ням! - 8 деликатесов, которые когда-то ели только бедные люди 
09:37 Договорные матчи от ИИ 
20:29 SMM-24.com САМЫЙ ДЕШЕВЫЙ SMM - Накрутка от 0.0001$|TG/TG PREMIUM/YT/TWIT/IG/TT/FB 
08:32 Бесплатный SEO аудит. 
20:52 Что сейчас топ по монетизации? Видео-темы или что-то поинтереснее? 
21:55 Хром ругается на форум