Code Context $fecha = $this->Contest->find('all', array('order' => array('Contest.fecha' => 'DESC'), 'fields' => array('Contest.fecha'), 'conditions' => array('Contest.enabled' => 1), 'recursive' => -1));
$this->set('fechas',$fecha);
$this->set('fecha_actual',$_POST['date']);
$firstTime = '1'
$search = '2024'
$data = array(
(int) 0 => array(
'Contest' => array(
'id' => '190',
'nombre' => 'Sexto Concurso Regular 2024',
'fecha' => '2024-11-05',
'tipo' => null,
'juez' => '<p>Patricia Quiros</p>
<p>Rodrigo Barsallo</p>
<p>Gustavo Valle</p>
<p>Saúl Villalobos</p>',
'enabled' => '1'
),
'ThemeContest' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
)
)
),
(int) 1 => array(
'Contest' => array(
'id' => '189',
'nombre' => 'Quinto Concurso Regular 2024',
'fecha' => '2024-09-09',
'tipo' => null,
'juez' => '<p>Jairo Guadamúz</p>
<p>Saùl Villalobos</p>
<p>Ana Brenes</p>
<p>Juan Carlos Murillo</p>',
'enabled' => '1'
),
'ThemeContest' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
)
)
),
(int) 2 => array(
'Contest' => array(
'id' => '188',
'nombre' => 'Segundo Concurso Especial 2024',
'fecha' => '2024-08-07',
'tipo' => null,
'juez' => '<p>Ezequiel Becerra</p>
<p>Mauro Qiuiros</p>
<p>Y todos los participantes del concurso</p>',
'enabled' => '1'
),
'ThemeContest' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Contest' => array(
'id' => '187',
'nombre' => 'Cuarto Concurso Regular 2024',
'fecha' => '2024-07-09',
'tipo' => null,
'juez' => '<p>Pablo Sancho</p>
<p>Percy Durán</p>
<p>Zeke García</p>',
'enabled' => '1'
),
'ThemeContest' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
)
)
),
(int) 4 => array(
'Contest' => array(
'id' => '186',
'nombre' => 'Tercer Concurso Regular 2024',
'fecha' => '2024-05-07',
'tipo' => null,
'juez' => '<p>Saúl Villalobos</p>
<p>Roberto Guerrero</p>
<p>Sussy Vargas</p>',
'enabled' => '1'
),
'ThemeContest' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
)
)
)
)
$fecha = array(
(int) 0 => array(
'Contest' => array(
'fecha' => '2024-11-05'
)
),
(int) 1 => array(
'Contest' => array(
'fecha' => '2024-09-09'
)
),
(int) 2 => array(
'Contest' => array(
'fecha' => '2024-08-07'
)
),
(int) 3 => array(
'Contest' => array(
'fecha' => '2024-07-09'
)
),
(int) 4 => array(
'Contest' => array(
'fecha' => '2024-05-07'
)
),
(int) 5 => array(
'Contest' => array(
'fecha' => '2024-04-16'
)
),
(int) 6 => array(
'Contest' => array(
'fecha' => '2024-03-05'
)
),
(int) 7 => array(
'Contest' => array(
'fecha' => '2024-01-15'
)
),
(int) 8 => array(
'Contest' => array(
'fecha' => '2023-12-12'
)
),
(int) 9 => array(
'Contest' => array(
'fecha' => '2023-11-06'
)
),
(int) 10 => array(
'Contest' => array(
'fecha' => '2023-09-12'
)
),
(int) 11 => array(
'Contest' => array(
'fecha' => '2023-08-08'
)
),
(int) 12 => array(
'Contest' => array(
'fecha' => '2023-07-04'
)
),
(int) 13 => array(
'Contest' => array(
'fecha' => '2023-05-16'
)
),
(int) 14 => array(
'Contest' => array(
'fecha' => '2023-04-18'
)
),
(int) 15 => array(
'Contest' => array(
'fecha' => '2023-03-07'
)
),
(int) 16 => array(
'Contest' => array(
'fecha' => '2023-01-17'
)
),
(int) 17 => array(
'Contest' => array(
'fecha' => '2022-11-15'
)
),
(int) 18 => array(
'Contest' => array(
'fecha' => '2022-11-01'
)
),
(int) 19 => array(
'Contest' => array(
'fecha' => '2022-10-04'
)
),
(int) 20 => array(
'Contest' => array(
'fecha' => '2022-08-09'
)
),
(int) 21 => array(
'Contest' => array(
'fecha' => '2022-07-05'
)
),
(int) 22 => array(
'Contest' => array(
'fecha' => '2022-05-17'
)
),
(int) 23 => array(
'Contest' => array(
'fecha' => '2022-04-19'
)
),
(int) 24 => array(
'Contest' => array(
'fecha' => '2022-03-01'
)
),
(int) 25 => array(
'Contest' => array(
'fecha' => '2022-01-18'
)
),
(int) 26 => array(
'Contest' => array(
'fecha' => '2021-11-22'
)
),
(int) 27 => array(
'Contest' => array(
'fecha' => '2021-11-02'
)
),
(int) 28 => array(
'Contest' => array(
'fecha' => '2021-09-28'
)
),
(int) 29 => array(
'Contest' => array(
'fecha' => '2021-08-03'
)
),
(int) 30 => array(
'Contest' => array(
'fecha' => '2021-07-06'
)
),
(int) 31 => array(
'Contest' => array(
'fecha' => '2021-05-18'
)
),
(int) 32 => array(
'Contest' => array(
'fecha' => '2021-04-13'
)
),
(int) 33 => array(
'Contest' => array(
'fecha' => '2021-03-02'
)
),
(int) 34 => array(
'Contest' => array(
'fecha' => '2021-01-19'
)
),
(int) 35 => array(
'Contest' => array(
'fecha' => '2020-12-08'
)
),
(int) 36 => array(
'Contest' => array(
'fecha' => '2020-12-01'
)
),
(int) 37 => array(
'Contest' => array(
'fecha' => '2020-11-03'
)
),
(int) 38 => array(
'Contest' => array(
'fecha' => '2020-10-06'
)
),
(int) 39 => array(
'Contest' => array(
'fecha' => '2020-08-04'
)
),
(int) 40 => array(
'Contest' => array(
'fecha' => '2020-08-04'
)
),
(int) 41 => array(
'Contest' => array(
'fecha' => '2020-07-07'
)
),
(int) 42 => array(
'Contest' => array(
'fecha' => '2020-03-03'
)
),
(int) 43 => array(
'Contest' => array(
'fecha' => '2020-01-21'
)
),
(int) 44 => array(
'Contest' => array(
'fecha' => '2019-11-18'
)
),
(int) 45 => array(
'Contest' => array(
'fecha' => '2019-11-05'
)
),
(int) 46 => array(
'Contest' => array(
'fecha' => '2019-09-03'
)
),
(int) 47 => array(
'Contest' => array(
'fecha' => '2019-08-06'
)
),
(int) 48 => array(
'Contest' => array(
'fecha' => '2019-07-02'
)
),
(int) 49 => array(
'Contest' => array(
'fecha' => '2019-05-07'
)
),
(int) 50 => array(
'Contest' => array(
'fecha' => '2019-04-02'
)
),
(int) 51 => array(
'Contest' => array(
'fecha' => '2019-03-05'
)
),
(int) 52 => array(
'Contest' => array(
'fecha' => '2019-01-22'
)
),
(int) 53 => array(
'Contest' => array(
'fecha' => '2018-11-20'
)
),
(int) 54 => array(
'Contest' => array(
'fecha' => '2018-11-06'
)
),
(int) 55 => array(
'Contest' => array(
'fecha' => '2018-09-04'
)
),
(int) 56 => array(
'Contest' => array(
'fecha' => '2018-08-07'
)
),
(int) 57 => array(
'Contest' => array(
'fecha' => '2018-07-03'
)
),
(int) 58 => array(
'Contest' => array(
'fecha' => '2018-05-15'
)
),
(int) 59 => array(
'Contest' => array(
'fecha' => '2018-04-03'
)
),
(int) 60 => array(
'Contest' => array(
'fecha' => '2018-03-06'
)
),
(int) 61 => array(
'Contest' => array(
'fecha' => '2018-01-23'
)
),
(int) 62 => array(
'Contest' => array(
'fecha' => '2017-11-21'
)
),
(int) 63 => array(
'Contest' => array(
'fecha' => '2017-11-07'
)
),
(int) 64 => array(
'Contest' => array(
'fecha' => '2017-09-19'
)
),
(int) 65 => array(
'Contest' => array(
'fecha' => '2017-08-08'
)
),
(int) 66 => array(
'Contest' => array(
'fecha' => '2017-07-04'
)
),
(int) 67 => array(
'Contest' => array(
'fecha' => '2017-05-02'
)
),
(int) 68 => array(
'Contest' => array(
'fecha' => '2017-04-04'
)
),
(int) 69 => array(
'Contest' => array(
'fecha' => '2017-03-07'
)
),
(int) 70 => array(
'Contest' => array(
'fecha' => '2017-01-17'
)
),
(int) 71 => array(
'Contest' => array(
'fecha' => '2016-11-22'
)
),
(int) 72 => array(
'Contest' => array(
'fecha' => '2016-11-08'
)
),
(int) 73 => array(
'Contest' => array(
'fecha' => '2016-09-06'
)
),
(int) 74 => array(
'Contest' => array(
'fecha' => '2016-08-09'
)
),
(int) 75 => array(
'Contest' => array(
'fecha' => '2016-07-05'
)
),
(int) 76 => array(
'Contest' => array(
'fecha' => '2016-05-03'
)
),
(int) 77 => array(
'Contest' => array(
'fecha' => '2016-04-05'
)
),
(int) 78 => array(
'Contest' => array(
'fecha' => '2016-03-01'
)
),
(int) 79 => array(
'Contest' => array(
'fecha' => '2016-01-19'
)
),
(int) 80 => array(
'Contest' => array(
'fecha' => '2015-11-24'
)
),
(int) 81 => array(
'Contest' => array(
'fecha' => '2015-11-10'
)
),
(int) 82 => array(
'Contest' => array(
'fecha' => '2015-10-13'
)
),
(int) 83 => array(
'Contest' => array(
'fecha' => '2015-09-22'
)
),
(int) 84 => array(
'Contest' => array(
'fecha' => '2015-07-21'
)
),
(int) 85 => array(
'Contest' => array(
'fecha' => '2015-05-05'
)
),
(int) 86 => array(
'Contest' => array(
'fecha' => '2015-04-07'
)
),
(int) 87 => array(
'Contest' => array(
'fecha' => '2015-03-03'
)
),
(int) 88 => array(
'Contest' => array(
'fecha' => '2015-01-22'
)
),
(int) 89 => array(
'Contest' => array(
'fecha' => '2014-12-04'
)
),
(int) 90 => array(
'Contest' => array(
'fecha' => '2014-11-06'
)
),
(int) 91 => array(
'Contest' => array(
'fecha' => '2014-10-02'
)
),
(int) 92 => array(
'Contest' => array(
'fecha' => '2014-08-21'
)
),
(int) 93 => array(
'Contest' => array(
'fecha' => '2014-07-17'
)
),
(int) 94 => array(
'Contest' => array(
'fecha' => '2014-05-08'
)
),
(int) 95 => array(
'Contest' => array(
'fecha' => '2014-04-03'
)
),
(int) 96 => array(
'Contest' => array(
'fecha' => '2014-03-06'
)
),
(int) 97 => array(
'Contest' => array(
'fecha' => '2014-01-23'
)
),
(int) 98 => array(
'Contest' => array(
'fecha' => '2013-11-21'
)
),
(int) 99 => array(
'Contest' => array(
'fecha' => '2013-11-07'
)
),
(int) 100 => array(
'Contest' => array(
'fecha' => '2013-10-03'
)
),
(int) 101 => array(
'Contest' => array(
'fecha' => '2013-09-05'
)
),
(int) 102 => array(
'Contest' => array(
'fecha' => '2013-07-18'
)
),
(int) 103 => array(
'Contest' => array(
'fecha' => '2013-05-02'
)
),
(int) 104 => array(
'Contest' => array(
'fecha' => '2013-04-04'
)
),
(int) 105 => array(
'Contest' => array(
'fecha' => '2013-03-07'
)
),
(int) 106 => array(
'Contest' => array(
'fecha' => '2013-01-24'
)
),
(int) 107 => array(
'Contest' => array(
'fecha' => '2012-12-06'
)
),
(int) 108 => array(
'Contest' => array(
'fecha' => '2012-11-15'
)
),
(int) 109 => array(
'Contest' => array(
'fecha' => '2012-10-04'
)
),
(int) 110 => array(
'Contest' => array(
'fecha' => '2012-09-06'
)
),
(int) 111 => array(
'Contest' => array(
'fecha' => '2012-08-09'
)
),
(int) 112 => array(
'Contest' => array(
'fecha' => '2012-06-07'
)
),
(int) 113 => array(
'Contest' => array(
'fecha' => '2012-04-12'
)
),
(int) 114 => array(
'Contest' => array(
'fecha' => '2012-03-15'
)
),
(int) 115 => array(
'Contest' => array(
'fecha' => '2012-02-02'
)
),
(int) 116 => array(
'Contest' => array(
'fecha' => '2011-12-01'
)
),
(int) 117 => array(
'Contest' => array(
'fecha' => '2011-11-17'
)
),
(int) 118 => array(
'Contest' => array(
'fecha' => '2011-10-02'
)
),
(int) 119 => array(
'Contest' => array(
'fecha' => '2011-09-01'
)
),
(int) 120 => array(
'Contest' => array(
'fecha' => '2011-08-04'
)
),
(int) 121 => array(
'Contest' => array(
'fecha' => '2011-06-16'
)
),
(int) 122 => array(
'Contest' => array(
'fecha' => '2011-05-05'
)
),
(int) 123 => array(
'Contest' => array(
'fecha' => '2011-04-07'
)
),
(int) 124 => array(
'Contest' => array(
'fecha' => '2011-02-03'
)
),
(int) 125 => array(
'Contest' => array(
'fecha' => '2010-11-18'
)
),
(int) 126 => array(
'Contest' => array(
'fecha' => '2010-10-07'
)
),
(int) 127 => array(
'Contest' => array(
'fecha' => '2010-08-05'
)
),
(int) 128 => array(
'Contest' => array(
'fecha' => '2010-06-17'
)
),
(int) 129 => array(
'Contest' => array(
'fecha' => '2010-05-06'
)
),
(int) 130 => array(
'Contest' => array(
'fecha' => '2010-04-08'
)
),
(int) 131 => array(
'Contest' => array(
'fecha' => '2010-02-04'
)
),
(int) 132 => array(
'Contest' => array(
'fecha' => '2009-11-19'
)
),
(int) 133 => array(
'Contest' => array(
'fecha' => '2009-10-14'
)
),
(int) 134 => array(
'Contest' => array(
'fecha' => '2009-09-17'
)
),
(int) 135 => array(
'Contest' => array(
'fecha' => '2009-07-16'
)
),
(int) 136 => array(
'Contest' => array(
'fecha' => '2009-05-21'
)
),
(int) 137 => array(
'Contest' => array(
'fecha' => '2009-03-19'
)
),
(int) 138 => array(
'Contest' => array(
'fecha' => '2009-03-05'
)
),
(int) 139 => array(
'Contest' => array(
'fecha' => '2009-02-05'
)
),
(int) 140 => array(
'Contest' => array(
'fecha' => '2008-11-20'
)
),
(int) 141 => array(
'Contest' => array(
'fecha' => '2008-09-18'
)
),
(int) 142 => array(
'Contest' => array(
'fecha' => '2008-07-17'
)
),
(int) 143 => array(
'Contest' => array(
'fecha' => '2008-05-22'
)
),
(int) 144 => array(
'Contest' => array(
'fecha' => '2008-03-27'
)
),
(int) 145 => array(
'Contest' => array(
'fecha' => '2008-02-08'
)
),
(int) 146 => array(
'Contest' => array(
'fecha' => '2008-02-07'
)
),
(int) 147 => array(
'Contest' => array(
'fecha' => '2007-11-15'
)
),
(int) 148 => array(
'Contest' => array(
'fecha' => '2007-10-18'
)
),
(int) 149 => array(
'Contest' => array(
'fecha' => '2007-09-20'
)
),
(int) 150 => array(
'Contest' => array(
'fecha' => '2007-07-19'
)
),
(int) 151 => array(
'Contest' => array(
'fecha' => '2007-05-24'
)
),
(int) 152 => array(
'Contest' => array(
'fecha' => '2007-03-22'
)
),
(int) 153 => array(
'Contest' => array(
'fecha' => '2007-02-18'
)
),
(int) 154 => array(
'Contest' => array(
'fecha' => '2007-01-25'
)
),
(int) 155 => array(
'Contest' => array(
'fecha' => '2006-11-16'
)
),
(int) 156 => array(
'Contest' => array(
'fecha' => '2006-10-19'
)
),
(int) 157 => array(
'Contest' => array(
'fecha' => '2006-09-21'
)
),
(int) 158 => array(
'Contest' => array(
'fecha' => '2006-07-20'
)
),
(int) 159 => array(
'Contest' => array(
'fecha' => '2006-05-18'
)
),
(int) 160 => array(
'Contest' => array(
'fecha' => '2006-04-20'
)
),
(int) 161 => array(
'Contest' => array(
'fecha' => '2006-03-16'
)
),
(int) 162 => array(
'Contest' => array(
'fecha' => '2006-01-19'
)
),
(int) 163 => array(
'Contest' => array(
'fecha' => '2005-11-17'
)
),
(int) 164 => array(
'Contest' => array(
'fecha' => '2005-10-20'
)
),
(int) 165 => array(
'Contest' => array(
'fecha' => '2005-09-22'
)
),
(int) 166 => array(
'Contest' => array(
'fecha' => '2005-07-21'
)
),
(int) 167 => array(
'Contest' => array(
'fecha' => '2005-05-19'
)
),
(int) 168 => array(
'Contest' => array(
'fecha' => '2005-03-17'
)
),
(int) 169 => array(
'Contest' => array(
'fecha' => '2005-01-20'
)
),
(int) 170 => array(
'Contest' => array(
'fecha' => '2004-11-18'
)
),
(int) 171 => array(
'Contest' => array(
'fecha' => '2004-09-16'
)
),
(int) 172 => array(
'Contest' => array(
'fecha' => '2004-07-15'
)
),
(int) 173 => array(
'Contest' => array(
'fecha' => '2004-06-03'
)
),
(int) 174 => array(
'Contest' => array(
'fecha' => '2004-03-18'
)
),
(int) 175 => array(
'Contest' => array(
'fecha' => '2004-01-22'
)
),
(int) 176 => array(
'Contest' => array(
'fecha' => '2003-11-20'
)
)
)
ContestController::index() - APP/Controller/ContestController.php, line 169
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 96