Example #1
0
    ?>
">
								<img src="<?php 
    $src = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'carousel-block', false, '');
    echo $src[0];
    ?>
" alt="<?php 
    the_title();
    ?>
">
								<?php 
    format_icon();
    ?>
							</a>
							<?php 
    get_review();
    ?>
						</div>
					</div><!-- /item -->
				</div><!-- /thumbnail -->
				<h3 class="post-title entry-title"><a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    the_title();
    ?>
"><?php 
    the_title();
    ?>
</a></h3>
				<div style="display: none">
Example #2
0
            echo $returnResult;
            do_html_footer(&$err_message);
            exit;
        } else {
            do_html_header("Edit Review Form Failed", &$err_message);
            $err_message .= " Could not execute \"insert_review\" in \"review_form.php\". <br>\n";
            $err_message .= "<br><br> Try <a href='review_form.php?paperid=" . $_POST["paperid"] . "'>again</a>?";
        }
    } else {
        do_html_header("Edit Review Form", &$err_message);
    }
} else {
    if (count($_POST) == 0) {
        $_POST["paperid"] = $_GET["paperid"];
        //Call the function to retrieve the Review of the paper
        if (($reviewInfo = get_review($_POST["paperid"], &$err_message)) === false) {
            do_html_header("Edit Review Form Failed", &$err_message);
            $err_message .= " Could not execute \"get_review\" in \"edit_review_form.php\". <br>\n";
            $err = $err_message . "<br><br> Try <a href='edit_review_form.php?paperid=" . $_GET["paperid"] . "'>again</a>?";
            do_html_footer(&$err);
            exit;
        }
        //Assign the values to the variables
        $_POST["appropriateness"] = $reviewInfo->AppropriatenessToConference;
        $_POST["originality"] = $reviewInfo->Originality;
        $_POST["tech_strength"] = $reviewInfo->TechnicalStrength;
        $_POST["presentation"] = $reviewInfo->Presentation;
        $_POST["overall"] = $reviewInfo->OverallEvaluation;
        $_POST["comments"] = stripslashes($reviewInfo->Comments);
        $_POST["commentsadmin"] = stripslashes($reviewInfo->CommentsAdmin);
    }