@@ -42,8 +42,7 @@ |
||
42 | 42 | if ($this->conn_id) |
43 | 43 | { |
44 | 44 | return "SELECT '".$this->database."'"; |
45 | - } |
|
46 | - else |
|
45 | + } else |
|
47 | 46 | { |
48 | 47 | return FALSE; |
49 | 48 | } |
@@ -3,6 +3,7 @@ |
||
3 | 3 | $name = 'Courier-Oblique'; |
4 | 4 | $up = -100; |
5 | 5 | $ut = 50; |
6 | -for ($i = 0; $i <= 255; $i++) |
|
7 | - $cw[chr($i)] = 600; |
|
6 | +for ($i = 0; $i <= 255; $i++) { |
|
7 | + $cw[chr($i)] = 600; |
|
8 | +} |
|
8 | 9 | ?> |
@@ -3,6 +3,7 @@ |
||
3 | 3 | $name = 'Courier-Oblique'; |
4 | 4 | $up = -100; |
5 | 5 | $ut = 50; |
6 | -for ($i = 0; $i <= 255; $i++) |
|
7 | - $cw[chr($i)] = 600; |
|
6 | +for ($i = 0; $i <= 255; $i++) { |
|
7 | + $cw[chr($i)] = 600; |
|
8 | +} |
|
8 | 9 | ?> |
@@ -3,6 +3,7 @@ |
||
3 | 3 | $name = 'Courier-Oblique'; |
4 | 4 | $up = -100; |
5 | 5 | $ut = 50; |
6 | -for ($i = 0; $i <= 255; $i++) |
|
7 | - $cw[chr($i)] = 600; |
|
6 | +for ($i = 0; $i <= 255; $i++) { |
|
7 | + $cw[chr($i)] = 600; |
|
8 | +} |
|
8 | 9 | ?> |
@@ -207,8 +207,7 @@ |
||
207 | 207 | $y = rand(0, $img_height / 2); |
208 | 208 | imagestring($im, $font_size, $x, $y, substr($word, $i, 1), $text_color); |
209 | 209 | $x += ($font_size * 2); |
210 | - } |
|
211 | - else |
|
210 | + } else |
|
212 | 211 | { |
213 | 212 | $y = rand($img_height / 2, $img_height - 3); |
214 | 213 | imagettftext($im, $font_size, $angle, $x, $y, $text_color, $font_path, substr($word, $i, 1)); |
@@ -42,8 +42,7 @@ |
||
42 | 42 | if ($this->conn_id) |
43 | 43 | { |
44 | 44 | return "SELECT '".$this->database."'"; |
45 | - } |
|
46 | - else |
|
45 | + } else |
|
47 | 46 | { |
48 | 47 | return FALSE; |
49 | 48 | } |
@@ -119,7 +119,8 @@ discard block |
||
119 | 119 | <div style="width:550px;"><label style="text-align:right;" class="col-md-3">Status </label> |
120 | 120 | <select name="sipstatus" class="col-md-5 form-control selectpicker" data-live-search='true'> |
121 | 121 | |
122 | - <option value="0" <?if ($status == 0)echo 'selected=selected;'?>>Active</option> |
|
122 | + <option value="0" <?if ($status == 0) { |
|
123 | + echo 'selected=selected;'?>>Active</option> |
|
123 | 124 | <option value="1" <?if ($status == 1)echo 'selected=selected;'?>>Inactive</option> |
124 | 125 | </select> |
125 | 126 | </div> |
@@ -146,7 +147,8 @@ discard block |
||
146 | 147 | <div class="container"> |
147 | 148 | <div class="row"> |
148 | 149 | <div class="portlet-content" id="search_bar" style="cursor:pointer; display:none"> |
149 | - <?php echo $form_search; |
|
150 | + <?php echo $form_search; |
|
151 | +} |
|
150 | 152 | |
151 | 153 | ?> |
152 | 154 | </div> |
@@ -194,7 +196,7 @@ discard block |
||
194 | 196 | if($params_name!='') |
195 | 197 | { |
196 | 198 | $type="edit_setting"; |
197 | - }else{ |
|
199 | + } else{ |
|
198 | 200 | $type="add_setting"; |
199 | 201 | } |
200 | 202 | ?> |