Define a array with your Panelpointer:
PANEL* my_pan[20];

Then create it:
for(i=0;i<20;i++)
{
my_pan[i] = pan_create(content, layer);
}