/[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.10 by ravilov, Tue Oct 2 16:18:09 2001 UTC revision 1.11 by ravilov, Thu Oct 4 14:59:35 2001 UTC
# Line 45  Line 45 
45                                  /* MyEscape($art["more"]) */ (count($art["text"]) > 0 && $art["id"]) ? $art["more"] : "",                                  /* MyEscape($art["more"]) */ (count($art["text"]) > 0 && $art["id"]) ? $art["more"] : "",
46                                  MyEscape($art["more_title"]), $art["id"], $empty["category"],                                  MyEscape($art["more_title"]), $art["id"], $empty["category"],
47                                  "top", $isEdit, false, false, false));                                  "top", $isEdit, false, false, false));
48                          $tpl->assign("top_read", $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false);                          $tpl->assign("top_read", $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : "");
49                  }                  }
50                  $menu2 = array();                  $menu2 = array();
51                  $empty = array("category" => "w", "limit" => $isEdit ? 0 : ($wn_edit && !$ed_id ? 9 : 10), "offset" => 0, "npar" => 0);                  $empty = array("category" => "w", "limit" => $isEdit ? 0 : ($wn_edit && !$ed_id ? 9 : 10), "offset" => 0, "npar" => 0);
# Line 87  Line 87 
87                                                  MyEscape($art["more"]), MyEscape($art["more_title"]),                                                  MyEscape($art["more"]), MyEscape($art["more_title"]),
88                                                  $art["id"], $empty["category"], "wn", $isEdit, true,                                                  $art["id"], $empty["category"], "wn", $isEdit, true,
89                                                  ($i > 0), ($i < count($arts) - 1)),                                                  ($i > 0), ($i < count($arts) - 1)),
90                                          "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false,                                          "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : "",
91                                          "text" => $art["text"]                                          "text" => $art["text"]
92                                  ));                                  ));
93                                  array_push($tmp2, array(                                  array_push($tmp2, array(
# Line 95  Line 95 
95                                          "id" => $art["id"],                                          "id" => $art["id"],
96                                          "title" => MyEscape($art["title"]),                                          "title" => MyEscape($art["title"]),
97                                          "url" => MyEscape($art["more"]),                                          "url" => MyEscape($art["more"]),
98                                          "more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"]                                          "more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"] ? $art["read"] : ""
99                                  ));                                  ));
100                          }                          }
101                  }                  }
# Line 144  Line 144 
144                                                  MyEscape($art["more"]), MyEscape($art["more_title"]),                                                  MyEscape($art["more"]), MyEscape($art["more_title"]),
145                                                  $art["id"], $empty["category"], "pn", $isEdit, true,                                                  $art["id"], $empty["category"], "pn", $isEdit, true,
146                                                  ($i > 0), ($i < count($arts) - 1)),                                                  ($i > 0), ($i < count($arts) - 1)),
147                                          "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false,                                          "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : "",
148                                          "text" => MyEscape($art["text"])                                          "text" => MyEscape($art["text"])
149                                  ));                                  ));
150                                  array_push($tmp2, array(                                  array_push($tmp2, array(
# Line 152  Line 152 
152                                          "id" => $art["id"],                                          "id" => $art["id"],
153                                          "title" => MyEscape($art["title"]),                                          "title" => MyEscape($art["title"]),
154                                          "url" => MyEscape($art["more"]),                                          "url" => MyEscape($art["more"]),
155                                          "more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"]                                          "more" => ($art["read"] || $art["au_pic"] || $art["au_info"]) && $art["id"] ? $art["read"] : ""
156                                  ));                                  ));
157                          }                          }
158                  }                  }

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

  ViewVC Help
Powered by ViewVC 1.1.26