$affected_snippets=$app->db->queryAllRecords('SELECT directive_snippets_id FROM directive_snippets WHERE required_php_snippets REGEXP ? AND type = ?',$rlike,'apache');
$affected_snippets=$app->db->queryAllRecords('SELECT directive_snippets_id FROM directive_snippets WHERE required_php_snippets REGEXP ?',$rlike);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE server_id = ? AND directive_snippets_id IN ?',$conf['server_id'],$sql_in);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE directive_snippets_id IN ?',$sql_in);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE server_id = ? AND directive_snippets_id = ?',$conf['server_id'],$this->dataRecord['directive_snippets_id']);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE directive_snippets_id = ?',$this->dataRecord['directive_snippets_id']);
$affected_snippets=$app->db->queryAllRecords('SELECT directive_snippets_id FROM directive_snippets WHERE required_php_snippets REGEXP ? AND type = ?',$rlike,'apache');
$affected_snippets=$app->db->queryAllRecords('SELECT directive_snippets_id FROM directive_snippets WHERE required_php_snippets REGEXP ?',$rlike);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE server_id = ? AND directive_snippets_id IN ?',$conf['server_id'],$sql_in);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE directive_snippets_id IN ?',$sql_in);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE server_id = ? AND directive_snippets_id = ?',$conf['server_id'],$this->dataRecord['id']);
$affected_sites=$app->db->queryAllRecords('SELECT domain_id FROM web_domain WHERE directive_snippets_id = ?',$this->dataRecord['id']);