<?
require_once ('connect.php');
require_once ('inc/dao.inc');

$cj_awards_object = &new CJ_Awards();
$smarty->assign_by_ref('CJ_awards_object', $cj_awards_object);


if ($today > $end_date){
	
	$smarty->assign('content','vote.tpl');
	$smarty->display('vote_index.tpl');

}else{
	
	$smarty->assign('content','vote_step2.tpl');
	$smarty->display('vote_index.tpl');
}




?>