<% includeFile ('head.html') %> <% --[[ Define some variables to make locating other resources easier firstPage was defined in our manifest.]] local others = "content" local theRoot = "." local wid=0 local total= numImages local galleryHeight=math.floor( model.photoSizes.photos.height-12 ) if model.nonCSS.g7 then wid=7 elseif model.nonCSS.eigthPage then wid=6 elseif model.nonCSS.seventhPage then wid=5 elseif model.nonCSS.sixthPage then wid=4 elseif model.nonCSS.fifthPage then wid=3 elseif model.nonCSS.fourthPage then wid=2 elseif model.nonCSS.thirdPage then wid=1 end wid=math.max((model.nonCSS.cellWidth +12)*wid) uno=math.floor(model.nonCSS.gallery1Image) dos=math.floor(model.nonCSS.gallery2Image) tres=math.floor(model.nonCSS.gallery3Image) quatro=math.floor(model.nonCSS.gallery4Image) cinco=math.floor(model.nonCSS.gallery5Image) seis=math.floor(model.nonCSS.gallery6Image) seite=math.floor(model.nonCSS.gallery7Image) %> <% if model.nonCSS.logoBottom==0 then %><% includeFile ('idplate.html') %><% end %> <% if model.nonCSS.menuBottom==0 then %><% includeFile ('menu.html') %><% end %>
<% if model.nonCSS.menuBottom==2 then %><% includeFile ('menu.html') %><% end %>
<% if model.nonCSS.thirdPage then %>
<%= getImage(uno).exportFilename %>$model.nonCSS.thirdPagevalue
<% else %><% end %> <% if model.nonCSS.fourthPage then %>
<%= getImage(dos).exportFilename %>$model.nonCSS.fourthPagevalue
<% else %><% end %> <% if model.nonCSS.fifthPage then %>
<%= getImage(tres).exportFilename %>$model.nonCSS.fifthPagevalue
<% else %><% end %> <% if model.nonCSS.sixthPage then %>
<%= getImage(quatro).exportFilename %>$model.nonCSS.sixthPagevalue
<% else %><% end %> <% if model.nonCSS.seventhPage then %>
<%= getImage(cinco).exportFilename %>$model.nonCSS.seventhPagevalue
<% else %><% end %> <% if model.nonCSS.eigthPage then %>
<%= getImage(seis).exportFilename %>$model.nonCSS.eigthPagevalue
<% else %><% end %> <% if model.nonCSS.g7 then %><% else %><% end %>
<% if model.nonCSS.useText then %>

<%= model.nonCSS.siteTitle %>


$model.nonCSS.siteText

<% else %><% end %>
<% if model.nonCSS.logoBottom==1 then %><% includeFile ('idplate.html') %><% end %> <% if model.nonCSS.menuBottom==1 then %><% includeFile ('menu.html') %><% end %> <% includeFile ('foot.html') %>