<!--##
<NAME>Profile</NAME>
<DESC></DESC>
<SECTION>My Account</SECTION>
##-->

<inp2:m_RequireLogin login_template="platform/login/register"/>

<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
	<inp2:m_phrase name="lu_title_UserProfile"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->

<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
	<div class="movable-element">
		<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
	</div>
	<div class="movable-element">
		<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
	</div>
	<div class="movable-element">
		<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
	</div>
	<div class="movable-element">
		<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
	</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->

<inp2:m_DefineElement name="content">
	<div class="movable-area">
		<div class="movable-element">
			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserProfile" templates="platform/my_account/public_profile"/>
		</div>
		<div class="movable-element">
			<!-- public profile -->
			<inp2:m_RenderElement design="content_box">
				<inp2:m_Capture to_var="header">
					<inp2:m_phrase name="lu_title_UserProfile"/>
				</inp2:m_Capture>

				<inp2:u.profile_Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="60"/><br clear="all"/>

				<table class="form-data fullwidth">
					<tr>
						<td class="field-name"><inp2:m_phrase name="lu_fld_Login"/></td>
						<td class="field-value"><inp2:u.profile_Field field="Login"/></td>
					</tr>

					<inp2:m_if check="user-profile_ProfileFieldCount">
					<tr>
						<td colspan="3">
							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
						</td>
					</tr>
					</inp2:m_if>

					<inp2:m_include template="platform/elements/preferences.elm"/>

					<inp2:m_RenderElement name="profile_element" field="pp_firstname" title="lu_fld_FirstName"/>
					<inp2:m_RenderElement name="profile_element" field="pp_lastname" title="lu_fld_LastName"/>
					<inp2:m_RenderElement name="profile_element" field="pp_dob" title="lu_fld_BirthDate"/>
					<inp2:m_RenderElement name="profile_element" field="pp_email" title="lu_fld_Email"/>
					<inp2:m_RenderElement name="profile_element" field="pp_phone" title="lu_fld_Phone"/>
					<inp2:m_RenderElement name="profile_element" field="pp_street" title="lu_fld_Street"/>
					<inp2:m_RenderElement name="profile_element" field="pp_city" title="lu_fld_City"/>
					<inp2:m_RenderElement name="profile_element" field="pp_state" title="lu_fld_State"/>
					<inp2:m_RenderElement name="profile_element" field="pp_zip" title="lu_fld_Zip"/>
					<inp2:m_RenderElement name="profile_element" field="pp_country" title="lu_fld_Country"/>

					<tr>
						<td colspan="3">
							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />
						</td>
					</tr>

					<inp2:m_if check="m_ModuleEnabled" module="In-Bulletin">
						<inp2:m_include template="in-bulletin/elements/content_boxes/contact_user.elm"/>
					</inp2:m_if>

				</table>
			</inp2:m_RenderElement>
			<!-- // public profile -->
		</div>
	</div>
</inp2:m_DefineElement>

<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>