$competition_id = "Puff-Poster-Design-Competition"
$user = array(
"User" => array(
"username" => "there!"
)
)
$facebookShareUrl = "http://www.springleap.com/competitions/brief/Puff-Poster-Design-Competition"
$shareUrl = "http://www.springleap.com/competitions/brief/Puff-Poster-Design-Competition"
$res = array(
"Competition" => array(
"id" => "232",
"title" => "Puff Design Competition",
"slug" => "puff-poster-design-competition",
"href" => "http://www.springleap.com/competitions/brief/Puff-Poster-Design-Competition",
"type" => "1",
"global_kit" => "0",
"entry_start_date" => "2021-10-08 01:00:00",
"entry_end_date" => "2021-11-28 23:59:00",
"vote_start_date" => "2021-10-30 01:00:00",
"vote_end_date" => "2021-11-28 23:59:00",
"created" => "2021-10-08 06:56:02",
"updated" => "2021-10-31 10:36:27",
"active" => "1",
"bountry" => "2000",
"contest" => "t-shirt",
"banner" => "",
"pacic" => "1414479526.zip",
"brandedBanner" => "1412750162.jpg",
"hexVal" => "",
"url" => "Puff-Design-Competition",
"color_primary" => "478148",
"color_secondary" => "314444",
"brand_logo" => "1412747679.jpg",
"static_thumbnail" => "1412752642.jpg",
"hover_title" => "",
"hover_thumbnail" => null,
"enabled" => "1"
),
"CompetitionBrief" => array(
"id" => "27",
"competition_id" => "232",
"brief_banner" => "1412750186.jpg",
"vote_banner" => "1412750194.jpg",
"contest_name" => "Design & Win",
"tagline" => "Puff's Design Challenge",
"body" => "Puff is looking for designs that will be used on their marketing material to captivate and enthral their clientele! Ready to get creative and designing? We want to see your most inspired designs…<br /><br />With this awesome design challenge, there is an opportunity to have your designs or illustrations printed directly onto Puff’s array of promotional marketing material. Best of all - there's $2000 in cash for the winning designs.<br /><br />The winning designs will be used on their marketing materials.It's time to enter an elevated state of creativity, and bring on designs that reach the upper heights of cool! <br /><br />It's easy: Click the "Submit designs" button below, and download the design pack/ creative assets from the next page. It has everything you need to rock this design competition.<br /><br />Don’t forget to VOTE! Stand a chance to win 4 x R500 Puff vouchers",
"brand_fb_url" => "https://www.facebook.com/pages/Puffcoza-Online-Head-Shop/170490656300893",
"brand_description" => "Puff offers high quality smoking paraphernalia conveniently to customers <br />around the globe.<br /><br />Whether for a gift or for yourself you can be sure to find an amazing product. <br /><br />Puff specializes in finding the best products from around the world for <br />alternative smoking enthusiasts with a wide range to suit a variety of budgets.",
"prizes" => "<li><span >• 1st Place - $1500</span></li><li><span>• 2nd Place - $300</span></li><li><span>• 3rd Place - $200</span></li>",
"footer_banner" => "1412750872.jpg",
"brand_url" => "http://www.puff.co.za",
"pinterest_url" => null,
"twitter_url" => "www.twitter.com",
"terms" => "T’s & C’s<br /><br /> Submissions containing obscenities or hate speech are not allowed.<br /> Springleap reserves the right to approve or reject submissions in line with the requirements of the design challenge brief.<br /> Only original works will be accepted.<br /> Each designer may submit up to a maximum of five (5) designs.<br /> Awarded designers will be chosen by the Springleap design panel in consultation with the client , Puff.<br /> Standard Springleap Terms & Conditions apply over and above.<br /> Springleap reserves the right to request high-resolution artwork of entries submitted in this design challenge for non-commercial use, such as media covering the process.<br /> Submissions in the contest will run from 6 October 2014.<br /> Springleap and/or the client reserve the right to extend the contest period.<br /> Final winner/s will be chosen and announced on or before 20 November 2021 (or a later date subject to change if the contest period is extended) via Springleap.com, its Facebook page, Puff Facebook page and associated social media channels and partner and affiliate sites.<br /> Winning designs are final and no correspondence will be entered into.<br /> Prizes are not transferable.",
"is_embed" => "1",
"color_sidebar" => "ffffff"
),
"CompetitionEntry" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array()
)
)
$page_brief = array()
$buttons = array()
$competition = false
$myDesigns = array()
$extra_data = array()
array_merge - [internal], line ??
CompetitionsController::brief() - APP/controllers/competitions_controller.php, line 410
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (2): Invalid argument supplied for foreach() [APP/controllers/competitions_controller.php, line 800]
$totalDesign = count($votingCompetitions);
if ($totalDesign) {
foreach ($votingCompetitions as $key => $de) {
$competitionDetail = false
$type = "brief"
$sql = "SELECT
Design.id,
Design.title,
Design.user_id,
DesignImage.filename,
Design.slug,
(SELECT AVG(votes.vote) FROM votes WHERE votes.design_id = Design.id AND votes.active = '1' ) AS orde,
Design.description
FROM
`competition_entries` AS `CompetitionEntry`
LEFT JOIN `competitions` AS `Competition` ON (`CompetitionEntry`.`competition_id` = `Competition`.`id`)
LEFT JOIN `designs` AS `Design` ON (`CompetitionEntry`.`design_id` = `Design`.`id`)
LEFT JOIN `design_images` AS `DesignImage` ON (`CompetitionEntry`.`design_id` = `DesignImage`.`design_id`)
WHERE
`Design`.`active` = 1
AND `CompetitionEntry`.`competition_id` =
AND `DesignImage`.`file_type` = '2'
AND CompetitionEntry.status = '2'
ORDER BY orde DESC"
$votingCompetitions = false
$path = "http://www.springleap.com/designs/view/"
$description = "Creatives! Win $ and exposure in the at Springleap.
Enjoy great creativity, win rewards, give props & share with your friends. #design"
$title = "Enter the: "
$preview = "http://images.springleap.com/designs/"
$voteEndDate = false
$competitionEndDate = false
$currentDate = 1416893841
$timeExpire = true
$d = false
$totalDesign = 1
CompetitionsController::getVotingCompetitions() - APP/controllers/competitions_controller.php, line 800
CompetitionsController::brief() - APP/controllers/competitions_controller.php, line 415
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83