<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">
		<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>
</div>