<php> 0) && ($view_userdata['user_id'] != ANONYMOUS) ) { $temp_url = append_sid("./adr_courthouse.php?celled_user_id=" . $view_userdata['user_id']); $txt = '<a>' . $lang['Judge'] . '</a>'; $img = '<a><img></a>'; // result $res = pcp_output_format($field_name, $txt, $img, $map_name); } return $res; }//-----------------------------------//// user_adr output function////-----------------------------------function pcp_output_adr($field_name, $view_userdata, $map_name='') { global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata, $server_url, $db; global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields, $table_prefix; $txt = ''; $img = ''; $res = ''; $img = adr_display_poster_infos($view_userdata['user_id']); // result $res = pcp_output_format($field_name, $txt, $img, $map_name); return $res; }//-----------------------------------//// user_vault output function////----------------------------------- function pcp_output_vault($field_name, $view_userdata, $map_name=''){ global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata, $server_url, $db; global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields, $table_prefix; define('ADR_VAULT_BLACKLIST_TABLE',$table_prefix.'adr_vault_blacklist'); define('ADR_VAULT_EXCHANGE_USERS_TABLE',$table_prefix.'adr_vault_exchange_users'); define('ADR_VAULT_GENERAL_TABLE',$table_prefix.'adr_vault_general'); define('ADR_VAULT_USERS_TABLE',$table_prefix.'adr_vault_users'); $txt = ''; $img = ''; $res = ''; $sql = " SELECT e.* , eu .* , u.* FROM " . ADR_VAULT_EXCHANGE_TABLE . " e , " . ADR_VAULT_USERS_TABLE . " u LEFT JOIN " . ADR_VAULT_EXCHANGE_USERS_TABLE . " eu ON ( e.stock_id = eu.stock_id ) WHERE e.stock_id = eu.stock_id AND u.owner_id = eu.user_id AND eu.user_id = " . $view_userdata['user_id']; if( !($result = $db->sql_query($sql))) { message_die(GENERAL_ERROR, 'Could not obtain accounts information', "", __LINE__, __FILE__, $sql); } $shares = $db->sql_fetchrowset($result); for ( $i = 0 ; $i <count>
For the rocord both my host and my test server are using php4 not five, i dont understand why that particular file should be causing me problems on a local host and not a remote one.Statistics: Posted Author: Mandoo — Fri Aug 04, 2006 3:20 pm
]]>