upload($from); break; case 'delete': $img->delete(urldecode(stripslashes($filename))); break; default: break; } print $img->get_list("admin.php?categ=mailtpl&sub=img"); print $img->get_error();