OK, brutal honesty time.
I can't help you here. OK, so I could just give you the code you need, but I don't think that's going to be in any way genuinely helpful. You're over-reaching your current ability here, you're trying to be too ambitious.
The fact that you don't appear to know about glDrawArrays or glDrawElements is pretty fundamental here. But yet you're trying to deal with cross-platform issues, you're trying to deal with porting and compatibility issues between OpenGL and GL ES, you're in at the deep end and you seem in over your head.
You don't need to be given code, you need some basic tutorial material, and you need to focus on a single platform while you're working through it so that you've minimal distractions from what you're learning. One thing at a time.
Sorry, and best of luck.