Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
u2_progc [2011-01-19 19:35] Joakim Forsgren |
u2_progc [2011-01-21 10:47] Joakim Forsgren |
||
---|---|---|---|
Line 25: | Line 25: | ||
echo "< | echo "< | ||
highlight_file(' | highlight_file(' | ||
- | echo "< | + | echo "< |
highlight_file(' | highlight_file(' | ||
- | echo "< | + | echo "< |
highlight_file(' | highlight_file(' | ||
Line 33: | Line 33: | ||
</ | </ | ||
+ | <code php> | ||
+ | |||
+ | // forumController | ||
+ | if($_POST[' | ||
+ | if (!$_POST[' | ||
+ | $session-> | ||
+ | header (' | ||
+ | exit(); | ||
+ | } | ||
+ | $data = array ( | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | $forum-> | ||
+ | $session-> | ||
+ | header (' | ||
+ | exit(); | ||
+ | } | ||
+ | |||
+ | // forum.php (model_forum) | ||
+ | public function DeleteThread ($threadid) { | ||
+ | $query = " | ||
+ | WHERE ThreadID = '" | ||
+ | OR " . service_session:: | ||
+ | return $this-> | ||
+ | } | ||
+ | |||
+ | </ |