Example #1
0
$wrap_element_class = 'user_friends_list';	
}?>

<? if($wrap_element_items_class == false){
	
$wrap_element_items_class = '';	
}?>








<? $user_id = user_id_from_url(); ?>
<? if($user_id == false){ $user_id = user_id(); } ?>
<?
 
$orig_params = $params;
?>
<? 

$paging_curent_page = url_param('users-page');
if($paging_curent_page == false){
$paging_curent_page = 1;	
}
if(isAjax == true){
	//$paging_curent_page = 1;
}
  if(trim($orig_params['keyword']) != ''){
Example #2
0
<? $dashboard_user = user_id_from_url(); ?>

 <? if($dashboard_user == user_id()) : ?>
<script type="text/javascript">
function add_edit_toy($id){
 
 mw.module({
		   module : 'posts/add' ,
		   //display : 'add_questions' ,
		   post_id : $id, 
		   title: "Post your toy",
		   category: "6",
		   redirect_on_success : "<? print site_url('dashboard/action:toys'); ?>",
		   display_1 : "add_pictures",
		   display_2 : "add_pricing",

	 
		  /* callback : function(){
			refresh_questions();   
			},*/
		   title_label : "Title:",
		   submit_btn_text : "Save your toy",
		   body_label:"Description: "
		   },'#post_dash');
 
 
 $('#post_dash').show();

}