Connect the SATA HDD to SATA port of MB. And connect the IDE HDD's to IDE/PATA cable one as "Master" and one as "Slave". For PATA cable connect one end to MB, and the other end to IDE Master HDD, and then connect the remaining HDD on the remaining header as Slave.
For better understanding see this image: http://www.frontx.com/pro/c203_018p2.gif
For MASTER and SLAVE configuration on HDD see this page : http://knowledge.seagate.com/articles/en_US/FAQ/196299en
and this page : http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=bph03792