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

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

revision 1.2 by ravilov, Tue Oct 2 16:18:09 2001 UTC revision 1.3 by ravilov, Thu Oct 4 14:59:35 2001 UTC
# Line 14  Line 14 
14                          if ($down_id) $dbh->dbh_do("UPDATE news SET ord = ord + 1 WHERE (news_id = $down_id)");                          if ($down_id) $dbh->dbh_do("UPDATE news SET ord = ord + 1 WHERE (news_id = $down_id)");
15                          if ($up_id) $dbh->dbh_do("UPDATE news SET ord = ord - 1 WHERE (news_id = $up_id)");                          if ($up_id) $dbh->dbh_do("UPDATE news SET ord = ord - 1 WHERE (news_id = $up_id)");
16                  }                  }
17                  $cat = "i";                  $cat = "i"; $acat = "z";
18                  if (!$offset) $offset = 0;                  if (!$offset) $offset = 0;
19                  $empty = array("category" => $cat, "limit" => 11, "offset" => $offset, "npar" => 0);                  $empty = array("category" => $cat, "limit" => 11, "offset" => $offset, "npar" => 0);
20                  if ($top_edit && $ed_id <= 0 && $isEdit) {                  if ($top_edit && $ed_id <= 0 && $isEdit) {
# Line 55  Line 55 
55                                                  /* MyEscape($art["more"]) */ ((count($art["text"]) > 0 || strstr("?", $art["more"]) == 0) && $art["id"]) ? $art["more"] : "",                                                  /* MyEscape($art["more"]) */ ((count($art["text"]) > 0 || strstr("?", $art["more"]) == 0) && $art["id"]) ? $art["more"] : "",
56                                                  MyEscape($art["more_title"]), $art["id"], $empty["category"], "top",                                                  MyEscape($art["more_title"]), $art["id"], $empty["category"], "top",
57                                                  $isEdit, true, ($i > 0), ($i < count($arts) - 1)),                                                  $isEdit, true, ($i > 0), ($i < count($arts) - 1)),
58                                          "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false,                                          "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? $art["read"] : "",
59                                          "AUTHOR" => GetAuthor($art["au_pic"],                                          "AUTHOR" => GetAuthor($art["au_pic"],
60                                                  $art["au_alt"], $art["au_info"],                                                  $art["au_alt"], $art["au_info"],
61                                                  $art["au_w"], $art["au_h"])                                                  $art["au_w"], $art["au_h"])

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

  ViewVC Help
Powered by ViewVC 1.1.26