/[inncomm]/index.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 /index.php

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

revision 1.2 by dpavlin, Fri Dec 8 08:27:32 2000 UTC revision 1.5 by dpavlin, Thu Dec 21 15:05:43 2000 UTC
# Line 1  Line 1 
1  <?  <?
2    
3    set_magic_quotes_runtime(0);
4    
5  include("inc/class.FastTemplate.pinc");  include("inc/class.FastTemplate.pinc");
6  include("inc/conn.inc");  include("inc/conn.inc");
7  include("inc/fixsql.inc");  include("inc/fixsql.inc");
# Line 37  if (isset($PHP_AUTH_USER)) { Line 39  if (isset($PHP_AUTH_USER)) {
39                          if ($row[solution] == "t") {                          if ($row[solution] == "t") {
40                                  $solution_room=1;                                  $solution_room=1;
41                                  $sql_poruke_where.="and poruke.solution is true";                                  $sql_poruke_where.="and poruke.solution is true";
42                                    $tpl->assign(array( ROOM => "You are in solution room" ));
43                          }                          }
44                          $tpl->assign(array(                          $tpl->assign(array(
45                                  FULL_NAME => $row[full_name],                                  FULL_NAME => $row[full_name],
# Line 146  if (md5($PHP_AUTH_USER.$PHP_AUTH_PW) != Line 149  if (md5($PHP_AUTH_USER.$PHP_AUTH_PW) !=
149    
150  //----- end of inserts/updates...  //----- end of inserts/updates...
151    
152  if (($what=="reply" || $what="show") && isset($t)) {  if (($what=="reply" || $what=="show") && isset($t)) {
153          $sql_where=" and topics.id=$t";          $sql_where=" and topics.id=$t";
154  }  }
155    

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

  ViewVC Help
Powered by ViewVC 1.1.26