определение категории

← разместить еще код

Расшаренный код:

    if (strripos($row, 'азиатк') or strripos($row, 'asian') or strripos($row, 'вьетна')) $category = 1;
    else if (strripos($row, 'лесби') or strripos($row, 'lesbi')) $category = 12;
    else if (strripos($row, 'негр') or strripos($row, 'черн') or strripos($row, 'чёрн') or strripos($row, 'negr')) $category = 16;
    else if (strripos($row, 'мам') or strripos($row, 'мать') or strripos($row, 'mama')) $category = 13;
    else if (strripos($row, 'русс') or strripos($row, 'rus')) $category = 18;
    else if (strripos($row, 'дом') or strripos($row, 'home')) $category = 10;    
    else if (strripos($row, 'групп') or strripos($row, 'два') or strripos($row, 'lot') or strripos($row, 'guys')) $category = 9;    
    else if (strripos($row, 'анал') or strripos($row, 'жоп') or strripos($row, 'очк') or strripos($row, 'anal') or strripos($row, 'ass')) $category = 2;
    else if (strripos($row, 'страп') or strripos($row, 'slave') or strripos($row, 'раб') or strripos($row, 'mistre') or strripos($row, 'госпож') or strripos($row, 'bdsm') or strripos($row, 'шарик') or strripos($row, 'бдсм') or strripos($row, 'порево') or strripos($row, 'плет') or strripos($row, 'прищ') or strripos($row, 'извр')) $category = 3;
    else if (strripos($row, 'блондинк') or strripos($row, 'бело') or strripos($row, 'blond')) $category = 4;
    else if (strripos($row, 'большие') or strripos($row, 'большая') or strripos($row, 'awesome')) $category = 5;
    else if (strripos($row, 'члены') or strripos($row, 'огром') or strripos($row, 'big')) $category = 6;
    else if (strripos($row, 'брюнетк') or strripos($row, 'темно') or strripos($row, 'brunett')) $category = 7;
    else if (strripos($row, 'волосат') or strripos($row, 'зарос') or strripos($row, 'hair') or strripos($row, 'shav')) $category = 8;
    else if (strripos($row, 'жест') or strripos($row, 'груб') or strripos($row, 'hard')) $category = 11;
    else if (strripos($row, 'минет') or strripos($row, 'орал') or strripos($row, 'рот') or strripos($row, 'сос') or strripos($row, 'blow')) $category = 14;
    else if (strripos($row, 'молод') or strripos($row, '18') or strripos($row, 'young') or strripos($row, 'finish')) $category = 15;
    else if (strripos($row, 'рак') or strripos($row, 'нагн') or strripos($row, 'cancer')) $category = 17;
    else if (strripos($row, 'сперм') or strripos($row, 'конч') or strripos($row, 'sperm')) $category = 19;
    else if (strripos($row, 'студ') or strripos($row, 'учит') or strripos($row, 'учен') or strripos($row, 'teach')) $category = 20;
    else $category = rand(5, 6);