This morning hart_house send me yahoo msg and we chat a few. He asked me about how to force users to login before see detail page.
put it in detail.php at bottom after line
include($theme_path."msg.php");
-----------------------------------------
PHP Code:// check login
$users_obj = new clsUsers;
$users_obj->InitDB($dbServer,$dbHostname,$dbUsername,$dbPassword,$dbName);
$users_obj->table_name = "idx_users";
if(!$users_obj->GetUserAuthentication()==0){
$back_url = urlencode("detail.php?id=$id");
header("Location: login.php?f=1&b=$back_url");
}


