- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
//TODO: Ахтунг! про in_array не слышали?
$_GET['source'] = isset($_GET['source'])
&& ($_GET['filter_source'] == "manager"
|| $_GET['filter_source'] == "admin"
|| $_GET['filter_source'] == "internet"
|| $_GET['filter_source'] == "president"
|| $_GET['filter_source'] == "builder"
|| $_GET['filter_source'] == "call-center"
|| $_GET['filter_source'] == "calls"
|| $_GET['filter_source'] == "president"
|| $_GET['filter_source'] == "petr"
|| $_GET['filter_source'] == "slava"
|| $_GET['filter_source'] == "vell"
|| $_GET['filter_source'] == "box") ? $_GET['source'] : '0';