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 /autor.php

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

revision 1.1 by ravilov, Tue Oct 23 16:13:59 2001 UTC revision 1.2 by ravilov, Sat Oct 27 16:54:50 2001 UTC
# Line 2  Line 2 
2          if (!$id) exit;          if (!$id) exit;
3          include_once("inc/global.php");          include_once("inc/global.php");
4          include_once("inc/util.php");          include_once("inc/util.php");
5          include_once("inc/conn.php");          if (!include("inc/conn.php")) exit;
6            if (!$dbh) exit;
7          $sql = "SELECT ime, cv, slika FROM autori WHERE (autor_id = $id)";          $sql = "SELECT ime, cv, slika FROM autori WHERE (autor_id = $id)";
8          $sth = $dbh->prepare($sql);          $sth = $dbh->prepare($sql);
9          if (!$sth) error("Cannot prepare query: \"$sql\"");          if (!$sth) error("Cannot prepare query: \"$sql\"");
# Line 22  Line 23 
23  <LINK REL="Shortcut Icon" HREF="favicon.ico">  <LINK REL="Shortcut Icon" HREF="favicon.ico">
24  <LINK REL="StyleSheet" TYPE="text/css" HREF="stil.php">  <LINK REL="StyleSheet" TYPE="text/css" HREF="stil.php">
25  </HEAD>  </HEAD>
26  <BODY BGCOLOR="#FFFFFF" TEXT="#000000">  <BODY BGCOLOR="#FFFFFF" TEXT="#000000" ONLOAD="if (document.forms[0].elements[0]) document.forms[0].elements[0].focus();">
27  <FORM>  <FORM>
29  <BR>  <BR>

Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26