@@ -102,16 +102,13 @@ discard block |
||
102 | 102 | if ($period == 1) |
103 | 103 | { |
104 | 104 | return $zaman."ثانية واحدة"; |
105 | - } |
|
106 | - elseif ($period == 2) |
|
105 | + } elseif ($period == 2) |
|
107 | 106 | { |
108 | 107 | return $zaman."ثانيتين"; |
109 | - } |
|
110 | - elseif ($period >= 3 && $period <= 10) |
|
108 | + } elseif ($period >= 3 && $period <= 10) |
|
111 | 109 | { |
112 | 110 | return $zaman.$period." ثواني"; |
113 | - } |
|
114 | - else |
|
111 | + } else |
|
115 | 112 | { |
116 | 113 | return $zaman.$period." ثانية"; |
117 | 114 | } |
@@ -122,16 +119,13 @@ discard block |
||
122 | 119 | if ($period == 1) |
123 | 120 | { |
124 | 121 | return $zaman."دقيقة واحدة"; |
125 | - } |
|
126 | - elseif ($period == 2) |
|
122 | + } elseif ($period == 2) |
|
127 | 123 | { |
128 | 124 | return $zaman."دقيقتين"; |
129 | - } |
|
130 | - elseif ($period >= 3 && $period <= 10) |
|
125 | + } elseif ($period >= 3 && $period <= 10) |
|
131 | 126 | { |
132 | 127 | return $zaman.$period." دقائق"; |
133 | - } |
|
134 | - else |
|
128 | + } else |
|
135 | 129 | { |
136 | 130 | return $zaman.$period." دقيقة"; |
137 | 131 | } |
@@ -142,16 +136,13 @@ discard block |
||
142 | 136 | if ($period == 1) |
143 | 137 | { |
144 | 138 | return $zaman."ساعة"; |
145 | - } |
|
146 | - elseif ($period == 2) |
|
139 | + } elseif ($period == 2) |
|
147 | 140 | { |
148 | 141 | return $zaman."ساعتين"; |
149 | - } |
|
150 | - elseif ($period >= 3 && $period <= 10) |
|
142 | + } elseif ($period >= 3 && $period <= 10) |
|
151 | 143 | { |
152 | 144 | return $zaman.$period." ساعات"; |
153 | - } |
|
154 | - else |
|
145 | + } else |
|
155 | 146 | { |
156 | 147 | return $zaman.$period." ساعة"; |
157 | 148 | } |
@@ -162,16 +153,13 @@ discard block |
||
162 | 153 | if ($period == 1) |
163 | 154 | { |
164 | 155 | return $zaman." يوم"; |
165 | - } |
|
166 | - elseif ($period == 2) |
|
156 | + } elseif ($period == 2) |
|
167 | 157 | { |
168 | 158 | return $zaman."يومين"; |
169 | - } |
|
170 | - elseif ($period >= 3 && $period <= 10) |
|
159 | + } elseif ($period >= 3 && $period <= 10) |
|
171 | 160 | { |
172 | 161 | return $zaman.$period." أيام"; |
173 | - } |
|
174 | - else |
|
162 | + } else |
|
175 | 163 | { |
176 | 164 | return $zaman.$period." يوم"; |
177 | 165 | } |
@@ -182,16 +170,13 @@ discard block |
||
182 | 170 | if ($period == 1) |
183 | 171 | { |
184 | 172 | return $zaman." أسبوع"; |
185 | - } |
|
186 | - elseif ($period == 2) |
|
173 | + } elseif ($period == 2) |
|
187 | 174 | { |
188 | 175 | return $zaman." أسبوعين"; |
189 | - } |
|
190 | - elseif ($period >= 3 && $period <= 10) |
|
176 | + } elseif ($period >= 3 && $period <= 10) |
|
191 | 177 | { |
192 | 178 | return $zaman.$period." أسابيع"; |
193 | - } |
|
194 | - else |
|
179 | + } else |
|
195 | 180 | { |
196 | 181 | return $zaman.$period." أسبوع"; |
197 | 182 | } |
@@ -202,16 +187,13 @@ discard block |
||
202 | 187 | if ($period == 1) |
203 | 188 | { |
204 | 189 | return $zaman."شهر"; |
205 | - } |
|
206 | - elseif ($period == 2) |
|
190 | + } elseif ($period == 2) |
|
207 | 191 | { |
208 | 192 | return $zaman." شهرين"; |
209 | - } |
|
210 | - elseif ($period >= 3 && $period <= 10) |
|
193 | + } elseif ($period >= 3 && $period <= 10) |
|
211 | 194 | { |
212 | 195 | return $zaman.$period." شهور"; |
213 | - } |
|
214 | - else |
|
196 | + } else |
|
215 | 197 | { |
216 | 198 | return $zaman.$period." شهر"; |
217 | 199 | } |
@@ -222,16 +204,13 @@ discard block |
||
222 | 204 | if ($period == 1) |
223 | 205 | { |
224 | 206 | return $zaman."سنة"; |
225 | - } |
|
226 | - elseif ($period == 2) |
|
207 | + } elseif ($period == 2) |
|
227 | 208 | { |
228 | 209 | return $zaman." سنتين"; |
229 | - } |
|
230 | - elseif ($period >= 3 && $period <= 10) |
|
210 | + } elseif ($period >= 3 && $period <= 10) |
|
231 | 211 | { |
232 | 212 | return $zaman.$period." سنوات"; |
233 | - } |
|
234 | - else |
|
213 | + } else |
|
235 | 214 | { |
236 | 215 | return $zaman.$period." سنة"; |
237 | 216 | } |