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