Posted by track Sat 3rd Mar 2007 21:06 - Syntax is PHP - 28 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
  1. function do_trackbacks() {
  2.     global $db, $main_smarty;
  3.  
  4.     $id = $_REQUEST['id'];
  5.     echo '
    ';
  6.     echo '

    '

    .$main_smarty->get_config_vars('PLIGG_Visual_Trackback').'';
  7.     $trackbacks = $db->get_col("SELECT trackback_id FROM " . table_trackbacks . " WHERE trackback_link_id=$id AND trackback_type='in' ORDER BY trackback_date DESC");
  8.     if ($trackbacks) {
  9.         echo '
      '
    ;
  10.         require_once(mnminclude.'trackback.php');
  11.         $trackback = new Trackback;
  12.         foreach($trackbacks as $trackback_id) {
  13.             $trackback->id=$trackback_id;
  14.             $trackback->read();
  15.             echo '
  16. $trackback
  17. ->url.'" title="'.htmlspecialchars($trackback->content).'">'.$trackback->title.'';
  •         }
  •         echo "\n";
  •     }
  •     echo '
    '
  • ;
  • }

  • PermaLink to this entry https://pastebin.co.uk/11350
    Posted by track Sat 3rd Mar 2007 21:06 - Syntax is PHP - 28 viewsRun this post in the PHP shell
    Download | New Post | Modify | Hide line numbers

     

    Comments: 0