The pots are 100K Lin (the pot will have B100K written on it). Don't buy Log pots (they will say A100K) - it will still work, but you might find all the tone is squashed into a very small part of the sweep of the pot. Now for the rest of what I'm writing please bear in mind I am a total amateur at pedal construction, so this information might be wrong!
If that resistor in the top left is a 1K resistor (you will have to check the colour bands; sadly I am colour blind, so resistor colours are no use to me

) A 1K resistor should be Brown-Black-Red-Gold or Brown-Black-Black-Brown-Gold. If so then Lug 1 of the gain pot connects to the hole to the left of that resistor (kind of hard to see because the board is at an angle, a top down photo would be easier). The Gain 2 lug needs to connect to a capacitor (a 100nF) one. Could you look at the capacitor at the top middle and see if it has 104 written on it? If so that is a 100nF cap and there should be a trace from it to a hole on the edge of the board (maybe the hole just above the number 3). The Gain 3 lug goes to your footswitch (this is the audio In connection that travels from the Input Jack to the footswitch and then from there to the Gain pot and then via Lug 2 of the gain pot to the circuit itself.
The other pot is more problematic. Lug 1 of that pot has to connect to the other end of that 1K resistor, but I'm not sure (from the angle of the photo) where it shold connect. Lug 3 needs to connect to another 100nF capacitor, I think it is the one in the lower left corner so the hole is labelled I1 if I am right. Lug 2 of that pot is the audio output - it goes to the footswitch and then to the Out jack.
Hmmm the more I think about this the more I am really unsure about these guesses... I cannot workout where the Ground pointis on it. The power in is probably the V in the top right, but that should be connected to the diode and it is not clear if it is - oh is this board two sided? Does it have traces on both sides? that PCB is horrible to look at (it's one that can make almost all of Devi's pedals) but without a guide it is really hard to guess correctly. It is an easy build on vero though - the below link would be easier to work with - just start from scratch and it will sound the same! It would only take a few hours to build.
By the way I've based all of these guesses by looking at a vero layout
http://dirtboxlayouts.blogspot.com/2019/08/devi-ever-legend-of-fuzz.html. I've not built this specific layout, but I did build this pedal years ago.