$check_form = "check_form();"; $show_check = ""; $action_URL = "do.php?act=poll_submit&pid=" . $poll_row['p_id']; } else { $show_check = "content_none"; $action_URL = '#'; $check_form = "refuse_poll();"; $refuse_str = $pol_langpackage->pol_repeat; } //性别限定 if ($ses_uid != '') { if ($poll_row['sex'] != 2 && $poll_row['sex'] != $u_sex) { $show_check = "content_none"; $action_URL = '#'; $check_form = "refuse_poll();"; $refuse_str = str_replace("{sex}", get_user_sex($poll_row['sex']), $pol_langpackage->pol_sex_limit); } } //锁定判断 $show_error = "content_none"; if ($poll_row['is_pass'] == 0 && $is_admin == '') { $error_str = $pol_langpackage->pol_lock; $show_error = ""; } //总结报告 $show_sumary = ""; if (empty($poll_row['summary'])) { $show_sumary = "content_none"; } //操作显示 $action_ctrl = "";
//引入公共方法 require "foundation/module_mood.php"; //引入语言包 $u_langpackage = new userslp(); $ah_langpackage = new arrayhomelp(); //变量获得 $holder_id = intval(get_argg('uid')); //主人id //数据表定义区 $t_users = $tablePreStr . "users"; $t_online = $tablePreStr . "online"; $dbo = new dbex(); //读写分离定义方法 dbtarget('r', $dbServs); $info_item_init = $u_langpackage->u_unset; $user_info = get_user_info($dbo, $t_users, $holder_id); $user_sex_txt = get_user_sex($user_info['user_sex']); $user_lastlogin_time = $user_info['lastlogin_datetime']; if (!$user_info) { echo $u_langpackage->u_not_invite; exit; } $user_online = get_user_online_state($dbo, $t_online, $holder_id); $ol_state_ico = "skin/default/jooyea/images/offline.gif"; $ol_state_label = $u_langpackage->u_not_onl . '(' . format_datetime_short($user_lastlogin_time) . ')'; if ($user_online['hidden'] === '0') { $ol_state_ico = "skin/default/jooyea/images/online.gif"; $ol_state_label = $u_langpackage->u_onl; } //设置发出邀请用户的id set_session("InviteFromUid", $user_info['user_id']);
</div> <table class="msg_inbox <?php echo $req_data; ?> " cellspacing="1" cellpadding="1"> <?php foreach ($req_member_rs as $rs) { ?> <tr> <td><?php echo $rs['user_name']; ?> </td> <td><?php echo get_user_sex($rs['user_sex']); ?> </td> <td><?php echo $g_langpackage->g_not_pass; ?> </td> <td><?php echo $rs['add_time']; ?> </td> <td> <a href="do.php?act=group_approve&userid=<?php echo $rs['user_id']; ?> &group_id=<?php