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

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

revision 1.4 by ravilov, Mon Aug 27 09:17:40 2001 UTC revision 1.5 by ravilov, Thu Aug 30 16:35:36 2001 UTC
# Line 32  Line 32 
32                          $tpl->assign("top_titlepic_width", $art["pic_w"]);                          $tpl->assign("top_titlepic_width", $art["pic_w"]);
33                          $tpl->assign("top_titlepic_height", $art["pic_h"]);                          $tpl->assign("top_titlepic_height", $art["pic_h"]);
34                          for ($j = 0; $j < count($art["text"]); $j++)                          for ($j = 0; $j < count($art["text"]); $j++)
35                                  $art["text"][$j]["text"] = ParseNewline(MyEscape($art["text"][$j]["text"]));                                  $art["text"][$j]["text"] = ParseNewline(MyEscape($art["text"][$j]["text"]), true);
36                          $tpl->assign("top_text", $art["text"]);                          $tpl->assign("top_text", $art["text"]);
37                          include_once("inc/links.php");                          include_once("inc/links.php");
38                          $tpl->assign("top_links", GetLinks($art["read"] && $art["id"],                          $tpl->assign("top_links", GetLinks($art["read"] && $art["id"],
# Line 61  Line 61 
61                          else {                          else {
62                                  if ($ed && $ed["category"] == "w") $art = $ed;                                  if ($ed && $ed["category"] == "w") $art = $ed;
63                                  for ($j = 0; $j < count($art["text"]); $j++)                                  for ($j = 0; $j < count($art["text"]); $j++)
64                                          $art["text"][$j]["text"] = ParseNewline(MyEscape($art["text"][$j]["text"]));                                          $art["text"][$j]["text"] = ParseNewline(MyEscape($art["text"][$j]["text"]), true);
65                                  include_once("inc/links.php");                                  include_once("inc/links.php");
66                                  array_push($wn, array(                                  array_push($wn, array(
67                                          "id" => $art["id"],                                          "id" => $art["id"],
# Line 102  Line 102 
102                          else {                          else {
103                                  if ($ed && $ed["category"] == "p") $art = $ed;                                  if ($ed && $ed["category"] == "p") $art = $ed;
104                                  for ($j = 0; $j < count($art["text"]); $j++)                                  for ($j = 0; $j < count($art["text"]); $j++)
105                                          $art["text"][$j]["text"] = ParseNewline(MyEscape($art["text"][$j]["text"]));                                          $art["text"][$j]["text"] = ParseNewline(MyEscape($art["text"][$j]["text"]), true);
106                                  include_once("inc/links.php");                                  include_once("inc/links.php");
107                                  array_push($pn, array(                                  array_push($pn, array(
108                                          "id" => $art["id"],                                          "id" => $art["id"],
# Line 126  Line 126 
126                  $tpl->assign("top_edit", $top_edit);                  $tpl->assign("top_edit", $top_edit);
127                  $tpl->assign("wn_edit", $wn_edit);                  $tpl->assign("wn_edit", $wn_edit);
128                  $tpl->assign("pn_edit", $pn_edit);                  $tpl->assign("pn_edit", $pn_edit);
                 $tpl->assign("isedit", $isEdit);  
                 $tpl->assign("ismed", $isMed);  
129          }          }
130          $dbh->disconnect();          $dbh->disconnect();
131  ?>  ?>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26