if($user_data['group'] == '1'){ $check = 1; }
if($user_data['group'] == '2'){ $check = 2; }
if($user_data['group'] == '3'){ $check = 3; }
<div onclick="page('url');">Page 1</div> // page('/index.php');
<div onclick="page('url');">Page 2</div>
<div onclick="page('url');">Page 3</div>
<div onclick="page('url');">Page 4</div>
<div id="content"></div>
<script>
function page(url){
$('#content').load(url);
}
</script>
$(document).ready(function() {
$(".wysibb-toolbar-btn").addClass("on");
});