?
Path : /home/admin/domains/happytokorea.com/public_html/backend/modules/users/ |
Current File : /home/admin/domains/happytokorea.com/public_html/backend/modules/users/action_ajax.php |
<?php if($ac==""){$ac="members";} switch($ac){ case edit;{ echo $Html->Edit(); break; } case members;{ echo "<script>sort_data('id','Max2Min','Yes');</script>"; break; } case groups;{ $header_name=Array( 'usertype_name'=> "Group", ); $header_td_width=Array('150'); $orderby=$_GET['orderby']; $sort=$_GET['sort']; if($sort==""){$sort="Max2Min";} $chksort=$_GET['chksort']; $link="admin.php?mod=user"; $group->setLimit(20); $group->setPage(); $group->total_links(9); echo $group->listData($table='usertype',$condition='',$orderby,$sort,$chksort,$header_name,$header_td_width,$link); break; } case new_category;{ require_once('com_new_category.php'); break; } case add_category;{ $name=$_POST['cat_name']; $detail=$_POST['cat_detail']; $article->add_category($name,$detail); break; } case edit_cat;{ require_once('com_edit_category.php'); break; } case edit_cat_do;{ $cat_id=$_POST['cat_id']; $cat_name=$_POST['name']; $cat_detail=$_POST['detail']; $article->edit_category($cat_name,$cat_detail,$cat_id); break; } case del_cat;{ $article->del_cat(); break; } case new_user;{ require_once('com_regis.php'); break; } case add_new_account: $user->add_new_account(); break; case edit_user;{ require_once('com_edit_user.php'); break; } case add_topic;{ $article->add_topic(); break; } case edit_user_do;{ $user->edit_user(); break; } case del_user;{ $user->del_user(); break; } case user_config: require_once('com_user_config.php'); break; }//end switch ?>