<?php
$addon_path="";
include $addon_path."includes/start.php";

?>


<span id="div_loading" style='position:fixed;color:#dadfe1;' >
	<span style='top:40%;position:absolute;'>
		
		<i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
			<br><br>
		Loading
	</span>
</span>



<!-- calendar picker -->
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="plugin/calendar/date/ipopeng.php" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;">
</iframe>
<!-- calendar picker END -->


<!-- calendar time picker -->
<iframe width=188 height=166 name="gToday2:datetime:agenda.js:gfPop2:plugins_time.js" id="gToday2:datetime:agenda.js:gfPop2:plugins_time.js" src="plugin/calendar/time/ipopeng.php" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;">
</iframe>
<!-- calendar time picker END -->




<div id="div_display" class="display_panel" >
	<div class='display_panel_title'>
	
		
		<div class='fa-stack fa-lg'  style='cursor:pointer;float:right;' onclick="document.getElementById('div_display').style.visibility='hidden';">
			<i class="fa fa-square fa-stack-2x color_red"  ></i><i class="fa fa-times fa-stack-1x color_white" ></i>
		</div>
	</div>
			

	<div id="div_display_content" class="display_panel_content" ></div>
</div>


<section class="top_bar" >
	
	<div class="top_bar_logo" style='padding:3px;'>
		<img src='images/pcart_logo.png' width=42 align=left > 
	</div>
	
	<div class="top_bar_title">
		<font size=3 color='#ffffff'><?php echo $sys_system_title; ?></font>
	</div>
	
	<div class="top_bar_menu">
		<div id="menu_panel" onclick="mon_hide_mobile_menu()">
		<?php
		include "menu.php";
		
		echo "<div class='top_bar_setting_inner'>";
		echo "<div class='fa-stack fa-lg' onclick=\"mon_add_tab('My Profile','mod/myprofile/index.php','');\" style='cursor:pointer;' >";
			echo '<i class="fa fa-square fa-stack-2x" style="color:#34495E;" ></i><i class="fa fa-cog fa-stack-1x" style="color:#fff;" ></i>';
		echo "</div>";
		    
		    
		echo "<div class='fa-stack fa-lg' onclick=\"mon_logout_flag=true;mon_logout();\" style='cursor:pointer;' >";
			echo '<i class="fa fa-square fa-stack-2x" style="color:#34495E;" ></i><i class="fa fa-sign-out fa-stack-1x" style="color:#fff;" ></i>';
		echo "</div>";
		echo "</div>";
		?>
		
		
		</div>
	</div>
	
	
	<div class="top_bar_setting">
		<?php
		echo "<div class='fa-stack fa-lg' onclick=\"mon_add_tab('My Profile','mod/myprofile/index.php','');\" style='cursor:pointer;' >";
			echo '<i class="fa fa-square fa-stack-2x" style="color:#1fbad6;" ></i><i class="fa fa-cog fa-stack-1x" style="color:#fff;" ></i>';
		echo "</div>";
		    
		    
		echo "<div class='fa-stack fa-lg' onclick=\"mon_logout_flag=true;mon_logout();\" style='cursor:pointer;' >";
			echo '<i class="fa fa-square fa-stack-2x" style="color:#cf000f;" ></i><i class="fa fa-sign-out fa-stack-1x" style="color:#fff;" ></i>';
		echo "</div>";
		?>
	</div>
	
	<div class="top_bar_mobile_menu">
		<?php
		echo "<div class='fa fa-bars fa-2x'onclick=\"mon_show_mobile_menu()\" style='cursor:pointer;' >";
		echo "</div>";
		?>
	</div>
</section>

<section class='div_tab_container' >
	<div id="div_tab"></div>
</section>


<section>                	
<div id="div_tab0" class="tab_content"  ></div>
<div id="div_tab1" class="tab_content"  ></div>
<div id="div_tab2" class="tab_content" ></div>
<div id="div_tab3" class="tab_content"  ></div>
<div id="div_tab4" class="tab_content"  ></div>
<div id="div_tab5" class="tab_content"  ></div>
<div id="div_tab6" class="tab_content"  ></div>
<div id="div_tab7" class="tab_content"  ></div>

<div id="div_main" ></div>
</section>		


<script language="javascript">
function  mon_on_load_init()
{
	mon_add_tab('Home','mod/welcome/index.php','');
}
</script>

<?php
include $addon_path."includes/end.php";
?>
