jive3.1.4破解版(非源码)

源代码在线查看: main.jsp

软件大小: 8126 K
上传用户: god_dog
关键词: jive 破解版 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

								/**				 *	$RCSfile: main.jsp,v $				 *	$Revision: 1.5.6.2 $				 *	$Date: 2003/07/24 19:03:15 $				 */				%>												                 com.jivesoftware.forum.*,				                 com.jivesoftware.forum.util.*"				    errorPage="error.jsp"				%>																												    String title = "Jive Forums 3 Admin";				    String[][] breadcrumbs = null;				%>																    if (Version.getEdition() == Version.Edition.LITE) {				        jiveEdition = "Jive Forums Lite";				    }				    else if (Version.getEdition() == Version.Edition.PROFESSIONAL) {				        jiveEdition = "Jive Forums Professional";				    }				    else if (Version.getEdition() == Version.Edition.ENTERPRISE) {				        jiveEdition = "Jive Forums Enterprise";				    }								    // Load license details:				    boolean isCommercial = false;				    boolean isNonCommercial = false;				    boolean isEvaluation = false;				    int exprDaysFromNow = 1;				    boolean validLicense = false;				    try {				        LicenseManager.validateLicense(jiveEdition, "3.0");				        validLicense = true;				    }				    catch (Exception e) {				        e.printStackTrace();				    }								    LicenseWrapper license = null;				    if (validLicense) {				        // find the correct license				        Iterator licenses = LicenseManager.getLicenses();				        while (licenses.hasNext()) {				            LicenseWrapper wrapper = (LicenseWrapper) licenses.next();				            if (jiveEdition.equals(wrapper.getProduct())) {				                license = wrapper;				                break;				            }				        }				        if (license == null && Version.getEdition() == Version.Edition.LITE) {				            // look for a license for a better product				            licenses = LicenseManager.getLicenses();				            while (licenses.hasNext()) {				                LicenseWrapper wrapper = (LicenseWrapper) licenses.next();				                if ("Jive Forums Professional".equals(wrapper.getProduct())) {				                    license = wrapper;				                    break;				                }				            }								            if (license == null) {				                licenses = LicenseManager.getLicenses();				                while (licenses.hasNext()) {				                    LicenseWrapper wrapper = (LicenseWrapper) licenses.next();				                    if ("Jive Forums Enterprise".equals(wrapper.getProduct())) {				                        license = wrapper;				                        break;				                    }				                }				            }				        }				        else if (license == null && Version.getEdition() == Version.Edition.PROFESSIONAL) {				            licenses = LicenseManager.getLicenses();				            while (licenses.hasNext()) {				                LicenseWrapper wrapper = (LicenseWrapper) licenses.next();				                if ("Jive Forums Enterprise".equals(wrapper.getProduct())) {				                    license = wrapper;				                    break;				                }				            }				        }				        License.LicenseType licenseType = license.getLicenseType();				        isCommercial = (licenseType == License.LicenseType.COMMERCIAL);				        isNonCommercial = (licenseType == License.LicenseType.NON_COMMERCIAL);				        isEvaluation = (!isCommercial && !isNonCommercial);				        if (isEvaluation) {				            Date exprDate = license.getExpiresDate();				            if (exprDate != null) {				                long expires = exprDate.getTime() - System.currentTimeMillis();				                exprDaysFromNow = (int)Math.ceil((expires/JiveConstants.DAY))+1;				            }				            else {				                exprDaysFromNow = -1;				            }				        }				    }				%>												Welcome to the Jive Forums Administration tool.																				    				    				    				    				        				            Version:				        				         				        				             				        				    				    				        				            				             				            Appserver:				            				        				         				        				            				            				            				        				    				    				    				        				            				             				            jiveHome Directory:				            				        				         				        				            				            				            				        				    				    				    				        				            				             				            License:				            				        				         				        				            				            				                				                    				                				                    				                				                				                				                				                				                    You are licensed for commercial deployment.								                				                    You are licensed for non-commercial deployment.								                								                    				                        You are licensed for evaluation purposes only.				                    				                        You are licensed for evaluation purposes. Your				                        evalution period will end 				                        day from now.				                    				                				                    Your license is invalid.								                								                				                    				                    More Details				                				                				            				            				        				    				    				    				    																								    if (isSystemAdmin) {				%>												Common Administrative Tasks												    				    				        				            				            >				        				        				         onclick="location.href='forums.jsp';">				            				            >Categories & Forums Summary				            				            				            Create, manage or delete categories and forums.				            				        				        				            				            >				        				        				         onclick="location.href='locale.jsp';">				            				            >Locale Settings				            				            				            Modify international preferences.				            				        				    				    				        				            				            >				        				        				         onclick="location.href='filters.jsp';">				            				            >Global Message Filters				            				            				            Control how message content is formatted.				            				        				        				            				            >				        				        				         onclick="location.href='perms.jsp?mode=&permGroup=';">				            				            >Global Permissions				            				            				            Set global access policies.				            				        				    				    				        				            				            >				        				        				         onclick="location.href='cache.jsp';">				            				            >Cache Settings				            				            				            Tune and monitor performance.				            				        				        								            				                 				            								        								            				                				                >				            				            				             onclick="location.href='users.jsp';">				                				                >User Summary				                				                				                Create, manage or delete users.				                				            								        				    				    																				Help & Documentation								    Inline documentation is located throughout the admin tool. Click on the				    help icon 				    to launch context-specific help.																											

相关资源