{* Footer for vTiger 7 *}
{if version_compare($VTIGER_VERSION, '7.0.0', '>=')}
{* Added from IndexPostProcess.tpl [start] *}
{*
            </div>
        </div>
    </div>
</div>*}
{* Added from IndexPostProcess.tpl [end] *}

<footer class="app-footer">
    <p>
        {vtranslate('POWEREDBY')} {$VTIGER_VERSION}&nbsp;&nbsp;© 2004 - {date('Y')}&nbsp;&nbsp;
        <a href="//www.vtiger.com" target="_blank">Vtiger</a>&nbsp;|&nbsp;
        <a href="https://www.vtiger.com/privacy-policy" target="_blank">Privacy Policy</a>
    </p>
</footer>
</div>
<div id='overlayPage'>
    <!-- arrow is added to point arrow to the clicked element (Ex:- TaskManagement),
    any one can use this by adding "show" class to it -->
    <div class='arrow'></div>
    <div class='data'>
    </div>
</div>
<div id='helpPageOverlay'></div>
<div id="js_strings" class="hide noprint">{Zend_Json::encode($LANGUAGE_STRINGS)}</div>
<div class="modal myModal fade"></div>
{include file='JSResources.tpl'|@vtemplate_path}
</body>

</html>
{/if}


{* Footer for vTiger 6*}
{if !version_compare($VTIGER_VERSION, '7.0.0', '>=')}
{* Added from IndexPostProcess.tpl [start] *}
			</div>
		</div>
	</div>
</div>
{* Added from IndexPostProcess.tpl [end] *}

{strip}
		<input id='activityReminder' class='hide noprint' type="hidden" value="{$ACTIVITY_REMINDER}"/>

		{* Feedback side-panel button *}
		{if $HEADER_LINKS && $MAIN_PRODUCT_SUPPORT && !$MAIN_PRODUCT_WHITELABEL}
		{assign var="FIRSTHEADERLINK" value=$HEADER_LINKS.0}
		{assign var="FIRSTHEADERLINKCHILDRENS" value=$FIRSTHEADERLINK->get('childlinks')}
		{assign var="FEEDBACKLINKMODEL" value=$FIRSTHEADERLINKCHILDRENS.2}
		<div id="userfeedback" class="feedback noprint">
			<a href="https://discussions.vtiger.com" target="_blank" xonclick="{$FEEDBACKLINKMODEL->get('linkurl')}" class="handle">{vtranslate("LBL_FEEDBACK", "Vtiger")}</a>
		</div>
		{/if}

		{if !$MAIN_PRODUCT_WHITELABEL}
		<footer class="noprint">
                    <div class="vtFooter">
			<p>
				{vtranslate('POWEREDBY')} {$VTIGER_VERSION} &nbsp;
				&copy; 2004 - {date('Y')}&nbsp&nbsp;
				<a href="//www.vtiger.com" target="_blank">vtiger.com</a>
				&nbsp;|&nbsp;
				<a href="#" onclick="window.open('../copyright.html','copyright', 'height=115,width=575').moveTo(210,620)">{vtranslate('LBL_READ_LICENSE')}</a>
				&nbsp;|&nbsp;
				<a href="https://www.vtiger.com/crm/privacy-policy" target="_blank">{vtranslate('LBL_PRIVACY_POLICY')}</a>
			</p>
                     </div>
		</footer>
		{/if}
		
		{* javascript files *}
		{$JSRESOURCES}
		</div>
		
	</body>
</html>
{/strip}
{/if}