EE - HTML Page Template
{embed="inc/html-header"}
<!-- site wrapper -->
<div id="site-wrapper">
<!-- header -->
<header class="home">
{embed="inc/header"}
<!-- nav -->
<nav>
{embed="inc/nav"}
</nav>
<!-- end nav -->
</header>
<!-- end header -->
<!-- body content -->
<section>
{if segment_1 == "facilities"}
<!-- facilities -->
<div class="facilties">
<!-- top imgs -->
<div class="top-imgs">
<!-- inner -->
<div class="inner">
{exp:channel:entries entry_id="{exp:structure:child_ids entry_id='9'}" fixed_order="{exp:structure:child_ids entry_id='9'}" parse="inward" status="Open|Facilities"}
{body-content limit="1"}
<!-- panel -->
<div class="panel">
<!-- header -->
<h2>{title}</h2>
<!-- end header -->
<!-- img -->
<div class="img">
{exp:ce_img:pair src="{photos}" width="302" height="470" crop="yes" quality="90"}
<img src="{made}" alt="" width="{width}" height="{height}" />
{/exp:ce_img:pair}
</div>
<!-- end img -->
</div>
<!-- end panel -->
{/body-content}
{/exp:channel:entries}
</div>
<!-- end inner -->
</div>
<!-- end top imgs -->
<!-- body content -->
<div class="body-content">
<!-- inner -->
<div class="inner">
{exp:channel:entries entry_id="{exp:structure:child_ids entry_id='9'}" fixed_order="{exp:structure:child_ids entry_id='9'}" parse="inward" status="Open|Facilities"}
{body-content limit="1"}
<!-- panel -->
<div class="panel">{text-content}</div>
<!-- end panel -->
{/body-content}
{/exp:channel:entries}
</div>
<!-- end inner -->
</div>
<!-- end body content -->
</div>
<!-- end facilities -->
{exp:channel:entries channel="new_page|tech_specs" limit="1" status="Open" disable="trackbacks|member_data|comments"}
{if:elseif segment_1 == "tech-specs"}
<!-- tech specs -->
<div class="tech-specs">
{body_content_tech_specs}
<!-- panel -->
<div class="panel" id="{row_id}">
<!-- img -->
<div class="img">
{exp:ce_img:pair src="{tech-drawings}" width="1500" crop="yes" quality="100"}
<img src="{made}" alt="" width="{width}" />
{/exp:ce_img:pair}
</div>
<!-- end img -->
<!-- download -->
<a class="download-link" href="{pdf-file}">Download</a>
<!-- end download link -->
</div>
<!-- end panel -->
{/body_content_tech_specs}
</div>
<!-- end tech specs -->
{if:else}
<article class="body">
{body-content}
<!-- inner -->
<div class="inner">{text-content}</div>
<!-- end inner -->
<!-- body img -->
<div class="img">
{exp:ce_img:pair src="{photos}" height="470" crop="yes" quality="90"}
<img src="{made}" alt="" height="{height}" />
{/exp:ce_img:pair}
</div>
<!-- end body img -->
{/body-content}
</article>
{/if}
{/exp:channel:entries}
</section>
<div class="clearfix"></div>
<!-- end body content -->
<!-- footer -->
<footer>
{embed="inc/footer"}
</footer>
<!-- end footer -->
</div>
<!-- end side wrapper -->
<!-- contact wrapper -->
<div id="contact">
{exp:channel:entries channel="contact" entry_id="7" limit="1" status="Open" disable="trackbacks|member_data|comments"}
<div class="content">
<!-- body content -->
<article class="contact">{body_content_contact}</article>
<!-- end body content -->
<!-- google map -->
<div class="google-map">
{google_map:map maptype="ROADMAP" mt_control_style = "DROPDOWN_MENU" scrollwheel = "false" doubleclickzoomoff="true"}
</div>
<!-- google map -->
</div>
{/exp:channel:entries}
</div>
<!-- end contact wrapper -->
<!-- reel wrapper -->
<div id="reel">
{exp:channel:entries channel="new_reel" entry_id="6" limit="1" status="Open" disable="trackbacks|member_data|comments"}
<div class="content">
{vimeo_youtube_video}
<!--{exp:channel_videos:videos entry_id="{entry_id}" embed_width="951" embed_height="491" limit="1"}
{video:embed_code}
{/exp:channel_videos:videos}-->
</div>
{/exp:channel:entries}
</div>
<!-- end contact wrapper -->
</body>
</html>