示例#1
0
        			${"theme".($strthemelen-1-$k)} = "on";
        	}     
        }	
    } elseif($_SERVER['REQUEST_METHOD']!='POST'){
        $year_p = 1;
        $yearstart1 = '';
        $yearend1 = '';   
        $submitaftererror = 0; 
        $image_small_url = '';
	    $image_big_url = '';   
    	
    }

    //получаем страны
    $sql = "select group.group from `group` where type='shopcoins' and `group` not in (667,937,983,997,1014,1015,1062,1063,1097,1106);";
    $result = $catalognew_class->getDataSql($sql);
    $Group = array();  
    $GroupArray = array(); 
    $group407 = 0;
    
    foreach ($result as $rows) {    	
    	$Group[] = $rows["group"];
    }

    $sql = "select groupparent,name,group.group from `group` where `group` ".(sizeof($Group)>0?"in (".implode(",", $Group).")":" = 0 ")." order by name;";
    
    $result = $catalognew_class->getDataSql($sql);
    
    $GroupArray = array();
    
    foreach ($result as $rows) {