Passed
Push — master ( 901674...46121d )
by Saepul
02:24
created
content.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
 		<td><h1 class="content">Welcome to Helpdesk System</h1>
29 29
 		<ul>
30 30
 		<?php
31
-        echo "<li><p>Currently you have requested: $tickets_requested tickets. </p></li>";
32
-        echo "<li><p>Number of ticket that assigned to you: $tickets_assigned tickets.</p></li> ";
33
-        echo "<li><p>You have resolved $tickets_resolved tickets.</p></li>";
34
-        ?>
31
+		echo "<li><p>Currently you have requested: $tickets_requested tickets. </p></li>";
32
+		echo "<li><p>Number of ticket that assigned to you: $tickets_assigned tickets.</p></li> ";
33
+		echo "<li><p>You have resolved $tickets_resolved tickets.</p></li>";
34
+		?>
35 35
 		</ol><br/>
36 36
 		</td>
37 37
 	</tr>
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
 	</thead>
44 44
 	<tbody>
45 45
 	<?php 
46
-        $news = $hdnews->get_headline_news();
47
-        foreach ($news as $thenews) {
48
-            echo '<tr><td>'.date('d-M-Y', $thenews['newsdate']).'</td>'.
49
-                 '<td><a href=hdnewsread.php?id='.$thenews['id'].'>'.$thenews['title'].'</a></td></tr>';
50
-        }
51
-    ?>
46
+		$news = $hdnews->get_headline_news();
47
+		foreach ($news as $thenews) {
48
+			echo '<tr><td>'.date('d-M-Y', $thenews['newsdate']).'</td>'.
49
+				 '<td><a href=hdnewsread.php?id='.$thenews['id'].'>'.$thenews['title'].'</a></td></tr>';
50
+		}
51
+	?>
52 52
 	</tbody>
53 53
 	</table>
54 54
 	<p>&nbsp;</p>
Please login to merge, or discard this patch.
hdnews.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 $general->logged_out_protect();
4 4
 $user = $users->userdata($_SESSION['loginid']);
5 5
 if ($user['level'] != 'Admin') {
6
-    exit("You don't have permission to access this page!");
6
+	exit("You don't have permission to access this page!");
7 7
 }
8 8
 $news = $hdnews->get_news();
9 9
 ?>
@@ -57,15 +57,15 @@  discard block
 block discarded – undo
57 57
     </thead>
58 58
     <tbody>
59 59
 		<?php 
60
-        foreach ($news as $thenews) {
61
-            echo '<td>'.date('d-M-Y', $thenews['newsdate']).'</td>'.
62
-                 '<td>'.'<a href=hdnewsedit.php?id='.$thenews['id'].'>'.$thenews['title'].'</td>'.
63
-                 '<td>'.$thenews['createdby'].'</td>'.
64
-                 '<td>'.date('d-M-Y', $thenews['createdon']).'</td>'.
65
-                 '<td>'.date('d-M-Y', $thenews['expired']).'</td>'.
66
-                 '<td><a href=hdnewsdel.php?id='.$thenews['id'].' onclick="return delete_confirm();">del</a></td></tr>';
67
-        }
68
-        ?>
60
+		foreach ($news as $thenews) {
61
+			echo '<td>'.date('d-M-Y', $thenews['newsdate']).'</td>'.
62
+				 '<td>'.'<a href=hdnewsedit.php?id='.$thenews['id'].'>'.$thenews['title'].'</td>'.
63
+				 '<td>'.$thenews['createdby'].'</td>'.
64
+				 '<td>'.date('d-M-Y', $thenews['createdon']).'</td>'.
65
+				 '<td>'.date('d-M-Y', $thenews['expired']).'</td>'.
66
+				 '<td><a href=hdnewsdel.php?id='.$thenews['id'].' onclick="return delete_confirm();">del</a></td></tr>';
67
+		}
68
+		?>
69 69
     </tbody>
70 70
 	</table>
71 71
 	<p>&nbsp;</p>
Please login to merge, or discard this patch.
myticketwaitforclosed.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -51,20 +51,20 @@
 block discarded – undo
51 51
     </thead>
52 52
     <tbody>
53 53
 		<?php 
54
-        foreach ($tickets as $ticket) {
55
-            $sla = $slas->sla_data($ticket['sla']);
56
-            $customer = $customers->customer_data($ticket['idcustomer']);
57
-            $user = $users->userdata($ticket['assignee']);
58
-            echo '<tr><td><a href=ticketedit.php?id='.$ticket['id'].'>'.$ticket['ticketnumber'].'</a></td>'.
59
-                 '<td>'.$sla['namasla'].'</td>'.
60
-                 '<td>'.$customer['namacustomer'].'</td>'.
61
-                 '<td>'.date('d-M-Y', $ticket['reporteddate']).'</td>'.
62
-                 '<td>'.$ticket['reportedby'].'</td>'.
63
-                 '<td>'.$ticket['problemsummary'].'</td>'.
64
-                 '<td>'.$ticket['ticketstatus'].'</td>'.
65
-                 '<td>'.$user['fullname'].'</td></tr>';
66
-        }
67
-        ?>
54
+		foreach ($tickets as $ticket) {
55
+			$sla = $slas->sla_data($ticket['sla']);
56
+			$customer = $customers->customer_data($ticket['idcustomer']);
57
+			$user = $users->userdata($ticket['assignee']);
58
+			echo '<tr><td><a href=ticketedit.php?id='.$ticket['id'].'>'.$ticket['ticketnumber'].'</a></td>'.
59
+				 '<td>'.$sla['namasla'].'</td>'.
60
+				 '<td>'.$customer['namacustomer'].'</td>'.
61
+				 '<td>'.date('d-M-Y', $ticket['reporteddate']).'</td>'.
62
+				 '<td>'.$ticket['reportedby'].'</td>'.
63
+				 '<td>'.$ticket['problemsummary'].'</td>'.
64
+				 '<td>'.$ticket['ticketstatus'].'</td>'.
65
+				 '<td>'.$user['fullname'].'</td></tr>';
66
+		}
67
+		?>
68 68
     </tbody>
69 69
 	</table>
70 70
 	<p>&nbsp;</p>
Please login to merge, or discard this patch.