コード例 #1
0
@extends('../layout')

@section('content')


	<?php 
Generate::makePaper($questions, $subCode, $date, $time, $session, $internal, $sec);
$a = 'a';
for ($i = 1; $i <= 5; $i++) {
    foreach ($questions[$i] as $question) {
        $question->question = nl2br($question->question);
    }
}
?>

	<div class="row">
		<h3>Generated Questions</h3>
		<ul id="breadcrumbs-two">
			<li><a href="{{URL::to('/')}}" class="">Semester {{$questions[1][1]->subject()->first()->sem}}</a></li>
			<li><a href="{{URL::to('main/'.$questions[1][1]->subject()->first()->sem)}}" class="">{{$questions[1][1]->subject()->first()->name}}</a></li>
			<li><a href="{{URL::to('generate/'.$questions[1][1]->subject()->first()->id)}}" class="">Fill Details</a></li>
		</ul>
		<h3><small>(Press 'F5' and click 'Continue' to get different Questions)</small></h3>
	</div>

	<h3 class="parts text-center">Part A</h3>

	<table class="table">
		<thead>
			<tr>
				<td class="questionTextHead">#</td>