コード例 #1
0
        }
    }
}
$statusStr = '';
$commentArr = null;
if ($isEditor) {
    if (array_key_exists('hidecomid', $_GET)) {
        if (!$commentManager->hideComment($_GET['hidecomid'])) {
            $statusStr = $commentManager->getErrorStr();
        }
    } elseif (array_key_exists('publiccomid', $_GET)) {
        if (!$commentManager->makeCommentPublic($_GET['publiccomid'])) {
            $statusStr = $commentManager->getErrorStr();
        }
    } elseif (array_key_exists('delcomid', $_POST)) {
        if (!$commentManager->deleteComment($_POST['delcomid'])) {
            $statusStr = $commentManager->getErrorStr();
        }
    }
    $commentArr = $commentManager->getComments($collid, $start, $limit, $tsStart, $tsEnd, $uid, $rs);
}
?>
<html>
	<head>
		<title>Comments Listing</title>
		<link href="<?php 
echo $clientRoot;
?>
/css/base.css?<?php 
echo $CSS_VERSION;
?>