Unknown column 'stf_age' in 'field list'
Quote
FredrikBroberg wrote:
I would like to include which group a person is added/denied access to in the PM that is sent to the applicant after admin changed the status....
$result = dbquery("UPDATE ".DB_USERS." SET user_groups='".$users_ug['user_groups'].".".$get['stf_type']."' WHERE user_id='".$get['stf_user_id']."'");
$result = dbquery("SELECT group_id, group_name FROM ".DB_USER_GROUPS." WHERE group_id='".$get['stf_type']."'");
while ($data = dbarray($result)) {
$req_group = $data['group_name'];
}
require_once INCLUDES."infusions_include.php";
$success = ($locale['stf_102'].$get['stf_site_name']."<br /><br />".$locale['stf_103']);
send_pm($get['stf_user_id'], $sender, $locale['stf_079'], $success);
}
if ($_POST['stf_status'] =='2' && $approve =='1'){
$result = dbquery("UPDATE ".DB_STF_APPLICATIONS." SET stf_status = '$stf_status', stf_admin='".$userdata['user_id']."', stf_approver_comment='$stf_approver_comment' WHERE stf_id='".$_GET['stf_id']."'");
require_once INCLUDES."infusions_include.php";
$unsuccess = ($locale['stf_102'].$get['stf_site_name']."<br /><br />".$locale['stf_104']);
send_pm($get['stf_user_id'], $sender, $locale['stf_079'], $unsuccess);
require_once INCLUDES."infusions_include.php";
$success = ($locale['stf_102'].$get['stf_site_name']."<br /><br />".$locale['stf_103'].$req_group.$locale['stf_103a']);
send_pm($get['stf_user_id'], $sender, $locale['stf_079'], $success);
}
if ($_POST['stf_status'] =='2' && $approve =='1'){
$result = dbquery("UPDATE ".DB_STF_APPLICATIONS." SET stf_status = '$stf_status', stf_admin='".$userdata['user_id']."', stf_approver_comment='$stf_approver_comment' WHERE stf_id='".$_GET['stf_id']."'");
require_once INCLUDES."infusions_include.php";
$unsuccess = ($locale['stf_102'].$get['stf_site_name']."<br /><br />".$locale['stf_104'].$req_group.$locale['stf_104a']);
send_pm($get['stf_user_id'], $sender, $locale['stf_079'], $unsuccess);
$locale['stf_103'] = "Your application to join the group ";
$locale['stf_103a'] = " has been accepted.<br />We look forward to your input and ideas.<br /><br />Regards,<br />The Management Team.<br /><br /><small>Automated notification- do not reply!</small>";
$locale['stf_104'] = "<br />Thank you for your interest in joining a staff group.<br /><br />Unfortunatley, we are unable to offer you a position in the ";
$locale['stf_104a'] = " you requested at this time.<br />We will keep your request on file and perhaps in the near future we may be in a better position to ask you onboard.<br /><br />Regards,<br />The Management Team.<br /><br/><small>Automated notification- do not reply!</small>";
Category Forum
Official releases [Infusions]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions