includes/functions.php
changeset 112 008b1c42be72
parent 91 8079b0288e8e
child 125 fb31c951d3a2
equal deleted inserted replaced
111:b348ace50bc7 112:008b1c42be72
   870 function display_page_headers()
   870 function display_page_headers()
   871 {
   871 {
   872   global $db, $session, $paths, $template, $plugins; // Common objects
   872   global $db, $session, $paths, $template, $plugins; // Common objects
   873   if($session->get_permissions('vote_reset') && $paths->cpage['delvotes'] > 0)
   873   if($session->get_permissions('vote_reset') && $paths->cpage['delvotes'] > 0)
   874   {
   874   {
   875     $hr = implode(', ', explode('|', $paths->cpage['delvote_ips']));
   875     $delvote_ips = unserialize($paths->cpage['delvote_ips']);
       
   876     $hr = htmlspecialchars(implode(', ', $delvote_ips['u']));
   876     $is = 'is';
   877     $is = 'is';
   877     $s = '';
   878     $s = '';
   878     $s2 = 's';
   879     $s2 = 's';
   879     if ( $paths->cpage['delvotes'] > 1)
   880     if ( $paths->cpage['delvotes'] > 1)
   880     {
   881     {