title)?>description))?> |
solutions)): _e('None yet.', 'perception'); else: if($in_shortcode): $permalink = get_permalink($post->ID); $params = array('id' => $homework->id, 'view_solutions' => 1); $target_url = add_query_arg( $params, $permalink ); echo "".sprintf(__('%d solutions', 'perception'), sizeof($homework->solutions)).""; else: echo "".sprintf(__('%d solutions', 'perception'), sizeof($homework->solutions)).""; endif; // end not in shortcode endif;?> status):?> limit_by_date and (current_time('timestamp') < strtotime($homework->accept_date_from.' 00:00:00') or current_time('timestamp') > strtotime($homework->accept_date_to.' 23:59:59')) ):?>accept_date_from)), date_i18n($dateformat, strtotime($homework->accept_date_to)));?> ID); $params = array('id' => $homework->id, 'submit_solution' => 1); $target_url = add_query_arg( $params, $permalink );?> |
notes)): _e('None yet.', 'perception'); else:?> notes));?> ID); $params = array('id' => $homework->id, 'add_note' => 1, 'lesson_id' => $lesson->ID, 'student_id' => $_GET['student_id'], 'homework_id'=>$homework->id); $target_url = add_query_arg( $params, $permalink );?> |