A 50-yuan hotel in Shanghai is basically impossible.
If there are only some guest houses within Hongkou 100, Shanghai International Studies University has a guest house on Dalian Road, East Sports Club Road.
Songjiang, I only know that Huazheng has a guest house, but the bed in the dormitory is 80 yuan alone. . .
But there will be couples hotels near all universities. . . It's safe, but not expensive. . .