Exemplo n.º 1
0
    $incftp = 1;
}
//防采集
if ($public_r['opennotcj']) {
    @(include "../data/dbcache/notcj.php");
}
require "../class/classfun.php";
if ($enews == "AddZt") {
    AddZt($_POST, $logininid, $loginin);
} elseif ($enews == "EditZt") {
    EditZt($_POST, $logininid, $loginin);
} elseif ($enews == "DelZt") {
    $ztid = $_GET['ztid'];
    DelZt($ztid, $logininid, $loginin);
} elseif ($enews == "AddClass") {
    AddClass($_POST, $logininid, $loginin);
} elseif ($enews == "EditClass") {
    EditClass($_POST, $logininid, $loginin);
} elseif ($enews == "DelClass") {
    $classid = $_GET['classid'];
    DelClass($classid, $logininid, $loginin);
} elseif ($enews == "ChangeClassIslast") {
    ChangeClassIslast($_POST['reclassid'], $logininid, $loginin);
} elseif ($enews == "EditClassOrder") {
    $classid = $_POST['classid'];
    $myorder = $_POST['myorder'];
    EditClassOrder($classid, $myorder, $logininid, $loginin);
} elseif ($enews == "ChangeSonclass") {
    $start = $_GET['start'];
    ChangeSonclass($start, $logininid, $loginin);
} elseif ($enews == "DelFcListClass") {
Exemplo n.º 2
0
AddClass(".minitext, .minitext *", "font-size:10px; padding:0px;text-decoration: none;", 1, "This is the smallest text, and this applies to all elements within the smalltext.", $db);
AddClass(".outset_box", "border: 2px outset;background-color: #f7f7f7;padding: 10px;", 1, "This goes for the white box with outset borders.", $db);
AddClass(".pagination", "font-size:10px;background-color: #5C7099;border: 1px solid #363636;", 1, "The thing that goes around the pagination box.", $db);
AddClass(".pagination td", "padding: 3px;border:0px;font-size:10px;color: #FFFFFF;", 1, "Table columns within the pagination boxes.", $db);
AddClass(".panel", "background-color: #E4E7F5;color: #000000;padding: 10px;border: outset 2px;", 1, "This is the main light background colored region, and when put on a table column directly; applies an outset border.", $db);
AddClass(".panelsurround", "background-color: #D5D8E5;color: #000000;", 1, "I don''t remember.", $db);
AddClass(".question", "list-style-type: none;margin: 0px;background-color: #fcfcfc;padding: 5px;border: 1px solid #999999;color: #000000;font-size: 11px;width: 90%;margin-bottom: 1px;cursor: pointer;cursor: hand;", 1, "What a question looks like in the FAQ section.", $db);
AddClass(".quote", "border: 1px solid #999999;", 1, "This is for the bbcode quote elements.", $db);
AddClass(".quote *", "font-size: 11px;color: #666666;", 1, "This applies to all quote elemenets, and all elements inside quotes.", $db);
AddClass(".quote legend", "font-weight: bold;color: #333333;", 1, "This applies to the quote''s legend.", $db);
AddClass(".smalltext, .smalltext *", "font-size:11px; padding:0px;color: #000000; text-decoration: none;", 1, "This is the second smallest text, and this applies to all elements within the minitext.", $db);
AddClass(".special_panel", "background-color: #FFDDDD;color: #000000;padding: 10px;border: outset 2px;", 1, "Shows on suspended forums/categories.", $db);
AddClass(".tcat a:hover", "color: #FFFF66;text-decoration: underline;", 1, "This applies to all links in the main header regions when you hover your mouse over them.", $db);
AddClass(".tcat a:link, .tcat a:visited, .tcat a:active", "color: #FFFFFF;text-decoration: none;", 1, "This applies to all links within the main header regions, on the default template, they are black.", $db);
AddClass(".tcat, .tcat td", "background-color: #333333;color: #FFFFFF;font-weight: bold;font-family: verdana, geneva, lucida, arial, helvetica, sans-serif;", 1, "This is the main header region.", $db);
AddClass(".thead", "background-color: #045975;color: #FFFFFF;font-size: 11px;font-weight: bold;font-family: tahoma, verdana, geneva, lucida, arial, helvetica, sans-serif;", 1, "This is the secondary header region.", $db);
AddClass(".thead a", "color: #FFFFFF;", 1, "This applies to all links within the secondary header regions.", $db);
AddClass(".threaded_off td", "background-color: #FEFEFE;padding: 0px;margin:0px;color: #000000;", 1, "This goes for the table rows in the threaded and hybrid thread views when they are not selected.", $db);
AddClass(".threaded_on, .threaded_on td", "background-color: #CCCCCC;padding: 0px;margin:0px;height: 20px;", 1, "This goes for the table rows in the threaded and hybrid thread views when you select one of them.", $db);
AddClass(".visible", "display: block;border: 1px solid #BDD786;padding: 3px;width: 95%;", 1, "A category in the Advanced CSS editor which is visible.", $db);
AddClass("a", "color: #000000;text-decoration: none;", 1, "This applies to every link.", $db);
AddClass("a:hover", "text-decoration: underline;", 1, "This applies to every link when you hover your mouse over them.", $db);
AddClass("body", "background-color: #E1E1E2; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;", 1, "This sets the body of the page''s properties.", $db);
AddClass("fieldset", "border: 1px solid #003366;padding: 5px;margin: 3px;", 1, "This applies to every fieldset. (those cool table like things with a name which intersects the top border.", $db);
AddClass("form", "margin:0px 0px 0px 0px;padding: 0px 0px 0px 0px;", 1, "This applies to every form.", $db);
AddClass("h1", "margin: 0px;padding: 0px;font-size: 20px;", 1, "This applies to every h1 element.", $db);
AddClass("legend", "color: #22229C;font: 11px tahoma, verdana, geneva, lucida, arial, helvetica, sans-serif;", 1, "This applies to the names within the top border of all fieldsets.", $db);
AddClass("td", "padding: 3px;", 1, "This applies to every table column.", $db);
AddClass("td, th, p, li", "font-size: 10pt;font-family: verdana, geneva, lucida, arial, helvetica, sans-serif;", 1, "This applies to all table headers, table columns, paragraphs and list items simultaneously.", $db);
AddClass("td.thead, div.thead", "padding: 4px;", 1, "This applies to all secondary header divs and table columns.", $db);