Прошу помочь прикрутить модуль к 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)
Новые темыОбъявленияСвободное общение
02:38 Стоит ли добавлять сайт в Rambler топ 100? 
23:06 Апдейт Яндекс выдача 01.04 | у вас коленки сзади грязные 
21:27 Трамп пригрозил Google судом 
21:03 Работает ли ссылочное продвижение 2019 – 2020? 
11:19 АП Яндекс выдача 30.03 | Планирование поездки в Санкт-Петербург 
21:22 Проблема с фидом 
20:55 Где узнать статистику о количестве пользователях интернета по регионам России? 
22:07 BestX24 - быстрый и безопасный обменник криптовалют и электронных денежных средств 
18:25 Резидентные Прокси Ротационные BACKCONNECT США Европа Микс 
16:48 - Вечные ссылки с трастовых сайтов 2024 проверен FastTrust 
15:49 Belurk — высокоскоростные анонимные прокси от 0,24 рублей 
13:27 Продам базу данных предприятий Украины, России, Великобритании, Германии, Испании, Италии, Нидерландов, Польши, Франции, Швейцарии и др. 
11:52 SpaceSwap.cc - Быстрый и надежный обменник криптовалют 
10:52 Продам: Флудер телефонов. Спамер телефонов. Массовые звонки на телефон 
01:31 Кирпич за 13 тысяч: новая мода или первоапрельская шутка от Telegram? 
23:21 Точные прогнозы на футбол 
23:15 Великий файрволл Казахстана: OnlyFans в черном списке! 
16:30 В мае 2025 года компания Skype прекращает свою работу 
16:27 Добро пожаловать в цифровой мир... 
22:02 ИИ научился рисовать знаменитостей, но боится Скарлетт Йоханссон 
20:38 Финансовая диета: самозапрет на покупки может стать реальностью