Ignore:
Timestamp:
Jan 30, 2011, 8:56:26 PM (14 years ago)
Author:
george
Message:
  • Přidáno: RSS import pro obec hovězí a kino Vatra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aktuality/import_zdechov_cz_aktuality.php

    r196 r306  
    99$StartDate = 'vloženo: ';
    1010$Category = 12;
     11$Author = 'Automat';
    1112
    1213$Content = addslashes(ToUTF8(file_get_contents($SourceURL), 'win1250'));
     
    3536  if($DbResult->num_rows == 0)
    3637  {
    37     $Database->insert('News', array('Title' => $Title, 'Date' => $Date, 'Author' => 'zdechov.cz', 'Category' => $Category, 'Content' => addslashes($Description)));
     38    $Database->insert('News', array('Title' => $Title, 'Date' => $Date, 'Author' => $Author, 'Category' => $Category, 'Content' => addslashes($Description), 'Link' => $Link));
    3839    echo($Database->insert_id.',');
    3940  }
Note: See TracChangeset for help on using the changeset viewer.