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

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

revision 1.5 by ravilov, Sat Sep 29 00:57:58 2001 UTC revision 1.6 by ravilov, Tue Oct 2 16:18:09 2001 UTC
# Line 9  Line 9 
9                          if ($del_id) {                          if ($del_id) {
10                                  include_once("inc/newsDelete.php");                                  include_once("inc/newsDelete.php");
11                                  newsDelete($del_id);                                  newsDelete($del_id);
12                                  unset($top_edit, $wn_edit, $pn_edit);                                  unset($top_edit);
13                          }                          }
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)");
# Line 59  Line 59 
59                                          "links" => GetLinks($art["read"] && $art["id"],                                          "links" => GetLinks($art["read"] && $art["id"],
60                                                  /* 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"] : "",
61                                                  MyEscape($art["more_title"]), $art["id"], $empty["category"], "top",                                                  MyEscape($art["more_title"]), $art["id"], $empty["category"], "top",
62                                                  $isEdit, true, ($i > 0), ($i < count($arts) - 1))                                                  $isEdit, true, ($i > 0), ($i < count($arts) - 1)),
63                                            "read" => $art["read"] || ($art["more"] && !strstr($art["more"], "?")) ? true : false
64                                  ));                                  ));
65                          }                          }
66                  }                  }

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

  ViewVC Help
Powered by ViewVC 1.1.26