<div class='pp-tabwrap' style='margin-left:1px'>
   <div class='{$onoff['info']}'><a href='#' onclick='xml_myassistant_init("info");return false;'>{$this->ipsclass->lang['tab_info']}</a></div>
   <div class='{$onoff['posts']}'><a href='#' onclick='xml_myassistant_init("posts");return false;'>{$this->ipsclass->lang['tab_posts']}</a></div>
   <div class='{$onoff['search']}'><a href='#' onclick='xml_myassistant_init("search");return false;'>{$this->ipsclass->lang['tab_search']}</a></div>
	<if="$this->ipsclass->member['members_disable_pm'] == 0 AND $this->ipsclass->member['g_use_pm'] == 1">
		<div class='{$onoff['pms']}'><a href='#' onclick='xml_myassistant_init("pms");return false;'>{$this->ipsclass->lang['tab_pms']}</a></div>
	</if>
	<if="$this->ipsclass->member['new_msg'] >= 1 AND $this->ipsclass->member['members_disable_pm'] == 0 AND $this->ipsclass->member['g_use_pm'] == 1">
<if="strpos($this->ipsclass->vars['report_mod_group_access'], ',' . $this->ipsclass->member['mgroup'] . ',') !== false">
<div class='{$onoff['newpms']}'><a href='#' onclick='newpms_reroute();'> {$this->ipsclass->lang['tab_newpms']} ({$this->ipsclass->member['new_msg']})</a> </div>
<else />
<div class='{$onoff['newpms']}'> <a href='#' onclick='xml_myassistant_init("newpms");return false;'>{$this->ipsclass->lang['tab_newpms']} ({$this->ipsclass->member['new_msg']})</a> </div>
</if>
</if>
<if="$this->ipsclass->load_language('lang_report_global')"> </if>
<if="strpos($this->ipsclass->vars['report_mod_group_access'], ',' . $this->ipsclass->member['mgroup'] . ',') !== false">
<if="$onoff['newreports'] == 'pp-tabon'">
<div class='pp-tabon'>
<else />
<div class='pp-taboff'>
</if>
<a href='#' onclick='xml_myassistant_change("autocom=report&CODE=mini")'>{$this->ipsclass->lang['report_myass_tab']} ({$this->ipsclass->member['_cache']['report_num']})</a></div>
	</if>
</div>