<?php include_once '../../../../../class/autoload.inc'; error_reporting(E_ALL); ini_set('display_errors', 1); $test_type = new test_type(); $links = $test_type->getPromotion(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>晋级规则</title> <script src="../../../../jquery-ui/js/jquery-1.9.1.js"></script> <script type="text/javascript" src="index.js"></script> <script src="../../../../jquery-ui/js/jquery-ui-1.10.1.custom.js"></script> <link rel="stylesheet" href="../../../../jquery-ui/development-bundle/themes/sunny/jquery-ui.css" /> <link rel="stylesheet" href="../../../../css/common.css" /> <link rel="stylesheet" href="index.css" /> <script> $(function() { $("#dialog").dialog({ autoOpen: false, show: { effect: "blind", duration: 300 }, hide: { effect: "explode", duration: 300 }
<?php require_once '../../../../../class/autoload.inc'; $test_type = new test_type(); $test_type_panel = $test_type->getTestTypePanel(); if (isset($_POST["quetext"])) { $question = new question(); $result = $question->addMulAns($_POST["quetext"], $_POST["deg"]); } elseif (isset($_POST["sinque"])) { $question = new question(); $result = $question->addOneAns($_POST["sinque"], $_POST["sinqueAns"], $_POST["deg"]); } ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="../../../../js/jquery-1.9.0.js" type='text/javascript'></script> <script src="../../../../jquery-ui/js/jquery-ui-1.10.1.custom.js" type='text/javascript'></script> <script src="../../../../js/common.js" type='text/javascript'></script> <script src="index.js" type='text/javascript'></script> <link rel="stylesheet" href="../../../../jquery-ui/development-bundle/themes/sunny/jquery-ui.css" /> <link rel="stylesheet" href="index.css" /> </head> <body> <script language="javascript"> <?php if (isset($result)) { echo "\n \$(function(){\n \$('#dialog').html('{$result}').dialog('open');\n });"; } ?> function alert(error){
<?php error_reporting(E_ALL); ini_set('display_errors', 1); require_once "../../../../../class/autoload.inc"; $a_tt = new test_type(); $grad_options = $a_tt->getNameOptions(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>考试类型管理</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="../../../../js/jquery-1.9.0.js" type='text/javascript'></script> <script src="../../../../jquery-ui/js/jquery-ui-1.10.1.custom.js" type='text/javascript'></script> <script src="../../../../jtable/jquery.jtable.js" type='text/javascript'></script> <script src="index.js" type='text/javascript'></script> <link rel="stylesheet" href="../../../../css/common.css" /> <link rel="stylesheet" href="../../../../jquery-ui/development-bundle/themes/sunny/jquery-ui.css" /> <link rel="stylesheet" href="../../../../jtable/themes/lightcolor/orange/jtable.css" /> <script type="text/javascript"> $(document).ready(function () { $('#test_type_table').jtable({ title: '考试类型管理', paging: false, //Enable paging sorting: false, //Enable sorting defaultSorting: 'test_type_id ASC', //Set default sorting deleteConfirmation: function(data) { if (data.record.test_type_id <= 5){ data.cancel = true;