diff --git a/app/functions/xhtmltransform.php b/app/functions/xhtmltransform.php new file mode 100644 index 0000000..9cdf774 --- /dev/null +++ b/app/functions/xhtmltransform.php @@ -0,0 +1,57 @@ +', $pos); + + if ($end) + return $end; + else + return false; + +} + + + + +//удаляем xtml +function convert2html($xfile){ + + if (!file_exists($xfile)){ + return ''; + } + + $xhtml = file_get_contents($xfile); + + $result = str_replace('', '', $xhtml); + $result = str_replace('', '', $xhtml); + + if ($pos = strpos('