diff options
-rw-r--r-- | main.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -508,9 +508,9 @@ Errors: $xmlDoc = new DOMDocument(); $xmlDoc->loadHTML( $sporocilo_output ); $textarea = DOMinnerHTML($xmlDoc->getElementById( "ctl00_ModalMasterBody_edtBesediloExt" )); - $zadeva = get_string_between($sporocilo_output, '<input name="ctl00$ModalMasterBody$edtZadeva" type="text" value="', '" id="ctl00_ModalMasterBody_edtZadeva" />'); - $telo = get_string_between($textarea, "</span></p><p>", "</p>\n"); - $posiljatelj = get_string_between($textarea, "><b>Od</b>: ", "<br /><b>Poslano</b>: "); // ne trudi se za prejemnika, gimsisglitch(C)12 + $zadeva = html_entity_decode(get_string_between($sporocilo_output, '<input name="ctl00$ModalMasterBody$edtZadeva" type="text" value="', '" id="ctl00_ModalMasterBody_edtZadeva" />')); + $telo = html_entity_decode(html_entity_decode(get_string_between($textarea, "</span></p><p>", "</p>\n"))); + $posiljatelj = html_entity_decode(html_entity_decode(get_string_between($textarea, "><b>Od</b>: ", "<br /><b>Poslano</b>: "))); // ne trudi se za prejemnika, gimsisglitch(C)12 $datumincas = get_string_between($textarea, "<br /><b>Poslano</b>: ", "<br /><b>Za</b>: "); // pazi, tale je za ljudi $cas = explode(":", end(explode(" ", $datumincas))); $datum['dan'] = intval(substr(explode(" ", $datumincas)[0], 0, -1)); // da ni . |