layout->addJavascript('/j/utils.js'); $core->layout->addJavascript('/j/contests.js'); } public function index() { global $core; ?>

data['current_contests']) { foreach ($core->data['current_contests'] as $contest) { $contest->setWrapper('
{Icon}

{adminLinks}{Title}

{Dates}
{Description}

{contestLinks}
'); $contest->display(); } $core->data['current_contests'] = null; } ?>
displaySidebar();?>

data['contest']->setWrapper('

{adminLinks}{Title}

{Dates}


{contestLinks}

{Body}

{contestLinks}
'); $core->data['contest']->display(); ?>
displaySidebar();?>

data['contest']->setWrapper('

{adminLinks}{Title}

{Dates}

'); $core->data['contest']->display(); $this->displayNavigation(); ?>

data['contest']->displayCategories('
  • %s
  • ');?>
    data['contest']->pageNavigation);?>
    data['contest']->pageNavigation);?> data['contest']->setWrapper('

    {contestLinks}
    '); $core->data['contest']->display(); ?>
    displaySidebar();?>

    data['contest']->setWrapper('

    {adminLinks}{Title}

    {Dates}

    '); $core->data['contest']->display(); $this->displayNavigation(); printf(ENTRIES_VISIBLE_FROM, cDate::toText($core->data['contest']->getContestDate('ViewEntriesFrom'), 'long')); ?>
    displaySidebar();?>

    displayEntry();?>
    displaySidebar();?>
    votedata['entry']->getId()?>|data['entry']->voteBox()?> votedata['entry']['ObjectId']?>|data['entry']['vote']?>
    data['contest']->setWrapper('

    {adminLinks}{Title}

    '. ENTER_CONTEST . '

    '); $core->data['contest']->display(); $this->displayNavigation(); $core->data['contest']->entryForm($core->data['entry']); ?>

    data['contest']->getRules()?>

    data['contest']);?>
    autoload();