<?php // The source code packaged with this file is Free Software, Copyright (C) 2005 by // Ricardo Galli <gallir at uib dot es> and // Beldar <beldar.cat at gmail dot com> // It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise. // You can get copies of the licenses here: // http://www.affero.org/oagpl.html // AFFERO GENERAL PUBLIC LICENSE is also included in the file called "COPYING". // The code below was made by Beldar <beldar at gmail dot com> if (!defined('mnmpath')) { include_once '../config.php'; header('Content-Type: text/html; charset=utf-8'); } include_once mnminclude . 'commentmobile.php'; if (empty($_GET['id'])) { die; } $id = intval($_GET['id']); $comment = new CommentMobile(); $comment->id = $id; $comment->read(); if (!$comment->read) { die; } $link = Link::from_db($comment->link); $comment->link_permalink = $link->get_relative_permalink(); $comment->print_text(0);