Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Sloganizer {
- function getSlogan($keyword) {
- $slogans = array(
- '1'=>'%KEYWORD% - the way to health and happiness!',
- '2'=>'The president buys %KEYWORD%',
- '3'=>'%KEYWORD% - The Future of mankind!',
- '4'=>'%KEYWORD% or food? Ill take %KEYWORD%!',
- '5'=>'Your %KEYWORD%. My %KEYWORD%. %KEYWORD% for all!',
- '6'=>'My life was turned around by %KEYWORD%',
- '7'=>'All you need is %KEYWORD%',
- '8'=>'%KEYWORD% - Execllence itself.',
- '9'=>'Just %KEYWORD%',
- '10'=>'I love %KEYWORD%!',
- '11'=>'Get In, Get Out, Get %KEYWORD%',
- '12'=>'Have Your Life Enriched By %KEYWORD%',
- '13'=>'%KEYWORD% - Perfection itself.',
- '14'=>'Will it blend? Will it %KEYWORD%',
- '15'=>'There is only one thing i want and that is %KEYWORD%',
- '16'=>'%KEYWORD%!!!',
- '17'=>'%KEYWORD% Just does it!',
- '18'=>'%KEYWORD% - Forget the rest',
- '19'=>'Naughty little %KEYWORD%',
- '20'=>'%KEYWORD% - Delicious!',
- '21'=>'Think Once, Think Twice, Think %KEYWORD%',
- '22'=>'%KEYWORD% - Broaden Your Horizons!',
- '23'=>'Anything is possible with %KEYWORD%',
- '24'=>'With %KEYWORD%, the only limit is yourself!',
- '25'=>'Anything can happen with %KEYWORD%',
- '26'=>'%KEYWORD% - The last word in popularity',
- '27'=>'%KEYWORD% - Endorsed by Albert Einstein',
- '28'=>'The wonder has a name: %KEYWORD%',
- '29'=>'The %KEYWORD% lifestyle',
- '30'=>'%KEYWORD% - See More. Do More.',
- '31'=>'Be alive with %KEYWORD%',
- '32'=>'Theres lots of fun in %KEYWORD%',
- '33'=>'%KEYWORD%: Boldly going, where no man has gone before',
- '34'=>'Destiny. %KEYWORD%',
- '35'=>'%KEYWORD% - Its better than vomit.',
- '36'=>'A %KEYWORD% a day keeps the doctor away.',
- '37'=>'Go further with %KEYWORD%.',
- '38'=>'%KEYWORD% just blows the mind.',
- '39'=>'%KEYWORD% - unbelievable!',
- '40'=>'%KEYWORD%: better than chocolate',
- '41'=>'%KEYWORD% - Do it once, Do it twice.',
- '42'=>'%KEYWORD%tastic!'
- );
- $result = count($slogans);
- $randomNumber = rand(1, $result);
- $randomSlogan = $slogans[$randomNumber];
- $compositeSlogan = str_replace('%KEYWORD%', $keyword, $randomSlogan);
- return $compositeSlogan;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement