All pastes #739642 Raw Edit

Something

public php v1 · immutable
·published 2007-10-17 11:12 UTC
rendered paste body
	<!-- S# Content Wrapper -->	<div id="content_wrapper">		<!-- S# Content Main -->		<div id="content_main">	    <?php if($logged_in): ?><p><a href="#" id="link-add-entry-top">Add New Entry</a></p><?php endif; ?>	        		<div id="add-entry-top" class="hide">    		    <h3>Sign the Guestbook</h3>    			<form id="frm-guestbook" class="dblclickprotect" action="<?= $tribute_url ?>guestbook/submit/" method="post"><?php load_block('tribute/form_guestbook') ?>    				<input type="submit" name="submit" class="submitbtn" value="Submit Entry"<?= $update_disabled ?> />                    <input type="reset" value="Cancel" class="cancel-add-entry" />    			</form>    			<hr />    		</div>	    	        <?= $all_msgs ?>	        <?php foreach($entries AS $key => $entry): ?>            <div id="entry-<?= $entry['id'] ?>" class="entry">                <p>                    <?php if($entry['icon_web']): ?><img src="<?= $entry['icon_web'] ?>" width="19" height="19" align="absmiddle" />&nbsp;&nbsp;<?php endif; ?>                    <strong><?= $entry['relationship'] ?> (<?= $entry['number'] ?>)</strong>                </p>                <p>                    <?= $entry['text'] ?>                </p>                <p>                    Contributed by <a href="<?= $tribute_url ?>contributors/contributor/<?= $entry['added_au_id'] ?>/"><?= $entry['added_user_real_name'] ?></a> on <?= $entry['added_datetime'] ?>                    <?php if($entry['edited']): ?><br />Edited by <a href="<?= $tribute_url ?>contributors/contributor/<?= $entry['updated_au_id'] ?>/"><?= $entry['updated_user_real_name'] ?></a> on <?= $entry['updated_datetime'] ?><?php endif; ?>                </p>                <?php if($user_type_editor): ?>                <p>                   <a href="<?= $tribute_url ?>guestbook/entry/<?= $entry['id'] ?>/edit/">Edit Entry</a>&nbsp;|&nbsp;<a href="<?= $tribute_url ?>guestbook/entry/<?= $entry['id'] ?>/delete/" onclick="return confirm('Are you sure you want to delete this guestbook entry?')">Delete Entry</a>                </p>                <?php endif; ?>            </div><?php endforeach; ?>