コード例 #1
0
	if(isset($_GET["group-list"])){term_group_list();exit;}
	if(isset($_POST["group-del"])){term_group_del();exit;}
	
	if(isset($_GET["group-expressions-popup"])){term_group_expression_popup();exit;}
	if(isset($_GET["group-expressions-list"])){term_group_expression_list();exit;}
	
	if(isset($_GET["browse-expressions-popup"])){browse_expressions_popup();exit;}
	if(isset($_GET["browse-expressions-list"])){browse_expressions_list();exit;}
	
	if(isset($_GET["expression-popup"])){expression_popup();exit;}
	if(isset($_GET["expression-edit"])){expression_js();exit;}
	if(isset($_POST["term"])){expression_save();exit;}
	if(isset($_POST["expression-enable"])){expression_enable();exit;}
	if(isset($_POST["expression-del"])){expression_del();exit;}
	if(isset($_POST["expression-link"])){expression_link();exit;}
	if(isset($_POST["expression-unlink"])){expression_unlink();exit;}
	
	if(isset($_GET["AddWordsInGroup-js"])){AddWordsInGroup_js();exit;}
	

	
term_group();	

function AddWordsInGroup_js(){
	$page=CurrentPageName();
	$tpl=new templates();	
	$title=$_GET["groupname"];
	if($title==null){
		$q=new mysql_squid_builder();
		$ligne=mysql_fetch_array($q->QUERY_SQL("SELECT groupname FROM webfilter_termsg WHERE ID={$_GET["ID"]}"));
		$title=$ligne["groupname"];
コード例 #2
0
    exit;
}
if (isset($_POST["expression-enable"])) {
    expression_enable();
    exit;
}
if (isset($_POST["expression-del"])) {
    expression_del();
    exit;
}
if (isset($_POST["expression-link"])) {
    expression_link();
    exit;
}
if (isset($_POST["expression-unlink"])) {
    expression_unlink();
    exit;
}
if (isset($_GET["AddWordsInGroup-js"])) {
    AddWordsInGroup_js();
    exit;
}
term_group();
function AddWordsInGroup_js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $_GET["groupname"];
    if ($title == null) {
        $q = new mysql_squid_builder();
        $ligne = mysql_fetch_array($q->QUERY_SQL("SELECT groupname FROM webfilter_termsg WHERE ID={$_GET["ID"]}"));