@@ -45,11 +45,11 @@ discard block |
||
45 | 45 | return $media_types; |
46 | 46 | } |
47 | 47 | |
48 | - /** |
|
49 | - * add a media type to the database |
|
50 | - * |
|
51 | - * @param varchar media_type |
|
52 | - */ |
|
48 | + /** |
|
49 | + * add a media type to the database |
|
50 | + * |
|
51 | + * @param varchar media_type |
|
52 | + */ |
|
53 | 53 | public function addMediaType($media_type) { |
54 | 54 | $stmt = \AL\Db\execute_query( |
55 | 55 | "MediaTypeDAO: addMediaType", |
@@ -78,11 +78,11 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * update a media_type |
|
82 | - * |
|
83 | - * @param int media_type_id |
|
84 | - * @param varchar media_type |
|
85 | - */ |
|
81 | + * update a media_type |
|
82 | + * |
|
83 | + * @param int media_type_id |
|
84 | + * @param varchar media_type |
|
85 | + */ |
|
86 | 86 | public function updateMediaType($media_type_id, $media_type_name) { |
87 | 87 | $stmt = \AL\Db\execute_query( |
88 | 88 | "MediaTypeDAO: updateMediaType", |
@@ -116,11 +116,11 @@ discard block |
||
116 | 116 | $stmt->close(); |
117 | 117 | } |
118 | 118 | |
119 | - /** |
|
120 | - * add a resolution to the database |
|
121 | - * |
|
122 | - * @param varchar resolution |
|
123 | - */ |
|
119 | + /** |
|
120 | + * add a resolution to the database |
|
121 | + * |
|
122 | + * @param varchar resolution |
|
123 | + */ |
|
124 | 124 | public function addResolution($resolution) { |
125 | 125 | $stmt = \AL\Db\execute_query( |
126 | 126 | "ResolutionDAO: addResolution", |
@@ -149,11 +149,11 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * update a resolution |
|
153 | - * |
|
154 | - * @param int resolution_id |
|
155 | - * @param varchar resolution_name |
|
156 | - */ |
|
152 | + * update a resolution |
|
153 | + * |
|
154 | + * @param int resolution_id |
|
155 | + * @param varchar resolution_name |
|
156 | + */ |
|
157 | 157 | public function updateResolution($resolution_id, $resolution_name) { |
158 | 158 | $stmt = \AL\Db\execute_query( |
159 | 159 | "ResolutionDAO: updateResolution", |
@@ -104,11 +104,11 @@ discard block |
||
104 | 104 | $stmt->close(); |
105 | 105 | } |
106 | 106 | |
107 | - /** |
|
108 | - * add a control to the database |
|
109 | - * |
|
110 | - * @param varchar control |
|
111 | - */ |
|
107 | + /** |
|
108 | + * add a control to the database |
|
109 | + * |
|
110 | + * @param varchar control |
|
111 | + */ |
|
112 | 112 | public function addControl($control) { |
113 | 113 | $stmt = \AL\Db\execute_query( |
114 | 114 | "ControlDAO: addControl", |
@@ -136,12 +136,12 @@ discard block |
||
136 | 136 | $stmt->close(); |
137 | 137 | } |
138 | 138 | |
139 | - /** |
|
140 | - * update a control |
|
141 | - * |
|
142 | - * @param int control_id |
|
143 | - * @param varchar control_name |
|
144 | - */ |
|
139 | + /** |
|
140 | + * update a control |
|
141 | + * |
|
142 | + * @param int control_id |
|
143 | + * @param varchar control_name |
|
144 | + */ |
|
145 | 145 | public function updateControl($control_id, $control_name) { |
146 | 146 | $stmt = \AL\Db\execute_query( |
147 | 147 | "ControlDAO: updateControl", |
@@ -373,13 +373,13 @@ |
||
373 | 373 | $smarty->append( |
374 | 374 | 'interviews', |
375 | 375 | array( 'ind_id' => $game_individual['id'], |
376 | - 'ind_name' => $game_individual['ind_name'], |
|
377 | - 'ind_img' => $v_ind_image, |
|
378 | - 'int_id' => $interview['interview_id'], |
|
379 | - 'int_text' => $int_text, |
|
380 | - 'int_date' => $interview_date, |
|
381 | - 'int_user_id' => $interview['user_id'], |
|
382 | - 'int_userid' => $interview['userid'] |
|
376 | + 'ind_name' => $game_individual['ind_name'], |
|
377 | + 'ind_img' => $v_ind_image, |
|
378 | + 'int_id' => $interview['interview_id'], |
|
379 | + 'int_text' => $int_text, |
|
380 | + 'int_date' => $interview_date, |
|
381 | + 'int_user_id' => $interview['user_id'], |
|
382 | + 'int_userid' => $interview['userid'] |
|
383 | 383 | ) |
384 | 384 | ); |
385 | 385 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | ***************************************************************************/ |
10 | 10 | |
11 | - define('ROOT_PATH', dirname(__DIR__) . '/'); |
|
11 | + define('ROOT_PATH', dirname(__DIR__) . '/'); |
|
12 | 12 | |
13 | 13 | //Skin Switching functions |
14 | 14 |
@@ -392,7 +392,7 @@ |
||
392 | 392 | function search($entry) { |
393 | 393 | // search for strange characters like ^, $, &, change "it's" to "its" |
394 | 394 | static $drop_char_match = array('^', '$', '&', '(', ')', '<', '>', '`', '"', '|', ',', '@', '_', '?', '%', '-', '~', |
395 | - '+', '.', '[', ']', '{', '}', ':', '\\', '/', '=', '#', '\'', ';', '!'); |
|
395 | + '+', '.', '[', ']', '{', '}', ':', '\\', '/', '=', '#', '\'', ';', '!'); |
|
396 | 396 | |
397 | 397 | $count = 0; |
398 | 398 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * |
11 | 11 | ***************************************************************************/ |
12 | 12 | |
13 | - //load all common functions |
|
13 | + //load all common functions |
|
14 | 14 | include("../../config/common.php"); |
15 | 15 | include("../../config/admin.php"); |
16 | 16 |