%%none%%
progmin : / (policy #64)
2002-04-25 00:21:21

%%prequery%%
$this->statuswhere= " AND obj.status='posted' "; 
  $this->publicwhere= " AND obj.public=1 ";  
  $this->insertstatus= "new"; 
  $this->insertpublic= "0"; 
  $this->insertrank= "100";  
  $this->updatestatus= "new"; 
  $this->updatepublic= "0"; 
  $this->updaterank= "0";  
  if ($this->orderby!= "") { 
  // do nothing  
  } 
  elseif ($getvars[orderby]!="") { 
  if ($getvars[direction]!="") $direct= strtoupper(addslashes($getvars[direction])); 
  $orderby= strtoupper(addslashes($getvars[orderby])); 
  $this->orderby= "ORDER BY obj.$orderby $direction"; 
  } 
  else $this->orderby= "ORDER BY obj.id ASC"; 
  if ($getvars[limit]!="") { 
  $offset= strtoupper(addslashes($getvars[offset])); 
  $limit= strtoupper(addslashes($getvars[limit]));  
  if ($offset!="") $this->limit= "LIMIT $offset, $limit "; 
  else $this->limit= "LIMIT $limit "; 
  } 
  else $this->limit= "LIMIT 30 "; 

%%addons%%
$this->canSavenew[sitemember]=1;
$this->canSavenew[comment]=1;

%%end of policy%%
