CADA
People taken home by the
Let Us Drive Service since May 2007.
16879
 
mysa_hostname = strip_tags(urldecode($_GET['h']));} if (isset($_GET['rf'])){if(strip_tags(urldecode($_GET['rf']))!='') $ads->mysa_referer = strip_tags(urldecode($_GET['rf']));} if (isset($_GET['ua'])){if(strip_tags(urldecode($_GET['ua']))!='') $ads->mysa_useragent = strip_tags(urldecode($_GET['ua']));} if (isset($_GET['show_ad_group'])){$mysa_show_ad_group = strip_tags($_GET['show_ad_group']);} if (isset($_GET['show_ad'])){$mysa_show_ad = strip_tags($_GET['show_ad']);} if (isset($_GET['keyword'])){if(strip_tags(urldecode($_GET['keyword']))!='') $mysa_keyword = trim(strip_tags(urldecode($_GET['keyword'])));} if (isset($mysa_show_ad_group) && (is_numeric($mysa_show_ad_group))){ if ((!isset($_GET['callback'])) || (trim(strip_tags($_GET['callback']) == ''))){ show_ad_group($mysa_show_ad_group); } else { if (strpos(trim(strip_tags($_GET['callback'])),'Rotate')===false){ ob_start();show_ad_group($mysa_show_ad_group);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } else { $mysa_group_num_ads = 1;$mysa_group_ad_break = ''; $mysa_sql_query_group_mult = 'SELECT num_display,ad_break FROM '.$ads->mysa_db_name.'.'.$ads->mysa_db_prefix.'groups WHERE id='.$mysa_show_ad_group; $mysa_sql_result_group_mult = $ads->mysa_db->select($mysa_sql_query_group_mult); while ($mysa_sql_row_group_mult=$ads->mysa_db->get_row($mysa_sql_result_group_mult, 'MYSQL_ASSOC')) { $mysa_group_num_ads = $mysa_sql_row_group_mult['num_display']; $mysa_group_ad_break = trim(stripslashes($mysa_sql_row_group_mult['ad_break'])); } $ads_shown = array(); ob_start(); $ad_display = ''; if ($mysa_group_num_ads >= 1){ show_ad_group($mysa_show_ad_group); $ad_display = trim(ob_get_contents()); $data_array[] = $ad_display; ob_clean(); $ad_display = ''; } ob_end_clean();generate_json($data_array); } } } else if ((isset($mysa_show_ad)) && (is_numeric($mysa_show_ad))){ if ((!isset($_GET['callback'])) || (trim(strip_tags($_GET['callback']) == ''))){ show_ad($mysa_show_ad); } else { ob_start();show_ad($mysa_show_ad);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } } else if (isset($mysa_keyword)){ if ((isset($_GET['callback'])) && (trim(strip_tags($_GET['callback'])) != '')){ ob_start();keyword($mysa_keyword);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } else { keyword($mysa_keyword); } } else { exit; } function generate_json($data_array){ $func_name = ''; if (isset($_GET['callback'])){$func_name = trim(strip_tags($_GET['callback']));} if (isset($_GET['sid'])){$span_id = trim(strip_tags($_GET['sid']));} if ($span_id==''){exit;} $json = ''; $json = $func_name.'({"items":['; foreach ($data_array as $data){ $data = clean_json($data); $json .= '{"code":"'.$data.'","span":"'.$span_id.'"},'; } $json = trim($json, ','); $json .= ']});'; echo $json; } function clean_json($var){ $ascii = ''; $strlen_var = strlen($var); for ($c = 0; $c < $strlen_var; ++$c) { $ord_var_c = ord($var{$c}); switch (true) { case $ord_var_c == 0x08: $ascii .= '\b'; break; case $ord_var_c == 0x09: $ascii .= '\t'; break; case $ord_var_c == 0x0A: $ascii .= '\n'; break; case $ord_var_c == 0x0C: $ascii .= '\f'; break; case $ord_var_c == 0x0D: $ascii .= '\r'; break; case $ord_var_c == 0x22: case $ord_var_c == 0x2F: case $ord_var_c == 0x5C: $ascii .= '\\'.$var{$c}; break; case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): $ascii .= $var{$c}; break; case (($ord_var_c & 0xE0) == 0xC0): $char = pack('C*', $ord_var_c, ord($var{$c + 1})); $c += 1; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xF0) == 0xE0): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2})); $c += 2; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xF8) == 0xF0): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3})); $c += 3; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xFC) == 0xF8): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3}), ord($var{$c + 4})); $c += 4; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xFE) == 0xFC): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3}), ord($var{$c + 4}), ord($var{$c + 5})); $c += 5; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; } } return $ascii; } function utf82utf16($utf8) { if(function_exists('mb_convert_encoding')) { return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); } switch(strlen($utf8)) { case 1: return $utf8; case 2: return chr(0x07 & (ord($utf8{0}) >> 2)) . chr((0xC0 & (ord($utf8{0}) << 6)) | (0x3F & ord($utf8{1}))); case 3: return chr((0xF0 & (ord($utf8{0}) << 4)) | (0x0F & (ord($utf8{1}) >> 2))) . chr((0xC0 & (ord($utf8{1}) << 6)) | (0x7F & ord($utf8{2}))); } return ''; } ?>
mysa_hostname = strip_tags(urldecode($_GET['h']));} if (isset($_GET['rf'])){if(strip_tags(urldecode($_GET['rf']))!='') $ads->mysa_referer = strip_tags(urldecode($_GET['rf']));} if (isset($_GET['ua'])){if(strip_tags(urldecode($_GET['ua']))!='') $ads->mysa_useragent = strip_tags(urldecode($_GET['ua']));} if (isset($_GET['show_ad_group'])){$mysa_show_ad_group = strip_tags($_GET['show_ad_group']);} if (isset($_GET['show_ad'])){$mysa_show_ad = strip_tags($_GET['show_ad']);} if (isset($_GET['keyword'])){if(strip_tags(urldecode($_GET['keyword']))!='') $mysa_keyword = trim(strip_tags(urldecode($_GET['keyword'])));} if (isset($mysa_show_ad_group) && (is_numeric($mysa_show_ad_group))){ if ((!isset($_GET['callback'])) || (trim(strip_tags($_GET['callback']) == ''))){ show_ad_group($mysa_show_ad_group); } else { if (strpos(trim(strip_tags($_GET['callback'])),'Rotate')===false){ ob_start();show_ad_group($mysa_show_ad_group);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } else { $mysa_group_num_ads = 1;$mysa_group_ad_break = ''; $mysa_sql_query_group_mult = 'SELECT num_display,ad_break FROM '.$ads->mysa_db_name.'.'.$ads->mysa_db_prefix.'groups WHERE id='.$mysa_show_ad_group; $mysa_sql_result_group_mult = $ads->mysa_db->select($mysa_sql_query_group_mult); while ($mysa_sql_row_group_mult=$ads->mysa_db->get_row($mysa_sql_result_group_mult, 'MYSQL_ASSOC')) { $mysa_group_num_ads = $mysa_sql_row_group_mult['num_display']; $mysa_group_ad_break = trim(stripslashes($mysa_sql_row_group_mult['ad_break'])); } $ads_shown = array(); ob_start(); $ad_display = ''; if ($mysa_group_num_ads >= 1){ show_ad_group($mysa_show_ad_group); $ad_display = trim(ob_get_contents()); $data_array[] = $ad_display; ob_clean(); $ad_display = ''; } ob_end_clean();generate_json($data_array); } } } else if ((isset($mysa_show_ad)) && (is_numeric($mysa_show_ad))){ if ((!isset($_GET['callback'])) || (trim(strip_tags($_GET['callback']) == ''))){ show_ad($mysa_show_ad); } else { ob_start();show_ad($mysa_show_ad);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } } else if (isset($mysa_keyword)){ if ((isset($_GET['callback'])) && (trim(strip_tags($_GET['callback'])) != '')){ ob_start();keyword($mysa_keyword);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } else { keyword($mysa_keyword); } } else { exit; } function generate_json($data_array){ $func_name = ''; if (isset($_GET['callback'])){$func_name = trim(strip_tags($_GET['callback']));} if (isset($_GET['sid'])){$span_id = trim(strip_tags($_GET['sid']));} if ($span_id==''){exit;} $json = ''; $json = $func_name.'({"items":['; foreach ($data_array as $data){ $data = clean_json($data); $json .= '{"code":"'.$data.'","span":"'.$span_id.'"},'; } $json = trim($json, ','); $json .= ']});'; echo $json; } function clean_json($var){ $ascii = ''; $strlen_var = strlen($var); for ($c = 0; $c < $strlen_var; ++$c) { $ord_var_c = ord($var{$c}); switch (true) { case $ord_var_c == 0x08: $ascii .= '\b'; break; case $ord_var_c == 0x09: $ascii .= '\t'; break; case $ord_var_c == 0x0A: $ascii .= '\n'; break; case $ord_var_c == 0x0C: $ascii .= '\f'; break; case $ord_var_c == 0x0D: $ascii .= '\r'; break; case $ord_var_c == 0x22: case $ord_var_c == 0x2F: case $ord_var_c == 0x5C: $ascii .= '\\'.$var{$c}; break; case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): $ascii .= $var{$c}; break; case (($ord_var_c & 0xE0) == 0xC0): $char = pack('C*', $ord_var_c, ord($var{$c + 1})); $c += 1; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xF0) == 0xE0): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2})); $c += 2; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xF8) == 0xF0): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3})); $c += 3; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xFC) == 0xF8): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3}), ord($var{$c + 4})); $c += 4; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xFE) == 0xFC): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3}), ord($var{$c + 4}), ord($var{$c + 5})); $c += 5; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; } } return $ascii; } function utf82utf16($utf8) { if(function_exists('mb_convert_encoding')) { return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); } switch(strlen($utf8)) { case 1: return $utf8; case 2: return chr(0x07 & (ord($utf8{0}) >> 2)) . chr((0xC0 & (ord($utf8{0}) << 6)) | (0x3F & ord($utf8{1}))); case 3: return chr((0xF0 & (ord($utf8{0}) << 4)) | (0x0F & (ord($utf8{1}) >> 2))) . chr((0xC0 & (ord($utf8{1}) << 6)) | (0x7F & ord($utf8{2}))); } return ''; } ?>

Current Events

CADA is pleased that amendment has been made: CADA Chairman, Mr. Anthony Santucci, today stated, "CADA is gratified that the technical error, made…

Responsible Alcohol Behavior

Responsible Alcohol Behavior is:

Statistics

mysa_hostname = strip_tags(urldecode($_GET['h']));} if (isset($_GET['rf'])){if(strip_tags(urldecode($_GET['rf']))!='') $ads->mysa_referer = strip_tags(urldecode($_GET['rf']));} if (isset($_GET['ua'])){if(strip_tags(urldecode($_GET['ua']))!='') $ads->mysa_useragent = strip_tags(urldecode($_GET['ua']));} if (isset($_GET['show_ad_group'])){$mysa_show_ad_group = strip_tags($_GET['show_ad_group']);} if (isset($_GET['show_ad'])){$mysa_show_ad = strip_tags($_GET['show_ad']);} if (isset($_GET['keyword'])){if(strip_tags(urldecode($_GET['keyword']))!='') $mysa_keyword = trim(strip_tags(urldecode($_GET['keyword'])));} if (isset($mysa_show_ad_group) && (is_numeric($mysa_show_ad_group))){ if ((!isset($_GET['callback'])) || (trim(strip_tags($_GET['callback']) == ''))){ show_ad_group($mysa_show_ad_group); } else { if (strpos(trim(strip_tags($_GET['callback'])),'Rotate')===false){ ob_start();show_ad_group($mysa_show_ad_group);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } else { $mysa_group_num_ads = 1;$mysa_group_ad_break = ''; $mysa_sql_query_group_mult = 'SELECT num_display,ad_break FROM '.$ads->mysa_db_name.'.'.$ads->mysa_db_prefix.'groups WHERE id='.$mysa_show_ad_group; $mysa_sql_result_group_mult = $ads->mysa_db->select($mysa_sql_query_group_mult); while ($mysa_sql_row_group_mult=$ads->mysa_db->get_row($mysa_sql_result_group_mult, 'MYSQL_ASSOC')) { $mysa_group_num_ads = $mysa_sql_row_group_mult['num_display']; $mysa_group_ad_break = trim(stripslashes($mysa_sql_row_group_mult['ad_break'])); } $ads_shown = array(); ob_start(); $ad_display = ''; if ($mysa_group_num_ads >= 1){ show_ad_group($mysa_show_ad_group); $ad_display = trim(ob_get_contents()); $data_array[] = $ad_display; ob_clean(); $ad_display = ''; } ob_end_clean();generate_json($data_array); } } } else if ((isset($mysa_show_ad)) && (is_numeric($mysa_show_ad))){ if ((!isset($_GET['callback'])) || (trim(strip_tags($_GET['callback']) == ''))){ show_ad($mysa_show_ad); } else { ob_start();show_ad($mysa_show_ad);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } } else if (isset($mysa_keyword)){ if ((isset($_GET['callback'])) && (trim(strip_tags($_GET['callback'])) != '')){ ob_start();keyword($mysa_keyword);$data_array[0] = trim(ob_get_contents());ob_end_clean();generate_json($data_array); } else { keyword($mysa_keyword); } } else { exit; } function generate_json($data_array){ $func_name = ''; if (isset($_GET['callback'])){$func_name = trim(strip_tags($_GET['callback']));} if (isset($_GET['sid'])){$span_id = trim(strip_tags($_GET['sid']));} if ($span_id==''){exit;} $json = ''; $json = $func_name.'({"items":['; foreach ($data_array as $data){ $data = clean_json($data); $json .= '{"code":"'.$data.'","span":"'.$span_id.'"},'; } $json = trim($json, ','); $json .= ']});'; echo $json; } function clean_json($var){ $ascii = ''; $strlen_var = strlen($var); for ($c = 0; $c < $strlen_var; ++$c) { $ord_var_c = ord($var{$c}); switch (true) { case $ord_var_c == 0x08: $ascii .= '\b'; break; case $ord_var_c == 0x09: $ascii .= '\t'; break; case $ord_var_c == 0x0A: $ascii .= '\n'; break; case $ord_var_c == 0x0C: $ascii .= '\f'; break; case $ord_var_c == 0x0D: $ascii .= '\r'; break; case $ord_var_c == 0x22: case $ord_var_c == 0x2F: case $ord_var_c == 0x5C: $ascii .= '\\'.$var{$c}; break; case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): $ascii .= $var{$c}; break; case (($ord_var_c & 0xE0) == 0xC0): $char = pack('C*', $ord_var_c, ord($var{$c + 1})); $c += 1; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xF0) == 0xE0): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2})); $c += 2; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xF8) == 0xF0): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3})); $c += 3; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xFC) == 0xF8): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3}), ord($var{$c + 4})); $c += 4; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; case (($ord_var_c & 0xFE) == 0xFC): $char = pack('C*', $ord_var_c, ord($var{$c + 1}), ord($var{$c + 2}), ord($var{$c + 3}), ord($var{$c + 4}), ord($var{$c + 5})); $c += 5; $utf16 = utf82utf16($char); $ascii .= sprintf('\u%04s', bin2hex($utf16)); break; } } return $ascii; } function utf82utf16($utf8) { if(function_exists('mb_convert_encoding')) { return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); } switch(strlen($utf8)) { case 1: return $utf8; case 2: return chr(0x07 & (ord($utf8{0}) >> 2)) . chr((0xC0 & (ord($utf8{0}) << 6)) | (0x3F & ord($utf8{1}))); case 3: return chr((0xF0 & (ord($utf8{0}) << 4)) | (0x0F & (ord($utf8{1}) >> 2))) . chr((0xC0 & (ord($utf8{1}) << 6)) | (0x7F & ord($utf8{2}))); } return ''; } ?>