The invention relates to a new compound with remarkable antibacterial and antineoplastic activity, which has the following structure (shown in formula I), and has good antibacterial function for methicillin-resistant staphylococcus aureus (MRSA) and methicillin sensitive staphylococcus aureus (MSSA) as well as good antineoplastic function for human cervical cancer Hela cells, human liver cancer BEL-7402 cells, human mucinous epidermoid lung cancer A549 cells, human breast cancer MCF-7/ s cells and human glioma U251 cells. (In the formula I,) R=-CH3 or CF3, X=O, S or N, and R1=-Cl, -F, -CH3, -CF3, -OCH3 and -OCF3.