/[pliva-si]/sections/novosti.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sections/novosti.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Fri Jun 29 14:12:07 2001 UTC revision 1.3 by dpavlin, Mon Sep 10 13:25:01 2001 UTC
# Line 90  if (file_exists(find_html_file("more",$m Line 90  if (file_exists(find_html_file("more",$m
90                  warning=>$warning                  warning=>$warning
91                  ));                  ));
92    
         $main=$smarty->fetch("novosti.tpl");  
93    
94          if (isset($id) && find_html_file("more",$data[0][more])) {          if (isset($id) && find_html_file("more",$data[0][more])) {
95                  $main=join('',file(find_html_file("more",$data[0][more])));                  $main=join('',file(find_html_file("more",$data[0][more])));
96            } else {
97                    $logo="p/${p}_".$data[0][type].".jpg";
98                    if (file_exists($logo)) {
99                            $smarty->assign("logo",$logo);
100                    }
101                    $main=$smarty->fetch("$p.tpl");
102          }          }
103    
104    
# Line 101  if (file_exists(find_html_file("more",$m Line 106  if (file_exists(find_html_file("more",$m
106    
107  $smarty->assign( array(back_url=>$back_url) );  $smarty->assign( array(back_url=>$back_url) );
108    
109    
110  ?>  ?>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26