These two images confirm the layout. Ive coloured a light grey block on the left (= back row in the top photo) and a white block on the right (= front row in the top photo)
The two sensor pins are shown with a black rectangular block (left sensor?) and a red/blue rectangular block (right sensor?)
The circuit diagram - as it relates to your photo:
The right hand 13 wires in the circuit diagram are identical to the 13 pins at the front of your photo - which is the first photo reproduced below.
Reading the diagram from right to left and the front row of the photo from right to left:
diag = photo
---------------
Gr = Grey wire
Bl/O - Black/Orange wire
G/R = Green / Red wire
Gap = no wire
Bl = Black - **** this is the wire that connects to one of the sensors.
G = Green wire
Gap = no wire
Lg = Light green wire
Gap = no wire
Gap = no wire
P/G = Pink / Green wire
G/O = Green / Orange wire
W/Y = White/Yellow Wire
The back row of wires in the photo also match the diagram - from the right hand side of the photo
and continuing with the Y wire in the middle of the circuit diagram
Y = Yellow wire, back row right hand side of photo
Bl/R = Black / Red wire
G/W = Green/ White wire
Gap = no wire
R/Bu = Red Blue wire ****** This is the other knock sensor wire
P = Pink wire
Gr/Bu = Grey Blue wire (looks just grey)
Y/Bu = Yelllow / Blue wire -
Lg/W = Light Green / White wire
Gap = No wire
Br = Brown Wire
Gap = no wire
Bl/W =Black/White wire
The wires at the rear of the white block become obscured but can be seen more clearly looking at this photo. Often the second colour is difficult to see.
So for the white connector, the wires in the diagram that I obtained from my ST1300A3 manual - Spanish page match exaclty the wires in your photo.
So the pins for the Knock Sensor are the 5th from the right in your top photo - both rows. Note the comment I made in an earlier post.
The circuit diagram doesn't identify left and right sensor. One wire is black, one wire is red/blue. The text in the manual identifies the left sensor as the one with the Blue Wire - which I believe is an error. It should say Black wire. Someone may have mistaken Bl to mean Blue. Bl is black. Bu is blue.
The sensor wire is Bl = black. The code for a blue wire is Bu.
Note that for the white connector at least - my circuit diagram matches your coloured wires EXACTLY. The coloured one that you posted isn't quite the same (A pink an green and a black wire are missing from the coloured diagram. But the Black and Red/Blue wires for the knock sensors are in the same position.
For the sake of providing the full picture - I compared the wires in your photos of the black connector to the ones in the 2003A circuit diagram from the Honda manual.
They are a perfect match as well - and exactly the same diagram is used fro the En/French/German version - its just that the text is in different languages on the spanish version.
This is the 2003/ model.
The 2004 version has a couple of colour differences. Maybe error corrections ?
In the black connector right hand end the G/P G/P Y/R G/P are labelled as G/P
G/Bu Y/R
G/O on the 2004 diagram - which more closely matches the colours of your wires.
I must admit that I was having trouble making that G/O wire look green and purple.