diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2019-11-13 18:22:36 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2019-11-13 18:22:36 +0100 |
commit | f4fe6a51f353c54cbede1bcc9a0603a873f5621d (patch) | |
tree | 7fdec0217261197cba5485108abbcdd9d53a542f /main.php | |
parent | zbrisal changelog iz endpoint docs (diff) | |
download | gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.tar gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.tar.gz gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.tar.bz2 gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.tar.lz gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.tar.xz gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.tar.zst gimsisextclient-f4fe6a51f353c54cbede1bcc9a0603a873f5621d.zip |
Diffstat (limited to '')
-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 . |