/[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.3 by ravilov, Wed Aug 8 12:58:08 2001 UTC revision 1.4 by ravilov, Mon Aug 27 09:17:40 2001 UTC
# Line 37  Line 37 
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"],
39                                  MyEscape($art["more"]), $art["id"], $empty["category"], "top",                                  MyEscape($art["more"]), $art["id"], $empty["category"], "top",
40                                  isEdit(), false, false, false));                                  $isEdit, false, false, false));
41                  }                  }
42                  $empty = array("category" => "w", "limit" => ($wn_edit ? 4 : 5), "offset" => 0, "npar" => 0);                  $empty = array("category" => "w", "limit" => ($wn_edit ? 4 : 5), "offset" => 0, "npar" => 0);
43                  $ed = "";                  $ed = "";
# Line 74  Line 74 
74                                          "height" => MyEscape($art["pic_h"]),                                          "height" => MyEscape($art["pic_h"]),
75                                          "links" => GetLinks($art["read"] && $art["id"],                                          "links" => GetLinks($art["read"] && $art["id"],
76                                                  MyEscape($art["more"]), $art["id"],                                                  MyEscape($art["more"]), $art["id"],
77                                                  $empty["category"], "wn", isEdit(), true,                                                  $empty["category"], "wn", $isEdit, true,
78                                                  ($i > 0), ($i < count($arts) - 1)),                                                  ($i > 0), ($i < count($arts) - 1)),
79                                          "text" => $art["text"]                                          "text" => $art["text"]
80                                  ));                                  ));
# Line 115  Line 115 
115                                          "height" => MyEscape($art["pic_h"]),                                          "height" => MyEscape($art["pic_h"]),
116                                          "links" => GetLinks($art["read"] && $art["id"],                                          "links" => GetLinks($art["read"] && $art["id"],
117                                                  MyEscape($art["more"]), $art["id"],                                                  MyEscape($art["more"]), $art["id"],
118                                                  $empty["category"], "pn", isEdit(), true,                                                  $empty["category"], "pn", $isEdit, true,
119                                                  ($i > 0), ($i < count($arts) - 1)),                                                  ($i > 0), ($i < count($arts) - 1)),
120                                          "text" => MyEscape($art["text"])                                          "text" => MyEscape($art["text"])
121                                  ));                                  ));
# 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);
129                  $tpl->assign("isedit", isEdit());                  $tpl->assign("isedit", $isEdit);
130                    $tpl->assign("ismed", $isMed);
131          }          }
132          $dbh->disconnect();          $dbh->disconnect();
133  ?>  ?>

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

  ViewVC Help
Powered by ViewVC 1.1.26