/[health_html]/inc/newsShow.php
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 /inc/newsShow.php

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

revision 1.9 by ravilov, Sat Sep 29 12:56:31 2001 UTC revision 1.10 by ravilov, Tue Oct 2 16:18:09 2001 UTC
# Line 45  Line 45 
45                          $art = array();                          $art = array();
46                          list($art["id"], $art["title"], $art["lead"], $art["pic_url"],                          list($art["id"], $art["title"], $art["lead"], $art["pic_url"],
47                                  $art["pic_alt"], $art["pic_pos"], $art["more"],                                  $art["pic_alt"], $art["pic_pos"], $art["more"],
48                                  $art["more_title"], $date, $art["au_pic"],                                  $art["more_title"], $art["date"], $art["au_pic"],
49                                  $art["au_alt"], $art["au_info"], $ord) = $row;                                  $art["au_alt"], $art["au_info"], $ord) = $row;
50                          list($art["pic_w"], $art["pic_h"]) = PicSize($art["pic_url"]);                          list($art["pic_w"], $art["pic_h"]) = PicSize($art["pic_url"]);
51                          $art["more_new"] = strstr($art["more"], "://") ? true : false;                          $art["more_new"] = strstr($art["more"], "://") ? true : false;
# Line 96  Line 96 
96                  $tpl->assign("title_url_title", MyEscape(convert_html($art["more_title"])));                  $tpl->assign("title_url_title", MyEscape(convert_html($art["more_title"])));
97                  $tpl->assign("titlepic_width", $art["pic_w"]);                  $tpl->assign("titlepic_width", $art["pic_w"]);
98                  $tpl->assign("titlepic_height", $art["pic_h"]);                  $tpl->assign("titlepic_height", $art["pic_h"]);
99                    $tpl->assign("date", strftime("%d.%m.%Y.", strtotime($art["date"])));
100                  include_once("author.php");                  include_once("author.php");
101                  $tpl->assign("AUTHOR", GetAuthor($art["au_pic"],                  $tpl->assign("AUTHOR", GetAuthor($art["au_pic"],
102                          $art["au_alt"], $art["au_info"],                          $art["au_alt"], $art["au_info"],
# Line 108  Line 109 
109                          $art["text"][$i]["exp"] = ParseNewline(convert_html(                          $art["text"][$i]["exp"] = ParseNewline(convert_html(
110                                  MyEscape($art["text"][$i]["exp"]), false), true);                                  MyEscape($art["text"][$i]["exp"]), false), true);
111                          if ($art["text"][$i]["hl"]) $art["text"][$i]["hl"] = GetHighlight($art["text"][$i]["hl"]);                          if ($art["text"][$i]["hl"]) $art["text"][$i]["hl"] = GetHighlight($art["text"][$i]["hl"]);
112                            if ($art["text"][$i]["level"]) $art["text"][$i]["level2"] = (($art["text"][$i]["level"] - 1) * 15) + 2;
113                  }                  }
114                  $tpl->assign("text", $art["text"]);                  $tpl->assign("text", $art["text"]);
115                  $tpl->assign("cat", $art["category"]);                  $tpl->assign("cat", $art["category"]);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.26