All pastes #358423 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-02-16 07:02 UTC
rendered paste body
<div class="<?php print $node_classes ?>" class="node-<?php print $node->nid; ?>">
<?php if ($page != 0): //Full View Section?>
<?php endif;?>
<?php if ($page == 0): ?>

<h2 class="title"> <a href="<?php print $node_url ?>"><?php print $title; ?></a> </h2>
<?php endif; ?>
<?php if ($picture) print $picture; ?>
<div class="lesson_container" class="clear-block">
	<div class="lesson_sidebar">
		  <div class="lesson_sidebar_thanks"> Thanks to:<BR />
			<B><?php print nl2br($node->field_thanks[0]['view']);?></B> 
		  </div>
		  <div class="lesson_sidebar_attachments"> <a href="<?php print $node->field_skypecast_url[0]['view'];?>"><img src="/<?php print $basepath;?>images/icons/arrow-end-down-green.png"> Download Screencast</a> <a href="<?php print $node->field_session_notes[0]['view'];?>"><img src="/<?php print $basepath;?>images/icons/doc-type-doc.png"> Session Notes</a> <a href="<?php print $node->field_irc_log[0]['view'];?>"><img src="/<?php print $basepath;?>images/icons/mini-comment.png"> IRC Logs</a>
			<?php if ($node->field_other_links_of_interest[0]['view']) {
						$otherlinks = explode(",", $node->field_other_links_of_interest[0]['view']);
						foreach ($otherlinks as $content) {
							$makelinks = explode("|", $content);
							print "<a href=\"$makelinks[0]\"><img src=\"$basepath/images/icons/arrow-single-right-green.png\">$makelinks[1]</A>";
						}
						}
					?>
		  </div>
		  <div class="lesson_sidebar_feedback"> Feedback: Tell us how we did, and how we can make it better!<BR />
			<a href="<?php print $node_url;?>">[ Leave Feedback ]</a> 
		  </div>
	</div>
	<div class="lesson_leftbar">
	  <?php if ($node->field_image[0]['view']) { print $node->field_image[0]['view']; } else { print '<div class="lesson_spacer"></div>';}?>
	  <?php print $node->content['body']['#value'];?>
	  <?php if ($page == 0) {?>
	  <a href="<?php print $node_url; ?>" style="float:right; margin:5px; ">[ Continue ]</a>
	  <?php } ?>
	</div>
</div>
<?php if (count($taxonomy)): ?>
<div class="taxonomy"><?php print t(' in ') . $terms ?></div>
<?php endif; ?>