⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 res1.java

📁 FreeJaPoll is a free software that make possible to add in a simple way a web-survey to your own s
💻 JAVA
字号:
/** *  <p> Title: FreeJaPoll -Free Java Poll-</p> *  <p> Description: Servlet that make simple adding a web survey based on Java Technology on your site </p> *  <p>Copyright: Copyright(c) 2002; </p> *  This file is part of FreeJaPoll.    FreeJaPoll is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    any later version.    FreeJaPoll is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You have received a copy of the GNU General Public License    along with FreeJaPoll *  @author nkanter  e-mail: nkanter@pensieroacromatico.org *  @version 1.0 */package org.pensieroacromatico.freejapoll;import java.util.ListResourceBundle;/** * This class has a lot of parameters that allow to customize the result page and some survey settings. */public class Res1 extends java.util.ListResourceBundle {  /**   * Change those reource string to modify the layout of the resul page and to   * set some options in order to fit your needs; note that you must always change   * ONLY the SECOND parameter for each line.   */  static final Object[][] contents = new String[][]{        { "Crew_Del_Pensiero", "Crew Del Pensiero Acromatico" }, // Crew Del Pensiero Acromatico = page title	{ "_Logo_Contest_2K2", "-= Logo Contest 2K2\\Risultati =-" }, // -= Logo Contest 2K2\\Risultati =- = Survey title        { "_999999", "#999999" }, // #999999 = page background color	{ "_000000", "#000000" }, // #000000 = main table border color	{ "_CCCCCC", "#CCCCCC" }, // #CCCCCC = main table background color        { "Ritorna_a_Logo", "Ritorna a Logo Contest 2K2" }, // Ritorna a Logo Contest 2K2 = text to return to te poll page	{ "_x_html", "../html/logoContest2k2.htm" }, // ../html/logoContest2k2.htm = link to return to the poll page	{ "tmp_initDb_nk", "YOUR_ROOT_PATH/dataDb.nk" }, // YOUR_ROOT_PATH/initDb.nk = path and filename of the data file.	{ "Uno", "Uno" }, /* Uno = value of the first option, change it to fit the value on your html radio button                          number one. (you must change only the second one) --> "Uno" } */	{ "Due", "Due" }, /* Due = value of the second option, change it to fit the value on your html radio button                          number two. (you must change only the second one) --> "Due" } */	{ "Tre", "Tre" }, /* Tre = value of the third option, change it to fit the value on your html radio button                          number three. (you must change only the second one) --> "Tre" } */	{ "Quattro", "Quattro" }, /* Quattro = value of the fourth option, change it to fit the value on your html radio button                          number four. (you must change only the second one) --> "Quattro" } */	{ "Cinque", "Cinque" }, /* Cinque = value of the fifth option, change it to fit the value on your html radio button                          number five. (you must change only the second one) --> "Cinque" } */	{ "Sei", "Sei" }, /* Sei = value of the first option, change it to fit the value on your html radio button                          number one. (you must change only the second one) --> "Sei" } */	{ "Sette", "Sette" }, /* Sette = value of the seventh option, change it to fit the value on your html radio button                          number seven. (you must change only the second one) --> "Sette" } */	{ "Otto", "Otto" }, /* Otto = value of the eight option, change it to fit the value on your html radio button                          number eigth. (you must change only the second one) --> "Otto" } */	{ "Nove", "Nove" }, /* Nove = value of the ninth option, change it to fit the value on your html radio button                          number nine. (you must change only the second one) --> "Nove" } */	{ "Dieci", "Dieci" }, /* Dieci = value of the tenth option, change it to fit the value on your html radio button                          number ten. (you must change only the second one) --> "Dieci" } */	{ "NumberOfChoice", "NumberOfChoice" }, // NumberOfChoice = the number of possible answers for your poll	{ "footer", "No" }, // Option not enabled yet, it would be probably in the next FreeJaPoll version.        { "header", "No" }, // Option not enabled yet, it would be probably in the next FreeJaPoll version.	{ "_immagini_graficoBase", "../immagini/graficoBase.gif" }, /* ../immagini/graficoBase.gif = the path and filename                                                                    of the image that is used to draw the chart bar*/        { "_immagini", "../immagini/graficoBasePunta.gif" }, /* ../immagini/graficoBasePunta.gif = path and file name                                                              of the image at the end of the chart bar (the arrow's point).*/	{ "noTerrorist", "Yes" }, /* You must set thi value on "Yes" or "No"; if the value is "Yes" the anti-islamic terrorist                                  is turned ON. */	{ "_html_novote_htm", "../html/novote.htm"}, /** Path and html page name to be displayed if the user attempt to vote more                                                          than one time in less than 72 hours. */        { "_noTerroristVote_htm", "../noTerroristVote.htm" }, /* ../noTerroristVote.htm = the path and the html page name to                                                              be displayed if the noTerrorist option is ON and the user comes                                                              form one of the listed country. */         /*          * In the following line there is some html code that you may change to fit your needs          */	{ "_link_000000_vlink", "\" link=\"#000000\" vlink=\"#000000\" alink=\"#000000\">" },	{ "text_", " text=\u0000" },	{ "_bgcolor_", "\" bgcolor=\u0000" },	{ "_table_width_582", "<table width=\"582\" border=\"1\" cellpadding=\"1\" align=\"center\" height=\"241\" " +          "\" +\n    \"bordercolor=\u0000" },	{ "_h3_align_center_font", "      <h3 align=\"center\"><font face=\"Courier New, Courier, mono\">" },	{ "_table_width_700", "  <table width=\"700\" border=\"0\" cellpadding=\"1\">" },	{ "_td_width_192_font", "     <td width=\"192\"><font size=\"2\" face=\"Courier New, Courier, mono\"> " },	{ "_p_align_center_font", "      <p align=\"center\"><font face=\"Courier New, Courier, mono\" size=\"2\"><b>:: " },	{ "_onMouseOver", "\" onMouseOver=highlight(this,\'yellow\') onMouseOut=\"highlight(this,\'#CCCCCC\')\">" },	{ "_a_href_", "        <a href=\u0000" }};  /**   * getContents method   * @return contents   */  public Object[][] getContents() {    return contents;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -