$font ".BACK."

"; function xxx(&$str){ $approvedtags = array( "p"=>array('align'), "b"=>array(), "i"=>array(), "a"=>array('href', 'target'), "em"=>array(), "br"=>array(), "strong"=>array(), "blockquote"=>array(), "tt"=>array(), "hr"=>array('align', 'width', 'size', 'noshade'), "li"=>array('type'), "ol"=>array('type', 'start'), "ul"=>array('type'), "pre"=>array() ); $keys = array_keys($approvedtags); $text=split('<',$str); $first = 1; foreach($text as $value){ $temp=split('>',$value); if(count($temp) > 1){ $end=''; $tag=split(' ',$temp[0]); if($tag[0][0] == '/'){ $end='/'; $tag[0]=substr($tag[0],1); } if(in_array($tag[0],$keys)){ $string.='<'.$end.$tag[0]; for($i=1; $i<=count($tag); $i++){ $attributes=split('=',$tag[$i]); if(in_array($attributes[0], $approvedtags[$tag[0]])){ $string.=' '.$tag[$i]; } } $string.='>'; }else{ $string.='<'.htmlentities($value); } $string.=htmlentities($temp[1]); }else{ if( ! $first){ $string.='<'; } $string .= htmlentities($value); } $first = 0; } $str = $string; return $str; } include_once 'db.php'; $d = new dbC(); $d->connect($db_host, $db_username, $db_password, $db); if(!eregi("admin/index.php", $_SERVER['SCRIPT_NAME'])){ $checko=$d->query("select * from $db_prefix"."options where id='1'"); if($checko){ $GetOptions=$d->query("select * from $db_prefix"."options where id='1'"); $GetArray=$d->fetch_array($GetOptions); $admin=$GetArray[admin]; $sortby=$GetArray[sortby]; $url=$GetArray[url]; $title=$GetArray[title]; $title=xxx($title); $notify_email=$GetArray[notify_email]; $showonlyyourgroup=$GetArray[group_setting]; $allowdelete=$GetArray[allow_delete]; $files=$GetArray[file_types]; $filesize=$GetArray[file_size]; $action_amount=$GetArray[action_ticket_list]; $support_email=$GetArray[reply_email]; $font_face=$GetArray[font_face]; $font_face=xxx($font_face); $font_size=$GetArray[font_size]; $font_size=xxx($font_size); $font_color=$GetArray[font_color]; $font_color=xxx($font_color); $allowgive=$GetArray[allowgive]; $allowmsg=$GetArray[allow_msg]; $openreg=$GetArray[open_reg]; $color_rows=$GetArray[color_rows]; $font=""; $font_table_top=""; } } function head(){ global $title; echo "$title "; echo "
"; } function foot(){ global $font,$ver,$showcopyright; echo "
"; if($showcopyright == "yes"){ echo "


$font (c) 2003 - * phpSupport ".$ver." * <Chris S>
This program is released under the GNU General Public License.
"; } echo "
"; } ?> Help Desk Software by VSTORE.ca
Help Desk Software

Help Desk Software: Use the VSTORE.ca support help desk to open a trouble ticket request.

     Home Help Desk Software Help Desk
Login       Password