コード例 #1
0
ファイル: email.php プロジェクト: benyamin20/vbregistration
}
</script>
<?php 
    if ($_REQUEST['do'] == 'start') {
        print_form_header('email', 'dosendmail');
        print_table_header($vbphrase['email_manager']);
        print_yes_no_row($vbphrase['test_email_only'], 'test', 0);
        print_input_row($vbphrase['email_to_send_at_once'], 'perpage', 500);
        print_input_row($vbphrase['from'], 'from', $vbulletin->options['webmasteremail']);
        print_input_row($vbphrase['subject'], 'subject');
        print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50);
        $text = $vbphrase['send'];
    } else {
        print_form_header('email', 'makelist');
        print_table_header($vbphrase['generate_mailing_list']);
        print_textarea_row($vbphrase['text_to_separate_addresses_by'], 'septext', ' ');
        $text = $vbphrase['go'];
    }
    print_table_break();
    print_table_header($vbphrase['search_criteria']);
    print_user_search_rows(true);
    print_table_break();
    print_submit_row($text);
}
print_cp_footer();
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 12:39, Wed May 30th 2012
|| # CVS: $RCSfile$ - $Revision: 39862 $
|| ####################################################################
\*======================================================================*/
コード例 #2
0
ファイル: user.php プロジェクト: holandacz/nb4
     }
     print_form_header('user', 'edit', 0, 1, 'reviewform');
     print_table_header($userinfo['username'], 2, 0, '', 'center', 0);
     construct_hidden_code('userid', $vbulletin->GPC['userid']);
     print_description_row(construct_link_code($vbphrase['view_profile'], "user.php?" . $vbulletin->session->vars['sessionurl'] . "do=edit&amp;u=" . $vbulletin->GPC['userid']) . iif($vbulletin->GPC['insertedadmin'], '<br />' . construct_link_code('<span style="color:red;"><strong>' . $vbphrase['update_or_add_administration_permissions'] . '</strong></span>', "adminpermissions.php?" . $vbulletin->session->vars['sessionurl'] . "do=edit&amp;u=" . $vbulletin->GPC['userid'])));
     print_table_footer();
 }
 print_form_header('', '');
 print_table_header($vbphrase['quick_search']);
 print_description_row("\n\t\t<ul>\n\t\t\t<li><a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=find\">" . $vbphrase['show_all_users'] . "</a></li>\n\t\t\t<li><a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=find&amp;orderby=posts&amp;direction=DESC&amp;limitnumber=30\">" . $vbphrase['list_top_posters'] . "</a></li>\n\t\t\t<li><a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=find&amp;user[lastactivityafter]=" . (TIMENOW - 86400) . "&amp;orderby=lastactivity&amp;direction=DESC\">" . $vbphrase['list_visitors_in_the_last_24_hours'] . "</a></li>\n\t\t\t<li><a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=find&amp;orderby=joindate&direction=DESC&amp;limitnumber=30\">" . $vbphrase['list_new_registrations'] . "</a></li>\n\t\t\t<li><a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=moderate\">" . $vbphrase['list_users_awaiting_moderation'] . "</a></li>\n\t\t\t<li><a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=find&amp;user[coppauser]=1\">" . $vbphrase['show_all_coppa_users'] . "</a></li>\n\t\t</ul>\n\t");
 print_table_footer();
 print_form_header('user', 'find');
 print_table_header($vbphrase['advanced_search']);
 print_description_row($vbphrase['if_you_leave_a_field_blank_it_will_be_ignored']);
 print_description_row('<img src="../' . $vbulletin->options['cleargifurl'] . '" alt="" width="1" height="2" />', 0, 2, 'thead');
 print_user_search_rows();
 print_table_break();
 print_table_header($vbphrase['display_options']);
 print_yes_no_row($vbphrase['display_username'], 'display[username]', 1);
 print_yes_no_row($vbphrase['display_options'], 'display[options]', 1);
 print_yes_no_row($vbphrase['display_usergroup'], 'display[usergroup]', 0);
 print_yes_no_row($vbphrase['display_email'], 'display[email]', 1);
 print_yes_no_row($vbphrase['display_parent_email_address'], 'display[parentemail]', 0);
 print_yes_no_row($vbphrase['display_coppa_user'], 'display[coppauser]', 0);
 print_yes_no_row($vbphrase['display_home_page'], 'display[homepage]', 0);
 print_yes_no_row($vbphrase['display_icq_uin'], 'display[icq]', 0);
 print_yes_no_row($vbphrase['display_aim_screen_name'], 'display[aim]', 0);
 print_yes_no_row($vbphrase['display_yahoo_id'], 'display[yahoo]', 0);
 print_yes_no_row($vbphrase['display_msn_id'], 'display[msn]', 0);
 print_yes_no_row($vbphrase['display_skype_name'], 'display[skype]', 0);
 print_yes_no_row($vbphrase['display_signature'], 'display[signature]', 0);
コード例 #3
0
ファイル: verticalresponse.php プロジェクト: 0hyeah/yurivn
function printUpload($sessionid)
{
    global $vbphrase;
    print_cp_header($vbphrase['verticalresponse']);
    require_once DIR . '/includes/adminfunctions_user.php';
    require_once DIR . '/includes/adminfunctions_profilefield.php';
    print_form_header('verticalresponse', 'confirm_upload', false, true, 'verticalresponse');
    print_table_header($vbphrase['upload_list'], 2);
    //get the current lists
    if ($sessionid) {
        $client = new vB_VerticalResponse();
        if (!$client->checkStatus($sessionid)) {
            printLogin($vbphrase['vr_login_first_desc']);
            return;
        }
        $lists = $client->enumerateLists($sessionid);
    }
    if ($lists) {
        $current_lists = '';
        foreach ($lists as $list) {
            if ($list->status == 'active') {
                $current_lists .= "<option value=\"" . $list->id . "\">" . htmlspecialchars_uni($list->name) . '- ' . '- ' . $list->size . "</option>" . "\n";
            }
        }
        if (!empty($current_lists)) {
            $current_lists = "<option value=\"\">   </option>" . "\n" . $current_lists;
            print_cells_row(array($vbphrase['select_vr_list_desc'], "<select id=\"listid\" name=\"listid\"/>{$current_lists}</select>"));
        }
    }
    print_cells_row(array($vbphrase['verticalresponse_list_desc'], "<input id=\"listname\" type=\"text\" name=\"listname\"/ value=\"\">"));
    print_cells_row(array($vbphrase['vr_dopercycle_desc'], "<input id=\"do_percycle\" type=\"text\" name=\"do_percycle\"/ value=\"1000\">"));
    print_table_break();
    print_user_search_rows(true);
    print_submit_row($vbphrase['submit']);
    print_table_footer();
}