/apps/app_comment/images/user.png" >'; }); }, success: function(data){ $('.cmn-gravatar[data-gravatar-hash]').prepend(function(){ var hash = $(this).attr('data-gravatar-hash') return '<img width="34" height="34" alt="" src="http://gravatar.com/avatar.php?size=36&gravatar_id=' + hash + '">'; }); } }); }); </script> <a id="comments"></a> <?php if (USER_LEVEL <= pdfConfig('user_access') and USER_ID != pdfInfo('author_id')) { echo "<div class='comment invalid '><b>Send Feedback and Ratings</b></div>"; if (isset($_POST['send-comment'])) { if (checkOnline() and !empty($privatekey) and !empty($publickey)) { $capthca = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($capthca->is_valid and checkOnline()) { $valid = 1; } } if (empty($_POST['name']) or empty($_POST['email']) or empty($_POST['com'])) { echo "<div class='comment invalid'>" . Please_fill_the_marked_field . "</div>"; } else { if (!preg_match("/^.+@.+\\..+\$/", $_POST['email'])) { echo "<div class='comment invalid'>Email not valid !</div>"; } else { if ($_POST['secure'] == $_SESSION['captcha'] or isset($valid)) {
<div class="pdf_desc"> <?php echo $desc; ?> </div> <div class="clear"></div> <?php loadModule('pdf-mid'); ?> <!-- div class="pdf-comment"> <?php if (pdfConfig('comment')) { require_once "comment.php"; } ?> </div --> <?php if (USER_LEVEL !== 99) { ?> <div class="comment label"> <a href="#baca" class="baca">Baca Pustaka</a> </div> <?php } else { ?> <div class="comment label" style='width: 80%;'>