requireLogin(); $app->sslOn(); // Titles and navigation header. $nav->add(_("Dashboard"), null); $nav->set('id', 'dashboard'); include 'header.inc.html'; ?>

Survey underway:

getParam('date_format'), strtotime($s['begin_datetime']))); ?> ">

Survey underway: None

check('user_id:' . $auth->get('user_id'), 'survey', 'any')) { // User has access to view responses from 'any' survey. $upcoming_surveys = Survey::get(array('status' => 'queued'), Model::INNUMERABLE); } else { // User is limited to view questions only for surveys in his account. $upcoming_surveys = Survey::get(array( 'status' => 'queued', 'account_id' => $auth->get('account_id') ), Model::INNUMERABLE); } if ($upcoming_surveys) { ?>

Upcoming surveys

getParam('date_format'), strtotime($us['begin_datetime'])), date($app->getParam('date_format'), strtotime($us['end_datetime']))); ?>

Upcoming surveys: None