Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%
- show_empty_sections ||= false
- remove_automatic_sections ||= false
- body_content_title = page_title if (body_content_title = yield :body_content_title).blank? and !show_empty_sections and !remove_automatic_sections
- body_content_left = @page[:body] if (body_content_left = yield :body_content_left).blank? and !show_empty_sections and !remove_automatic_sections and @page.present?
- body_content_right = @page[:side_body] if (body_content_right = yield :body_content_right).blank? and !show_empty_sections and !remove_automatic_sections and @page.present?
- extra_body_content_classes = []
- extra_body_content_classes << "no_title" if body_content_title.blank?
- extra_body_content_classes << "no_left" if body_content_left.blank?
- extra_body_content_classes << "no_right" if body_content_right.blank?
- -%><!-- InstanceBeginEditable name="mainSection" -->
- <td width="667" valign="top" bgcolor="#FFFFFF" align="left">
- <table cellspacing="0" cellpadding="0" border="0" width="667">
- <tbody>
- <!-- tag line and ornamentation at top right of page -->
- <tr>
- <td height="146" width="376" valign="top" align="left" class="topdesign">
- <img height="146" width="376" src="/theme/images/tagline-design.jpg">
- </td>
- <td width="291" valign="top" align="left" class="topdesign">
- <img height="146" width="291" src="/theme/images/top-plants-design.jpg">
- </td>
- </tr><!-- attention-getting image or animation -->
- <tr>
- <td height="240" width="667" valign="top" bgcolor="#f" align="left" colspan="2">
- <% if body_content_right.present? or (show_empty_sections and !remove_automatic_sections) %>
- <%= body_content_right %>
- <% end %>
- </td>
- </tr><!-- title -->
- <tr>
- <td height="56" width="667" valign="top" align="left" colspan="2">
- <div class="titleContainer">
- <% if body_content_title.present? or (show_empty_sections and !remove_automatic_sections) -%>
- <h1 id='body_content_page_title' class="title">
- <%= body_content_title %>
- </h1><% end -%>
- </div>
- </td>
- </tr><!-- body text -->
- <tr>
- <td width="667" valign="top" align="left" colspan="2">
- <table cellspacing="0" cellpadding="0" border="0" width="667">
- <tbody>
- <tr>
- <td width="33" valign="top" align="left">
-
- </td>
- <td width="604" valign="top" align="left">
- <% if body_content_left.present? or (show_empty_sections and !remove_automatic_sections) %>
- <div id='body_content_left' class='clearfix'>
- <%= body_content_left %>
- </div><% end %>
- </td>
- <td width="30" valign="top" align="left">
-
- </td>
- </tr>
- <tr>
- <td valign="top" align="left">
-
- </td>
- <td width="604" valign="top" align="left"></td>
- <td valign="top" align="left">
-
- </td>
- </tr>
- <tr>
- <td valign="top" align="left">
-
- </td>
- <td valign="top" align="left">
-
- </td>
- <td valign="top" align="left">
-
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table><!-- InstanceEndEditable -->
- </td>
Add Comment
Please, Sign In to add comment