亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? editcache.jsp

?? jive3.1.4破解版(非源碼)
?? JSP
字號:
<%/** *	$RCSfile: editCache.jsp,v $ *	$Revision: 1.3.2.1 $ *	$Date: 2003/07/24 19:03:15 $ */%><%@ page import="java.util.*,				 java.text.*,				 com.jivesoftware.util.*,                 com.jivesoftware.forum.*,				 com.jivesoftware.forum.database.*,				 com.jivesoftware.forum.util.*"    errorPage="error.jsp"%><%!	// global variables/methods, etc    private int getCurrentPreset(com.jivesoftware.util.Cache[] caches, int[][] cachePresetSizes) {        // Custom by default (we loop through the 3 presets, if none match,        // the current set of presets must be custom).        int currentPreset = CACHE_PRESET_CUSTOM;        // The array of presets to check        int[] presets = {            CACHE_PRESET_SMALL, CACHE_PRESET_MEDIUM, CACHE_PRESET_LARGE        };        int preset;        for (preset=0; preset<presets.length; preset++) {            boolean matches = true;            for (int i=0; i<cachePresetSizes.length; i++) {                if (caches[i].getMaxCacheSize() != cachePresetSizes[i][preset]) {                    matches = false;                }            }            if (matches) {                currentPreset = preset;                break;            }        }        return currentPreset;    }%> <%@ include file="global.jsp" %><%@ include file="cacheUtils.jsp" %><%	// Permission check    if (!isSystemAdmin) {        throw new UnauthorizedException("You don't have admin privileges to perform this operation.");    }	// Get a list of DbForum objects for the special caches	List dbForumList = new java.util.LinkedList();    ForumCategory rootCat = dbForumFactory.getRootForumCategory();	for (Iterator iter=rootCat.getRecursiveForums(); iter.hasNext();) {		Forum forum = (Forum)iter.next();		dbForumList.add((DbForum)forum);	}    // get parameters	boolean setCacheSize = ParamUtils.getBooleanParameter(request,"setCacheSize");    boolean custom = ParamUtils.getBooleanParameter(request,"custom");    int cachePreset = ParamUtils.getIntParameter(request,"cachePreset",getCurrentPreset(caches,cachePresetSizes));    // set the cache size if requested    if (setCacheSize) {        if (cachePreset == CACHE_PRESET_CUSTOM) {            custom = true;            session.setAttribute("cache.customMode","true");        }        else {            session.removeAttribute("cache.customMode");            // Loop through the caches, set the size with the size of the            // requested preset:            for (int i=0; i<caches.length; i++) {                com.jivesoftware.util.Cache cache = caches[i];                cache.setMaxCacheSize(cachePresetSizes[i][cachePreset]);                JiveGlobals.setJiveProperty("cache."+names[i]+".size", ""+cachePresetSizes[i][cachePreset]);            }            response.sendRedirect("editCache.jsp?cachePreset=" + cachePreset);            return;        }    }    if ("true".equals((String)session.getAttribute("cache.customMode"))) {        cachePreset = CACHE_PRESET_CUSTOM;    }    if (cachePreset == CACHE_PRESET_CUSTOM) {        custom = true;    }    boolean setCustom = ParamUtils.getBooleanParameter(request,"setCustom");    // custom cache parameter values (in K)    int[] customSizeParams = new int[caches.length];    for (int i=0; i<caches.length; i++) {        customSizeParams[i] = ParamUtils.getIntParameter(request,"custom"+i+"K", -1);    }    // Check for the "cutom" value in the session    // set the custom sizes    if (custom && setCustom) {        for (int i=0; i<caches.length; i++) {            com.jivesoftware.util.Cache cache = caches[i];            if (customSizeParams[i] != -1) {                cache.setMaxCacheSize(customSizeParams[i]*1024);                JiveGlobals.setJiveProperty("cache."+names[i]+".size", ""+customSizeParams[i]*1024);            }        }        response.sendRedirect("editCache.jsp");        return;    }%><%@ include file="header.jsp" %><p><%  // Title of this page and breadcrumbs    String title = "Edit Cache Settings";    String[][] breadcrumbs = {        {"Main", "main.jsp"},        {"Cache Settings", "cache.jsp"},        {"Edit Cache Settings", "editCache.jsp"}            };%><%@ include file="title.jsp" %><font size="-1">Customize your cache settings using the forms below.You should never set your cache sizes to total more than half of yourtotal JVM memory. By default, most JVMs are configured to use 64 MB of memory,although the default may vary or have been changed on your system.<p>Setting the caches too large will not result in increased performance. Instead,tune your cache larger only as long as it results in greater effectivness over time (as measured on the <a href="cache.jsp">main cache</a> page).</font><p><font size="-1"><b>Cache Presets</b></font><form action="editCache.jsp"><input type="hidden" name="setCacheSize" value="true"><ul><%  for (int i=0; i<CACHE_PRESET_NAMES.length; i++) {        String checked = "";        if (cachePreset == i) {            checked = " checked";        }%><input type="radio" name="cachePreset" value="<%= i %>" id="rb0<%= i %>"<%= checked %>><font size="-1"><label for="rb0<%= i %>"><b><%= CACHE_PRESET_NAMES[i] %></b> -- <%= CACHE_PRESET_DESCRIPTIONS[i] %></label></font><p><%  } %><input type="submit" value="Save Settings"></ul></form><p><font size="-1"><b>Cache Sizes</b></font><form action="editCache.jsp" name="cacheForm"><input type="hidden" name="custom" value="<%= custom %>"><input type="hidden" name="setCustom" value="true"><ul><table bgcolor="<%= tblBorderColor %>" cellpadding="0" cellspacing="0" border="0" width="300"><tr><td><table bgcolor="<%= tblBorderColor %>" cellpadding="3" cellspacing="1" border="0" width="100%"><tr bgcolor="#eeeeee">    <td align="center" width="50%"><font face="verdana" size="-2"><b>CACHE NAME</b></font></td>    <td align="center" width="50%" colspan="2"><font face="verdana" size="-2"><b>SIZE</b></font></td></tr><%  for (int i=0; i<caches.length; i++) {        com.jivesoftware.util.Cache cache = caches[i];        double totalMemMB = (double)cache.getMaxCacheSize()/(1024*1024);        double totalMemK = (double)cache.getMaxCacheSize()/1024;%><tr bgcolor="#ffffff">    <td width="50%">    <font size="-1"><b><%= cache.getName() %></b></font>    </td>    <td width="25%">    <%  if (custom) { %>    <input type="text" name="custom<%= i %>K" size="6" value="<%= kFormat.format(totalMemK) %>" maxlength="6"><font size="-1">K</font>    <%  } else { %>    <font size="-1"><%= kFormat.format(totalMemK) %> K</font>    <%  } %>    </td>    <td width="25%">    <font size="-1">(<%= mbFormat.format(totalMemMB) %> MB)</font>    </td></tr><%  } %></table></td></tr></table><%  if (custom) { %>    <p>    <input type="submit" value="Save Custom Settings"><%  } %><p><font size="-1"><i>Note: 1 MB = 1024 K</i></font></ul></form><p><center><form action="cache.jsp"><input type="submit" value="Return to Cache Page"></form></center><p><%@ include file="footer.jsp" %>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久先锋影音av| 一区二区三区四区精品在线视频 | 国产高清不卡二三区| 91小宝寻花一区二区三区| 欧美一区二区成人| 亚洲丝袜美腿综合| 国产福利一区二区三区视频| 4438x亚洲最大成人网| 亚洲欧美偷拍卡通变态| 国产精品亚洲成人| 91精品国产色综合久久| 亚洲一级二级三级在线免费观看| 大尺度一区二区| 精品日本一线二线三线不卡| 午夜精品在线看| 在线亚洲一区二区| 国产精品乱码人人做人人爱| 国产最新精品精品你懂的| 欧美精品在线观看一区二区| 一区二区三区 在线观看视频| 本田岬高潮一区二区三区| www欧美成人18+| 国内偷窥港台综合视频在线播放| 91精品国产乱码| 日日夜夜精品免费视频| 欧美日韩一区二区三区在线| 亚洲综合在线第一页| 欧美在线一二三| 亚洲午夜精品在线| 欧美系列日韩一区| 亚洲综合色婷婷| 欧美亚洲一区二区在线| 亚洲一二三四久久| 欧美日韩国产成人在线免费| 亚洲狠狠爱一区二区三区| 色综合久久久网| 亚洲第一会所有码转帖| 欧美人伦禁忌dvd放荡欲情| 亚洲777理论| 欧美大片顶级少妇| 国产成人免费视频网站 | 亚洲视频一二三| 91在线国内视频| 亚洲蜜臀av乱码久久精品蜜桃| 91视视频在线直接观看在线看网页在线看| 欧美国产一区二区| 91网上在线视频| 亚洲无人区一区| 欧美成人在线直播| 成人在线视频一区二区| 亚洲欧洲一区二区在线播放| 在线观看免费亚洲| 美女脱光内衣内裤视频久久网站| 日韩精品在线网站| 高潮精品一区videoshd| 一区二区三区蜜桃网| 日韩一区二区精品葵司在线| 丁香一区二区三区| 亚洲成人动漫一区| 久久美女艺术照精彩视频福利播放| 成人免费看视频| 亚洲一二三四在线观看| wwwwxxxxx欧美| 欧美影院精品一区| 另类小说欧美激情| |精品福利一区二区三区| 欧美美女一区二区| 懂色av中文字幕一区二区三区| 亚洲一区二区美女| 国产日韩亚洲欧美综合| 欧美少妇性性性| 国产成人午夜片在线观看高清观看| 亚洲同性gay激情无套| 日韩视频一区二区在线观看| 成人av影院在线| 久久精品理论片| 一区二区在线看| 久久久久国产精品免费免费搜索| 精品视频一区二区不卡| 不卡一区二区三区四区| 奇米影视7777精品一区二区| 中文字幕亚洲综合久久菠萝蜜| 日韩欧美的一区| 欧美三级电影在线观看| 成人av在线资源网站| 九一九一国产精品| 亚洲成在线观看| 国产精品美女久久福利网站| 日韩女优毛片在线| 欧美亚洲一区二区在线| 99re视频精品| 不卡av在线网| 国产麻豆精品久久一二三| 日韩黄色在线观看| 亚洲一区二区偷拍精品| 国产精品久线在线观看| 久久九九久久九九| 欧美精品一区二区三区高清aⅴ| 欧美日韩第一区日日骚| 欧美伊人精品成人久久综合97| 91香蕉视频黄| 91热门视频在线观看| 成人免费福利片| 国产麻豆成人精品| 狠狠色伊人亚洲综合成人| 久久精品国内一区二区三区| 偷偷要91色婷婷| 午夜激情综合网| 亚洲成人综合视频| 亚洲伊人色欲综合网| 亚洲欧洲av在线| 最近日韩中文字幕| 综合久久国产九一剧情麻豆| 一区二区中文字幕在线| 国产精品嫩草99a| 国产精品日韩成人| 国产精品久久久久久久久图文区| 国产精品久久三| 亚洲国产成人午夜在线一区| 国产精品视频免费看| 国产精品对白交换视频| 亚洲特级片在线| 亚洲乱码日产精品bd| 一区二区三区在线观看动漫| 一区二区三区国产精华| 日韩和欧美一区二区| 麻豆一区二区在线| 黑人精品欧美一区二区蜜桃| 国产高清久久久久| 91日韩精品一区| 欧美日韩国产精选| 欧美成人a∨高清免费观看| 久久综合九色综合97_久久久| 久久女同精品一区二区| 国产精品久久久久久户外露出| 日韩一区有码在线| 午夜私人影院久久久久| 日韩精品一二三四| 国产伦精品一区二区三区免费迷 | 色久综合一二码| 欧美中文一区二区三区| 欧美一级在线免费| 欧美激情一区二区三区不卡| 亚洲你懂的在线视频| 日韩精品欧美精品| 国产成人自拍高清视频在线免费播放| 不卡av电影在线播放| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 欧美日本一道本| 国产女同互慰高潮91漫画| 亚洲黄色性网站| 久久国产尿小便嘘嘘尿| 不卡一区二区三区四区| 欧美人xxxx| 中文字幕一区二区在线播放| 日韩精品久久理论片| 国产91精品一区二区麻豆网站| 欧美午夜在线观看| 久久精品视频免费| 亚洲福利视频三区| 国产成人亚洲综合a∨猫咪| 在线观看免费成人| 欧美国产精品一区| 亚洲 欧美综合在线网络| 成人一区二区三区视频| 欧美肥大bbwbbw高潮| 18涩涩午夜精品.www| 久久福利视频一区二区| 欧美性欧美巨大黑白大战| 久久欧美中文字幕| 蜜桃一区二区三区四区| 91激情在线视频| 国产欧美视频在线观看| 蜜臀久久99精品久久久久久9| 日本韩国精品在线| 中文字幕免费不卡在线| 奇米影视一区二区三区小说| 欧美在线观看一区二区| 国产精品麻豆一区二区| 国产精品18久久久久久久网站| 911精品国产一区二区在线| 亚洲色图视频网| 国产成人福利片| 久久夜色精品一区| 紧缚奴在线一区二区三区| 欧美日韩综合色| 亚洲精品日韩综合观看成人91| 成人免费va视频| 久久久精品中文字幕麻豆发布| 美国av一区二区| 欧美一区日韩一区| 日本aⅴ亚洲精品中文乱码| 欧美日韩成人综合在线一区二区| 成人欧美一区二区三区| 成人黄色小视频在线观看| 国产日韩欧美不卡在线| 精品一区二区三区日韩| 精品美女一区二区三区| 久久精品国产久精国产| 久久综合一区二区|