/[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.2 by ravilov, Tue Sep 25 15:38:04 2001 UTC revision 1.5 by ravilov, Sat Sep 29 00:57:58 2001 UTC
# Line 2  Line 2 
2          include("inc/conn.php");          include("inc/conn.php");
3          include_once("inc/newsShow.php");          include_once("inc/newsShow.php");
4          if ($show) {          if ($show) {
                 $section_menu = "main";  
5                  $arts = newsLoad($id, $cat);                  $arts = newsLoad($id, $cat);
6                  newsShow(array_shift($arts));                  newsShow(array_shift($arts));
7          } else {          } else {
# Line 18  Line 17 
17                  $cat = "c";                  $cat = "c";
18                  if ($section_menu == "zensko") $cat = "z";                  if ($section_menu == "zensko") $cat = "z";
19                  if ($section_menu == "musko") $cat = "m";                  if ($section_menu == "musko") $cat = "m";
20                  if ($section_menu == "majkadijete") $cat = "d";                  if ($section_menu == "mid") $cat = "d";
21                  if ($section_menu == "treca") $cat = "r";                  if ($section_menu == "treca") $cat = "r";
22                  if ($section_menu == "mladi") $cat = "e";                  if ($section_menu == "mladi") $cat = "e";
23                  if ($section_menu == "ovisnosti") $cat = "o";                  if ($section_menu == "ovisnosti") $cat = "o";
# Line 50  Line 49 
49                                          "id" => $art["id"],                                          "id" => $art["id"],
50                                          "title" => MyEscape($art["title"]),                                          "title" => MyEscape($art["title"]),
51                                          "lead" => MyEscape($art["lead"]),                                          "lead" => MyEscape($art["lead"]),
52                                            "pgfs" => (count($art["text"]) > 0) ? true : false,
53                                          "titlepic_url" => MyEscape($art["pic_url"]),                                          "titlepic_url" => MyEscape($art["pic_url"]),
54                                          "titlepic_alt" => MyEscape($art["pic_alt"]),                                          "titlepic_alt" => MyEscape($art["pic_alt"]),
55                                          "titlepic_type" => $art["pic_pos"],                                          "titlepic_type" => $art["pic_pos"],
# Line 57  Line 57 
57                                          "titlepic_height" => $art["pic_h"],                                          "titlepic_height" => $art["pic_h"],
58                                          "text" => $art["text"],                                          "text" => $art["text"],
59                                          "links" => GetLinks($art["read"] && $art["id"],                                          "links" => GetLinks($art["read"] && $art["id"],
60                                                  /* MyEscape($art["more"]) */ (count($art["text"]) > 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                                  ));                                  ));

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

  ViewVC Help
Powered by ViewVC 1.1.26