File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595}
9696else
9797{
98- $ post_data = unserialize (base64_decode ($ _POST ["post_data " ]));
98+ $ post_data = unserialize (base64_decode ($ _POST ["post_data " ]));
99+ if (is_array ($ post_data )) {
100+ foreach ($ post_data as $ k => $ v ) {
101+ $ post_data [$ k ] = $ myTs ->codeSanitizer ($ v );
102+ }
103+ }
99104 $ isPost = 1 ;
105+
100106}
101107
102108header ('Content-Type: text/html; charset= ' ._CHARSET );
111117 echo "<meta name='AUTHOR' content=' " . htmlspecialchars ($ icmsConfig ['sitename ' ], ENT_QUOTES ) . "' /> \n" ;
112118 echo "<meta name='COPYRIGHT' content='Copyright (c) " .date ('Y ' )." by " . htmlspecialchars ($ icmsConfig ['sitename ' ], ENT_QUOTES ) . "' /> \n" ;
113119 echo "<meta name='DESCRIPTION' content=' " . htmlspecialchars ($ icmsConfig ['slogan ' ], ENT_QUOTES ) . "' /> \n" ;
114- echo "<meta name='GENERATOR' content=' " . XOOPS_VERSION . "' /> \n\n\n" ;
120+ echo "<meta name='GENERATOR' content=' " . ICMS_VERSION_NAME . "' /> \n\n\n" ;
115121 echo "<body bgcolor='#ffffff' text='#000000' onload='window.print()'>
116122 <div style='width: 750px; border: 1px solid #000; padding: 20px;'>
117123 <div style='text-align: center; display: block; margin: 0 0 6px 0;'>
161167 </div>
162168 <br /> " ;
163169 echo "<br /></body></html> " ;
164- }
170+ }
You can’t perform that action at this time.
0 commit comments