Прошу помочь прикрутить модуль к 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)
Новые темыОбъявленияСвободное общение
08:28 WB и Ozon - новые "русские поисковики"? Яндекс теряет коммерческую выдачу 
06:29 Check This Out toast-wallet 
22:27 Раскрутка форума 
13:45 SEO под нейро 
13:42 Телега на ручнике: РКН включил замедление и логи админок покраснели 
13:07 MAX выкатил приватные каналы - закрытые тусы теперь лепишь за минуту 
18:07 Гугл уходит из России: почему интернет тормозит и что делать 
04:47 Onechange.me — надежный обменник криптовалют и фиатных средств 
23:29 TELEGRAM EXPERT — Многоцелевой комбайн по работе с Telegram 
16:30 Mixmasters - Exchange without AML and KYC 
15:09 Nexulume.com Обменник без AML и KYC 
09:02 Swapwatch.org — Мониторинг криптовалютных обменников 
22:42 BestX24 - быстрый и безопасный обменник криптовалют и электронных денежных средств 
19:41 CryptoGraph — Анонимный обмен криптовалют без KYC и AML 
08:49 Точные прогнозы на футбол 
08:26 блокировка youtube 2026: ркн начинает «выдавливание». кто уже пробовал вк видео? 
23:03 Ставки на супер тренды в спорте 
22:58 Добро пожаловать в цифровой мир... 
20:04 Оцифровка старых физических фотографий 
18:43 Индия влепила Intel 3 ляма баксов за дискриминацию по гарантии 
13:08 Туалетные секреты: Замурчательная тема