-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIrregular.php
More file actions
executable file
·140 lines (109 loc) · 3 KB
/
Irregular.php
File metadata and controls
executable file
·140 lines (109 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?php require "inc_header.php"; ?>
<div class="container">
<div class="row">
<div class="jumbotron mt-5">
<h3>Irregular Verbs List</h3>
This list contains all the irregular verbs of the English language. Each entry includes the base or bare infinitive first, followed by the simple past (V2) form and the past participle (V3) form. Taking some time to make sentences using each irregular verb form will help you to use these verbs correctly when speaking and writing. Simply reading through this list will help you to recognize an irregular verb when you see one.
</div>
</div>
</div>
<div manifest="onbellek.apache">
<div class="container mt-5">
<div class="row">
<?php
foreach(range('A', 'Z') as $a){
echo '<a href="Irregular.php?harf='.$a.'" class="btn btn-lg btn-primary m-1">'.$a.'</a>';
}
if(isset($_GET['harf']))
{
echo ' <table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Base Form</th>
<th scope="col">Past Simple (V2)</th>
<th scope="col">Past Participle (V3)</th>
</tr>
</thead>';
echo HarfCagir(strtolower($_GET['harf']));
}
else {
?>
</table>
</div>
</div>
<div class="container mt-5">
<div class="row">
<h2>Irregular Verbs – Complete List</h2>
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Base Form</th>
<th scope="col">Past Simple (V2)</th>
<th scope="col">Past Participle (V3)</th>
</tr>
</thead>
<?php
}
if ( isset($_GET['page'])=='')
{
$_GET['page']=1;
}
$listCount = 10;
$viewCount = 0;
$ifadeler = file('ifadeler.txt');
$total = 0;
$status = false;
ara(@$_GET['search']);
if(isset($_GET["page"]))
{
$pageCount = $_GET["page"] * $listCount - $listCount;
}
else
{
$pageCount = 0;
}
foreach ($ifadeler as $ifade)
{
if($status)
{
break;
}
$total++;
list($i1,$i2,$i3) = explode("," , $ifade);
if($pageCount < $total && $viewCount < $listCount)
{
$viewCount++;
if(!isset($_GET['search'])){
if(isset($_GET['harf'])==""){
?>
<tr>
<th scope="row"><?=$total;?></th>
<td><?php echo $i1; ?></td>
<td><?php echo $i2; ?></td>
<td><?php echo $i3; ?></td>
</tr>
<?php } } } } ?>
</tbody>
</table>
</div>
</div>
<div class="container">
<div class="row">
<?php
if(isset($_GET['harf']) == "") {
$process = $total / $listCount;
for($i = 1; $i < $process + 1; $i++){
if($_GET['page'] == $i){
echo '<a class="btn btn-success m-1" href="Irregular.php?page='.$i.'" role="button">'.$i.'</a>';
} else {
echo '<a class="btn btn-primary m-1" href="Irregular.php?page='.$i.'" role="button">'.$i.'</a>';
}
}
?>
<?php } ?>
</div>
</div>
<?php require "inc_footer.php"; ?>
</div>