Fix for Code

  1. <?php if ($fields['field_type']->content == "Evman Article"): ?>
  2. <div><img style="float:left; margin-right:10px" src="http://images.websnapr.com/?size=t&key=XXXX&url=<?php print $fields['field_dfevman_url_url']->content; ?>"/> <?php print $fields['ops']->content; ?> <a class="df_linktitle" target="_blank" href="<?php
  3.   print $fields['field_dfevman_url_url']->content;
  4. ?>">
  5.   <?php
  6.   print $fields['title']->content;
  7. ?>
  8.   </a><br />
  9.   <span class="df_url">
  10.   <?php
  11.   $parse = parse_url($fields['field_dfevman_url_url']->content);
  12.   print $parse['host'];
  13. ?>
  14.   </span> - <?php print $fields['field_dfevman_description_value']->content; ?><br />
  15.   <?php print $fields['edit_node']->content; ?> | <?php print $fields['delete_node']->content; ?> | <?php print $fields['view_node']->content; ?> </div>
  16. <br />
  17. <?php endif; ?>

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.